aboutsummaryrefslogtreecommitdiff
path: root/src/core/loader
AgeCommit message (Collapse)Author
2014-12-16FS.Archive: Clean up treatment of archives and their handlesYuri Kunde Schlesner
- Refactor FS::Archive internals to make Archive creation and lifetime management clearer. - Remove the "Archive as a File" hack. - Implement 64-bit Archive handles.
2014-12-16Service.FS: Do archive registration using IdCode instead of nameYuri Kunde Schlesner
2014-12-16HLE: Rename namespaces to match move & fix initialization orderYuri Kunde Schlesner
2014-12-16HLE: Move kernel/archive.* to service/fs/Yuri Kunde Schlesner
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner
2014-12-08Loader: Add 3DSX supportichfly
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵Emmanuel Gil Peyrot
or generated
2014-11-17core: Mark some hle functions as staticLioncash
These functions are not referred to by their linkage name outside of the translation unit, so they can be marked as static.
2014-09-17Common: Rename the File namespace to FileUtil, to match the filename and ↵Emmanuel Gil Peyrot
prevent collisions.
2014-09-11Merge pull request #99 from archshift/ext-checkbunnei
loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
2014-09-08core: Prune redundant includesarchshift
2014-09-08Added string_util to common, small changes in loader.cpparchshift
2014-09-08loader.cpp: improved file extension checking, made Upper/LowerStr usefularchshift
Instead of forcibly taking the last 4 characters, it now finds the last extension separator (the period) and takes a substr of its location.
2014-09-06ncch: Remove C-style struct typedefsLioncash
In C++ you can simply just declare it as is.
2014-09-06ncch: inline declare some variables in LZSS_DecompressLioncash
2014-08-28Loader: Added support for loading raw BIN executables.bunnei
- Useful for debugging homebrew Qt: Updated GUI to support loading .bin files.
2014-07-04NCCH: Updated ExeFS memory allocation to be safer.bunnei
2014-07-04Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as ↵bunnei
"override".
2014-07-04Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"bunnei
2014-07-04Loader: Updated read methods to be constbunnei
- Required "file" handle to be made local and explicitly opened/closed as needed
2014-07-04FileSys: Added preliminary support for applications reading the RomFS archive.bunnei
Archive: Fixed brace ugliness for neobrain :) FS: Commented out unused local variables to prevent warnings. ...But keeping them here for future use. archive_romfs: Removed unused #include.
2014-06-27Loader: Refactored interface such that data is no longer stored by loader.bunnei
NCCH: Removed extra qualification ‘Loader::AppLoader_NCCH::’.
2014-06-24Loader: Refactored loading functions to only read data from binary if called.bunnei
NCCH: Updated LoadExec to use Memory::WriteBlock function to load binary code.
2014-06-24ELF: Refactored LoadInto(..) to use memcpy, removed unnecessary code.bunnei
2014-06-24Loader: Refactored use of const.bunnei
2014-06-24NCCH: Added RomFS loading.bunnei
2014-06-24NCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections ↵bunnei
correctly. Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used.
2014-06-24Loader: Implemented AppLoader interface for abstracting application loading.bunnei
- Various cleanups/refactorings to Loader, ELF, and NCCH modules. - Added AppLoader interface to ELF and NCCH. - Updated Qt/GLFW frontends to check AppLoader ResultStatus. NCCH: Removed extra qualification typos. Loader: Removed unnecessary #include's. NCCH: Improved readability of memcmp statements. NCCH: Added missing space. Elf: Removed unnecessary usage of unique_ptr. Loader: Removed unnecessary usage of unique_ptr.
2014-06-17NCCH: Changed decompression to load .code directly into memory rather than ↵bunnei
an intermediate buffer.
2014-06-17Elf: Removed unused macros, changed #include of "common.h" to just ↵bunnei
"common_types.h".
2014-06-16Loader: Cleaned up and removed unused code, refactored ELF namespace.bunnei
2014-06-16Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> ↵bunnei
spaces.
2014-06-16Loader: Added support for booting NCCH executables.bunnei
NCCH: Fixed typo in printing NCCH filename.
2014-06-16Loader: Moved elf and loader modules to a "loader" subdirectory.bunnei