Commit Graph

64 Commits (72b03025ac4ef0d8633c2f3e55b513cd149c59e5)

Author SHA1 Message Date
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 8 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 9 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.
9 years ago
wwylele d2182568ad fix:return proper error 9 years ago
wwylele 5d5dd66d92 add icon & title to game list 9 years ago
MerryMage a06dcfeb61 Common: Remove Common::make_unique, use std::make_unique 9 years ago
LittleWhite 4be68dddfb Improve error report from Init() functions
Add error popup when citra initialization failed
9 years ago
LittleWhite 7ad669a911 Display errors in GUI when loading ROM failed 9 years ago
bunnei 11a64acf23 Merge pull request #1095 from archshift/game-list
Initial implementation of a game list
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.
10 years ago
Benjamin Barenblat cd8be1846b
Give CIA file type a name
Make `GetFileTypeString` return ‘CIA’ for CIA (CTR Importable
Archive) files.
10 years ago
Lioncash 43d799fd9d loader: Remove unnecessary else usages 10 years ago
Yuri Kunde Schlesner 2d7299a86f Loader: Remove unnecessary pointer indirection to IOFile 10 years ago
condut c385b7767d FS: Stream RomFS from file instead of loading all of it to memory 10 years ago
Emmanuel Gil Peyrot 596b7c4f63 Common: Cleanup key_map includes. 10 years ago
Emmanuel Gil Peyrot 8cf9eb7f43 Common: Fix FileUtil includes, and everything relying on those. 10 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.
10 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.
10 years ago
Yuri Kunde Schlesner 3cb19c9589 Process: Rename StaticAddressMapping => AddressMapping 10 years ago
Yuri Kunde Schlesner 2af30d465f Process: Support parsing of exheader kernel caps 10 years ago
Yuri Kunde Schlesner a5eba2f984 Kernel: Remove g_program_id
This has been obsoleted by the field in Process.
10 years ago
Yuri Kunde Schlesner 6d60acf0f1 Kernel: Introduce skeleton Process class to hold process data 10 years ago
Yuri Kunde Schlesner e1fbac3ca1 Common: Remove common.h 10 years ago
Subv 8e2b248e05 Build: Fixed some warnings 10 years ago
Yuri Kunde Schlesner 3f1a3952d7 FS: Allow multiple instances of the same archive type to be open at once 10 years ago
Lioncash 0c4685ca12 loader: Add missing printf argument 10 years ago
Emmanuel Gil Peyrot 2c24e539a2 Loader: Display the type of the file being loaded. 10 years ago
Emmanuel Gil Peyrot 82ec17db7d Loader: Guess filetype from the magic, or fallback to the extension. 10 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. 10 years ago
Emmanuel Gil Peyrot 43e699d849 Loader: Don’t duplicate the docstring into the cpp file. 10 years ago
Dante38490 e674aa31af Fix correct espace 10 years ago
Dante38490 35a085d567 Add support load 3DS room 10 years ago
bunnei 0de6a08d75 Merge pull request #291 from purpasmart96/license
License change
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
Yuri Kunde Schlesner f6153679b0 Service.FS: Do archive registration using IdCode instead of name 11 years ago
Yuri Kunde Schlesner ca67bb7945 HLE: Rename namespaces to match move & fix initialization order 11 years ago
Yuri Kunde Schlesner c72ccfa6db HLE: Move kernel/archive.* to service/fs/ 11 years ago
Yuri Kunde Schlesner 0600e2d8b5 Convert old logging calls to new logging macros 11 years ago