Commit Graph

119 Commits (78f2b85fe6df35e3501f6dbd81ceea536fcdb8a1)

Author SHA1 Message Date
Emmanuel Gil Peyrot 080a2d719c Loader: Split SMDH into its own header and import helpers from QGameList
Also rewrite Qt wrappers to use those.
9 years ago
Emmanuel Gil Peyrot 314ce5e505 CitraQt: Simplify the game list loader code 9 years ago
Emmanuel Gil Peyrot 9a35d1fb4a Loader: Add a GetFileType method to get the type of a loaded file 9 years ago
Emmanuel Gil Peyrot 8fc9c03126 Loader, Frontends: Refactor loader creation and game loading
This allows frontends to keep a single loader and use it multiple times
e.g. for code loading and SMDH parsing.
9 years ago
bunnei 282a2ad539 Merge pull request #1766 from Subv/log_cpu
Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1)
9 years ago
Alexander Laties 0a31e373f1 fixup simple type conversions where possible 9 years ago
Subv 5b7f86708c Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1).
We do not currently implement any cores other than the AppCore (Core 0).
9 years ago
wwylele d2182568ad fix:return proper error 9 years ago
wwylele 5d5dd66d92 add icon & title to game list 9 years ago
Sam Spilsbury 60f2587eac ncch: Use correct format specifier (for long long uint) 9 years ago
Lioncash 1cc183703a core: Clean out some unnecessary header includes 9 years ago
wwylele 727d508e02 ncch:only decompress .code section 9 years ago
Mathew Maidment aa6380e5bc Merge pull request #1643 from MerryMage/make_unique
Common: Remove Common::make_unique, use std::make_unique
9 years ago
MerryMage a06dcfeb61 Common: Remove Common::make_unique, use std::make_unique 9 years ago
Lioncash c99f47d8f0 loader: Make MakeMagic constexpr 9 years ago
bunnei 8530a2d7df Merge pull request #1344 from LittleWhite-tb/error-output
Output errors in GUI
9 years ago
LittleWhite 4be68dddfb Improve error report from Init() functions
Add error popup when citra initialization failed
9 years ago
Yuri Kunde Schlesner b967a581a1 Loader/NCCH: Log the program ID during loading
This is useful for all sorts of things, but mainly to identify save
folders more easily.
9 years ago
LittleWhite 7ad669a911 Display errors in GUI when loading ROM failed 9 years ago
Lioncash a89e32b157 elf: Don't cast away const 9 years ago
bunnei c717d1551d Merge pull request #1199 from Gareth422/encryption-check
Loader: Implement NCCH encryption check
10 years ago
Gareth Poole 721475420d Loader: Change NCCH header types to be explicitly little-endian 10 years ago
Gareth Poole 2706394384 Loader: Implement encryption check 10 years ago
Emmanuel Gil Peyrot 14af5919ba CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.
The LOG_* function itself already appends one.
10 years ago
bunnei 11a64acf23 Merge pull request #1095 from archshift/game-list
Initial implementation of a game list
10 years ago
archshift bba12520c4 Expose loader helper functions for identifying files. 10 years ago
Cruel d60a9be5c6 Implement 3dsx RomFS 10 years ago
Lioncash d3efa637b4 General: Fix up doxygen comments 10 years ago
Benjamin Barenblat c0a87bc89f
Properly indicate that CIA support is not implemented yet
Make `Loader::LoadFile` return an `ErrorNotImplemented` if you call
it on a CIA file.
10 years ago
Benjamin Barenblat cd8be1846b
Give CIA file type a name
Make `GetFileTypeString` return ‘CIA’ for CIA (CTR Importable
Archive) files.
10 years ago
Lioncash 43d799fd9d loader: Remove unnecessary else usages 10 years ago
zawata 972dccc3f6 Core : Change variable type
and fix various warnings
10 years ago
Yuri Kunde Schlesner 62c2a262b2 Loader: Fix variable type and remove unused variable 10 years ago
Yuri Kunde Schlesner 2d7299a86f Loader: Remove unnecessary pointer indirection to IOFile 10 years ago
condut c385b7767d FS: Stream RomFS from file instead of loading all of it to memory 10 years ago
Yuri Kunde Schlesner 5c5cf2f8e0 Core: Properly configure address space when loading a binary
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.
10 years ago
Yuri Kunde Schlesner 34f5f77507 Loader: Clean up 3dsx loader a bit, fixing a potential buffer overrun 10 years ago
Yuri Kunde Schlesner fdbf410bd7 Loader: Make 3dsx loader logs a bit less confusing 10 years ago
Yuri Kunde Schlesner 867c28ae03 Merge pull request #876 from linkmauve/include-cleanups
Cleanup includes, mostly in common
10 years ago
aroulin 769407e4fa Loader: Remove log line causing warning 10 years ago
Emmanuel Gil Peyrot 45c4781544 CitraQt: Cleanup includes. 10 years ago
Emmanuel Gil Peyrot 596b7c4f63 Common: Cleanup key_map includes. 10 years ago
Emmanuel Gil Peyrot 8cf9eb7f43 Common: Fix FileUtil includes, and everything relying on those. 10 years ago
Emmanuel Gil Peyrot b1503b2020 Remove every trailing whitespace from the project (but externals). 10 years ago
Subv d3634d4bf4 Core/ResourceLimits: Implemented the basic structure of ResourceLimits.
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.
10 years ago
Yuri Kunde Schlesner 7ada357b2d Memmap: Re-organize memory function in two files
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.
10 years ago
Tony Wasserka e35e72d0a5 Merge pull request #734 from yuriks/memmap
Small memory map definitions cleanup
10 years ago
Yuri Kunde Schlesner 417c867e14 Loader: Add missing include 10 years ago
Yuri Kunde Schlesner 1c0b87edc2 Memory: Re-organize and rename memory area address constants 10 years ago
Yuri Kunde Schlesner eb3eb9f75d Loader: Remove .bin file support
It is of very limited practical utility currently, and will soon be
impossible to support due to more accurate memory map emulation.
10 years ago