| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
system is created (#3688)
- our logging code was bigger than spdlog itself, why???? just keep it simple
- fix issues when logging before logging system is even started
- removes the "initialized logging twice" issue
- removes uneeded indirection in file logging
- uses direct formatting instead of jumping hoopla-around the fmt::format() ressult
- code duplication and dead code removal as usual
I did explore dup2() but I think it's not worth the hassle
I did try `fwopen()` but it's better if things are just kept as-is.
there is a lot of noise because I removed a bunch of redundant files on logging and just put everything in one file
now normally this wouldn't be a good idea, however consider: the complexity of logging; it's less than 500 lines... does it really need a whole subsystem?!?!?! ITS JUST LOGGING
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3688
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: DraVee <chimera@dravee.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
|
| | |
|
| |\
| |
| | |
file_sys/card_image: support dumps with prepended key area
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| | |
|
| |
|
|
|
| |
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
|
| | |
|
| |
|
| |
Adds support for loading games with multiple programs embedded within such as the Dragon Quest 1+2+3 Collection
|
| |
|
|
| |
Brings us closer to enabling -Wshadow as an error in the core code.
|
| | |
|
| |
|
|
| |
Same behavior, minus unnecessary inclusions where not necessary.
|
| |
|
|
|
|
| |
Previously, we were reading the keys everytime a KeyManager object was created, causing yuzu to reread the keys file multiple hundreds of times when loading the game list.
With this change, it is only loaded once.
On my system, this decreased game list loading times by a factor of 20.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Used by fsp-srv/IDeviceOperator
|
| |
|
|
| |
Includes version and meta title ID, used by fsp-srv/IDeviceOperator
|
| |
|
|
| |
We already support Rev 1+.
|
| |
|
|
| |
Makes for nicer reading.
|
| |
|
|
| |
Makes for more consistent reading.
|
| |
|
|
| |
Same thing, significantly less noisy.
|
| |
|
|
|
| |
Same thing, less duplication. We can also std::move raw into the
PartitionFilesystem constructor.
|
| |
|
|
| |
We can just use the size of the array to dehardcode it.
|
| |
|
|
| |
Same thing, less code.
|
| |
|
|
| |
Creates a single KeyManager for the entire container and then passes it into the NCA constructor, eliminating several unnecessary KeyManager reads.
|
| |
|
|
| |
When writing VFS, it initally seemed useful to include a function to in-place convert container files into directories in one homogenous directory structure, but re-evaluating it now there have been plenty of chances to use it and there has always been a better way. Removing as it is unused and likely will not be used.
|
| |
|
|
|
|
| |
The only reason the getter existed was to check whether or not the
program NCA was null. Instead, we can just provide a function to query
for the existence of it, instead of exposing it entirely.
|
| |
|
|
|
|
| |
If any of the error paths before the NCA retrieval are taken, it'll
result in program_nca_status being left in an inconsistent state. So we
initialize it by default with a value indicating an error.
|
| | |
|
| |
|
|
| |
Now display correct error instead of catch-all MissingProgramNCA
|
| | |
|
| | |
|
| |
|
|
| |
Eliminated duplicate code and adds support for Rev1+ carts
|
| |
|
|
|
| |
Cuts down on include dependencies, resulting in less files that need to
be rebuilt when certain things are changed.
|
| | |
|
| |
|
|
| |
Prevents NCA-related errors from being masked into MissingProgramNCA or MissingKeyFile
|
| |\
| |
| | |
file_sys: Add support for registration format
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
We can make the enum class type compatible with fmt by providing an
overload of operator<<.
While we're at it, perform proper bounds checking. If something exceeds
the array, it should be a hard fail, because it's, without a doubt, a
programmer error in this case.
|
| | |
| |
| |
| | |
We have the aliases, so we may as well use 'em.
|
| |/
|
|
|
| |
We don't need to write out the construction long-form, we can just let
the language itself work it out off the return type.
|
| |
|
| |
Full list of new errors and descriptions in core/loader/loader.h
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|