aboutsummaryrefslogtreecommitdiff
path: root/src/core/loader
AgeCommit message (Collapse)Author
2017-09-25HLE/Archives: Allow multiple loaded applications to access their SelfNCCH ↵Subv
archive independently. 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-25Merge pull request #2952 from MerryMage/page-tablesB3n30
Switchable Page Tables
2017-09-25Loader/NCCH: Add support for loading application updates (#2927)Max Thomas
* 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-24memory: Add GetCurrentPageTable/SetCurrentPageTableMerryMage
Don't expose Memory::current_page_table as a global.
2017-09-10Kernel/Memory: Give each Process its own page table.Subv
The loader is in charge of setting the newly created process's page table as the main one during the loading process.
2017-08-19Added missing parts in libnetwork (#2838)B3n30
* Network: Set and send the game information over enet Added Callbacks for RoomMember and GetMemberList to Room in preparation for web_services.
2017-08-03loader: Expose program title.bunnei
2017-07-17telemetry: Log performance, configuration, and system data.bunnei
2017-06-02Addressed Bunnei's review comments, and made some other tweaks:TheKoopaKingdom
- 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-02Created a whitelist of system archives to prevent false positives creating ↵TheKoopaKingdom
dialogs.
2017-06-02Made some changes from review comments:TheKoopaKingdom
- 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-02Fixed encrypted ROM error messages.TheKoopaKingdom
2017-05-24telemetry: Log a few simple data fields throughout core.bunnei
2017-05-07Remove ability to load symbol mapsYuri Kunde Schlesner
This was now mostly unused except by thread creation, which used a symbol of the entrypoint, if available, to name the thread.
2017-03-08loader/ncch: less verbose log for loading game list. only log program ID ↵wwylele
when booting
2017-03-08loader: lower file name logging levelwwylele
2017-02-26Doxygen: Amend minor issues (#2593)Mat M
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-13loader: use self NCCH archivewwylele
2017-01-19loader: Add support for 3DSX special relocation types, fixes ↵Thomas Farr
citra-emu/citra#2449 As per devkitPro/3dstools@47bea18
2017-01-04Fix some warnings (#2399)Jonathan Hao
2016-12-29Merge pull request #2240 from wwylele/auto-regionbunnei
Config: auto-select region and language
2016-12-21loader: Remove duplicate docstrings.bunnei
2016-12-15loader: Implement ReadProgramIdMerryMage
2016-12-07Config: auto-select region and languagewwylele
2016-11-27Kernel/Loader: Grab the system mode from the NCCH ExHeader.Subv
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-19Kernel/Loader: Grab the system mode from the NCCH ExHeader.Subv
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-20Fix typosRicardo de Almeida Gonzaga
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-05-21Loader: Split SMDH into its own header and import helpers from QGameListEmmanuel Gil Peyrot
Also rewrite Qt wrappers to use those.
2016-05-21CitraQt: Simplify the game list loader codeEmmanuel Gil Peyrot
2016-05-21Loader: Add a GetFileType method to get the type of a loaded fileEmmanuel Gil Peyrot
2016-05-21Loader, Frontends: Refactor loader creation and game loadingEmmanuel Gil Peyrot
This allows frontends to keep a single loader and use it multiple times e.g. for code loading and SMDH parsing.
2016-05-08Merge pull request #1766 from Subv/log_cpubunnei
Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1)
2016-05-07fixup simple type conversions where possibleAlexander Laties
2016-05-07Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1).Subv
We do not currently implement any cores other than the AppCore (Core 0).
2016-05-06fix:return proper errorwwylele
2016-05-04add icon & title to game listwwylele
2016-04-23ncch: Use correct format specifier (for long long uint)Sam Spilsbury
2016-04-16core: Clean out some unnecessary header includesLioncash
2016-04-14ncch:only decompress .code sectionwwylele
2016-04-05Merge pull request #1643 from MerryMage/make_uniqueMathew Maidment
Common: Remove Common::make_unique, use std::make_unique
2016-04-05Common: Remove Common::make_unique, use std::make_uniqueMerryMage
2016-03-21loader: Make MakeMagic constexprLioncash
2016-03-08Merge pull request #1344 from LittleWhite-tb/error-outputbunnei
Output errors in GUI
2016-03-08Improve error report from Init() functionsLittleWhite
Add error popup when citra initialization failed
2016-03-04Loader/NCCH: Log the program ID during loadingYuri Kunde Schlesner
This is useful for all sorts of things, but mainly to identify save folders more easily.
2016-03-03Display errors in GUI when loading ROM failedLittleWhite