Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove lots more 3DS-specific code. | bunnei | 2017-10-13 | 1 | -276/+0 |
| | |||||
* | HLE/Archives: Allow multiple loaded applications to access their SelfNCCH archive independently. | Subv | 2017-09-25 | 1 | -0/+7 |
| | | | | | | | | The loaders now register each loaded ROM with the SelfNCCH factory, which keeps the data around for the duration of the emulation session. When opening the SelfNCCH archive, the factory queries the current program's programid and uses that as a key to the map that contains the NCCHData structure (RomFS, Icon, Banner, etc). 3dsx files do not have a programid and will use a default of 0 for this value, thus, only 1 3dsx file with RomFS is loadable at the same time. | ||||
* | Kernel: Add a dedicated SetHleHandler method to ServerPort/ServerSession | Yuri Kunde Schlesner | 2017-06-06 | 1 | -1/+1 |
| | | | | | | This allows attaching a HLE handle to a ServerPort at any point after it is created, allowing port/session creation to be generic between HLE and regular services. | ||||
* | HLE: Move SessionRequestHandler from Service:: to Kernel:: | Yuri Kunde Schlesner | 2017-06-06 | 1 | -3/+3 |
| | | | | | Most of the code that works with this is or will be in the kernel, so it's a more appropriate place for it to be. | ||||
* | loader: use self NCCH archive | wwylele | 2017-02-13 | 1 | -1/+1 |
| | |||||
* | Address clang-format issues. | bunnei | 2016-12-22 | 1 | -2/+2 |
| | |||||
* | core: Remove HLE module, consolidate code & various cleanups. | bunnei | 2016-12-22 | 1 | -2/+2 |
| | |||||
* | Merge pull request #2249 from Subv/sessions_v3 | Yuri Kunde Schlesner | 2016-12-15 | 1 | -14/+18 |
|\ | | | | | Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication. | ||||
| * | Fixed the codestyle to match our clang-format rules. | Subv | 2016-12-14 | 1 | -3/+3 |
| | | |||||
| * | Moved the HLE command buffer translation task to ServerSession instead of the HLE handler superclass. | Subv | 2016-12-09 | 1 | -2/+2 |
| | | |||||
| * | Use std::move where appropriate. | Subv | 2016-12-08 | 1 | -2/+2 |
| | | |||||
| * | Split SessionRequestHandler::HandleSyncRequest into HandleSyncRequest, TranslateRequest and HandleSyncRequestImpl. | Subv | 2016-12-05 | 1 | -4/+6 |
| | | | | | | | | HandleSyncRequest now takes care of calling the command buffer translate function before actually invoking the command handler for HLE services. | ||||
| * | A bit of a redesign. | Subv | 2016-12-01 | 1 | -10/+10 |
| | | | | | | | | | | | | | | Sessions and Ports are now detached from each other. HLE services are handled by means of a SessionRequestHandler class, Interface now inherits from this class. The File and Directory classes are no longer kernel objects, but SessionRequestHandlers instead, bound to a ServerSession when requested. File::OpenLinkFile now creates a new session pair and binds the File instance to it. | ||||
| * | Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication. | Subv | 2016-12-01 | 1 | -5/+7 |
| | | | | | | | | | | | | | | All handles obtained via srv::GetServiceHandle or svcConnectToPort are references to ClientSessions. Service modules will wait on the counterpart of those ClientSessions (Called ServerSessions) using svcReplyAndReceive or svcWaitSynchronization[1|N], and will be awoken when a SyncRequest is performed. HLE Interfaces are now ClientPorts which override the HandleSyncRequest virtual member function to perform command handling immediately. | ||||
* | | FileSys: Implement OtherSaveData | wwylele | 2016-11-29 | 1 | -0/+2 |
| | | |||||
* | | FS: add missing MediaType | wwylele | 2016-11-29 | 1 | -1/+1 |
|/ | |||||
* | FileSys: rename SaveDataCheck archive to NCCH archive | wwylele | 2016-11-19 | 1 | -1/+1 |
| | | | | According to the observation from game and 3dbrew "Used for accessing general NCCH data" | ||||
* | fs: implement DeleteDirectoryRecursively | wwylele | 2016-10-02 | 1 | -0/+9 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -2/+0 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -27/+38 |
| | |||||
* | Service::CFG/FS: add and refactor out utilities for front-end | wwylele | 2016-07-03 | 1 | -0/+6 |
| | |||||
* | HLE/FS: Corrected some style concerns. | Subv | 2016-03-20 | 1 | -1/+1 |
| | |||||
* | HLE/FS: Implemented GetFormatInfo | Subv | 2016-03-20 | 1 | -2/+13 |
| | | | | Format information is currently only implemented for the ExtSaveData, SharedExtSaveData and SaveData archives, the information is stored in a file alongside the root folder of the archive. | ||||
* | HLE/FS: FS::CreateFile takes an u64 for the file size. | Subv | 2016-03-20 | 1 | -1/+1 |
| | |||||
* | Implement FS_User::GetFreeBytes | archshift | 2015-10-28 | 1 | -0/+7 |
| | |||||
* | General: Fix up doxygen comments | Lioncash | 2015-09-10 | 1 | -1/+1 |
| | |||||
* | Core: Cleanup file_sys includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -5/+8 |
| | |||||
* | ExtSavedata: Save the icon passed to CreateExtSaveData to the correct folder. | Subv | 2015-06-02 | 1 | -1/+3 |
| | | | | Organize the ExtSaveData folders as they are stored in the console. | ||||
* | FileSys: Clean-up includes, de-inline destructors | Yuri Kunde Schlesner | 2015-05-07 | 1 | -10/+6 |
| | |||||
* | Services/FS: Implemented DeleteExtSaveData, CreateSystemSaveData and DeleteSystemSaveData | Subv | 2015-03-14 | 1 | -1/+33 |
| | | | | Also fixed a bug with CreateExtSaveData that made it unable to create ExtSaveData archives in the SDMC directory. | ||||
* | Archives: Made the Format function more generic. | Subv | 2015-02-10 | 1 | -2/+5 |
| | |||||
* | Archives: Expose the File and Directory classes to HLE | Subv | 2015-02-10 | 1 | -2/+32 |
| | |||||
* | FS: Allow multiple instances of the same archive type to be open at once | Yuri Kunde Schlesner | 2015-02-10 | 1 | -2/+2 |
| | |||||
* | Filesys: Move creation of Handles for File/Directory to service handlers | Yuri Kunde Schlesner | 2015-02-02 | 1 | -4/+10 |
| | |||||
* | Services: Stubbed more services. | Subv | 2015-01-24 | 1 | -0/+8 |
| | | | | Implemented FSUser::CreateExtSaveData | ||||
* | core: Fix a few docstrings | Lioncash | 2015-01-20 | 1 | -1/+1 |
| | |||||
* | Archives: Make SYSTEM_ID and SDCARD_ID strings | Subv | 2015-01-04 | 1 | -2/+2 |
| | |||||
* | Archives: Changed the way paths are built for the archives. | Subv | 2015-01-04 | 1 | -0/+5 |
| | | | | Each archive now takes a mount point of either NAND or SDMC, and builds its own directory structure there, trying to simulate an HLE-friendly hardware layout | ||||
* | Archives: Reduced duplicate code in RomFS and SaveCheck. | Subv | 2015-01-03 | 1 | -1/+1 |
| | | | | Fixed a few warnings and cleaned up the code | ||||
* | SaveDataCheck: Preliminary work in this archive. | Subv | 2015-01-03 | 1 | -0/+1 |
| | | | | | | This allows Steel Diver to boot further, some files are needed. This is still not ready and needs a big cleanup, this will possibly be delayed until the way we handle archives is fixed (with factory classes instead of ahead-of-time creation of archives) | ||||
* | Archives: Implemented ExtSaveData and SharedExtSaveData | Subv | 2014-12-30 | 1 | -1/+2 |
| | | | | | | | | They will be stored in /extsavedata/SDMC and /extsavedata/NAND respectively. Also redirect some APT_A functions to their APT_U equivalents. Implemented the gamecoin.dat file in SharedExtSaveData in the PTM module. Implemented formatting the savegame. Retake a previous savegame if it exists instead of reporting them as not formatted every time a game is loaded. | ||||
* | Merge pull request #291 from purpasmart96/license | bunnei | 2014-12-21 | 1 | -1/+1 |
|\ | | | | | License change | ||||
| * | License change | purpasmart96 | 2014-12-21 | 1 | -1/+1 |
| | | |||||
* | | Added CreateFile to the FS_USER service | archshift | 2014-12-21 | 1 | -0/+9 |
|/ | | | | Tested with hwtests. | ||||
* | Filesystem/Archives: Implemented the SaveData archive | Subv | 2014-12-18 | 1 | -0/+6 |
| | | | | | | | | | | 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 | ||||
* | FS.Archive: Clean up treatment of archives and their handles | Yuri Kunde Schlesner | 2014-12-16 | 1 | -12/+14 |
| | | | | | | | - Refactor FS::Archive internals to make Archive creation and lifetime management clearer. - Remove the "Archive as a File" hack. - Implement 64-bit Archive handles. | ||||
* | Service.FS: Rename FileSys::Archive to ArchiveBackend | Yuri Kunde Schlesner | 2014-12-16 | 1 | -2/+2 |
| | |||||
* | Service.FS: Do archive registration using IdCode instead of name | Yuri Kunde Schlesner | 2014-12-16 | 1 | -4/+15 |
| | |||||
* | HLE: Rename namespaces to match move & fix initialization order | Yuri Kunde Schlesner | 2014-12-16 | 1 | -5/+4 |
| | |||||
* | HLE: Move kernel/archive.* to service/fs/ | Yuri Kunde Schlesner | 2014-12-16 | 1 | -0/+107 |