| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Given the std::vector was const, an automatic move out of the function
could not occur.
We can allow automatic return value optimizations to occur by making the
buffer non-const.
|
| | |
|
| | |
|
| |
|
|
| |
- helpful to disambiguate Kernel::Memory namespace.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Certain newer unity games (Terraria, Pokemon Mystery Dungeon) require
that the argument region be populated. Failure to do so results in
an integer underflow in argument count, and eventually an unmapped
read at 0x800000000. Providing this default fixes this.
Note that the behavior of official software is as yet unverified,
arguments-wise.
|
| |
|
|
|
| |
It is currently a std::vector, however we might want to replace it with a more fancy allocator.
So we can't use the C++ iterators any more.
|
| | |
|
| |
|
| |
As opposed to converting to string and then back to hex array
|
| | |
|
| |\
| |
| | |
nsp: Fix various errors with loading and processing of extracted NSPs
|
| | |
| |
| |
| | |
Avoids all extracted NSPs being marked as error file type because they don't have program NCAs.
|
| | |
| |
| |
| | |
Avoids 0 being used as title ID for all extracted NSPs.
|
| | |
| |
| |
| |
| |
| | |
With this, the "Developer" field in the Properties for homebrew is now populated.
Signed-off-by: Nick Renieris <velocityra@gmail.com>
|
| | |
| |
| |
| |
| |
| | |
This commit ensures that all backing memory allocated for the Guest CPU
is aligned to 256 bytes. This due to how gpu memory works and the heavy
constraints it has in the alignment of physical memory.
|
| | | |
|
| |\ \
| | |
| | | |
loader, file_sys: Add support for parsing and loading KIP (Kernel Internal Process) files
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
core: Add detailed local reporting feature for development
|
| | | | |
| | | |
| | | | |
Also cleanup of general stuff
|
| | | | |
| | | |
| | | |
| | | | |
Needed for backtrace decomposition
|
| | |_|/
|/| |
| | |
| | |
| | |
| | | |
These can be generified together by using a concept type to designate
them. This also has the benefit of not making copies of potentially very
large arrays.
|
| |\ \ \
| |_|/
|/| | |
core/telemetry_session: Remove usages of the global system accessor
|
| | |/
| |
| |
| | |
This is a hold-over from Citra and doesn't apply to yuzu.
|
| |/
|
|
|
| |
This was previously performing a size_t == int comparison. Silences a
-Wsign-compare warning.
|
| |
|
|
| |
Unintentionally introduced in 552d5071fa171165e4054392d8bb6bf2ecc924e2
|
| |
|
|
|
|
|
|
|
| |
This gives us significantly more control over where in the
initialization process we start execution of the main process.
Previously we were running the main process before the CPU or GPU
threads were initialized (not good). This amends execution to start
after all of our threads are properly set up.
|
| |\
| |
| | |
file_sys: Provide generic interface for accessing game data
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Applies the override specifier where applicable. In the case of
destructors that are defaulted in their definition, they can
simply be removed.
This also removes the unnecessary inclusions being done in audin_u and
audrec_u, given their close proximity.
|
| |\ \
| | |
| | | |
Better LZ4 compression utilization for the disk based shader cache and the yuzu build system
|
| | | | |
|
| | |/
| |
| |
| | |
decompression instead.
|
| |\ \
| |/
|/| |
kernel/codeset: Make CodeSet's memory data member a regular std::vector
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The use of a shared_ptr is an implementation detail of the VMManager
itself when mapping memory. Because of that, we shouldn't require all
users of the CodeSet to have to allocate the shared_ptr ahead of time.
It's intended that CodeSet simply pass in the required direct data, and
that the memory manager takes care of it from that point on.
This means we just do the shared pointer allocation in a single place,
when loading modules, as opposed to in each loader.
|
| |\ \
| | |
| | | |
loader/nso: Minor refactoring
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
namespace
Makes it impossible to indirectly violate the ODR in some other
translation unit due to these existing.
|
| | | |
| | |
| | |
| | |
| | | |
Now that the NSO header has the proper size, we can just use sizeof on
it instead of having magic constants.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
This source file was utilizing its own version of the NSO header.
Instead of keeping this around, we can have the patch manager also use
the version of the header that we have defined in loader/nso.h
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
The total struct itself is 0x100 (256) bytes in size, so we should be
providing that amount of data.
Without the data, this can result in omitted data from the final loaded
NSO file.
|
| |/
|
|
|
| |
Instead, pass in the core timing instance and make the dependency
explicit in the interface.
|
| |\
| |
| | |
file_sys: Implement parser and interpreter for game memory cheats
|
| | | |
|
| | |
| |
| |
| | |
For rom directories (and by extension, XCI/NSP/NAX/NCA) this is for the NSO with name 'main', for regular NSOs, this is the NSO.
|