summaryrefslogtreecommitdiffstats
path: root/src/core/loader (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-05-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner4-4/+3
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.
2015-05-09Loader: Add missing includeYuri Kunde Schlesner1-0/+1
2015-05-09Memory: Re-organize and rename memory area address constantsYuri Kunde Schlesner2-3/+3
2015-05-09Loader: Remove .bin file supportYuri Kunde Schlesner2-20/+0
It is of very limited practical utility currently, and will soon be impossible to support due to more accurate memory map emulation.
2015-05-09Process: Rename StaticAddressMapping => AddressMappingYuri Kunde Schlesner4-5/+5
2015-05-09Loader/NCCH: Fix formatting of bracesYuri Kunde Schlesner1-9/+9
2015-05-09Process: Support parsing of exheader kernel capsYuri Kunde Schlesner3-0/+3
2015-05-09Kernel: Remove g_program_idYuri Kunde Schlesner3-11/+0
This has been obsoleted by the field in Process.
2015-05-09Kernel: Introduce skeleton Process class to hold process dataYuri Kunde Schlesner8-29/+88
2015-05-07Common: Remove common.hYuri Kunde Schlesner6-3/+11
2015-04-28Services/Loader: Use more sensible log formats for certain functionspurpasmart962-14/+37
along with more info being logged.
2015-03-15NCCH: Minor updates to the ncch headerpurpasmart961-11/+14
2015-02-12Build: Fixed some warningsSubv1-1/+3
2015-02-10FS: Allow multiple instances of the same archive type to be open at onceYuri Kunde Schlesner1-1/+1
2015-02-03core: Fix some warnings on OSXLioncash1-1/+1
2015-01-30Silence a few warnings.Rohit Nirmal1-2/+2
2015-01-30loader: Add missing printf argumentLioncash1-1/+1
2015-01-15Loader: Clean up the ELF AppLoader.Emmanuel Gil Peyrot2-42/+35
2015-01-15Loader: Clean up the 3DSX AppLoader.Emmanuel Gil Peyrot1-17/+24
2015-01-15Loader: Clean up the NCCH AppLoader.Emmanuel Gil Peyrot1-51/+48
2015-01-15Loader: Display the type of the file being loaded.Emmanuel Gil Peyrot1-3/+23
2015-01-15Loader: Guess filetype from the magic, or fallback to the extension.Emmanuel Gil Peyrot8-26/+112
2015-01-15Loader: Don’t assume the file hasn’t been read before.Emmanuel Gil Peyrot3-4/+13
2015-01-15Loader: Keep a reference to the file and pass it to the correct AppLoader, instead of loading it multiple times.Emmanuel Gil Peyrot8-176/+116
2015-01-15Loader: Initialize the default NCCH values in the class declaration, not in the constructor.Emmanuel Gil Peyrot2-8/+4
2015-01-15Loader: Remove the useless THREEDSXReader class.Emmanuel Gil Peyrot1-10/+4
2015-01-15Loader: Never forget to change is_loaded.Emmanuel Gil Peyrot6-7/+15
2015-01-15Loader: Don’t duplicate the docstring into the cpp file.Emmanuel Gil Peyrot4-56/+0
2015-01-15Loader: Fix indentation, whitespace, and a few other such cosmetic stuff.Emmanuel Gil Peyrot2-26/+24
2015-01-05Fix correct espaceDante384901-2/+2
2015-01-05Add support load 3DS roomDante384901-0/+2
2015-01-03elf: Make DidRelocate constLioncash1-1/+1
2014-12-21License changepurpasmart968-10/+10
2014-12-20Clean up some warningsChin1-3/+1
2014-12-20Common: Add a clone of std::make_uniqueYuri Kunde Schlesner1-2/+4
2014-12-18Filesystem/Archives: Implemented the SaveData archiveSubv3-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
2014-12-16FS.Archive: Clean up treatment of archives and their handlesYuri Kunde Schlesner1-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.
2014-12-16Service.FS: Do archive registration using IdCode instead of nameYuri Kunde Schlesner1-1/+1
2014-12-16HLE: Rename namespaces to match move & fix initialization orderYuri Kunde Schlesner1-1/+1
2014-12-16HLE: Move kernel/archive.* to service/fs/Yuri Kunde Schlesner2-2/+2
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner4-35/+35
2014-12-08Loader: Add 3DSX supportichfly4-0/+276
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot3-6/+6
2014-11-18core: Mark some hle functions as staticLioncash1-2/+2
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 prevent collisions.Emmanuel Gil Peyrot3-5/+5
2014-09-09core: Prune redundant includesarchshift1-1/+0
2014-09-09Added string_util to common, small changes in loader.cpparchshift1-16/+15
2014-09-09loader.cpp: improved file extension checking, made Upper/LowerStr usefularchshift1-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.
2014-09-06ncch: Remove C-style struct typedefsLioncash1-4/+4
In C++ you can simply just declare it as is.
2014-09-06ncch: inline declare some variables in LZSS_DecompressLioncash1-7/+5
2014-08-31Loader: Added support for loading raw BIN executables.bunnei2-0/+21
- Useful for debugging homebrew Qt: Updated GUI to support loading .bin files.
2014-08-28Loader: Added support for loading raw BIN executables.bunnei2-0/+21
- Useful for debugging homebrew Qt: Updated GUI to support loading .bin files.
2014-07-05NCCH: Updated ExeFS memory allocation to be safer.bunnei2-1/+7
2014-07-05Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override".bunnei2-9/+9
2014-07-05Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"bunnei2-2/+2
2014-07-05Loader: Updated read methods to be constbunnei3-66/+77
- Required "file" handle to be made local and explicitly opened/closed as needed
2014-07-05FileSys: Added preliminary support for applications reading the RomFS archive.bunnei1-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.
2014-06-27Loader: Refactored interface such that data is no longer stored by loader.bunnei3-96/+73
NCCH: Removed extra qualification ‘Loader::AppLoader_NCCH::’.
2014-06-25Loader: Refactored loading functions to only read data from binary if called.bunnei3-74/+141
NCCH: Updated LoadExec to use Memory::WriteBlock function to load binary code.
2014-06-25ELF: Refactored LoadInto(..) to use memcpy, removed unnecessary code.bunnei1-19/+8
2014-06-25Loader: Refactored use of const.bunnei6-20/+19
2014-06-25NCCH: Added RomFS loading.bunnei2-1/+36
2014-06-25NCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections correctly.bunnei3-22/+29
Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used.
2014-06-25Loader: Implemented AppLoader interface for abstracting application loading.bunnei6-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.
2014-06-17NCCH: Changed decompression to load .code directly into memory rather than an intermediate buffer.bunnei1-9/+3
2014-06-17Elf: Removed unused macros, changed #include of "common.h" to just "common_types.h".bunnei1-117/+1
2014-06-17Loader: Cleaned up and removed unused code, refactored ELF namespace.bunnei4-209/+70
2014-06-17Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> spaces.bunnei5-357/+332
2014-06-17Loader: Added support for booting NCCH executables.bunnei3-0/+374
NCCH: Fixed typo in printing NCCH filename.
2014-06-17Loader: Moved elf and loader modules to a "loader" subdirectory.bunnei5-0/+805