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
Dante38490
e674aa31af
Fix correct espace
11 years ago
Dante38490
35a085d567
Add support load 3DS room
11 years ago
purpasmart96
ebfd831ccb
License change
11 years ago
Yuri Kunde Schlesner
82528ba7df
Common: Add a clone of std::make_unique
11 years ago
Subv
ea9ce0fba7
Filesystem/Archives: Implemented the SaveData archive
The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information
Got rid of the code duplication in File and Directory
Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive.
FS_U: Use the correct error code when a file wasn't found
11 years ago
Yuri Kunde Schlesner
83e6e4ffec
FS.Archive: Clean up treatment of archives and their handles
- Refactor FS::Archive internals to make Archive creation and lifetime
management clearer.
- Remove the "Archive as a File" hack.
- Implement 64-bit Archive handles.
11 years ago