Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | FileSys: Clean up according to the coding style, and remove redundant namespaced names. | Emmanuel Gil Peyrot | 2014-12-24 | 9 | -169/+97 |
| | |||||
* | CFG: Create a new subfolder cfg inside service to handle cfg | Subv | 2014-12-21 | 1 | -0/+1 |
| | | | | Moved most of the shared CFG code there, implemented a few CFG:I functions | ||||
* | Style: Addressed some comments | Subv | 2014-12-21 | 1 | -2/+7 |
| | |||||
* | CFG: Refactored how the config file works. | Subv | 2014-12-21 | 1 | -1/+1 |
| | | | | It is now kept in memory as per 3dbrew, all updates happen on memory, then they can be saved using UpdateConfigNANDSavegame. | ||||
* | CFG: Implemented the GetConfigInfoBlk2 function. | Subv | 2014-12-21 | 3 | -3/+9 |
| | | | | | | Added a "config" file to the CFG process service (CFG:U), and added a few default blocks to it. Implemented GetSystemModel and GetModelNintendo2DS | ||||
* | Merge pull request #291 from purpasmart96/license | bunnei | 2014-12-21 | 17 | -17/+17 |
|\ | | | | | License change | ||||
| * | License change | purpasmart96 | 2014-12-21 | 17 | -17/+17 |
| | | |||||
* | | Merge pull request #271 from archshift/createf | bunnei | 2014-12-21 | 5 | -0/+44 |
|\ \ | | | | | | | Added CreateFile to the FS_USER service | ||||
| * | | Added CreateFile to the FS_USER service | archshift | 2014-12-21 | 5 | -0/+44 |
| | | | | | | | | | | | | Tested with hwtests. | ||||
* | | | Merge pull request #315 from chinhodado/master | bunnei | 2014-12-20 | 1 | -1/+10 |
|\ \ \ | |/ / |/| | | Clean up some warnings | ||||
| * | | Clean up some warnings | Chin | 2014-12-20 | 1 | -1/+10 |
| |/ | |||||
* / | Common: Add a clone of std::make_unique | Yuri Kunde Schlesner | 2014-12-20 | 1 | -2/+3 |
|/ | |||||
* | SystemSaveData: Added a TODO to move it to the NAND. | Subv | 2014-12-18 | 1 | -1/+3 |
| | | | | Maybe sometime when we actually implement that | ||||
* | SaveData: Implemented the SystemSaveData archive. | Subv | 2014-12-18 | 3 | -2/+65 |
| | | | | It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service. | ||||
* | Filesystem/Archives: Implemented the SaveData archive | Subv | 2014-12-18 | 12 | -473/+344 |
| | | | | | | | | | | 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 | 7 | -190/+21 |
| | | | | | | | - 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::File to FileBackend | Yuri Kunde Schlesner | 2014-12-16 | 8 | -15/+15 |
| | |||||
* | Service.FS: Rename FileSys::Directory to DirectoryBackend | Yuri Kunde Schlesner | 2014-12-16 | 8 | -15/+15 |
| | |||||
* | Service.FS: Rename FileSys::Archive to ArchiveBackend | Yuri Kunde Schlesner | 2014-12-16 | 3 | -6/+6 |
| | |||||
* | Service.FS: Do archive registration using IdCode instead of name | Yuri Kunde Schlesner | 2014-12-16 | 3 | -25/+4 |
| | |||||
* | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 2014-12-13 | 5 | -24/+28 |
| | |||||
* | Merge pull request #264 from Subv/files | bunnei | 2014-12-09 | 1 | -3/+6 |
|\ | | | | | Kernel/File: Fixed file read/write hwtests | ||||
| * | Kernel/File: Fixed file read/write hwtests | Subv | 2014-12-08 | 1 | -3/+6 |
| | | | | | | | | | | | | The 3DS allows the user to read from files opened with the Write access modifier, even if he did not specify the Read access modifier. Open the files in binary mode so that we can prevent CR/LF problems in Windows, where a line-end is replaced by these two bytes instead of just 0xA, this was causing problems with the GetSize test | ||||
* | | Make OpenDirectory fail if the directory doesn't exist | archshift | 2014-12-07 | 6 | -3/+35 |
|/ | | | | | | | This is in line with what the hardware itself does. It does this by splitting the initial directory opening into Directory.Open(), which will return false if a stat fails. Then, Archive::OpenDirectory will return nullptr, and archive.cpp will return an error code . | ||||
* | Merge pull request #222 from archshift/renamexyz | bunnei | 2014-12-05 | 5 | -0/+66 |
|\ | | | | | Implemented RenameFile and RenameDirectory in FS:USER | ||||
| * | Updated archive.cpp functions for proper error handling | archshift | 2014-12-04 | 2 | -24/+0 |
| | | |||||
| * | Implemented RenameDirectory in FS:USER | archshift | 2014-11-25 | 5 | -0/+45 |
| | | |||||
| * | Implemented RenameFile in FS:USER | archshift | 2014-11-25 | 5 | -0/+45 |
| | | |||||
* | | Fixed formatting and switch statement warnings | vaguilar | 2014-11-27 | 2 | -1/+3 |
|/ | |||||
* | Merge pull request #191 from archshift/deletexyz | bunnei | 2014-11-24 | 5 | -0/+80 |
|\ | | | | | Added DeleteFile and DeleteDirectory functions to FS:USER and the archives. | ||||
| * | Added DeleteFile and DeleteDirectory functions to FS:USER and the archives. | archshift | 2014-11-23 | 5 | -0/+80 |
| | | |||||
* | | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 2014-11-19 | 2 | -2/+2 |
| | | |||||
* | | Merge pull request #209 from lioncash/warn | Tony Wasserka | 2014-11-18 | 1 | -1/+1 |
|\ \ | | | | | | | directory_sdmc: Fix a signed/unsigned mismatch comparison | ||||
| * | | directory_sdmc: Fix a signed/unsigned mismatch comparison | Lioncash | 2014-11-18 | 1 | -1/+1 |
| |/ | |||||
* / | Remove extraneous semicolons | Lioncash | 2014-11-18 | 3 | -3/+3 |
|/ | |||||
* | FileSys: Updated backend code to use FileSys::Path instead of string for paths. | bunnei | 2014-11-18 | 9 | -24/+24 |
| | |||||
* | FileSys: Added DebugStr method to Path class. | bunnei | 2014-11-18 | 1 | -0/+29 |
| | |||||
* | Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functions | archshift | 2014-11-13 | 1 | -0/+99 |
| | |||||
* | Added CreateDirectory function to service/fs.cpp, and in Archive. | archshift | 2014-11-02 | 5 | -0/+40 |
| | |||||
* | Fix some warnings | Sean | 2014-10-30 | 2 | -2/+2 |
| | |||||
* | Use config files to store whether SDMC is enabled or not | archshift | 2014-10-23 | 1 | -2/+8 |
| | | | | Before, it used to use whether the directory actually existed. As a result, .citra-emu/sdmc was never auto-created (something quite confusing to me until I read through the logs). | ||||
* | Common: Add a helper function to generate a 8.3 filename from a long one. | Emmanuel Gil Peyrot | 2014-10-06 | 3 | -29/+27 |
| | | | | Core: Fix the SDMC Directory implementation to make blargSnes work. | ||||
* | FileSys: Add static asserts for the Directory struct, and fix its fields position. | Emmanuel Gil Peyrot | 2014-10-06 | 1 | -2/+8 |
| | |||||
* | FileSys: split the constructor into an Open method, in order to notify the opener something went wrong. | Emmanuel Gil Peyrot | 2014-10-06 | 6 | -14/+54 |
| | | | | Kernel: Return an invalid handle to OpenFile when it failed to open. | ||||
* | FileSys/Kernel: Implement SetSize service call for File objects. | Emmanuel Gil Peyrot | 2014-10-06 | 5 | -0/+41 |
| | |||||
* | FileSys: Add forgotten docstrings. | Emmanuel Gil Peyrot | 2014-10-06 | 7 | -4/+35 |
| | |||||
* | Fix warnings in core and common | Lioncash | 2014-09-28 | 1 | -1/+1 |
| | |||||
* | Core: Add a method to obtain a Directory from an Archive. | Emmanuel Gil Peyrot | 2014-09-17 | 5 | -0/+44 |
| | |||||
* | Core: Add a Directory object, with both a stub and a passthrough implementations. | Emmanuel Gil Peyrot | 2014-09-17 | 5 | -0/+259 |
| | |||||
* | Core: Add a passthrough backend for the filesystem, exposed as SDMC. | Emmanuel Gil Peyrot | 2014-09-17 | 4 | -0/+298 |
| | |||||
* | Core: Add a new File class, obtainable from an Archive, and a stub implementation. | Emmanuel Gil Peyrot | 2014-09-17 | 6 | -0/+205 |
| | |||||
* | Added FS functions to Archive and Archive_RomFS | archshift | 2014-08-23 | 3 | -8/+57 |
| | |||||
* | Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override". | bunnei | 2014-07-05 | 1 | -4/+4 |
| | |||||
* | Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final" | bunnei | 2014-07-05 | 1 | -1/+1 |
| | |||||
* | Loader: Updated read methods to be const | bunnei | 2014-07-05 | 2 | -2/+2 |
| | | | | - Required "file" handle to be made local and explicitly opened/closed as needed | ||||
* | FileSys: Added preliminary support for applications reading the RomFS archive. | bunnei | 2014-07-05 | 4 | -138/+150 |
| | | | | | | | | | | 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. | ||||
* | Core: Removed unused directory_file_system and meta_file_system modules. | bunnei | 2014-06-27 | 4 | -1453/+0 |
| | | | | Core: Updated CMakeLists.txt to remove directory_file_system and meta_file_system modules. | ||||
* | fixes to build on linux | bunnei | 2014-04-23 | 2 | -22/+22 |
| | |||||
* | fixed project includes to use new directory structure | bunnei | 2014-04-09 | 5 | -20/+15 |
| | |||||
* | got rid of 'src' folders in each sub-project | bunnei | 2014-04-09 | 5 | -0/+1596 |