summaryrefslogtreecommitdiffstats
path: root/src/core/loader (unfollow)
Commit message (Expand)AuthorFilesLines
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2-2/+2
2018-09-13kernel/thread: Include thread-related enums within the kernel namespaceLioncash2-2/+3
2018-09-04bktr: Fix bucket overlap errorZach Hilman1-2/+2
2018-09-04drd: Parse title ID from program metadataZach Hilman1-1/+8
2018-09-04patch_manager: Centralize Control-type NCA parsingZach Hilman2-33/+8
2018-09-04game_list: Fix version display on non-NAND titlesZach Hilman1-1/+10
2018-09-04bktr: Implement IVFC offset shiftingZach Hilman3-0/+16
2018-09-04bktr: Fix missing includes and optimize styleZach Hilman5-5/+5
2018-09-04loader: Add BKTR-specific error messages and codesZach Hilman2-7/+24
2018-09-04loader: Ignore patches on NRO and DRDZach Hilman4-0/+11
2018-09-04patch_manager: Add usages of patches to ExeFSZach Hilman3-8/+30
2018-09-04main: Only show DRD deprecation warning onceZach Hilman1-1/+1
2018-09-04nsp: Comply with style and performance guidelinesZach Hilman2-3/+10
2018-09-04loader: Add AppLoader for NSP filesZach Hilman2-0/+182
2018-09-04card_image: Parse XCI secure partition with NSPZach Hilman1-4/+3
2018-09-04drd: Load title ID from program metadataZach Hilman1-3/+1
2018-09-04loader: Add NSP file type and NSP-specific errorsZach Hilman2-2/+14
2018-09-02vfs_real: Forward declare IOFileLioncash2-5/+6
2018-08-31core/core: Replace includes with forward declarations where applicableLioncash4-0/+4
2018-08-29kernel: Eliminate kernel global stateLioncash4-7/+16
2018-08-25file_sys/crypto: Fix missing/unnecessary includesZach Hilman1-1/+0
2018-08-23file_sys: Cut down on includes and copiesZach Hilman2-4/+11
2018-08-23loader: Add new NAX-specific errors and messagesZach Hilman2-1/+27
2018-08-23nax: Add AppLoader_NAX and update loader to support itZach Hilman4-2/+121
2018-08-23xci: Fix error masking issueZach Hilman1-5/+6
2018-08-21service/filesystem: Use forward declarations where applicableLioncash2-0/+2
2018-08-15loader: Make ResultStatus directly compatible with fmtLioncash2-10/+6
2018-08-15loader/nca: Remove unnecessary includes and member variablesLioncash2-20/+11
2018-08-15loader/xci: Remove unnecessary includes and member variablesLioncash2-15/+11
2018-08-15loader: Remove address mapping remnants from citraLioncash6-17/+0
2018-08-12made ResultStatus a u16David Marcec1-1/+1
2018-08-12Fixed invalid cast in loaderDavid Marcec1-1/+1
2018-08-12loader: Recognize filename '00' as NCAZach Hilman1-0/+2
2018-08-10loader: Add more descriptive errorsZach Hilman7-31/+111
2018-08-09loader: Remove unused IdentifyFile overloadZach Hilman2-12/+0
2018-08-07loader: Fix scope error in DeconstructedRomDirectoryZach Hilman1-1/+1
2018-08-07loader: Add icon and title support to XCIZach Hilman3-3/+37
2018-08-07Use const where applicableZach Hilman1-1/+1
2018-08-07Avoid parsing RomFS to directory in NCAZach Hilman6-6/+79
2018-08-06loader: Make AppLoader_NCA rely on directory loading codeZach Hilman4-37/+24
2018-08-03kernel/process: Use accessors instead of class members for referencing segment arrayLioncash3-5/+5
2018-08-02kernel: Move object class to its own source filesLioncash5-5/+5
2018-08-01Fix merge conflicts with opus and update docsZach Hilman1-0/+2
2018-08-01Use more descriptive error codes and messagesZach Hilman2-2/+3
2018-08-01Use ErrorEncrypted where applicable and fix no keys crashZach Hilman1-0/+4
2018-08-01Add missing includes and use const where applicableZach Hilman1-0/+3
2018-08-01Make XCI comply to review and style guidelinesZach Hilman2-5/+5
2018-08-01Remove files that are not usedZach Hilman6-6/+134
2018-07-24deconstructed_rom_directory: Remove unused FindRomFS() functionLioncash1-29/+0
2018-07-24core: Make converting constructors explicit where applicableLioncash2-2/+2
2018-07-23loader: Remove unnecessary constructor call in IdentifyFile()Lioncash1-1/+1
2018-07-23linker: Remove unused parameter from WriteRelocations()Lioncash2-7/+4
2018-07-23nro: Replace inclusion with a forward declarationLioncash2-1/+8
2018-07-23nro: Make bracing consistentLioncash1-10/+24
2018-07-23nro: Make constructor explicitLioncash1-1/+1
2018-07-23nro: Remove unused forward declarationLioncash1-2/+0
2018-07-23NRO Assets and NACP file formatZach Hilman2-1/+90
2018-07-22file_util, vfs: Use std::string_view where applicableLioncash1-1/+2
2018-07-22file_util: Use a u64 to represent number of entriesLioncash1-1/+1
2018-07-21Loader: Only print the module names and addresses if they actually exist.Subv1-5/+2
2018-07-20loader/{nca, nro}: std::move VirtualFile in the constructors where applicableLioncash2-2/+4
2018-07-20nso: Silence implicit sign conversion warningsLioncash1-4/+6
2018-07-20nso: Remove unused function ReadSegment()Lioncash1-13/+0
2018-07-19loader: Amend Doxygen commentsLioncash2-5/+5
2018-07-19loader/nso: Check if read succeeded in IdentifyFile() before checking magic valueLioncash1-4/+6
2018-07-19loader/nro: Resolve sign mismatch warningsLioncash1-1/+1
2018-07-19loader/nso: Remove unnecessary vector resizesLioncash1-4/+2
2018-07-19loader/nso: Resolve sign mismatch warningsLioncash1-1/+1
2018-07-19Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman12-525/+146
2018-07-17General Filesystem and Save Data Fixes (#670)Zach Hilman3-5/+3
2018-07-13More improvements to GDBStub (#653)Hedges4-0/+15
2018-07-08Revert "Virtual Filesystem (#597)"bunnei12-140/+540
2018-07-06Virtual Filesystem (#597)Zach Hilman12-540/+140
2018-07-03Update clang formatJames Rowe1-5/+5
2018-07-03Rename logging macro back to LOG_*James Rowe6-27/+27
2018-06-21Add support for decrypted NCA files (#567)Zach Hilman6-11/+434
2018-05-02general: Make formatting of logged hex values more straightforwardLioncash2-4/+4
2018-04-27general: Convert assertion macros over to be fmt-compatibleLioncash1-1/+1
2018-04-25loader: Move old logging macros over to new fmt-capable onesLioncash5-26/+25
2018-04-21Kernel: Use 0x2C as default main thread priority for homebrew and lone NRO/NSOsSubv2-2/+2
2018-04-06core, main.h: Abort on 32Bit ROMs (#309)N00byKing2-0/+6
2018-04-03deconstructed_rom_directory.cpp: Fix TypoN00byKing1-1/+1
2018-03-31memory: Fix stack region.bunnei3-3/+3
2018-03-19Clean Warnings (?)N00byKing1-1/+1
2018-03-16kernel: Move stack region outside of application heap.bunnei3-3/+3
2018-03-14core: Move process creation out of global state.bunnei4-9/+5
2018-03-02Kernel: Store the program id in the Process class instead of the CodeSet class.Subv5-12/+12
2018-02-25loader: Check error on NPDM load, use TID for CodeSetshinyquagsire233-6/+10
2018-02-25loader: Use NPDM information when loading NSOsshinyquagsire232-4/+15
2018-02-14nso: Silence formatting specifier warningsLioncash1-2/+4
2018-02-14deconstructed_rom_directory: Silence formatting specifier warningsLioncash1-3/+4
2018-02-05Changed .istorage to .romfsDavid Marcec2-5/+5
2018-01-21deconstructed_rom_directory: Implement istorage loading for RomFS.bunnei2-2/+71
2018-01-21loader: Minor style fix in deconstructed_rom_directoryRozlette1-1/+0
2018-01-21Format: Run the new clang format on everythingJames Rowe1-2/+3
2018-01-20loader: Clean up ctors and includes.bunnei10-18/+22
2018-01-20loader: Add DeconstructedRomDirectory for game dumps.bunnei4-0/+154
2018-01-20loader: Refactor to also pass filepath into IdentifyType.bunnei8-19/+19
2018-01-20nso: Remove code specific to directory loading.bunnei2-17/+6
2018-01-18Fix NRO Entry Pointgdkchan1-2/+2
2018-01-18Fix NRO loadinggdkchan1-20/+9
2018-01-17Remove relocation on NSO/NROgdkchan3-19/+2
2018-01-16clang-formatMerryMage3-10/+8
2018-01-16nso: Modify .bss size calculation logicRozlette1-3/+7
2018-01-15nso: Load subsdk4 if available.bunnei1-1/+1
2018-01-14Add missing FileType declarations in GuessFromExtension and GetFileTypeStringThog1-0/+8
2018-01-13yuzu: Update license text to be consistent across project.bunnei6-6/+6
2018-01-07nso: Always load the filepath specified by the user.bunnei1-1/+3
2017-10-23nso: Load more common submodules.bunnei1-15/+11
2017-10-23memory: Support 32-bit paging, move heap address space up.bunnei1-1/+1
2017-10-15core: Refactor MakeMagic usage and remove dead code.bunnei6-143/+10
2017-10-14nso: Add a log for loading submodules.bunnei1-0/+1
2017-10-13Remove more 3DS-specific code.bunnei1-2/+0
2017-10-13Remove lots more 3DS-specific code.bunnei6-774/+0
2017-10-10loader: Various improvements for NSO/NRO loaders.bunnei5-52/+34
2017-10-06loader: Add support for NRO, as well as various fixes and shared linker.bunnei8-146/+430
2017-10-04nso: Fixes to support homebrew NSOs without a MOD header.bunnei2-17/+23
2017-10-01file_sys, loader: add support for reading TMDs to determine app pathsshinyquagsire231-3/+14
2017-09-30nso: Refactor and allocate .bss section.bunnei5-119/+144
2017-09-30loader: Add support for loading an NSO.bunnei4-0/+340
2017-09-30elf: Check if machine is ARM.bunnei1-2/+9
2017-09-27Loaders: Don't automatically set the current process every time we load an application.Subv7-35/+36
2017-09-25HLE/Archives: Allow multiple loaded applications to access their SelfNCCH archive independently.Subv2-4/+2
2017-09-25Loader/NCCH: Add support for loading application updates (#2927)Max Thomas3-434/+82
2017-09-24memory: Add GetCurrentPageTable/SetCurrentPageTableMerryMage3-3/+3
2017-09-10Kernel/Memory: Give each Process its own page table.Subv3-0/+3
2017-08-19Added missing parts in libnetwork (#2838)B3n301-0/+8
2017-08-04loader: Expose program title.bunnei3-12/+31
2017-07-18telemetry: Log performance, configuration, and system data.bunnei1-2/+4
2017-06-03Addressed Bunnei's review comments, and made some other tweaks:TheKoopaKingdom2-2/+2
2017-06-03Created a whitelist of system archives to prevent false positives creating dialogs.TheKoopaKingdom2-4/+2
2017-06-03Made some changes from review comments:TheKoopaKingdom3-15/+12
2017-06-03Fixed encrypted ROM error messages.TheKoopaKingdom3-9/+19
2017-05-25telemetry: Log a few simple data fields throughout core.bunnei1-0/+3
2017-05-08Remove ability to load symbol mapsYuri Kunde Schlesner1-32/+0
2017-03-08loader/ncch: less verbose log for loading game list. only log program ID when bootingwwylele1-3/+6
2017-03-08loader: lower file name logging levelwwylele1-1/+1
2017-02-27Doxygen: Amend minor issues (#2593)Mat M1-1/+1
2017-02-13loader: use self NCCH archivewwylele2-6/+6
2017-01-18loader: Add support for 3DSX special relocation types, fixes citra-emu/citra#2449Thomas Farr1-9/+25
2017-01-04Fix some warnings (#2399)Jonathan Hao2-2/+2
2016-12-22loader: Remove duplicate docstrings.bunnei3-56/+0
2016-12-15loader: Implement ReadProgramIdMerryMage3-0/+28
2016-12-07Config: auto-select region and languagewwylele2-0/+25
2016-11-28Kernel/Loader: Grab the system mode from the NCCH ExHeader.Subv3-16/+17
2016-11-20Kernel/Loader: Grab the system mode from the NCCH ExHeader.Subv3-0/+27
2016-10-20Fix typosRicardo de Almeida Gonzaga2-2/+2
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner4-4/+4
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot10-21/+4
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner4-10/+5
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot9-208/+249
2016-05-21Loader: Split SMDH into its own header and import helpers from QGameListEmmanuel Gil Peyrot3-47/+136
2016-05-21CitraQt: Simplify the game list loader codeEmmanuel Gil Peyrot2-14/+12
2016-05-21Loader: Add a GetFileType method to get the type of a loaded fileEmmanuel Gil Peyrot4-0/+30
2016-05-21Loader, Frontends: Refactor loader creation and game loadingEmmanuel Gil Peyrot4-47/+21
2016-05-07fixup simple type conversions where possibleAlexander Laties1-3/+3
2016-05-07Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1).Subv1-0/+3
2016-05-06fix:return proper errorwwylele1-2/+3
2016-05-04add icon & title to game listwwylele6-23/+149
2016-04-23ncch: Use correct format specifier (for long long uint)Sam Spilsbury1-1/+1
2016-04-16core: Clean out some unnecessary header includesLioncash1-5/+1
2016-04-14ncch:only decompress .code sectionwwylele1-2/+2
2016-04-05Common: Remove Common::make_unique, use std::make_uniqueMerryMage2-4/+2
2016-03-21loader: Make MakeMagic constexprLioncash1-1/+1
2016-03-08Improve error report from Init() functionsLittleWhite1-1/+0
2016-03-05Loader/NCCH: Log the program ID during loadingYuri Kunde Schlesner1-1/+2
2016-03-03Display errors in GUI when loading ROM failedLittleWhite1-2/+3
2016-01-25elf: Don't cast away constLioncash1-3/+3
2015-10-11Loader: Change NCCH header types to be explicitly little-endianGareth Poole2-18/+17
2015-10-11Loader: Implement encryption checkGareth Poole3-2/+8
2015-10-09CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.Emmanuel Gil Peyrot1-2/+2
2015-10-01Expose loader helper functions for identifying files.archshift2-13/+41
2015-09-21Implement 3dsx RomFSCruel3-3/+61
2015-09-10General: Fix up doxygen commentsLioncash2-2/+4
2015-08-15Properly indicate that CIA support is not implemented yetBenjamin Barenblat1-0/+4
2015-08-15Give CIA file type a nameBenjamin Barenblat1-0/+2
2015-07-26loader: Remove unnecessary else usagesLioncash1-9/+9
2015-07-19Core : Change variable typezawata1-1/+1
2015-07-14Loader: Fix variable type and remove unused variableYuri Kunde Schlesner1-2/+1
2015-07-14Loader: Remove unnecessary pointer indirection to IOFileYuri Kunde Schlesner8-48/+48
2015-07-14FS: Stream RomFS from file instead of loading all of it to memorycondut4-9/+20
2015-07-12Core: Properly configure address space when loading a binaryYuri Kunde Schlesner3-27/+123
2015-07-12Loader: Clean up 3dsx loader a bit, fixing a potential buffer overrunYuri Kunde Schlesner1-13/+16
2015-07-12Loader: Make 3dsx loader logs a bit less confusingYuri Kunde Schlesner1-6/+3
2015-07-08Loader: Remove log line causing warningaroulin1-1/+0
2015-06-28CitraQt: Cleanup includes.Emmanuel Gil Peyrot3-3/+10
2015-06-28Common: Cleanup key_map includes.Emmanuel Gil Peyrot2-0/+2
2015-06-28Common: Fix FileUtil includes, and everything relying on those.Emmanuel Gil Peyrot1-0/+1
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot1-1/+1
2015-05-15Core/ResourceLimits: Implemented the basic structure of ResourceLimits.Subv3-0/+13
2015-05-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner4-4/+3
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
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
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
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
2014-12-16FS.Archive: Clean up treatment of archives and their handlesYuri Kunde Schlesner1-1/+1
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
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
2014-09-06ncch: Remove C-style struct typedefsLioncash1-4/+4
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
2014-08-28Loader: Added support for loading raw BIN executables.bunnei2-0/+21
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
2014-07-05FileSys: Added preliminary support for applications reading the RomFS archive.bunnei1-4/+11
2014-06-27Loader: Refactored interface such that data is no longer stored by loader.bunnei3-96/+73
2014-06-25Loader: Refactored loading functions to only read data from binary if called.bunnei3-74/+141
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
2014-06-25Loader: Implemented AppLoader interface for abstracting application loading.bunnei6-523/+672
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
2014-06-17Loader: Moved elf and loader modules to a "loader" subdirectory.bunnei5-0/+805