Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 2015-05-29 | 1 | -1/+1 |
| | |||||
* | Core/ResourceLimits: Implemented the basic structure of ResourceLimits. | Subv | 2015-05-15 | 3 | -0/+13 |
| | | | | | | Implemented svcs GetResourceLimit, GetResourceLimitCurrentValues and GetResourceLimitLimitValues. Note that the resource limits do not currently keep track of used objects, since we have no way to distinguish between an object created by the application, and an object created by some HLE module once we're inside Kernel::T::Create. | ||||
* | Memmap: Re-organize memory function in two files | Yuri Kunde Schlesner | 2015-05-15 | 4 | -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. | ||||
* | Merge pull request #734 from yuriks/memmap | Tony Wasserka | 2015-05-09 | 2 | -3/+3 |
|\ | | | | | Small memory map definitions cleanup | ||||
| * | Memory: Re-organize and rename memory area address constants | Yuri Kunde Schlesner | 2015-05-09 | 2 | -3/+3 |
| | | |||||
* | | Loader: Add missing include | Yuri Kunde Schlesner | 2015-05-09 | 1 | -0/+1 |
|/ | |||||
* | Loader: Remove .bin file support | Yuri Kunde Schlesner | 2015-05-09 | 2 | -20/+0 |
| | | | | | It is of very limited practical utility currently, and will soon be impossible to support due to more accurate memory map emulation. | ||||
* | Process: Rename StaticAddressMapping => AddressMapping | Yuri Kunde Schlesner | 2015-05-09 | 4 | -5/+5 |
| | |||||
* | Loader/NCCH: Fix formatting of braces | Yuri Kunde Schlesner | 2015-05-09 | 1 | -9/+9 |
| | |||||
* | Process: Support parsing of exheader kernel caps | Yuri Kunde Schlesner | 2015-05-09 | 3 | -0/+3 |
| | |||||
* | Kernel: Remove g_program_id | Yuri Kunde Schlesner | 2015-05-09 | 3 | -11/+0 |
| | | | | This has been obsoleted by the field in Process. | ||||
* | Kernel: Introduce skeleton Process class to hold process data | Yuri Kunde Schlesner | 2015-05-09 | 8 | -29/+88 |
| | |||||
* | Common: Remove common.h | Yuri Kunde Schlesner | 2015-05-07 | 6 | -3/+11 |
| | |||||
* | Services/Loader: Use more sensible log formats for certain functions | purpasmart96 | 2015-04-28 | 2 | -14/+37 |
| | | | | along with more info being logged. | ||||
* | NCCH: Minor updates to the ncch header | purpasmart96 | 2015-03-15 | 1 | -11/+14 |
| | |||||
* | Build: Fixed some warnings | Subv | 2015-02-12 | 1 | -1/+3 |
| | |||||
* | FS: Allow multiple instances of the same archive type to be open at once | Yuri Kunde Schlesner | 2015-02-10 | 1 | -1/+1 |
| | |||||
* | core: Fix some warnings on OSX | Lioncash | 2015-02-03 | 1 | -1/+1 |
| | |||||
* | Merge pull request #514 from rohit-n/fix-warnings | bunnei | 2015-02-01 | 1 | -2/+2 |
|\ | | | | | Silence a few warnings. | ||||
| * | Silence a few warnings. | Rohit Nirmal | 2015-01-30 | 1 | -2/+2 |
| | | |||||
* | | loader: Add missing printf argument | Lioncash | 2015-01-30 | 1 | -1/+1 |
|/ | |||||
* | Loader: Clean up the ELF AppLoader. | Emmanuel Gil Peyrot | 2015-01-15 | 2 | -42/+35 |
| | |||||
* | Loader: Clean up the 3DSX AppLoader. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -17/+24 |
| | |||||
* | Loader: Clean up the NCCH AppLoader. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -51/+48 |
| | |||||
* | Loader: Display the type of the file being loaded. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -3/+23 |
| | |||||
* | Loader: Guess filetype from the magic, or fallback to the extension. | Emmanuel Gil Peyrot | 2015-01-15 | 8 | -26/+112 |
| | |||||
* | Loader: Don’t assume the file hasn’t been read before. | Emmanuel Gil Peyrot | 2015-01-15 | 3 | -4/+13 |
| | |||||
* | Loader: Keep a reference to the file and pass it to the correct AppLoader, instead of loading it multiple times. | Emmanuel Gil Peyrot | 2015-01-15 | 8 | -176/+116 |
| | |||||
* | Loader: Initialize the default NCCH values in the class declaration, not in the constructor. | Emmanuel Gil Peyrot | 2015-01-15 | 2 | -8/+4 |
| | |||||
* | Loader: Remove the useless THREEDSXReader class. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -10/+4 |
| | |||||
* | Loader: Never forget to change is_loaded. | Emmanuel Gil Peyrot | 2015-01-15 | 6 | -7/+15 |
| | |||||
* | Loader: Don’t duplicate the docstring into the cpp file. | Emmanuel Gil Peyrot | 2015-01-15 | 4 | -56/+0 |
| | |||||
* | Loader: Fix indentation, whitespace, and a few other such cosmetic stuff. | Emmanuel Gil Peyrot | 2015-01-15 | 2 | -26/+24 |
| | |||||
* | Fix correct espace | Dante38490 | 2015-01-05 | 1 | -2/+2 |
| | |||||
* | Add support load 3DS room | Dante38490 | 2015-01-05 | 1 | -0/+2 |
| | |||||
* | elf: Make DidRelocate const | Lioncash | 2015-01-03 | 1 | -1/+1 |
| | |||||
* | Merge pull request #291 from purpasmart96/license | bunnei | 2014-12-21 | 8 | -10/+10 |
|\ | | | | | License change | ||||
| * | License change | purpasmart96 | 2014-12-21 | 8 | -10/+10 |
| | | |||||
* | | Merge pull request #315 from chinhodado/master | bunnei | 2014-12-20 | 1 | -3/+1 |
|\ \ | | | | | | | Clean up some warnings | ||||
| * | | Clean up some warnings | Chin | 2014-12-20 | 1 | -3/+1 |
| |/ | |||||
* / | Common: Add a clone of std::make_unique | Yuri Kunde Schlesner | 2014-12-20 | 1 | -2/+4 |
|/ | |||||
* | Filesystem/Archives: Implemented the SaveData archive | Subv | 2014-12-18 | 3 | -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 handles | Yuri Kunde Schlesner | 2014-12-16 | 1 | -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 name | Yuri Kunde Schlesner | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | HLE: Rename namespaces to match move & fix initialization order | Yuri Kunde Schlesner | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | HLE: Move kernel/archive.* to service/fs/ | Yuri Kunde Schlesner | 2014-12-16 | 2 | -2/+2 |
| | |||||
* | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 2014-12-13 | 4 | -35/+35 |
| | |||||
* | Loader: Add 3DSX support | ichfly | 2014-12-08 | 4 | -0/+276 |
| | |||||
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 2014-11-19 | 3 | -6/+6 |
| | |||||
* | core: Mark some hle functions as static | Lioncash | 2014-11-18 | 1 | -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 Peyrot | 2014-09-17 | 3 | -5/+5 |
| | |||||
* | Merge pull request #99 from archshift/ext-check | bunnei | 2014-09-11 | 1 | -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.cpp | archshift | 2014-09-09 | 1 | -16/+15 |
| | | |||||
| * | loader.cpp: improved file extension checking, made Upper/LowerStr useful | archshift | 2014-09-09 | 1 | -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 includes | archshift | 2014-09-09 | 1 | -1/+0 |
|/ | |||||
* | ncch: Remove C-style struct typedefs | Lioncash | 2014-09-06 | 1 | -4/+4 |
| | | | | In C++ you can simply just declare it as is. | ||||
* | ncch: inline declare some variables in LZSS_Decompress | Lioncash | 2014-09-06 | 1 | -7/+5 |
| | |||||
* | Loader: Added support for loading raw BIN executables. | bunnei | 2014-08-28 | 2 | -0/+21 |
| | | | | | | - Useful for debugging homebrew Qt: Updated GUI to support loading .bin files. | ||||
* | NCCH: Updated ExeFS memory allocation to be safer. | bunnei | 2014-07-05 | 2 | -1/+7 |
| | |||||
* | Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override". | bunnei | 2014-07-05 | 2 | -9/+9 |
| | |||||
* | Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final" | bunnei | 2014-07-05 | 2 | -2/+2 |
| | |||||
* | Loader: Updated read methods to be const | bunnei | 2014-07-05 | 3 | -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. | bunnei | 2014-07-05 | 1 | -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. | bunnei | 2014-06-27 | 3 | -96/+73 |
| | | | | NCCH: Removed extra qualification ‘Loader::AppLoader_NCCH::’. | ||||
* | Loader: Refactored loading functions to only read data from binary if called. | bunnei | 2014-06-25 | 3 | -74/+141 |
| | | | | NCCH: Updated LoadExec to use Memory::WriteBlock function to load binary code. | ||||
* | ELF: Refactored LoadInto(..) to use memcpy, removed unnecessary code. | bunnei | 2014-06-25 | 1 | -19/+8 |
| | |||||
* | Loader: Refactored use of const. | bunnei | 2014-06-25 | 6 | -20/+19 |
| | |||||
* | NCCH: Added RomFS loading. | bunnei | 2014-06-25 | 2 | -1/+36 |
| | |||||
* | NCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections correctly. | bunnei | 2014-06-25 | 3 | -22/+29 |
| | | | | Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used. | ||||
* | Loader: Implemented AppLoader interface for abstracting application loading. | bunnei | 2014-06-25 | 6 | -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. | bunnei | 2014-06-17 | 1 | -9/+3 |
| | |||||
* | Elf: Removed unused macros, changed #include of "common.h" to just "common_types.h". | bunnei | 2014-06-17 | 1 | -117/+1 |
| | |||||
* | Loader: Cleaned up and removed unused code, refactored ELF namespace. | bunnei | 2014-06-17 | 4 | -209/+70 |
| | |||||
* | Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> spaces. | bunnei | 2014-06-17 | 5 | -357/+332 |
| | |||||
* | Loader: Added support for booting NCCH executables. | bunnei | 2014-06-17 | 3 | -0/+374 |
| | | | | NCCH: Fixed typo in printing NCCH filename. | ||||
* | Loader: Moved elf and loader modules to a "loader" subdirectory. | bunnei | 2014-06-17 | 5 | -0/+805 |