summaryrefslogtreecommitdiff
path: root/src/core/loader (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Common: Rename the File namespace to FileUtil, to match the filename and ↵Gravatar Emmanuel Gil Peyrot2014-09-173-5/+5
| | | | prevent collisions.
* Merge pull request #99 from archshift/ext-checkGravatar bunnei2014-09-111-15/+16
|\ | | | | loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
| * Added string_util to common, small changes in loader.cppGravatar archshift2014-09-081-16/+15
| |
| * loader.cpp: improved file extension checking, made Upper/LowerStr usefulGravatar archshift2014-09-081-6/+8
| | | | | | | | Instead of forcibly taking the last 4 characters, it now finds the last extension separator (the period) and takes a substr of its location.
* | core: Prune redundant includesGravatar archshift2014-09-081-1/+0
|/
* ncch: Remove C-style struct typedefsGravatar Lioncash2014-09-061-4/+4
| | | | In C++ you can simply just declare it as is.
* ncch: inline declare some variables in LZSS_DecompressGravatar Lioncash2014-09-061-7/+5
|
* Loader: Added support for loading raw BIN executables.Gravatar bunnei2014-08-282-0/+21
| | | | | | - Useful for debugging homebrew Qt: Updated GUI to support loading .bin files.
* NCCH: Updated ExeFS memory allocation to be safer.Gravatar bunnei2014-07-042-1/+7
|
* Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as ↵Gravatar bunnei2014-07-042-9/+9
| | | | "override".
* Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"Gravatar bunnei2014-07-042-2/+2
|
* Loader: Updated read methods to be constGravatar bunnei2014-07-043-66/+77
| | | | - Required "file" handle to be made local and explicitly opened/closed as needed
* FileSys: Added preliminary support for applications reading the RomFS archive.Gravatar bunnei2014-07-041-4/+11
| | | | | | | | | | 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.
* Loader: Refactored interface such that data is no longer stored by loader.Gravatar bunnei2014-06-273-96/+73
| | | | NCCH: Removed extra qualification ‘Loader::AppLoader_NCCH::’.
* Loader: Refactored loading functions to only read data from binary if called.Gravatar bunnei2014-06-243-74/+141
| | | | NCCH: Updated LoadExec to use Memory::WriteBlock function to load binary code.
* ELF: Refactored LoadInto(..) to use memcpy, removed unnecessary code.Gravatar bunnei2014-06-241-19/+8
|
* Loader: Refactored use of const.Gravatar bunnei2014-06-246-20/+19
|
* NCCH: Added RomFS loading.Gravatar bunnei2014-06-242-1/+36
|
* NCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections ↵Gravatar bunnei2014-06-243-22/+29
| | | | | | correctly. Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used.
* Loader: Implemented AppLoader interface for abstracting application loading.Gravatar bunnei2014-06-246-523/+672
| | | | | | | | | | | | | | | | | | - 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.
* NCCH: Changed decompression to load .code directly into memory rather than ↵Gravatar bunnei2014-06-171-9/+3
| | | | an intermediate buffer.
* Elf: Removed unused macros, changed #include of "common.h" to just ↵Gravatar bunnei2014-06-171-117/+1
| | | | "common_types.h".
* Loader: Cleaned up and removed unused code, refactored ELF namespace.Gravatar bunnei2014-06-164-209/+70
|
* Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> ↵Gravatar bunnei2014-06-165-357/+332
| | | | spaces.
* Loader: Added support for booting NCCH executables.Gravatar bunnei2014-06-163-0/+374
| | | | NCCH: Fixed typo in printing NCCH filename.
* Loader: Moved elf and loader modules to a "loader" subdirectory.Gravatar bunnei2014-06-165-0/+805