Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Loaders: Don't automatically set the current process every time we load an application. | Subv | 2017-09-27 | 1 | -10/+9 |
| | | | | The loaders will now just create a Kernel::Process, construct it and return it to the caller, which is responsible for setting it as the current process and configuring the global page table. | ||||
* | HLE/Archives: Allow multiple loaded applications to access their SelfNCCH archive independently. | Subv | 2017-09-25 | 1 | -2/+1 |
| | | | | | | | | The loaders now register each loaded ROM with the SelfNCCH factory, which keeps the data around for the duration of the emulation session. When opening the SelfNCCH archive, the factory queries the current program's programid and uses that as a key to the map that contains the NCCHData structure (RomFS, Icon, Banner, etc). 3dsx files do not have a programid and will use a default of 0 for this value, thus, only 1 3dsx file with RomFS is loadable at the same time. | ||||
* | Merge pull request #2952 from MerryMage/page-tables | B3n30 | 2017-09-25 | 1 | -1/+1 |
|\ | | | | | Switchable Page Tables | ||||
| * | memory: Add GetCurrentPageTable/SetCurrentPageTable | MerryMage | 2017-09-24 | 1 | -1/+1 |
| | | | | | | | | Don't expose Memory::current_page_table as a global. | ||||
* | | Loader/NCCH: Add support for loading application updates (#2927) | Max Thomas | 2017-09-25 | 1 | -259/+60 |
|/ | | | | | | | | | | | | | | | | * loader/ncch: split NCCH parsing into its own file * loader/ncch: add support for loading update NCCHs from the SD card * loader/ncch: fix formatting * file_sys/ncch_container: Return a value for OpenFile * loader/ncch: cleanup, always instantiate overlay_ncch to base_ncch * file_sys/ncch_container: better encryption checks, allow non-app NCCHs to load properly and for the existence of NCCH structures to be checked * file_sys/ncch_container: pass filepath as a const reference | ||||
* | Kernel/Memory: Give each Process its own page table. | Subv | 2017-09-10 | 1 | -0/+1 |
| | | | | The loader is in charge of setting the newly created process's page table as the main one during the loading process. | ||||
* | Added missing parts in libnetwork (#2838) | B3n30 | 2017-08-19 | 1 | -0/+8 |
| | | | | | * Network: Set and send the game information over enet Added Callbacks for RoomMember and GetMemberList to Room in preparation for web_services. | ||||
* | loader: Expose program title. | bunnei | 2017-08-04 | 1 | -0/+20 |
| | |||||
* | telemetry: Log performance, configuration, and system data. | bunnei | 2017-07-18 | 1 | -2/+4 |
| | |||||
* | Made some changes from review comments: | TheKoopaKingdom | 2017-06-03 | 1 | -7/+4 |
| | | | | | | | | - Made LoadKernelSystemMode return a pair consisting of a system mode and a result code (Could use review). - Deleted ErrorOpenGL error code in favor of just having ErrorVideoCore. - Made dialog messages more clear. - Compared archive ID in fs_user.cpp to ArchiveIdCode::NCCH as opposed to hex magic. - Cleaned up some other stuff. | ||||
* | Fixed encrypted ROM error messages. | TheKoopaKingdom | 2017-06-03 | 1 | -4/+11 |
| | |||||
* | telemetry: Log a few simple data fields throughout core. | bunnei | 2017-05-25 | 1 | -0/+3 |
| | |||||
* | loader/ncch: less verbose log for loading game list. only log program ID when booting | wwylele | 2017-03-08 | 1 | -3/+6 |
| | |||||
* | loader: use self NCCH archive | wwylele | 2017-02-13 | 1 | -3/+3 |
| | |||||
* | Fix some warnings (#2399) | Jonathan Hao | 2017-01-04 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2240 from wwylele/auto-region | bunnei | 2016-12-30 | 1 | -0/+22 |
|\ | | | | | Config: auto-select region and language | ||||
| * | Config: auto-select region and language | wwylele | 2016-12-07 | 1 | -0/+22 |
| | | |||||
* | | loader: Implement ReadProgramId | MerryMage | 2016-12-15 | 1 | -0/+12 |
|/ | |||||
* | Kernel/Loader: Grab the system mode from the NCCH ExHeader. | Subv | 2016-11-28 | 1 | -7/+8 |
| | | | | | | | 3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849 | ||||
* | Kernel/Loader: Grab the system mode from the NCCH ExHeader. | Subv | 2016-11-20 | 1 | -0/+9 |
| | | | | | | | 3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849 | ||||
* | Fix typos | Ricardo de Almeida Gonzaga | 2016-10-20 | 1 | -1/+1 |
| | |||||
* | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 2016-09-21 | 1 | -1/+1 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -3/+1 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -27/+35 |
| | |||||
* | Loader, Frontends: Refactor loader creation and game loading | Emmanuel Gil Peyrot | 2016-05-21 | 1 | -1/+8 |
| | | | | | This allows frontends to keep a single loader and use it multiple times e.g. for code loading and SMDH parsing. | ||||
* | Merge pull request #1766 from Subv/log_cpu | bunnei | 2016-05-08 | 1 | -0/+3 |
|\ | | | | | Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1) | ||||
| * | Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1). | Subv | 2016-05-07 | 1 | -0/+3 |
| | | | | | | | | We do not currently implement any cores other than the AppCore (Core 0). | ||||
* | | add icon & title to game list | wwylele | 2016-05-04 | 1 | -3/+19 |
| | | |||||
* | | ncch: Use correct format specifier (for long long uint) | Sam Spilsbury | 2016-04-23 | 1 | -1/+1 |
|/ | |||||
* | ncch:only decompress .code section | wwylele | 2016-04-14 | 1 | -2/+2 |
| | |||||
* | Common: Remove Common::make_unique, use std::make_unique | MerryMage | 2016-04-05 | 1 | -1/+0 |
| | |||||
* | Loader/NCCH: Log the program ID during loading | Yuri Kunde Schlesner | 2016-03-05 | 1 | -1/+2 |
| | | | | | This is useful for all sorts of things, but mainly to identify save folders more easily. | ||||
* | Loader: Change NCCH header types to be explicitly little-endian | Gareth Poole | 2015-10-11 | 1 | -2/+1 |
| | |||||
* | Loader: Implement encryption check | Gareth Poole | 2015-10-11 | 1 | -0/+5 |
| | |||||
* | Loader: Remove unnecessary pointer indirection to IOFile | Yuri Kunde Schlesner | 2015-07-14 | 1 | -21/+21 |
| | |||||
* | FS: Stream RomFS from file instead of loading all of it to memory | condut | 2015-07-14 | 1 | -4/+9 |
| | |||||
* | Core: Properly configure address space when loading a binary | Yuri Kunde Schlesner | 2015-07-12 | 1 | -4/+28 |
| | | | | | | The code now properly configures the process image to match the loaded binary segments (code, rodata, data) instead of just blindly allocating a large chunk of dummy memory. | ||||
* | Merge pull request #876 from linkmauve/include-cleanups | Yuri Kunde Schlesner | 2015-07-11 | 1 | -1/+2 |
|\ | | | | | Cleanup includes, mostly in common | ||||
| * | CitraQt: Cleanup includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -1/+2 |
| | | |||||
* | | Loader: Remove log line causing warning | aroulin | 2015-07-08 | 1 | -1/+0 |
|/ | |||||
* | Core/ResourceLimits: Implemented the basic structure of ResourceLimits. | Subv | 2015-05-15 | 1 | -0/+5 |
| | | | | | | 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 | 1 | -1/+1 |
| | | | | | | | 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. | ||||
* | Loader: Add missing include | Yuri Kunde Schlesner | 2015-05-09 | 1 | -0/+1 |
| | |||||
* | Kernel: Remove g_program_id | Yuri Kunde Schlesner | 2015-05-09 | 1 | -4/+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 | 1 | -2/+18 |
| | |||||
* | Common: Remove common.h | Yuri Kunde Schlesner | 2015-05-07 | 1 | -0/+2 |
| | |||||
* | Services/Loader: Use more sensible log formats for certain functions | purpasmart96 | 2015-04-28 | 1 | -10/+23 |
| | | | | along with more info being logged. | ||||
* | Loader: Clean up the NCCH AppLoader. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -51/+48 |
| | |||||
* | Loader: Guess filetype from the magic, or fallback to the extension. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -2/+17 |
| | |||||
* | Loader: Don’t assume the file hasn’t been read before. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -4/+7 |
| | |||||
* | 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 | 1 | -106/+84 |
| | |||||
* | Loader: Initialize the default NCCH values in the class declaration, not in the constructor. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -4/+0 |
| | |||||
* | Loader: Never forget to change is_loaded. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -3/+2 |
| | |||||
* | Loader: Don’t duplicate the docstring into the cpp file. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -41/+0 |
| | |||||
* | Loader: Fix indentation, whitespace, and a few other such cosmetic stuff. | Emmanuel Gil Peyrot | 2015-01-15 | 1 | -1/+1 |
| | |||||
* | License change | purpasmart96 | 2014-12-21 | 1 | -1/+1 |
| | |||||
* | Filesystem/Archives: Implemented the SaveData archive | Subv | 2014-12-18 | 1 | -0/+4 |
| | | | | | | | | | | 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 | ||||
* | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 2014-12-13 | 1 | -17/+17 |
| | |||||
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 2014-11-19 | 1 | -3/+3 |
| | |||||
* | 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 | 1 | -3/+3 |
| | |||||
* | ncch: inline declare some variables in LZSS_Decompress | Lioncash | 2014-09-06 | 1 | -7/+5 |
| | |||||
* | NCCH: Updated ExeFS memory allocation to be safer. | bunnei | 2014-07-05 | 1 | -1/+6 |
| | |||||
* | Loader: Updated read methods to be const | bunnei | 2014-07-05 | 1 | -53/+65 |
| | | | | - Required "file" handle to be made local and explicitly opened/closed as needed | ||||
* | Loader: Refactored interface such that data is no longer stored by loader. | bunnei | 2014-06-27 | 1 | -43/+34 |
| | | | | NCCH: Removed extra qualification ‘Loader::AppLoader_NCCH::’. | ||||
* | Loader: Refactored loading functions to only read data from binary if called. | bunnei | 2014-06-25 | 1 | -53/+89 |
| | | | | NCCH: Updated LoadExec to use Memory::WriteBlock function to load binary code. | ||||
* | Loader: Refactored use of const. | bunnei | 2014-06-25 | 1 | -5/+5 |
| | |||||
* | NCCH: Added RomFS loading. | bunnei | 2014-06-25 | 1 | -1/+28 |
| | |||||
* | NCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections correctly. | bunnei | 2014-06-25 | 1 | -20/+25 |
| | | | | Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used. | ||||
* | Loader: Implemented AppLoader interface for abstracting application loading. | bunnei | 2014-06-25 | 1 | -203/+105 |
| | | | | | | | | | | | | | | | | | | - 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 |
| | |||||
* | Loader: Added support for booting NCCH executables. | bunnei | 2014-06-17 | 1 | -0/+348 |
NCCH: Fixed typo in printing NCCH filename. |