summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-06-04decoders: Avoid out-of-bounds accesslat9nq
This is not a real fix, so assert here and continue before crashing.
2021-06-03Merge pull request #6389 from german77/Analog_button_fixbunnei
input_common: Analog button, use time based position
2021-06-03[game_list] Correct light theme loading (#6408)Maide
Correct light theme loading The setLayout call in game list instantiation will call resizing signals with default values in light theme, which was then being erroneously saved. setLayout doesn't seem to call resizing for any other theme, so I'm not sure why that happens.
2021-06-03Merge pull request #6402 from Kelebek1/UIbunnei
game_list: Stop the columns resizing on NAND install
2021-06-02Merge pull request #6404 from lat9nq/revert_viewsbunnei
yuzu qt: Revert some usages of string_view
2021-06-02fsp-srv: Replace one last instance of RESULT_SUCCESSMorph
2021-06-02fspsrv: Implement DisableAutoSaveDataCreation (#6355)Chloe
- Used by Mii Edit
2021-06-02yuzu qt: Revert some usages of string_viewlat9nq
Causes a heap-use-after free reported by AddressSanitizer. This makes use of std::filesystem::path, but due to that we have to use their string() function which may not work for all characters.
2021-06-02Merge pull request #6308 from Morph1984/resultbunnei
general: Replace RESULT_NAME with ResultName
2021-06-02Merge pull request #6403 from Kewlan/game-list-for-loop-optimizationbunnei
game_list: Minor for loop optimizations
2021-06-02game_list: Minor for loop optimizationsKewlan
There's no need to check the first and last rows since they'll always be the Favorites and AddDir rows. Also change the name of the clear_all variable for consistency.
2021-06-02Stop the columns resizing on NAND installKelebek1
2021-06-02general: Replace RESULT_UNKNOWN with ResultUnknownMorph
Transition to PascalCase for result names.
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph
Transition to PascalCase for result names.
2021-06-02Merge pull request #6395 from lioncash/result-moveMorph
common_funcs: Move R_ macros to result.h
2021-06-02common: fs: fs_util: Move PathToUTF8String to fs_utilMorph
2021-06-02common: fs: fs_util: Add more string conversion functionsMorph
2021-06-01Merge pull request #6361 from lat9nq/per-hb-cfgbunnei
yuzu qt: Handle per-game configs for title id 0
2021-06-01Merge pull request #6318 from german77/dualJoyconbunnei
input_common: Add dual joycon support
2021-05-31Merge pull request #6367 from ReinUsesLisp/vma-hostbunnei
vulkan_memory_allocator: Allow textures to be allocated in host memory
2021-05-31common_funcs: Move R_ macros to result.hLioncash
These macros all interact with the result code type, so they should ideally be within this file as well, so all the common_funcs machinery doesn't need to be pulled in just to use them.
2021-05-30Merge pull request #6385 from degasus/save_memory_accessbunnei
core/memory: Check our memory fallbacks for out-of-bound behavior.
2021-05-30Merge pull request #6377 from lioncash/pointbunnei
common: Extract Point struct into common
2021-05-29Merge pull request #6387 from lioncash/class-tokenbunnei
k_class_token: Use variable templates where applicable
2021-05-29Merge pull request #6386 from bunnei/shutdown-fixbunnei
video_core: gpu: WaitFence: Do not block threads during shutdown.
2021-05-30input_common: Analog button, use time based position instead of frequent updatesgerman77
2021-05-29Merge pull request #6374 from Morph1984/swkbd-textcheck-encodingMai M
applets/swkbd: Only read the text check message on Failure/Confirm
2021-05-29Merge pull request #6364 from german77/stub-lp2pMai M
ldn: Add and stub lp2p:sys lp2p:app INetworkServiceMonitor INetworkService Mario Kart Live: Home Circuit needs lp2p:sys lp2p:app INetworkServiceMonitor INetworkService to be able to progress. Note: The game still fails to boot from unimplemented LDN and BSD services.
2021-05-29Merge pull request #6379 from degasus/update_dynarmicbunnei
externals: Update dynarmic.
2021-05-29k_class_token: Use variable templates where applicableLioncash
Same behavior, less code.
2021-05-29Merge pull request #6384 from lioncash/virtualbunnei
kernel: Add missing override specifiers
2021-05-29Merge pull request #6382 from lioncash/nullbunnei
k_thread: Move dereference after null check in Initialize()
2021-05-29video_core: gpu: WaitFence: Do not block threads during shutdown.bunnei
- Fixes a hang on shutdown when NVFlinger thread is waiting on a syncpoint that will never occur. - Commonly observed when stopping emulation in Super Mario Odyssey.
2021-05-29core/memory: Check our memory fallbacks for out-of-bound behavior.Markus Wick
This makes it by far harder to crash yuzu. Also implement the 48bit masking of AARCH64 while touching this code.
2021-05-29Merge pull request #6373 from bunnei/use-slabheap-tlsbunnei
hle: kernel: KSlabHeap: Allow host or guest allocations.
2021-05-29core/arm_interface: Improve the performance of memory fallbacks.Markus Wick
We just create one memory subsystem. This is a constant all the time. So there is no need to call the non-inlined parent.Memory() helper on every callback.
2021-05-29kernel: Add missing override specifiersLioncash
Over the course of the kernel refactoring a tiny bit of missing overrides slipped through review, so we can add these. While we're at it, we can remove redundant virtual keywords where applicable as well.
2021-05-29Fix two GCC 11 warnings: Unneeded copies.Markus Wick
std::move created an unneeded copy. iterating without reference also created copies.
2021-05-29externals: Update dynarmic.Markus Wick
The new version supports fastmem on a64.
2021-05-29k_thread: Move dereference after null check in Initialize()Lioncash
Prevents a -Wnonnull warning on GCC.
2021-05-28Merge pull request #6371 from degasus/drop_ExceptionalExitbunnei
core/arm_interface: Call SVC after end of dynarmic block.
2021-05-28hle: kernel: KSlabHeap: Allow host or guest allocations.bunnei
- Use host allocations for kernel memory, as this is not properly emulated yet. - Use guest allocations for TLS, as this needs to be backed by DeviceMemory.
2021-05-28Merge pull request #6356 from ogniK5377/ApplyNpadSystemCommonPolicybunnei
hid: ApplyNpadSystemCommonPolicy
2021-05-28touchscreen: Make use of common point structLioncash
2021-05-28common: Extract point into a common structLioncash
This is generic enough that it can be moved into the Common class for reuse.
2021-05-28common/fs/file: Explicitly delete copy constructorsLioncash
Relocates them to the same place the move equivalents are at for consistent viewing.
2021-05-28common/fs/file: Devirtualize destructorLioncash
IOFile is a final class, so there's no need for a virtual destructor.
2021-05-28common/fs/file: Default initialize IOFile membersLioncash
Prevents a potential uninitialized read vector in the move constructor.
2021-05-27applets/swkbd: Make use of std::move where applicableMorph
Avoids redundant string copies
2021-05-27applets/swkbd: Only read the text check message on Failure/ConfirmMorph
Applications may leave this region of memory uninitialized when the text check result is not either Failure or Confirm. Attempting to read uninitialized memory may cause an exception within the UTF16 to UTF8 string converter. Fix this by only reading the text check message on Failure or Confirm.