Emmanuel Gil Peyrot
6b7b36a874
Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.
11 years ago
archshift
6e606c515f
core: Prune redundant includes
11 years ago
archshift
5472fd4d9b
Added string_util to common, small changes in loader.cpp
11 years ago
archshift
4ed24a0619
loader.cpp: improved file extension checking, made Upper/LowerStr useful
Instead of forcibly taking the last 4 characters, it now finds the last extension separator (the period) and takes a substr of its location.
11 years ago
Lioncash
f68776ce13
ncch: Remove C-style struct typedefs
In C++ you can simply just declare it as is.
11 years ago
Lioncash
26cd696843
ncch: inline declare some variables in LZSS_Decompress
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.
12 years ago
bunnei
6966fdf025
Loader: Added support for loading raw BIN executables.
- Useful for debugging homebrew
Qt: Updated GUI to support loading .bin files.
12 years ago
bunnei
b70c4fb48e
NCCH: Updated ExeFS memory allocation to be safer.
12 years ago
bunnei
1099d83455
Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override".
12 years ago
bunnei
2d734bb6c5
Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final"
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
17a6148f9d
FileSys: Added preliminary support for applications reading the RomFS archive.
Archive: Fixed brace ugliness for neobrain :)
FS: Commented out unused local variables to prevent warnings.
...But keeping them here for future use.
archive_romfs: Removed unused #include.
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
cedc28dcc6
ELF: Refactored LoadInto(..) to use memcpy, removed unnecessary code.
12 years ago
bunnei
62b444cd17
Loader: Refactored use of const.
12 years ago
bunnei
a8c4648520
NCCH: Added RomFS loading.
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
79a48082e2
NCCH: Changed decompression to load .code directly into memory rather than an intermediate buffer.
12 years ago
bunnei
c144ed5058
Elf: Removed unused macros, changed #include of "common.h" to just "common_types.h".
12 years ago
bunnei
13bdaa6c60
Loader: Cleaned up and removed unused code, refactored ELF namespace.
12 years ago
bunnei
1da361c7ab
Elf: Renamed modules to be consistent with new loader naming, fixed tabs -> spaces.
12 years ago
bunnei
3577dd027d
Loader: Added support for booting NCCH executables.
NCCH: Fixed typo in printing NCCH filename.
12 years ago
bunnei
0aca202ae9
Loader: Moved elf and loader modules to a "loader" subdirectory.
12 years ago