bunnei
756c19b448
system_archive: Add a basic HLE implementation for time zone binary.
6 years ago
Morph
2b0823df12
patch_manager: Adds check for disabled cheats to prevent them from being enabled ( #3178 )
* Adds check for disabled cheats to prevent them from being added to the CheatList
* Address feedback
6 years ago
Lioncash
0da88a9876
filesys/romfs: Remove unused includes
These inclusions aren't used at all within the public interface, so they
can be removed.
6 years ago
Lioncash
eada47f40f
filesys/romfs: Make ProcessFile and ProcessDirectory internally linked
These functions aren't used outside of this file, so we can place them
within an anonymous namespace.
6 years ago
Lioncash
a56ce41cc2
file_sys/directory: Make EntryType an enum class
This can trivially be an enum class rather than a regular enum, making
it more strongly typed.
6 years ago
Lioncash
fd6e676326
xts_archive: Remove redundant std::string constructor
We can just call the .data() member of path instead of constructing a
completely new string.
7 years ago
Lioncash
4c6cd8b9e8
core: Migrate off deprecated mbedtls functions
These functions are marked for deprecation and it's recommended that the
*_ret variants be used instead.
7 years ago
Lioncash
93dd86b390
loader; Resolve sign conversion/truncation errors
7 years ago
Lioncash
e7f1a6b096
file_sys: Resolve sign conversion warnings
Resolves a few trivial sign conversion/mismatch errors.
7 years ago
bunnei
fe02b9f968
common_func: Use std::array for INSERT_PADDING_* macros.
- Zero initialization here is useful for determinism.
7 years ago
Zach Hilman
d5f1f99d99
savedata_factory: Automatically create certain savedata
After further hardware investigation, it appears that some games, perhaps those more lazily coded, will not call EnsureSaveData, meaning that they expect the normal (current) save to be automatically made. Additionally, some games do not create a cache or temporary save before use.
In these 3 specific instances, the save is created automatically for the game if it doesn't exist.
7 years ago
Zach Hilman
fd66788be4
card_image: Implement system update commands in XCI
7 years ago
Zach Hilman
8d904c20be
pl_u: Fix mismatched rebase size error in font encryption
7 years ago
Zach Hilman
1dcc71fc9c
pl_u: Use kernel physical memory
7 years ago
Zach Hilman
d37be63099
pl_u: Use OSS system archives if real archives don't exist
7 years ago
Zach Hilman
612b086bd4
system_archive: Synthesize shared fonts system archives
7 years ago
Zach Hilman
cd8c6a4afd
externals: Move OSS font data to file_sys in core
7 years ago
Lioncash
922799f1d5
core: Remove Core::CurrentProcess()
This only encourages the use of the global system instance (which will
be phased out long-term). Instead, we use the direct system function
call directly to remove the appealing but discouraged short-hand.
7 years ago
Lioncash
e4e4af80e8
hle/service: Replace global system instance calls with instance-based ones
Migrates the HLE service code off the use of directly accessing the
global system instance where trivially able to do so.
This removes all usages of Core::CurrentProcess from the service code,
only 8 occurrences of this function exist elsewhere. There's still quite
a bit of "System::GetInstance()" being used, however this was able to
replace a few instances.
7 years ago
Zach Hilman
098f7e89fd
bcat: Implement DeliveryCacheProgressImpl structure
Huge thanks to lioncash for re-ing this for me.
7 years ago
Zach Hilman
9f3dfba950
boxcat: Use Etag header names for file digest
7 years ago
Zach Hilman
010cc6e4f4
filesystem: Add getter for BCAT temporary directory
7 years ago
Zach Hilman
82f636f1ed
vfs: Add function to extract ZIP file into virtual filesystem
7 years ago
Zach Hilman
30eb8fa105
card_image: Add accessors for raw partitions in XCI
7 years ago
Zach Hilman
2e7ba9d78f
card_image: Lazily load partitions in XCI
7 years ago
Zach Hilman
7e56536d35
pfs: Provide accessors for file sizes and offsets
7 years ago
David Marcec
f35665aa28
Revert "Merge pull request #2709 from DarkLordZach/oss-ext-fonts-1"
This reverts commit 66d80be727 , reversing
changes made to 43decd1681 .
7 years ago
Zach Hilman
949a913356
pl_u: Use kernel physical memory
7 years ago
Zach Hilman
bcac1b8ff5
dmnt_cheat_vm: Default initialize structure values
7 years ago
Zach Hilman
977d27ed15
pl_u: Use OSS system archives if real archives don't exist
7 years ago
Zach Hilman
2b944e0d70
patch_manager: Update cheat parsing for new VM
7 years ago
Zach Hilman
deacc2bb25
cheat_engine: Move to memory and strip VM
This is to go with the Atmosphere VM port, now it just contains the callbacks needed for the interface between DmntCheatVm and yuzu, along with the cheat parsers.
7 years ago
Zach Hilman
f005898fb4
system_archive: Synthesize shared fonts system archives
7 years ago
Zach Hilman
896045aa4f
externals: Move OSS font data to file_sys in core
7 years ago
Zach Hilman
04078a2139
configure_debug: Move reporting option to logging
7 years ago
Zach Hilman
541bf1b996
filesystem: Add const qualification to various accessors
7 years ago
Zach Hilman
c3ad37b707
yuzu: Port old usages of Filesystem namespace to FilesystemController
7 years ago
Zach Hilman
c094f75276
card_image: Add accessors for gamecard certificate
Used by fsp-srv/IDeviceOperator
7 years ago
Zach Hilman
58dba10b63
card_image: Add functions to query gamecard update partition
Includes version and meta title ID, used by fsp-srv/IDeviceOperator
7 years ago
Zach Hilman
8dcda218d8
content_archive: Add accessors for Rights ID and SDK Version
7 years ago
Zach Hilman
a4b2e1c5ce
sdmc_factory: Add SD Card size getters
7 years ago
Zach Hilman
4a2e1c6ae6
bis_factory: Add getters for NAND partition sizes
7 years ago
Zach Hilman
91d032d433
submisson_package: Fix edge case with improperly sized filenames
Prevents a crash if the filename is less than 9 characters long.
7 years ago
Zach Hilman
915ea374f8
sdmc_factory: Add accessor for SDMC Album directory
7 years ago
Zach Hilman
3c2e2156e0
sdmc_factory: Add accessor for SDMC PlaceholderCache
7 years ago
Zach Hilman
147fa325d9
sdmc_factory: Add accessor for content directory
7 years ago
Zach Hilman
85ae125737
savedata_factory: Implement savedata creation and don't create dir on open
Matches hardware behavior and eliminates some nasty behavior we were doing that wasn't hw-accurate at all.
7 years ago
Zach Hilman
1d342149cd
patch_manager: Add short-circuit edge-case to GetPatchVersionNames
If title ID is 0, there are no add ons, prevents wasting time looking for them.
7 years ago
Zach Hilman
e4336e33d6
patch_manager: Add error checking to load dir to prevent crashes
Prevents a crash if the load dir would be nullptr, instead logs an error and returns appropriately.
7 years ago
Zach Hilman
ae762910b1
registered_cache: Process *.cnmt.nca files
Needed to use the RegisteredCache/PlaceholderCache on gamecards.
7 years ago