Commit Graph

74 Commits (bb689338943791c735c7c6adb186256457e064b4)

Author SHA1 Message Date
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
Tony Wasserka e35e72d0a5 Merge pull request #734 from yuriks/memmap
Small memory map definitions cleanup
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
bunnei c915d0b727 Merge pull request #514 from rohit-n/fix-warnings
Silence a few warnings.
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
Emmanuel Gil Peyrot 2d63df90a9 Loader: Initialize the default NCCH values in the class declaration, not in the constructor. 11 years ago
Emmanuel Gil Peyrot 9d3bb8b7c0 Loader: Remove the useless THREEDSXReader class. 11 years ago
Emmanuel Gil Peyrot 85030c6e6b Loader: Never forget to change is_loaded. 11 years ago
Emmanuel Gil Peyrot 43e699d849 Loader: Don’t duplicate the docstring into the cpp file. 11 years ago
Emmanuel Gil Peyrot bc2212106f Loader: Fix indentation, whitespace, and a few other such cosmetic stuff. 11 years ago
Dante38490 e674aa31af Fix correct espace 11 years ago
Dante38490 35a085d567 Add support load 3DS room 11 years ago
Lioncash bf23f94571 elf: Make DidRelocate const 11 years ago
bunnei 0de6a08d75 Merge pull request #291 from purpasmart96/license
License change
11 years ago
purpasmart96 ebfd831ccb License change 11 years ago
bunnei 2b0d7a1d29 Merge pull request #315 from chinhodado/master
Clean up some warnings
11 years ago
Chin e795692614 Clean up some warnings 11 years ago
Yuri Kunde Schlesner 82528ba7df Common: Add a clone of std::make_unique 11 years ago
Subv ea9ce0fba7 Filesystem/Archives: Implemented the SaveData archive
The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information

Got rid of the code duplication in File and Directory

Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive.

FS_U: Use the correct error code when a file wasn't found
11 years ago
Yuri Kunde Schlesner 83e6e4ffec FS.Archive: Clean up treatment of archives and their handles
- Refactor FS::Archive internals to make Archive creation and lifetime
  management clearer.
- Remove the "Archive as a File" hack.
- Implement 64-bit Archive handles.
11 years ago
Yuri Kunde Schlesner f6153679b0 Service.FS: Do archive registration using IdCode instead of name 11 years ago
Yuri Kunde Schlesner ca67bb7945 HLE: Rename namespaces to match move & fix initialization order 11 years ago
Yuri Kunde Schlesner c72ccfa6db HLE: Move kernel/archive.* to service/fs/ 11 years ago
Yuri Kunde Schlesner 0600e2d8b5 Convert old logging calls to new logging macros 11 years ago
ichfly 1aa969741d Loader: Add 3DSX support 11 years ago
Emmanuel Gil Peyrot f5d38649c7 Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated 11 years ago
Lioncash 72846c418e core: Mark some hle functions as static
These functions are not referred to by their linkage name outside of the translation unit, so they can be marked as static.
11 years ago
Emmanuel Gil Peyrot 6b7b36a874 Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions. 11 years ago
bunnei 532a9e80a0 Merge pull request #99 from archshift/ext-check
loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
11 years ago