| Age | Commit message (Collapse) | Author |
|
Rightnow, in games use GetAvailableLanguageCodes(), there is a WriteBuffer() with size larger than the buffer_size. (Core Critical core\hle\kernel\hle_ipc.cpp:WriteBuffer:296: size (0000000000000088) is greater than buffer_size (0000000000000078))
0x88 = 17(languages) * 8
0x78 = 15(languages) * 8
GetAvailableLanguageCodes() can only support 15 languages.
After firmware 4.0.0 there are 17 supported language instead of 15, to enable this GetAvailableLanguageCodes2() need to be used.
So GetAvailableLanguageCodes() will be caped at 15 languages.
Reference:
http://switchbrew.org/index.php/Settings_services
|
|
filesystem: Fix typo in log message
|
|
file_sys: Add support for NAX archives
|
|
|
|
qt: Add filename and title id to window title while running
|
|
|
|
|
|
This is needed because the title IDs of update NCAs will not use the update title ID. The only sure way to tell is to look for a partition with BKTR crypto.
|
|
* Added GetBootMode
Used by homebrew
* Added enum for GetBootMode
|
|
|
|
|
|
On call to WriteKeyToFile, so that the autogenerated file can be written.
|
|
|
|
|
|
Stored in a separate file than manual keys.
|
|
|
|
Should make key gets marginally faster.
|
|
|
|
Returns the file before calling parser on it.
|
|
|
|
|
|
Allows frontend to create registration caches for use before a game has booted.
|
|
|
|
|
|
|
|
|
|
XTS with Nintendo Tweak will fail mysteriously if the sector size is not 0x4000. Upgrade the critical log to an assert to prevent undefined behavior.
|
|
Fixes a bug where data lengths of less than size 0x10 will fail or have misleading return values.
|
|
Prevents NCA-related errors from being masked into MissingProgramNCA or MissingKeyFile
|
|
qt/main: Port part of citra(#3411), open savedata works
|
|
Port #3353 from Citra: "citra-qt: Add customizable speed limit target "
|
|
Should fix any compile errors
|
|
* Added bfttf loading
We can now load system bfttf fonts from system archives AND shared memory dumps. This allows people who have installed their system nand dumps to yuzu to automatically get shared font support. We also now don't hard code the offsets or the sizes of the shared fonts and it's all calculated for us now.
* Addressed plu fixups
* Style changes for plu
* Fixed logic error for plu and added more error checks.
|
|
vfs: Replace mode.h include with forward declarations where applicable
|
|
Avoids the need to rebuild these source files if the mode header
changes.
|
|
Gets rid of the potential for C array-to-pointer decay, and also makes
pointer arithmetic to get the end of the copy range unnecessary. We can
just use std::array's begin() and end() member functions.
|
|
sdmc_factory: Remove unnecessary core include
|
|
25us is far too small, and would result in std::this_thread::sleep_for
being called with this as a maximum value. This means that a guest
application that produces frames instantly would only be limited to
40 kHz.
25ms is a more appropriate value, as it allows for a 60 Hz refresh
rate while providing enough slack in the negative region.
|
|
This doesn't require the central core header to be included, it just
needs the vfs headers.
|
|
|
|
romfs_factory, service/filesystem: Use forward declarations where applicable
|
|
Avoids the need to rebuild multiple source files if the filesystem code
headers change.
This also gets rid of a few instances of indirect inclusions being
relied upon
|
|
telemetry_session: Don't allocate std::string instances for program lifetime in GetTelemetryId() and RegenerateTelemetryId()
|
|
acc/profile_manager: General cleanup
|
|
where applicable
Avoids the need to rebuild whatever includes the romfs factory header if
the loader header ever changes. We also don't need to include the main
core header. We can instead include the headers we specifically need.
|
|
filesystem: Add support for loading of system archives
|
|
in GetTelemetryId() and RegenerateTelemetryId()
Given these functions aren't intended to be used frequently, there's no
need to keep the std::string instances allocated for the whole lifetime
of the program. It's just a waste of memory.
|
|
This is only used in a shared_ptr, so we can forward declare it.
|
|
We have an overload of WriteBuffer that accepts containers that satisfy
the ContiguousContainer concept, which std::array does, so we only need
to pass in the array itself.
|
|
Arranges them in the order the members would be initialized
|