Subv
|
d171409f29
|
Kernel/Loader: Grab the system mode from the NCCH ExHeader.
3dsx and elf files default to system mode 2 (96MB allocated to the application).
This allows Home Menu to boot without modifications.
Closes #1849
|
9 years ago |
Subv
|
1323ab2f5f
|
Kernel/Loader: Grab the system mode from the NCCH ExHeader.
3dsx and elf files default to system mode 2 (96MB allocated to the application).
This allows Home Menu to boot without modifications.
Closes #1849
|
9 years ago |
Emmanuel Gil Peyrot
|
ebdae19fd2
|
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
|
9 years ago |
Yuri Kunde Schlesner
|
396a8d91a4
|
Manually tweak source formatting and then re-run clang-format
|
9 years ago |
Emmanuel Gil Peyrot
|
dc8479928c
|
Sources: Run clang-format on everything.
|
9 years ago |
Emmanuel Gil Peyrot
|
080a2d719c
|
Loader: Split SMDH into its own header and import helpers from QGameList
Also rewrite Qt wrappers to use those.
|
10 years ago |
Emmanuel Gil Peyrot
|
314ce5e505
|
CitraQt: Simplify the game list loader code
|
10 years ago |
Emmanuel Gil Peyrot
|
9a35d1fb4a
|
Loader: Add a GetFileType method to get the type of a loaded file
|
10 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.
|
10 years ago |
wwylele
|
5d5dd66d92
|
add icon & title to game list
|
10 years ago |
Lioncash
|
c99f47d8f0
|
loader: Make MakeMagic constexpr
|
10 years ago |
Gareth Poole
|
2706394384
|
Loader: Implement encryption check
|
10 years ago |
archshift
|
bba12520c4
|
Expose loader helper functions for identifying files.
|
10 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 |
Emmanuel Gil Peyrot
|
45c4781544
|
CitraQt: Cleanup includes.
|
11 years ago |
Emmanuel Gil Peyrot
|
596b7c4f63
|
Common: Cleanup key_map includes.
|
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
|
6d60acf0f1
|
Kernel: Introduce skeleton Process class to hold process data
|
11 years ago |
Yuri Kunde Schlesner
|
e1fbac3ca1
|
Common: Remove common.h
|
11 years ago |
Lioncash
|
676daef3c7
|
core: Fix some warnings on OSX
|
11 years ago |
Emmanuel Gil Peyrot
|
82ec17db7d
|
Loader: Guess filetype from the magic, or fallback to the extension.
|
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 |
purpasmart96
|
ebfd831ccb
|
License change
|
11 years ago |
ichfly
|
1aa969741d
|
Loader: Add 3DSX support
|
11 years ago |
bunnei
|
738b88293c
|
Loader: Added support for loading raw BIN executables.
- Useful for debugging homebrew
Qt: Updated GUI to support loading .bin files.
|
11 years ago |
bunnei
|
6966fdf025
|
Loader: Added support for loading raw BIN executables.
- Useful for debugging homebrew
Qt: Updated GUI to support loading .bin files.
|
11 years ago |
bunnei
|
b70c4fb48e
|
NCCH: Updated ExeFS memory allocation to be safer.
|
12 years ago |
bunnei
|
2c62d92551
|
Loader: Updated read methods to be const
- Required "file" handle to be made local and explicitly opened/closed as needed
|
12 years ago |
bunnei
|
d8da707bb9
|
Loader: Refactored interface such that data is no longer stored by loader.
NCCH: Removed extra qualification ‘Loader::AppLoader_NCCH::’.
|
12 years ago |
bunnei
|
a7f1c54490
|
Loader: Refactored loading functions to only read data from binary if called.
NCCH: Updated LoadExec to use Memory::WriteBlock function to load binary code.
|
12 years ago |
bunnei
|
62b444cd17
|
Loader: Refactored use of const.
|
12 years ago |
bunnei
|
3da2bc6830
|
NCCH: Fixes reduce unnecessary logging and load logo/banner/etc. sections correctly.
Loader: Added ErrorNotUsed ReturnStatus type to specify when something is not used.
|
12 years ago |
bunnei
|
7889cafc76
|
Loader: Implemented AppLoader interface for abstracting application loading.
- 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.
|
12 years ago |
bunnei
|
13bdaa6c60
|
Loader: Cleaned up and removed unused code, refactored ELF namespace.
|
12 years ago |
bunnei
|
0aca202ae9
|
Loader: Moved elf and loader modules to a "loader" subdirectory.
|
12 years ago |
bunnei
|
bb7fcf79fe
|
- added option to load a code.bin file extracted from a CXI file
- updated load launcher.dat function to use ARM11 format hack
|
12 years ago |
Mathieu Vaillancourt
|
5ad1aa8b68
|
Add a quick way to load Launcher.dat files
|
12 years ago |
bunnei
|
de0a034a84
|
fixed project includes to use new directory structure
|
12 years ago |
bunnei
|
63e46abdb8
|
got rid of 'src' folders in each sub-project
|
12 years ago |
bunnei
|
c0796cf762
|
fixed all license file headers in core
|
12 years ago |
ShizZy
|
e0cfd6b0b8
|
renamed FILETYPE_CTR_DIRECTORY to FILETYPE_DIRECTORY_CXI
|
12 years ago |
ShizZy
|
4c24ea3d88
|
added an early function for booting from a directory
|
12 years ago |
ShizZy
|
8990b51ac8
|
added a module for loading bootable binaries
|
12 years ago |