| Age | Commit message (Collapse) | Author |
|
kernel: Remove unused variables
|
|
kernel/thread: Remove unimplemented function prototype
|
|
Allows this header file to show up in IDE CMake generators.
|
|
Eliminates reliance on an indirect include.
|
|
Previously the loop termination condition was testing variables of
different signedness.
|
|
Allows returning the structure in a more concise manner.
|
|
hle: service: mii: Rewrite service to properly support creation of random and default miis.
|
|
address_space_info: Make use of designated initializers
|
|
This isn't used, so it can be removed.
|
|
Resolves some compiler warnings in the Linux build.
|
|
|
|
All these do are return std::function instances of static functions, so
these can be used without an instance of the CPU manager.
|
|
Shrinks the data structure by 8 bytes.
|
|
Previously this header was relying on indirect inclusions that are no
longer satisfied.
|
|
main: Set async gpu properly after loading per-game setting
|
|
kernel/handle_table: Remove usages of the global system instance
|
|
Previously we would ignore this setting and would update the states regardless of the user setting
|
|
registered_cache: Remove previous update/dlc if it exists on install
|
|
|
|
|
|
If subdirectories exist in the given path parameter and don't exist in the real filesystem create them prior to creating the files within.
This fixes the softlocks upon save creation in The Legend of Zelda: Breath of the Wild
|
|
memory_layout: Remove unused data member
|
|
Shrinks the size of the CoreTiming class by 8 bytes.
|
|
Enforces our desired time units directly with a concrete type.
|
|
|
|
A sign conversion warning was occurring due to an int < size_t
comparison.
|
|
These aren't directly important or commonly used within the process, so
we can move these to the bottom to allow everything else to be more
likely to be within a cache line.
|
|
Removes even more usages of the global system instance, trimming away
more dependencies on global variables and making them explicit in the
interface.
|
|
In all usages of LogSetting(), string literals are provided.
std::string_view is better suited here, as we won't churn a bunch of
string allocations every time the settings are logged out.
While we're at it, we can fold LogSetting() into LogSettings(), given
it's only ever used there.
|
|
This is only used in one place, so we can fold it into the calling code,
eliminating a place for the global system instance to be used.
|
|
|
|
|
|
|
|
- This checks for and removes old updates or dlc based on title id. If a content meta nca exists within the registered cache, it will attempt to remove all the ncas associated with the content meta before installing a new update/dlc
|
|
|
|
This was based on Atmosphére's DMNT Cheat VM:
- https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/dmnt/source/cheat/impl/dmnt_cheat_vm.hpp
- https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/dmnt/source/cheat/impl/dmnt_cheat_vm.cpp
From Atmosphére's documentation: "Code type 0xC3 reads or writes a static register with a given register"
There are now only two remaining opcodes to implement (PauseProcess and BreakProcess)
This is untested because I don't have any experience in testing cheats on yuzu
|
|
|
|
Creates a new function that can be expanded later to fix other settings that are known to cause emulation errors across executables.
|
|
configuration: Add settings to enable/disable specific CPU optimizations
|
|
filesystem: Set various NAND partition sizes to their defaults
|
|
This isn't used, so it can be removed entirely, shrinking the structure
size by 8 bytes.
|
|
We can define an alias for the index arrays and then just reuse it to
make the code nicer to read.
|
|
We can alter the structure so that we can use designated initializers in
the array, eliminating the comments that indicate their field names.
|
|
Profiling shows that this is a highly contested mutex, causing dimishing
results compared to a OS lock. std::mutex implementations can spin for a
while before falling back to an OS lock.
This avoids wasting precious CPU cycles in a no-op.
|
|
vfs_real: Fix MoveFile
|
|
When zero byte files are present, the key (offset) for that file is identical to the file right after. A std::map isn't able to fit key-value pairs with identical keys (offsets), therefore, the solution is to use std::multimap which permits multiple entries with the same key.
This most prominently fixes Pokemon Sword and Shield weather with any RomFS mod applied.
|
|
AM: fix GetDesiredLanguage:
|
|
and default miis.
|
|
|
|
|