summaryrefslogtreecommitdiffstats
path: root/src/core/loader (follow)
Commit message (Collapse)AuthorAgeFilesLines
* NCCH: Minor updates to the ncch headerpurpasmart962015-03-151-11/+14
|
* Build: Fixed some warningsSubv2015-02-121-1/+3
|
* FS: Allow multiple instances of the same archive type to be open at onceYuri Kunde Schlesner2015-02-101-1/+1
|
* core: Fix some warnings on OSXLioncash2015-02-031-1/+1
|
* Merge pull request #514 from rohit-n/fix-warningsbunnei2015-02-011-2/+2
|\ | | | | Silence a few warnings.
| * Silence a few warnings.Rohit Nirmal2015-01-301-2/+2
| |
* | loader: Add missing printf argumentLioncash2015-01-301-1/+1
|/
* Loader: Clean up the ELF AppLoader.Emmanuel Gil Peyrot2015-01-152-42/+35
|
* Loader: Clean up the 3DSX AppLoader.Emmanuel Gil Peyrot2015-01-151-17/+24
|
* Loader: Clean up the NCCH AppLoader.Emmanuel Gil Peyrot2015-01-151-51/+48
|
* Loader: Display the type of the file being loaded.Emmanuel Gil Peyrot2015-01-151-3/+23
|
* Loader: Guess filetype from the magic, or fallback to the extension.Emmanuel Gil Peyrot2015-01-158-26/+112
|
* Loader: Don’t assume the file hasn’t been read before.Emmanuel Gil Peyrot2015-01-153-4/+13
|
* Loader: Keep a reference to the file and pass it to the correct AppLoader, instead of loading it multiple times.Emmanuel Gil Peyrot2015-01-158-176/+116
|
* Loader: Initialize the default NCCH values in the class declaration, not in the constructor.Emmanuel Gil Peyrot2015-01-152-8/+4
|
* Loader: Remove the useless THREEDSXReader class.Emmanuel Gil Peyrot2015-01-151-10/+4
|
* Loader: Never forget to change is_loaded.Emmanuel Gil Peyrot2015-01-156-7/+15
|
* Loader: Don’t duplicate the docstring into the cpp file.Emmanuel Gil Peyrot2015-01-154-56/+0
|
* Loader: Fix indentation, whitespace, and a few other such cosmetic stuff.Emmanuel Gil Peyrot2015-01-152-26/+24
|
* Fix correct espaceDante384902015-01-051-2/+2
|
* Add support load 3DS roomDante384902015-01-051-0/+2
|
* elf: Make DidRelocate constLioncash2015-01-031-1/+1
|
* Merge pull request #291 from purpasmart96/licensebunnei2014-12-218-10/+10
|\ | | | | License change
| * License changepurpasmart962014-12-218-10/+10
| |
* | Merge pull request #315 from chinhodado/masterbunnei2014-12-201-3/+1
|\ \ | | | | | | Clean up some warnings
| * | Clean up some warningsChin2014-12-201-3/+1
| |/
* / Common: Add a clone of std::make_uniqueYuri Kunde Schlesner2014-12-201-2/+4
|/
* Filesystem/Archives: Implemented the SaveData archiveSubv2014-12-183-0/+11
| | | | | | | | | | 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
* FS.Archive: Clean up treatment of archives and their handlesYuri Kunde Schlesner2014-12-161-1/+1
| | | | | | | - Refactor FS::Archive internals to make Archive creation and lifetime management clearer. - Remove the "Archive as a File" hack. - Implement 64-bit Archive handles.
* Service.FS: Do archive registration using IdCode instead of nameYuri Kunde Schlesner2014-12-161-1/+1
|
* HLE: Rename namespaces to match move & fix initialization orderYuri Kunde Schlesner2014-12-161-1/+1
|
* HLE: Move kernel/archive.* to service/fs/Yuri Kunde Schlesner2014-12-162-2/+2
|
* Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-134-35/+35
|
* Loader: Add 3DSX supportichfly2014-12-084-0/+276
|
* Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot2014-11-193-6/+6
|
* core: Mark some hle functions as staticLioncash2014-11-181-2/+2
| | | | These functions are not referred to by their linkage name outside of the translation unit, so they can be marked as static.
* Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.Emmanuel Gil Peyrot2014-09-173-5/+5
|
* Merge pull request #99 from archshift/ext-checkbunnei2014-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.cpparchshift2014-09-091-16/+15
| |
| * loader.cpp: improved file extension checking, made Upper/LowerStr usefularchshift2014-09-091-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 includesarchshift2014-09-091-1/+0
|/
* ncch: Remove C-style struct typedefsLioncash2014-09-061-4/+4
| | | | In C++ you can simply just declare it as is.
* ncch: inline declare some variables in LZSS_DecompressLioncash2014-09-061-7/+5
|
* Loader: Added support for loading raw BIN executables.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.bunnei2014-07-052-1/+7
|
* Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override".bunnei2014-07-052-9/+9
|
* Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"bunnei2014-07-052-2/+2
|
* Loader: Updated read methods to be constbunnei2014-07-053-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.bunnei2014-07-051-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.bunnei2014-06-273-96/+73
| | | | NCCH: Removed extra qualification ‘Loader::AppLoader_NCCH::’.
* Loader: Refactored loading functions to only read data from binary if called.bunnei2014-06-253-74/+141
| | | | NCCH: Updated LoadExec to use Memory::WriteBlock function to load binary code.
* ELF: Refactored LoadInto(..) to use memcpy, removed unnecessary code.bunnei2014-06-251-19/+8
|
* Loader: Refactored use of const.bunnei2014-06-256-20/+19
|
* NCCH: Added RomFS loading.bunnei2014-06-252-1/+36
|
* NCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections correctly.bunnei2014-06-253-22/+29
| | | | Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used.
* Loader: Implemented AppLoader interface for abstracting application loading.bunnei2014-06-256-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 an intermediate buffer.bunnei2014-06-171-9/+3
|
* Elf: Removed unused macros, changed #include of "common.h" to just "common_types.h".bunnei2014-06-171-117/+1
|
* Loader: Cleaned up and removed unused code, refactored ELF namespace.bunnei2014-06-174-209/+70
|
* Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> spaces.bunnei2014-06-175-357/+332
|
* Loader: Added support for booting NCCH executables.bunnei2014-06-173-0/+374
| | | | NCCH: Fixed typo in printing NCCH filename.
* Loader: Moved elf and loader modules to a "loader" subdirectory.bunnei2014-06-175-0/+805