Commit Graph

46 Commits (84fbbe26297652d994d203bde543ec252c2d801a)

Author SHA1 Message Date
Yuri Kunde Schlesner 84fbbe2629 Use negative priorities to avoid special-casing the self-include 9 years ago
Emmanuel Gil Peyrot ebdae19fd2 Remove empty newlines in #include blocks.
This makes clang-format useful on those.

Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Yuri Kunde Schlesner 396a8d91a4 Manually tweak source formatting and then re-run clang-format 9 years ago
Emmanuel Gil Peyrot dc8479928c Sources: Run clang-format on everything. 9 years ago
wwylele ab2eef396a Service::CFG/FS: add and refactor out utilities for front-end 9 years ago
wwylele 457b6413e6 Service::CFG: move known block ID to an enum 9 years ago
wwylele 324c8d21a4 Service::CFG: add SetConfigInfoBlk4 9 years ago
wwylele 3687a805ec Service::CFG: name sound output modes 9 years ago
bunnei ab4b27f0f5 Merge pull request #1692 from Subv/rm_getpointer2
Memory: Remove most usages of GetPointer
9 years ago
MerryMage 64068583fb CFG: Remove use of Memory::GetPointer 9 years ago
wwylele 9b66e0dc8b clean up config block 9 years ago
wwylele 84ade0713c add config block 0x00170000 9 years ago
Subv 3aa42627a3 HLE/FS: Corrected some style concerns. 9 years ago
Subv 95380d8950 HLE/FS: Fixed creating the config savefile when it doesn't exist.
This fixes a regression.
9 years ago
Subv d26c6b3212 HLE/FS: Implemented GetFormatInfo
Format information is currently only implemented for the ExtSaveData, SharedExtSaveData and SaveData archives, the information is stored in a file alongside the root folder of the archive.
9 years ago
Yuri Kunde Schlesner 1912c4691b Service/CFG: Fix potential endianess issue 9 years ago
Yuri Kunde Schlesner 228d8ac14a Service/CFG: Add block 0x000A0000 (username) to default config file 9 years ago
MerryMage 6c71858c5c BitField: Make trivially copyable and remove assignment operator 9 years ago
Lioncash 0937bed8d8 services: Get rid of unnecessary includes 9 years ago
Martin Lindhe bafb7afba2 fix some xcode 7.0 warnings 10 years ago
Lioncash 751fbfdcc3 general: Silence some warnings when using clang 10 years ago
Yuri Kunde Schlesner bbf92a54e5 Service/CFG: Add default entry for block 0x000A0001 (birthday) 10 years ago
Yuri Kunde Schlesner 13a8e39813 Service/CFG: Correct flags in 2 default blocks
Verified against a 9.2.0-20 config save
10 years ago
Yuri Kunde Schlesner d91f1c0624 Service/CFG: Add additional blocks to default save data
These blocks are required by various games to boot.
10 years ago
Yuri Kunde Schlesner 1fe72dcc04 Service/CFG: Move several private types from the header to the cpp 10 years ago
Yuri Kunde Schlesner ac4f7b0fde Service/CFG: Clean up default block creation 10 years ago
Emmanuel Gil Peyrot b1503b2020 Remove every trailing whitespace from the project (but externals). 10 years ago
purpasmart96 dd9aed9ea9 CFG: Update the cfg service to be like other integrated services 10 years ago
Yuri Kunde Schlesner e1fbac3ca1 Common: Remove common.h 10 years ago
Yuri Kunde Schlesner b89f644cfe FileSys: De-inline Path members 10 years ago
Yuri Kunde Schlesner 6f89d25f90 FileSys: Clean-up includes, de-inline destructors 10 years ago
bunnei e0cb85691a Services: Initialize all state variables at bootup. 10 years ago
purpasmart96 c3a480160e Services/Loader: Use more sensible log formats for certain functions
along with more info being logged.
10 years ago
purpasmart96 198c0ddc72 Services: Stubs and minor changes 10 years ago
bunnei 8a1cc5b805 Merge pull request #589 from kevinhartman/config-errors
Fix errorcodes for bad config block request
10 years ago
Subv 83a8975cb8 Services: Moved the PTM and APT services to their own folder
This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs.

Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands.
10 years ago
Subv 9db5c9b6dc Archives: Properly implemented the SystemSaveData archive.
Ported to the new factory pattern we have for archives.
10 years ago
Kevin Hartman a6fdb8f217 Fix error message for bad config block request. 10 years ago
archshift ef24e72b26 Asserts: break/crash program, fit to style guide; log.h->assert.h
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time)
As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing)

Also removed some GEKKO cruft.
10 years ago
Subv 71a063f45c Archives: Changed the way paths are built for the archives.
Each archive now takes a mount point of either NAND or SDMC, and builds its own directory structure there, trying to simulate an HLE-friendly hardware layout
10 years ago
Subv 2030f9d946 CFG: Fixed some warnings and errors in Clang 10 years ago
Subv 304735fb52 CFG: More style changes 10 years ago
Subv f080e3ccfa CFGU: Indentation 10 years ago
Subv 6f304d3b00 CFG: Some indentation 10 years ago
Subv b3cee19289 CFG: Changed the CreateConfigInfoBlk search loop 10 years ago
Subv 6115f013a9 CFG: Create a new subfolder cfg inside service to handle cfg
Moved most of the shared CFG code there, implemented a few CFG:I functions
10 years ago