Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-08-15 | loader: Make ResultStatus directly compatible with fmt | Lioncash | 2 | -10/+6 | |
We can make the enum class type compatible with fmt by providing an overload of operator<<. While we're at it, perform proper bounds checking. If something exceeds the array, it should be a hard fail, because it's, without a doubt, a programmer error in this case. | |||||
2018-08-15 | loader/nca: Remove unnecessary includes and member variables | Lioncash | 2 | -20/+11 | |
2018-08-15 | loader/xci: Remove unnecessary includes and member variables | Lioncash | 2 | -15/+11 | |
Many of these aren't necessary and will cause this file to be required to be recompiled whenever any changes to those files are made, which lengthens compile times for no reason. This also removes an unused metadata variable from AppLoader_XCI | |||||
2018-08-15 | loader: Remove address mapping remnants from citra | Lioncash | 6 | -17/+0 | |
These mappings are leftovers from citra and don't apply to the Switch. | |||||
2018-08-12 | made ResultStatus a u16 | David Marcec | 1 | -1/+1 | |
2018-08-12 | Fixed invalid cast in loader | David Marcec | 1 | -1/+1 | |
GetMessageForResultStatus takes a u16, not a size_t. | |||||
2018-08-12 | loader: Recognize filename '00' as NCA | Zach Hilman | 1 | -0/+2 | |
Needed to avoid mismatch filetype warnings on split NAND NCAs | |||||
2018-08-10 | loader: Add more descriptive errors | Zach Hilman | 7 | -31/+111 | |
Full list of new errors and descriptions in core/loader/loader.h | |||||
2018-08-09 | loader: Remove unused IdentifyFile overload | Zach Hilman | 2 | -12/+0 | |
2018-08-07 | loader: Fix scope error in DeconstructedRomDirectory | Zach Hilman | 1 | -1/+1 | |
2018-08-07 | loader: Add icon and title support to XCI | Zach Hilman | 3 | -3/+37 | |
2018-08-07 | Use const where applicable | Zach Hilman | 1 | -1/+1 | |
2018-08-07 | Avoid parsing RomFS to directory in NCA | Zach Hilman | 6 | -6/+79 | |
2018-08-06 | loader: Make AppLoader_NCA rely on directory loading code | Zach Hilman | 4 | -37/+24 | |
Eliminates duplicate code shared between their Load methods, after all the only difference is how the romfs is handled. | |||||
2018-08-03 | kernel/process: Use accessors instead of class members for referencing segment array | Lioncash | 3 | -5/+5 | |
Using member variables for referencing the segments array increases the size of the class in memory for little benefit. The same behavior can be achieved through the use of accessors that just return the relevant segment. | |||||
2018-08-02 | kernel: Move object class to its own source files | Lioncash | 5 | -5/+5 | |
General moving to keep kernel object types separate from the direct kernel code. Also essentially a preliminary cleanup before eliminating global kernel state in the kernel code. | |||||
2018-08-01 | Fix merge conflicts with opus and update docs | Zach Hilman | 1 | -0/+2 | |
2018-08-01 | Use more descriptive error codes and messages | Zach Hilman | 2 | -2/+3 | |
2018-08-01 | Use ErrorEncrypted where applicable and fix no keys crash | Zach Hilman | 1 | -0/+4 | |
2018-08-01 | Add missing includes and use const where applicable | Zach Hilman | 1 | -0/+3 | |
2018-08-01 | Make XCI comply to review and style guidelines | Zach Hilman | 2 | -5/+5 | |
2018-08-01 | Remove files that are not used | Zach Hilman | 6 | -6/+134 | |
2018-07-24 | deconstructed_rom_directory: Remove unused FindRomFS() function | Lioncash | 1 | -29/+0 | |
2018-07-24 | core: Make converting constructors explicit where applicable | Lioncash | 2 | -2/+2 | |
Avoids unwanted implicit conversions. Thankfully, given the large amount of cleanup in past PRs, only this tiny amount is left over to cover. | |||||
2018-07-23 | loader: Remove unnecessary constructor call in IdentifyFile() | Lioncash | 1 | -1/+1 | |
RealVfsFile inherits from VfsFile, the instance from std::make_shared is already compatible with the function argument type, making the copy constructor call unnecessary. | |||||
2018-07-23 | linker: Remove unused parameter from WriteRelocations() | Lioncash | 2 | -7/+4 | |
is_jump_relocation is never used within the function, so we can just remove it. | |||||
2018-07-23 | nro: Replace inclusion with a forward declaration | Lioncash | 2 | -1/+8 | |
It's sufficient to use a forward declaration instead of a direct inclusion here. | |||||
2018-07-23 | nro: Make bracing consistent | Lioncash | 1 | -10/+24 | |
Makes the code more uniform, and also braces cases where the body of an unbraced conditional travels more than one line. | |||||
2018-07-23 | nro: Make constructor explicit | Lioncash | 1 | -1/+1 | |
Makes it consistent with the other Apploader constructors, and prevents implicit conversions. | |||||
2018-07-23 | nro: Remove unused forward declaration | Lioncash | 1 | -2/+0 | |
This isn't used anywhere in the header. | |||||
2018-07-23 | NRO Assets and NACP file format | Zach Hilman | 2 | -1/+90 | |
Cleanup Review fixes | |||||
2018-07-22 | file_util, vfs: Use std::string_view where applicable | Lioncash | 1 | -1/+2 | |
Avoids unnecessary construction of std::string instances where applicable. | |||||
2018-07-22 | file_util: Use a u64 to represent number of entries | Lioncash | 1 | -1/+1 | |
This avoids a truncating cast on size. I doubt we'd ever traverse a directory this large, however we also shouldn't truncate sizes away. | |||||
2018-07-21 | Loader: Only print the module names and addresses if they actually exist. | Subv | 1 | -5/+2 | |
2018-07-20 | loader/{nca, nro}: std::move VirtualFile in the constructors where applicable | Lioncash | 2 | -2/+4 | |
This avoids unnecessary atomic reference count increments and decrements | |||||
2018-07-20 | nso: Silence implicit sign conversion warnings | Lioncash | 1 | -4/+6 | |
2018-07-20 | nso: Remove unused function ReadSegment() | Lioncash | 1 | -13/+0 | |
2018-07-19 | loader: Amend Doxygen comments | Lioncash | 2 | -5/+5 | |
These weren't adjusted when VFS was introduced | |||||
2018-07-19 | loader/nso: Check if read succeeded in IdentifyFile() before checking magic value | Lioncash | 1 | -4/+6 | |
We should always assume the filesystem is volatile and check each IO operation. While we're at it reorganize checks so that early-out errors are near one another. | |||||
2018-07-19 | loader/nro: Resolve sign mismatch warnings | Lioncash | 1 | -1/+1 | |
2018-07-19 | loader/nso: Remove unnecessary vector resizes | Lioncash | 1 | -4/+2 | |
We can just initialize these vectors directly via their constructor. | |||||
2018-07-19 | loader/nso: Resolve sign mismatch warnings | Lioncash | 1 | -1/+1 | |
2018-07-19 | Virtual Filesystem 2: Electric Boogaloo (#676) | Zach Hilman | 12 | -525/+146 | |
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression | |||||
2018-07-17 | General Filesystem and Save Data Fixes (#670) | Zach Hilman | 3 | -5/+3 | |
2018-07-13 | More improvements to GDBStub (#653) | Hedges | 4 | -0/+15 | |
* More improvements to GDBStub - Debugging of threads should work correctly with source and assembly level stepping and modifying registers and memory, meaning threads and callstacks are fully clickable in VS. - List of modules is available to the client, with assumption that .nro and .nso are backed up by an .elf with symbols, while deconstructed ROMs keep N names. - Initial support for floating point registers. * Tidy up as requested in PR feedback * Tidy up as requested in PR feedback | |||||
2018-07-08 | Revert "Virtual Filesystem (#597)" | bunnei | 12 | -140/+540 | |
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2. | |||||
2018-07-06 | Virtual Filesystem (#597) | Zach Hilman | 12 | -540/+140 | |
* Add VfsFile and VfsDirectory classes * Finish abstract Vfs classes * Implement RealVfsFile (computer fs backend) * Finish RealVfsFile and RealVfsDirectory * Finished OffsetVfsFile * More changes * Fix import paths * Major refactor * Remove double const * Use experimental/filesystem or filesystem depending on compiler * Port partition_filesystem * More changes * More Overhaul * FSP_SRV fixes * Fixes and testing * Try to get filesystem to compile * Filesystem on linux * Remove std::filesystem and document/test * Compile fixes * Missing include * Bug fixes * Fixes * Rename v_file and v_dir * clang-format fix * Rename NGLOG_* to LOG_* * Most review changes * Fix TODO * Guess 'main' to be Directory by filename | |||||
2018-07-03 | Update clang format | James Rowe | 1 | -5/+5 | |
2018-07-03 | Rename logging macro back to LOG_* | James Rowe | 6 | -27/+27 | |
2018-06-21 | Add support for decrypted NCA files (#567) | Zach Hilman | 6 | -11/+434 | |
* Start to add NCA support in loader * More nca stuff * More changes to nca.cpp * Now identifies decrypted NCA cont. * Game list fixes and more structs and stuff * More updates to Nca class * Now reads ExeFs (i think) * ACTUALLY LOADS EXEFS! * RomFS loads and games execute * Cleanup and Finalize * plumbing, cleanup and testing * fix some things that i didnt think of before * Preliminary Review Changes * Review changes for bunnei and subv | |||||
2018-05-02 | general: Make formatting of logged hex values more straightforward | Lioncash | 2 | -4/+4 | |
This makes the formatting expectations more obvious (e.g. any zero padding specified is padding that's entirely dedicated to the value being printed, not any pretty-printing that also gets tacked on). | |||||
2018-04-27 | general: Convert assertion macros over to be fmt-compatible | Lioncash | 1 | -1/+1 | |
2018-04-25 | loader: Move old logging macros over to new fmt-capable ones | Lioncash | 5 | -26/+25 | |
2018-04-21 | Kernel: Use 0x2C as default main thread priority for homebrew and lone NRO/NSOs | Subv | 2 | -2/+2 | |
2018-04-06 | core, main.h: Abort on 32Bit ROMs (#309) | N00byKing | 2 | -0/+6 | |
* core, main.h: Abort on 32Bit ROMs * main.cpp: Fix Grammar | |||||
2018-04-03 | deconstructed_rom_directory.cpp: Fix Typo | N00byKing | 1 | -1/+1 | |
2018-03-31 | memory: Fix stack region. | bunnei | 3 | -3/+3 | |
2018-03-19 | Clean Warnings (?) | N00byKing | 1 | -1/+1 | |
2018-03-16 | kernel: Move stack region outside of application heap. | bunnei | 3 | -3/+3 | |
2018-03-14 | core: Move process creation out of global state. | bunnei | 4 | -9/+5 | |
2018-03-02 | Kernel: Store the program id in the Process class instead of the CodeSet class. | Subv | 5 | -12/+12 | |
There may be many CodeSets per Process, so it's wasteful and overcomplicated to store the program id in each of them. | |||||
2018-02-25 | loader: Check error on NPDM load, use TID for CodeSet | shinyquagsire23 | 3 | -6/+10 | |
2018-02-25 | loader: Use NPDM information when loading NSOs | shinyquagsire23 | 2 | -4/+15 | |
2018-02-14 | nso: Silence formatting specifier warnings | Lioncash | 1 | -2/+4 | |
2018-02-14 | deconstructed_rom_directory: Silence formatting specifier warnings | Lioncash | 1 | -3/+4 | |
2018-02-05 | Changed .istorage to .romfs | David Marcec | 2 | -5/+5 | |
2018-01-21 | deconstructed_rom_directory: Implement istorage loading for RomFS. | bunnei | 2 | -2/+71 | |
2018-01-21 | loader: Minor style fix in deconstructed_rom_directory | Rozlette | 1 | -1/+0 | |
2018-01-21 | Format: Run the new clang format on everything | James Rowe | 1 | -2/+3 | |
2018-01-20 | loader: Clean up ctors and includes. | bunnei | 10 | -18/+22 | |
2018-01-20 | loader: Add DeconstructedRomDirectory for game dumps. | bunnei | 4 | -0/+154 | |
2018-01-20 | loader: Refactor to also pass filepath into IdentifyType. | bunnei | 8 | -19/+19 | |
2018-01-20 | nso: Remove code specific to directory loading. | bunnei | 2 | -17/+6 | |
2018-01-18 | Fix NRO Entry Point | gdkchan | 1 | -2/+2 | |
2018-01-18 | Fix NRO loading | gdkchan | 1 | -20/+9 | |
2018-01-17 | Remove relocation on NSO/NRO | gdkchan | 3 | -19/+2 | |
2018-01-16 | clang-format | MerryMage | 3 | -10/+8 | |
2018-01-16 | nso: Modify .bss size calculation logic | Rozlette | 1 | -3/+7 | |
2018-01-15 | nso: Load subsdk4 if available. | bunnei | 1 | -1/+1 | |
2018-01-14 | Add missing FileType declarations in GuessFromExtension and GetFileTypeString | Thog | 1 | -0/+8 | |
2018-01-13 | yuzu: Update license text to be consistent across project. | bunnei | 6 | -6/+6 | |
2018-01-07 | nso: Always load the filepath specified by the user. | bunnei | 1 | -1/+3 | |
2017-10-23 | nso: Load more common submodules. | bunnei | 1 | -15/+11 | |
2017-10-23 | memory: Support 32-bit paging, move heap address space up. | bunnei | 1 | -1/+1 | |
2017-10-15 | core: Refactor MakeMagic usage and remove dead code. | bunnei | 6 | -143/+10 | |
2017-10-14 | nso: Add a log for loading submodules. | bunnei | 1 | -0/+1 | |
2017-10-13 | Remove more 3DS-specific code. | bunnei | 1 | -2/+0 | |
2017-10-13 | Remove lots more 3DS-specific code. | bunnei | 6 | -774/+0 | |
2017-10-10 | loader: Various improvements for NSO/NRO loaders. | bunnei | 5 | -52/+34 | |
2017-10-06 | loader: Add support for NRO, as well as various fixes and shared linker. | bunnei | 8 | -146/+430 | |
2017-10-04 | nso: Fixes to support homebrew NSOs without a MOD header. | bunnei | 2 | -17/+23 | |
2017-10-01 | file_sys, loader: add support for reading TMDs to determine app paths | shinyquagsire23 | 1 | -3/+14 | |
2017-09-30 | nso: Refactor and allocate .bss section. | bunnei | 5 | -119/+144 | |
2017-09-30 | loader: Add support for loading an NSO. | bunnei | 4 | -0/+340 | |
2017-09-30 | elf: Check if machine is ARM. | bunnei | 1 | -2/+9 | |
2017-09-27 | Loaders: Don't automatically set the current process every time we load an application. | Subv | 7 | -35/+36 | |
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. | |||||
2017-09-25 | HLE/Archives: Allow multiple loaded applications to access their SelfNCCH archive independently. | Subv | 2 | -4/+2 | |
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. | |||||
2017-09-25 | Loader/NCCH: Add support for loading application updates (#2927) | Max Thomas | 3 | -434/+82 | |
* 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 | |||||
2017-09-24 | memory: Add GetCurrentPageTable/SetCurrentPageTable | MerryMage | 3 | -3/+3 | |
Don't expose Memory::current_page_table as a global. | |||||
2017-09-10 | Kernel/Memory: Give each Process its own page table. | Subv | 3 | -0/+3 | |
The loader is in charge of setting the newly created process's page table as the main one during the loading process. | |||||
2017-08-19 | Added missing parts in libnetwork (#2838) | B3n30 | 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. | |||||
2017-08-04 | loader: Expose program title. | bunnei | 3 | -12/+31 | |
2017-07-18 | telemetry: Log performance, configuration, and system data. | bunnei | 1 | -2/+4 | |
2017-06-03 | Addressed Bunnei's review comments, and made some other tweaks: | TheKoopaKingdom | 2 | -2/+2 | |
- Deleted GetStatus() because it wasn't used anywhere outside of Core::System. - Fixed design flaw where the message bar status could be set despite the game being stopped. | |||||
2017-06-03 | Created a whitelist of system archives to prevent false positives creating dialogs. | TheKoopaKingdom | 2 | -4/+2 | |
2017-06-03 | Made some changes from review comments: | TheKoopaKingdom | 3 | -15/+12 | |
- 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. | |||||
2017-06-03 | Fixed encrypted ROM error messages. | TheKoopaKingdom | 3 | -9/+19 | |
2017-05-25 | telemetry: Log a few simple data fields throughout core. | bunnei | 1 | -0/+3 | |
2017-05-08 | Remove ability to load symbol maps | Yuri Kunde Schlesner | 1 | -32/+0 | |
This was now mostly unused except by thread creation, which used a symbol of the entrypoint, if available, to name the thread. | |||||
2017-03-08 | loader/ncch: less verbose log for loading game list. only log program ID when booting | wwylele | 1 | -3/+6 | |
2017-03-08 | loader: lower file name logging level | wwylele | 1 | -1/+1 | |
2017-02-27 | Doxygen: Amend minor issues (#2593) | Mat M | 1 | -1/+1 | |
Corrects a few issues with regards to Doxygen documentation, for example: - Incorrect parameter referencing. - Missing @param tags. - Typos in @param tags. and a few minor other issues. | |||||
2017-02-13 | loader: use self NCCH archive | wwylele | 2 | -6/+6 | |
2017-01-18 | loader: Add support for 3DSX special relocation types, fixes citra-emu/citra#2449 | Thomas Farr | 1 | -9/+25 | |
As per devkitPro/3dstools@47bea18 | |||||
2017-01-04 | Fix some warnings (#2399) | Jonathan Hao | 2 | -2/+2 | |
2016-12-22 | loader: Remove duplicate docstrings. | bunnei | 3 | -56/+0 | |
2016-12-15 | loader: Implement ReadProgramId | MerryMage | 3 | -0/+28 | |
2016-12-07 | Config: auto-select region and language | wwylele | 2 | -0/+25 | |
2016-11-28 | Kernel/Loader: Grab the system mode from the NCCH ExHeader. | Subv | 3 | -16/+17 | |
3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849 | |||||
2016-11-20 | Kernel/Loader: Grab the system mode from the NCCH ExHeader. | Subv | 3 | -0/+27 | |
3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849 | |||||
2016-10-20 | Fix typos | Ricardo de Almeida Gonzaga | 2 | -2/+2 | |
2016-09-21 | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 4 | -4/+4 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 10 | -21/+4 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-19 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 4 | -10/+5 | |
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 9 | -208/+249 | |
2016-05-21 | Loader: Split SMDH into its own header and import helpers from QGameList | Emmanuel Gil Peyrot | 3 | -47/+136 | |
Also rewrite Qt wrappers to use those. | |||||
2016-05-21 | CitraQt: Simplify the game list loader code | Emmanuel Gil Peyrot | 2 | -14/+12 | |
2016-05-21 | Loader: Add a GetFileType method to get the type of a loaded file | Emmanuel Gil Peyrot | 4 | -0/+30 | |
2016-05-21 | Loader, Frontends: Refactor loader creation and game loading | Emmanuel Gil Peyrot | 4 | -47/+21 | |
This allows frontends to keep a single loader and use it multiple times e.g. for code loading and SMDH parsing. | |||||
2016-05-07 | fixup simple type conversions where possible | Alexander Laties | 1 | -3/+3 | |
2016-05-07 | Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1). | Subv | 1 | -0/+3 | |
We do not currently implement any cores other than the AppCore (Core 0). | |||||
2016-05-06 | fix:return proper error | wwylele | 1 | -2/+3 | |
2016-05-04 | add icon & title to game list | wwylele | 6 | -23/+149 | |
2016-04-23 | ncch: Use correct format specifier (for long long uint) | Sam Spilsbury | 1 | -1/+1 | |
2016-04-16 | core: Clean out some unnecessary header includes | Lioncash | 1 | -5/+1 | |
2016-04-14 | ncch:only decompress .code section | wwylele | 1 | -2/+2 | |
2016-04-05 | Common: Remove Common::make_unique, use std::make_unique | MerryMage | 2 | -4/+2 | |
2016-03-21 | loader: Make MakeMagic constexpr | Lioncash | 1 | -1/+1 | |
2016-03-08 | Improve error report from Init() functions | LittleWhite | 1 | -1/+0 | |
Add error popup when citra initialization failed | |||||
2016-03-05 | Loader/NCCH: Log the program ID during loading | Yuri Kunde Schlesner | 1 | -1/+2 | |
This is useful for all sorts of things, but mainly to identify save folders more easily. | |||||
2016-03-03 | Display errors in GUI when loading ROM failed | LittleWhite | 1 | -2/+3 | |
2016-01-25 | elf: Don't cast away const | Lioncash | 1 | -3/+3 | |
2015-10-11 | Loader: Change NCCH header types to be explicitly little-endian | Gareth Poole | 2 | -18/+17 | |
2015-10-11 | Loader: Implement encryption check | Gareth Poole | 3 | -2/+8 | |
2015-10-09 | CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls. | Emmanuel Gil Peyrot | 1 | -2/+2 | |
The LOG_* function itself already appends one. | |||||
2015-10-01 | Expose loader helper functions for identifying files. | archshift | 2 | -13/+41 | |
2015-09-21 | Implement 3dsx RomFS | Cruel | 3 | -3/+61 | |
2015-09-10 | General: Fix up doxygen comments | Lioncash | 2 | -2/+4 | |
2015-08-15 | Properly indicate that CIA support is not implemented yet | Benjamin Barenblat | 1 | -0/+4 | |
Make `Loader::LoadFile` return an `ErrorNotImplemented` if you call it on a CIA file. | |||||
2015-08-15 | Give CIA file type a name | Benjamin Barenblat | 1 | -0/+2 | |
Make `GetFileTypeString` return ‘CIA’ for CIA (CTR Importable Archive) files. | |||||
2015-07-26 | loader: Remove unnecessary else usages | Lioncash | 1 | -9/+9 | |
2015-07-19 | Core : Change variable type | zawata | 1 | -1/+1 | |
and fix various warnings | |||||
2015-07-14 | Loader: Fix variable type and remove unused variable | Yuri Kunde Schlesner | 1 | -2/+1 | |
2015-07-14 | Loader: Remove unnecessary pointer indirection to IOFile | Yuri Kunde Schlesner | 8 | -48/+48 | |
2015-07-14 | FS: Stream RomFS from file instead of loading all of it to memory | condut | 4 | -9/+20 | |
2015-07-12 | Core: Properly configure address space when loading a binary | Yuri Kunde Schlesner | 3 | -27/+123 | |
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. | |||||
2015-07-12 | Loader: Clean up 3dsx loader a bit, fixing a potential buffer overrun | Yuri Kunde Schlesner | 1 | -13/+16 | |
2015-07-12 | Loader: Make 3dsx loader logs a bit less confusing | Yuri Kunde Schlesner | 1 | -6/+3 | |
2015-07-08 | Loader: Remove log line causing warning | aroulin | 1 | -1/+0 | |
2015-06-28 | CitraQt: Cleanup includes. | Emmanuel Gil Peyrot | 3 | -3/+10 | |
2015-06-28 | Common: Cleanup key_map includes. | Emmanuel Gil Peyrot | 2 | -0/+2 | |
2015-06-28 | Common: Fix FileUtil includes, and everything relying on those. | Emmanuel Gil Peyrot | 1 | -0/+1 | |
2015-05-29 | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 1 | -1/+1 | |
2015-05-15 | Core/ResourceLimits: Implemented the basic structure of ResourceLimits. | Subv | 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. | |||||
2015-05-15 | Memmap: Re-organize memory function in two files | Yuri Kunde Schlesner | 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. | |||||
2015-05-09 | Loader: Add missing include | Yuri Kunde Schlesner | 1 | -0/+1 | |
2015-05-09 | Memory: Re-organize and rename memory area address constants | Yuri Kunde Schlesner | 2 | -3/+3 | |
2015-05-09 | Loader: Remove .bin file support | Yuri Kunde Schlesner | 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. | |||||
2015-05-09 | Process: Rename StaticAddressMapping => AddressMapping | Yuri Kunde Schlesner | 4 | -5/+5 | |
2015-05-09 | Loader/NCCH: Fix formatting of braces | Yuri Kunde Schlesner | 1 | -9/+9 | |
2015-05-09 | Process: Support parsing of exheader kernel caps | Yuri Kunde Schlesner | 3 | -0/+3 | |
2015-05-09 | Kernel: Remove g_program_id | Yuri Kunde Schlesner | 3 | -11/+0 | |
This has been obsoleted by the field in Process. | |||||
2015-05-09 | Kernel: Introduce skeleton Process class to hold process data | Yuri Kunde Schlesner | 8 | -29/+88 | |
2015-05-07 | Common: Remove common.h | Yuri Kunde Schlesner | 6 | -3/+11 | |
2015-04-28 | Services/Loader: Use more sensible log formats for certain functions | purpasmart96 | 2 | -14/+37 | |
along with more info being logged. | |||||
2015-03-15 | NCCH: Minor updates to the ncch header | purpasmart96 | 1 | -11/+14 | |
2015-02-12 | Build: Fixed some warnings | Subv | 1 | -1/+3 | |
2015-02-10 | FS: Allow multiple instances of the same archive type to be open at once | Yuri Kunde Schlesner | 1 | -1/+1 | |
2015-02-03 | core: Fix some warnings on OSX | Lioncash | 1 | -1/+1 | |
2015-01-30 | Silence a few warnings. | Rohit Nirmal | 1 | -2/+2 | |
2015-01-30 | loader: Add missing printf argument | Lioncash | 1 | -1/+1 | |
2015-01-15 | Loader: Clean up the ELF AppLoader. | Emmanuel Gil Peyrot | 2 | -42/+35 | |
2015-01-15 | Loader: Clean up the 3DSX AppLoader. | Emmanuel Gil Peyrot | 1 | -17/+24 | |
2015-01-15 | Loader: Clean up the NCCH AppLoader. | Emmanuel Gil Peyrot | 1 | -51/+48 | |
2015-01-15 | Loader: Display the type of the file being loaded. | Emmanuel Gil Peyrot | 1 | -3/+23 | |
2015-01-15 | Loader: Guess filetype from the magic, or fallback to the extension. | Emmanuel Gil Peyrot | 8 | -26/+112 | |
2015-01-15 | Loader: Don’t assume the file hasn’t been read before. | Emmanuel Gil Peyrot | 3 | -4/+13 | |
2015-01-15 | Loader: Keep a reference to the file and pass it to the correct AppLoader, instead of loading it multiple times. | Emmanuel Gil Peyrot | 8 | -176/+116 | |
2015-01-15 | Loader: Initialize the default NCCH values in the class declaration, not in the constructor. | Emmanuel Gil Peyrot | 2 | -8/+4 | |
2015-01-15 | Loader: Remove the useless THREEDSXReader class. | Emmanuel Gil Peyrot | 1 | -10/+4 | |
2015-01-15 | Loader: Never forget to change is_loaded. | Emmanuel Gil Peyrot | 6 | -7/+15 | |
2015-01-15 | Loader: Don’t duplicate the docstring into the cpp file. | Emmanuel Gil Peyrot | 4 | -56/+0 | |
2015-01-15 | Loader: Fix indentation, whitespace, and a few other such cosmetic stuff. | Emmanuel Gil Peyrot | 2 | -26/+24 | |
2015-01-05 | Fix correct espace | Dante38490 | 1 | -2/+2 | |
2015-01-05 | Add support load 3DS room | Dante38490 | 1 | -0/+2 | |
2015-01-03 | elf: Make DidRelocate const | Lioncash | 1 | -1/+1 | |
2014-12-21 | License change | purpasmart96 | 8 | -10/+10 | |
2014-12-20 | Clean up some warnings | Chin | 1 | -3/+1 | |
2014-12-20 | Common: Add a clone of std::make_unique | Yuri Kunde Schlesner | 1 | -2/+4 | |
2014-12-18 | Filesystem/Archives: Implemented the SaveData archive | Subv | 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 | |||||
2014-12-16 | FS.Archive: Clean up treatment of archives and their handles | Yuri Kunde Schlesner | 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. | |||||
2014-12-16 | Service.FS: Do archive registration using IdCode instead of name | Yuri Kunde Schlesner | 1 | -1/+1 | |
2014-12-16 | HLE: Rename namespaces to match move & fix initialization order | Yuri Kunde Schlesner | 1 | -1/+1 | |
2014-12-16 | HLE: Move kernel/archive.* to service/fs/ | Yuri Kunde Schlesner | 2 | -2/+2 | |
2014-12-13 | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 4 | -35/+35 | |
2014-12-08 | Loader: Add 3DSX support | ichfly | 4 | -0/+276 | |
2014-11-19 | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 3 | -6/+6 | |
2014-11-18 | core: Mark some hle functions as static | Lioncash | 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. | |||||
2014-09-17 | Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions. | Emmanuel Gil Peyrot | 3 | -5/+5 | |
2014-09-09 | core: Prune redundant includes | archshift | 1 | -1/+0 | |
2014-09-09 | Added string_util to common, small changes in loader.cpp | archshift | 1 | -16/+15 | |
2014-09-09 | loader.cpp: improved file extension checking, made Upper/LowerStr useful | archshift | 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. | |||||
2014-09-06 | ncch: Remove C-style struct typedefs | Lioncash | 1 | -4/+4 | |
In C++ you can simply just declare it as is. | |||||
2014-09-06 | ncch: inline declare some variables in LZSS_Decompress | Lioncash | 1 | -7/+5 | |
2014-08-31 | Loader: Added support for loading raw BIN executables. | bunnei | 2 | -0/+21 | |
- Useful for debugging homebrew Qt: Updated GUI to support loading .bin files. | |||||
2014-08-28 | Loader: Added support for loading raw BIN executables. | bunnei | 2 | -0/+21 | |
- Useful for debugging homebrew Qt: Updated GUI to support loading .bin files. | |||||
2014-07-05 | NCCH: Updated ExeFS memory allocation to be safer. | bunnei | 2 | -1/+7 | |
2014-07-05 | Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override". | bunnei | 2 | -9/+9 | |
2014-07-05 | Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final" | bunnei | 2 | -2/+2 | |
2014-07-05 | Loader: Updated read methods to be const | bunnei | 3 | -66/+77 | |
- Required "file" handle to be made local and explicitly opened/closed as needed | |||||
2014-07-05 | FileSys: Added preliminary support for applications reading the RomFS archive. | bunnei | 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. | |||||
2014-06-27 | Loader: Refactored interface such that data is no longer stored by loader. | bunnei | 3 | -96/+73 | |
NCCH: Removed extra qualification ‘Loader::AppLoader_NCCH::’. | |||||
2014-06-25 | Loader: Refactored loading functions to only read data from binary if called. | bunnei | 3 | -74/+141 | |
NCCH: Updated LoadExec to use Memory::WriteBlock function to load binary code. | |||||
2014-06-25 | ELF: Refactored LoadInto(..) to use memcpy, removed unnecessary code. | bunnei | 1 | -19/+8 | |
2014-06-25 | Loader: Refactored use of const. | bunnei | 6 | -20/+19 | |
2014-06-25 | NCCH: Added RomFS loading. | bunnei | 2 | -1/+36 | |
2014-06-25 | NCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections correctly. | bunnei | 3 | -22/+29 | |
Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used. | |||||
2014-06-25 | Loader: Implemented AppLoader interface for abstracting application loading. | bunnei | 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. | |||||
2014-06-17 | NCCH: Changed decompression to load .code directly into memory rather than an intermediate buffer. | bunnei | 1 | -9/+3 | |
2014-06-17 | Elf: Removed unused macros, changed #include of "common.h" to just "common_types.h". | bunnei | 1 | -117/+1 | |
2014-06-17 | Loader: Cleaned up and removed unused code, refactored ELF namespace. | bunnei | 4 | -209/+70 | |
2014-06-17 | Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> spaces. | bunnei | 5 | -357/+332 | |
2014-06-17 | Loader: Added support for booting NCCH executables. | bunnei | 3 | -0/+374 | |
NCCH: Fixed typo in printing NCCH filename. | |||||
2014-06-17 | Loader: Moved elf and loader modules to a "loader" subdirectory. | bunnei | 5 | -0/+805 | |