LittleWhite
59fe02348a
Improve error report from Init() functions
Add error popup when citra initialization failed
10 years ago
Yuri Kunde Schlesner
990a3e6038
Loader/NCCH: Log the program ID during loading
This is useful for all sorts of things, but mainly to identify save
folders more easily.
10 years ago
LittleWhite
c4c48d4ab3
Display errors in GUI when loading ROM failed
10 years ago
Lioncash
f290c57dee
elf: Don't cast away const
10 years ago
Gareth Poole
780fd6247f
Loader: Change NCCH header types to be explicitly little-endian
10 years ago
Gareth Poole
1874d33c0b
Loader: Implement encryption check
10 years ago
Emmanuel Gil Peyrot
b0c7762520
CitraQt, SkyEye, Loader, VideoCore: Remove newlines in LOG_* calls.
The LOG_* function itself already appends one.
10 years ago
archshift
976a199623
Expose loader helper functions for identifying files.
10 years ago
Cruel
aad98addf2
Implement 3dsx RomFS
10 years ago
Lioncash
54fa043c92
General: Fix up doxygen comments
10 years ago
Benjamin Barenblat
ef432342ce
Properly indicate that CIA support is not implemented yet
Make `Loader::LoadFile` return an `ErrorNotImplemented` if you call
it on a CIA file.
11 years ago
Benjamin Barenblat
b57680c39f
Give CIA file type a name
Make `GetFileTypeString` return ‘CIA’ for CIA (CTR Importable
Archive) files.
11 years ago
Lioncash
43d799fd9d
loader: Remove unnecessary else usages
11 years ago
zawata
972dccc3f6
Core : Change variable type
and fix various warnings
11 years ago
Yuri Kunde Schlesner
62c2a262b2
Loader: Fix variable type and remove unused variable
11 years ago
Yuri Kunde Schlesner
2d7299a86f
Loader: Remove unnecessary pointer indirection to IOFile
11 years ago
condut
c385b7767d
FS: Stream RomFS from file instead of loading all of it to memory
11 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.
11 years ago
Yuri Kunde Schlesner
34f5f77507
Loader: Clean up 3dsx loader a bit, fixing a potential buffer overrun
11 years ago
Yuri Kunde Schlesner
fdbf410bd7
Loader: Make 3dsx loader logs a bit less confusing
11 years ago
aroulin
769407e4fa
Loader: Remove log line causing warning
11 years ago
Emmanuel Gil Peyrot
45c4781544
CitraQt: Cleanup includes.
11 years ago
Emmanuel Gil Peyrot
596b7c4f63
Common: Cleanup key_map includes.
11 years ago
Emmanuel Gil Peyrot
8cf9eb7f43
Common: Fix FileUtil includes, and everything relying on those.
11 years ago
Emmanuel Gil Peyrot
b1503b2020
Remove every trailing whitespace from the project (but externals).
11 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.
11 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.
11 years ago
Yuri Kunde Schlesner
417c867e14
Loader: Add missing include
11 years ago
Yuri Kunde Schlesner
1c0b87edc2
Memory: Re-organize and rename memory area address constants
11 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.
11 years ago
Yuri Kunde Schlesner
3cb19c9589
Process: Rename StaticAddressMapping => AddressMapping
11 years ago
Yuri Kunde Schlesner
7eb413155f
Loader/NCCH: Fix formatting of braces
11 years ago
Yuri Kunde Schlesner
2af30d465f
Process: Support parsing of exheader kernel caps
11 years ago
Yuri Kunde Schlesner
a5eba2f984
Kernel: Remove g_program_id
This has been obsoleted by the field in Process.
11 years ago
Yuri Kunde Schlesner
6d60acf0f1
Kernel: Introduce skeleton Process class to hold process data
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
11 years ago
purpasmart96
c3a480160e
Services/Loader: Use more sensible log formats for certain functions
along with more info being logged.
11 years ago
purpasmart96
061c69a6bb
NCCH: Minor updates to the ncch header
11 years ago
Subv
8e2b248e05
Build: Fixed some warnings
11 years ago
Yuri Kunde Schlesner
3f1a3952d7
FS: Allow multiple instances of the same archive type to be open at once
11 years ago
Lioncash
676daef3c7
core: Fix some warnings on OSX
11 years ago
Rohit Nirmal
5ebf35db96
Silence a few warnings.
11 years ago
Lioncash
0c4685ca12
loader: Add missing printf argument
11 years ago
Emmanuel Gil Peyrot
df0d66c7cf
Loader: Clean up the ELF AppLoader.
11 years ago
Emmanuel Gil Peyrot
84e52a944d
Loader: Clean up the 3DSX AppLoader.
11 years ago
Emmanuel Gil Peyrot
08aaa33500
Loader: Clean up the NCCH AppLoader.
11 years ago
Emmanuel Gil Peyrot
2c24e539a2
Loader: Display the type of the file being loaded.
11 years ago
Emmanuel Gil Peyrot
82ec17db7d
Loader: Guess filetype from the magic, or fallback to the extension.
11 years ago
Emmanuel Gil Peyrot
04622a859c
Loader: Don’t assume the file hasn’t been read before.
11 years ago
Emmanuel Gil Peyrot
b5237e885d
Loader: Keep a reference to the file and pass it to the correct AppLoader, instead of loading it multiple times.
11 years ago