Lioncash
50d08beed2
loader: Amend Doxygen comments
These weren't adjusted when VFS was introduced
8 years ago
Zach Hilman
29aff8d5ab
Virtual Filesystem 2: Electric Boogaloo ( #676 )
* Virtual Filesystem
* Fix delete bug and documentate
* Review fixes + other stuff
* Fix puyo regression
8 years ago
bunnei
913896cbd9
Revert "Virtual Filesystem ( #597 )"
This reverts commit 77c684c114 .
8 years ago
Zach Hilman
77c684c114
Virtual Filesystem ( #597 )
* Add VfsFile and VfsDirectory classes
* Finish abstract Vfs classes
* Implement RealVfsFile (computer fs backend)
* Finish RealVfsFile and RealVfsDirectory
* Finished OffsetVfsFile
* More changes
* Fix import paths
* Major refactor
* Remove double const
* Use experimental/filesystem or filesystem depending on compiler
* Port partition_filesystem
* More changes
* More Overhaul
* FSP_SRV fixes
* Fixes and testing
* Try to get filesystem to compile
* Filesystem on linux
* Remove std::filesystem and document/test
* Compile fixes
* Missing include
* Bug fixes
* Fixes
* Rename v_file and v_dir
* clang-format fix
* Rename NGLOG_* to LOG_*
* Most review changes
* Fix TODO
* Guess 'main' to be Directory by filename
8 years ago
James Rowe
638956aa81
Rename logging macro back to LOG_*
8 years ago
Zach Hilman
63f26d5c40
Add support for decrypted NCA files ( #567 )
* Start to add NCA support in loader
* More nca stuff
* More changes to nca.cpp
* Now identifies decrypted NCA cont.
* Game list fixes and more structs and stuff
* More updates to Nca class
* Now reads ExeFs (i think)
* ACTUALLY LOADS EXEFS!
* RomFS loads and games execute
* Cleanup and Finalize
* plumbing, cleanup and testing
* fix some things that i didnt think of before
* Preliminary Review Changes
* Review changes for bunnei and subv
8 years ago
Lioncash
cc2e14ec2a
loader: Move old logging macros over to new fmt-capable ones
8 years ago
bunnei
386df282a3
loader: Clean up ctors and includes.
8 years ago
bunnei
e75aba3ed0
loader: Add DeconstructedRomDirectory for game dumps.
8 years ago
bunnei
023aef053c
loader: Refactor to also pass filepath into IdentifyType.
8 years ago
Thog
06e288cea0
Add missing FileType declarations in GuessFromExtension and GetFileTypeString
8 years ago
bunnei
dbd15b0d10
Remove more 3DS-specific code.
8 years ago
bunnei
72b03025ac
Remove lots more 3DS-specific code.
8 years ago
bunnei
23ce4f5afc
loader: Various improvements for NSO/NRO loaders.
8 years ago
bunnei
33ea53094c
loader: Add support for NRO, as well as various fixes and shared linker.
8 years ago
bunnei
6bafd3f4f7
loader: Add support for loading an NSO.
8 years ago
wwylele
4b931bb913
loader: lower file name logging level
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
Emmanuel Gil Peyrot
dc8479928c
Sources: Run clang-format on everything.
9 years ago
Emmanuel Gil Peyrot
314ce5e505
CitraQt: Simplify the game list loader code
10 years ago
Emmanuel Gil Peyrot
8fc9c03126
Loader, Frontends: Refactor loader creation and game loading
This allows frontends to keep a single loader and use it multiple times
e.g. for code loading and SMDH parsing.
10 years ago
wwylele
d2182568ad
fix:return proper error
10 years ago
wwylele
5d5dd66d92
add icon & title to game list
10 years ago
MerryMage
a06dcfeb61
Common: Remove Common::make_unique, use std::make_unique
10 years ago
LittleWhite
4be68dddfb
Improve error report from Init() functions
Add error popup when citra initialization failed
10 years ago
LittleWhite
7ad669a911
Display errors in GUI when loading ROM failed
10 years ago
archshift
bba12520c4
Expose loader helper functions for identifying files.
10 years ago
Cruel
d60a9be5c6
Implement 3dsx RomFS
10 years ago
Lioncash
d3efa637b4
General: Fix up doxygen comments
10 years ago
Benjamin Barenblat
c0a87bc89f
Properly indicate that CIA support is not implemented yet
Make `Loader::LoadFile` return an `ErrorNotImplemented` if you call
it on a CIA file.
11 years ago
Benjamin Barenblat
cd8be1846b
Give CIA file type a name
Make `GetFileTypeString` return ‘CIA’ for CIA (CTR Importable
Archive) files.
11 years ago
Lioncash
43d799fd9d
loader: Remove unnecessary else usages
11 years ago
Yuri Kunde Schlesner
2d7299a86f
Loader: Remove unnecessary pointer indirection to IOFile
11 years ago
condut
c385b7767d
FS: Stream RomFS from file instead of loading all of it to memory
11 years ago
Emmanuel Gil Peyrot
596b7c4f63
Common: Cleanup key_map includes.
11 years ago
Emmanuel Gil Peyrot
8cf9eb7f43
Common: Fix FileUtil includes, and everything relying on those.
11 years ago
Yuri Kunde Schlesner
7ada357b2d
Memmap: Re-organize memory function in two files
memory.cpp/h contains definitions related to acessing memory and
configuring the address space
mem_map.cpp/h contains higher-level definitions related to configuring
the address space accoording to the kernel and allocating memory.
11 years ago
Yuri Kunde Schlesner
eb3eb9f75d
Loader: Remove .bin file support
It is of very limited practical utility currently, and will soon be
impossible to support due to more accurate memory map emulation.
11 years ago
Yuri Kunde Schlesner
3cb19c9589
Process: Rename StaticAddressMapping => AddressMapping
11 years ago
Yuri Kunde Schlesner
2af30d465f
Process: Support parsing of exheader kernel caps
11 years ago
Yuri Kunde Schlesner
a5eba2f984
Kernel: Remove g_program_id
This has been obsoleted by the field in Process.
11 years ago
Yuri Kunde Schlesner
6d60acf0f1
Kernel: Introduce skeleton Process class to hold process data
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
11 years ago
Subv
8e2b248e05
Build: Fixed some warnings
11 years ago
Yuri Kunde Schlesner
3f1a3952d7
FS: Allow multiple instances of the same archive type to be open at once
11 years ago
Lioncash
0c4685ca12
loader: Add missing printf argument
11 years ago
Emmanuel Gil Peyrot
2c24e539a2
Loader: Display the type of the file being loaded.
11 years ago
Emmanuel Gil Peyrot
82ec17db7d
Loader: Guess filetype from the magic, or fallback to the extension.
11 years ago
Emmanuel Gil Peyrot
b5237e885d
Loader: Keep a reference to the file and pass it to the correct AppLoader, instead of loading it multiple times.
11 years ago
Emmanuel Gil Peyrot
43e699d849
Loader: Don’t duplicate the docstring into the cpp file.
11 years ago