Emmanuel Gil Peyrot 
							
						 
					 
					
						
						
						
						
							
						
						
							bbe0bf1332 
							
						 
					 
					
						
						
							
							FileSys: Clean up according to the coding style, and remove redundant namespaced names.  
						
						
						
						
					 
					
						2014-12-24 01:49:48 +00:00 
						 
				 
			
				
					
						
							
							
								Subv 
							
						 
					 
					
						
						
						
						
							
						
						
							6115f013a9 
							
						 
					 
					
						
						
							
							CFG: Create a new subfolder cfg inside service to handle cfg  
						
						... 
						
						
						
						Moved most of the shared CFG code there, implemented a few CFG:I functions 
						
						
					 
					
						2014-12-21 16:41:06 -05:00 
						 
				 
			
				
					
						
							
							
								Subv 
							
						 
					 
					
						
						
						
						
							
						
						
							a1b9b80a55 
							
						 
					 
					
						
						
							
							Style: Addressed some comments  
						
						
						
						
					 
					
						2014-12-21 16:39:20 -05:00 
						 
				 
			
				
					
						
							
							
								Subv 
							
						 
					 
					
						
						
						
						
							
						
						
							4cd21b43c1 
							
						 
					 
					
						
						
							
							CFG: Refactored how the config file works.  
						
						... 
						
						
						
						It is now kept in memory as per 3dbrew, all updates happen on memory, then they can be saved using UpdateConfigNANDSavegame. 
						
						
					 
					
						2014-12-21 16:38:59 -05:00 
						 
				 
			
				
					
						
							
							
								Subv 
							
						 
					 
					
						
						
						
						
							
						
						
							fa3d72ab3e 
							
						 
					 
					
						
						
							
							CFG: Implemented the GetConfigInfoBlk2 function.  
						
						... 
						
						
						
						Added a "config" file to the CFG process service (CFG:U), and added a few default blocks to it.
Implemented GetSystemModel and GetModelNintendo2DS 
						
						
					 
					
						2014-12-21 16:38:54 -05:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
						
						
							
						
						
							0de6a08d75 
							
						 
					 
					
						
						
							
							Merge pull request  #291  from purpasmart96/license  
						
						... 
						
						
						
						License change 
						
						
					 
					
						2014-12-21 16:05:44 -05:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
						
						
							
						
						
							572ce043c2 
							
						 
					 
					
						
						
							
							Merge pull request  #271  from archshift/createf  
						
						... 
						
						
						
						Added CreateFile to the FS_USER service 
						
						
					 
					
						2014-12-21 01:45:00 -05:00 
						 
				 
			
				
					
						
							
							
								archshift 
							
						 
					 
					
						
						
						
						
							
						
						
							0625dd09ea 
							
						 
					 
					
						
						
							
							Added CreateFile to the FS_USER service  
						
						... 
						
						
						
						Tested with hwtests. 
						
						
					 
					
						2014-12-21 02:21:49 -03:00 
						 
				 
			
				
					
						
							
							
								purpasmart96 
							
						 
					 
					
						
						
						
						
							
						
						
							ebfd831ccb 
							
						 
					 
					
						
						
							
							License change  
						
						
						
						
					 
					
						2014-12-20 21:20:24 -08:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
						
						
							
						
						
							2b0d7a1d29 
							
						 
					 
					
						
						
							
							Merge pull request  #315  from chinhodado/master  
						
						... 
						
						
						
						Clean up some warnings 
						
						
					 
					
						2014-12-20 11:59:18 -05:00 
						 
				 
			
				
					
						
							
							
								Chin 
							
						 
					 
					
						
						
						
						
							
						
						
							e795692614 
							
						 
					 
					
						
						
							
							Clean up some warnings  
						
						
						
						
					 
					
						2014-12-20 10:03:36 -05:00 
						 
				 
			
				
					
						
							
							
								Yuri Kunde Schlesner 
							
						 
					 
					
						
						
						
						
							
						
						
							82528ba7df 
							
						 
					 
					
						
						
							
							Common: Add a clone of std::make_unique  
						
						
						
						
					 
					
						2014-12-20 03:45:02 -02:00 
						 
				 
			
				
					
						
							
							
								Subv 
							
						 
					 
					
						
						
						
						
							
						
						
							f9472eda0a 
							
						 
					 
					
						
						
							
							SystemSaveData: Added a TODO to move it to the NAND.  
						
						... 
						
						
						
						Maybe sometime when we actually implement that 
						
						
					 
					
						2014-12-18 16:58:42 -05:00 
						 
				 
			
				
					
						
							
							
								Subv 
							
						 
					 
					
						
						
						
						
							
						
						
							bec527fa24 
							
						 
					 
					
						
						
							
							SaveData: Implemented the SystemSaveData archive.  
						
						... 
						
						
						
						It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service. 
						
						
					 
					
						2014-12-17 23:44:32 -05:00 
						 
				 
			
				
					
						
							
							
								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 
						
						
					 
					
						2014-12-17 19:21:38 -05:00 
						 
				 
			
				
					
						
							
							
								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. 
						
						
					 
					
						2014-12-16 01:08:44 -02:00 
						 
				 
			
				
					
						
							
							
								Yuri Kunde Schlesner 
							
						 
					 
					
						
						
						
						
							
						
						
							0931a42af0 
							
						 
					 
					
						
						
							
							Service.FS: Rename FileSys::File to FileBackend  
						
						
						
						
					 
					
						2014-12-16 01:08:43 -02:00 
						 
				 
			
				
					
						
							
							
								Yuri Kunde Schlesner 
							
						 
					 
					
						
						
						
						
							
						
						
							d51afab0bc 
							
						 
					 
					
						
						
							
							Service.FS: Rename FileSys::Directory to DirectoryBackend  
						
						
						
						
					 
					
						2014-12-16 01:08:43 -02:00 
						 
				 
			
				
					
						
							
							
								Yuri Kunde Schlesner 
							
						 
					 
					
						
						
						
						
							
						
						
							82fe821e87 
							
						 
					 
					
						
						
							
							Service.FS: Rename FileSys::Archive to ArchiveBackend  
						
						
						
						
					 
					
						2014-12-16 01:08:42 -02:00 
						 
				 
			
				
					
						
							
							
								Yuri Kunde Schlesner 
							
						 
					 
					
						
						
						
						
							
						
						
							f6153679b0 
							
						 
					 
					
						
						
							
							Service.FS: Do archive registration using IdCode instead of name  
						
						
						
						
					 
					
						2014-12-16 01:08:42 -02:00 
						 
				 
			
				
					
						
							
							
								Yuri Kunde Schlesner 
							
						 
					 
					
						
						
						
						
							
						
						
							0600e2d8b5 
							
						 
					 
					
						
						
							
							Convert old logging calls to new logging macros  
						
						
						
						
					 
					
						2014-12-13 02:08:02 -02:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
						
						
							
						
						
							1f4953e1bb 
							
						 
					 
					
						
						
							
							Merge pull request  #264  from Subv/files  
						
						... 
						
						
						
						Kernel/File: Fixed file read/write hwtests 
						
						
					 
					
						2014-12-08 18:05:03 -05:00 
						 
				 
			
				
					
						
							
							
								Subv 
							
						 
					 
					
						
						
						
						
							
						
						
							1d1078fd8b 
							
						 
					 
					
						
						
							
							Kernel/File: Fixed file read/write hwtests  
						
						... 
						
						
						
						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 
						
						
					 
					
						2014-12-08 17:45:17 -05:00 
						 
				 
			
				
					
						
							
							
								archshift 
							
						 
					 
					
						
						
						
						
							
						
						
							20d2ed0950 
							
						 
					 
					
						
						
							
							Make OpenDirectory fail if the directory doesn't exist  
						
						... 
						
						
						
						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 . 
						
						
					 
					
						2014-12-07 14:47:14 -08:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
						
						
							
						
						
							5056329a80 
							
						 
					 
					
						
						
							
							Merge pull request  #222  from archshift/renamexyz  
						
						... 
						
						
						
						Implemented RenameFile and RenameDirectory in FS:USER 
						
						
					 
					
						2014-12-04 22:07:47 -05:00 
						 
				 
			
				
					
						
							
							
								archshift 
							
						 
					 
					
						
						
						
						
							
						
						
							139a4d91d9 
							
						 
					 
					
						
						
							
							Updated archive.cpp functions for proper error handling  
						
						
						
						
					 
					
						2014-12-03 22:50:44 -08:00 
						 
				 
			
				
					
						
							
							
								vaguilar 
							
						 
					 
					
						
						
						
						
							
						
						
							223e76d51d 
							
						 
					 
					
						
						
							
							Fixed formatting and switch statement warnings  
						
						
						
						
					 
					
						2014-11-27 02:59:14 -08:00 
						 
				 
			
				
					
						
							
							
								archshift 
							
						 
					 
					
						
						
						
						
							
						
						
							e5ff01c2cd 
							
						 
					 
					
						
						
							
							Implemented RenameDirectory in FS:USER  
						
						
						
						
					 
					
						2014-11-24 15:09:12 -08:00 
						 
				 
			
				
					
						
							
							
								archshift 
							
						 
					 
					
						
						
						
						
							
						
						
							45afc15aa6 
							
						 
					 
					
						
						
							
							Implemented RenameFile in FS:USER  
						
						
						
						
					 
					
						2014-11-24 15:09:11 -08:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
						
						
							
						
						
							ef1b16a7eb 
							
						 
					 
					
						
						
							
							Merge pull request  #191  from archshift/deletexyz  
						
						... 
						
						
						
						Added DeleteFile and DeleteDirectory functions to FS:USER and the archives. 
						
						
					 
					
						2014-11-23 20:02:23 -05:00 
						 
				 
			
				
					
						
							
							
								archshift 
							
						 
					 
					
						
						
						
						
							
						
						
							8aeadbd95a 
							
						 
					 
					
						
						
							
							Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.  
						
						
						
						
					 
					
						2014-11-23 00:33:43 -08:00 
						 
				 
			
				
					
						
							
							
								Emmanuel Gil Peyrot 
							
						 
					 
					
						
						
						
						
							
						
						
							f5d38649c7 
							
						 
					 
					
						
						
							
							Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated  
						
						
						
						
					 
					
						2014-11-19 09:03:07 +00:00 
						 
				 
			
				
					
						
							
							
								Tony Wasserka 
							
						 
					 
					
						
						
						
						
							
						
						
							d218a547fa 
							
						 
					 
					
						
						
							
							Merge pull request  #209  from lioncash/warn  
						
						... 
						
						
						
						directory_sdmc: Fix a signed/unsigned mismatch comparison 
						
						
					 
					
						2014-11-18 16:54:56 +01:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							548c49dfe9 
							
						 
					 
					
						
						
							
							directory_sdmc: Fix a signed/unsigned mismatch comparison  
						
						
						
						
					 
					
						2014-11-18 08:51:03 -05:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							1a8f466217 
							
						 
					 
					
						
						
							
							Remove extraneous semicolons  
						
						
						
						
					 
					
						2014-11-18 08:27:16 -05:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
						
						
							
						
						
							a3107a6b57 
							
						 
					 
					
						
						
							
							FileSys: Updated backend code to use FileSys::Path instead of string for paths.  
						
						
						
						
					 
					
						2014-11-17 21:49:24 -05:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
						
						
							
						
						
							c04a04189a 
							
						 
					 
					
						
						
							
							FileSys: Added DebugStr method to Path class.  
						
						
						
						
					 
					
						2014-11-17 18:42:37 -05:00 
						 
				 
			
				
					
						
							
							
								archshift 
							
						 
					 
					
						
						
						
						
							
						
						
							1f7c4ab7f6 
							
						 
					 
					
						
						
							
							Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functions  
						
						
						
						
					 
					
						2014-11-12 19:30:17 -08:00 
						 
				 
			
				
					
						
							
							
								archshift 
							
						 
					 
					
						
						
						
						
							
						
						
							04c90c395d 
							
						 
					 
					
						
						
							
							Added CreateDirectory function to service/fs.cpp, and in Archive.  
						
						
						
						
					 
					
						2014-11-02 10:48:28 -08:00 
						 
				 
			
				
					
						
							
							
								Sean 
							
						 
					 
					
						
						
						
						
							
						
						
							9a012ff007 
							
						 
					 
					
						
						
							
							Fix some warnings  
						
						
						
						
					 
					
						2014-10-29 20:26:15 -04:00 
						 
				 
			
				
					
						
							
							
								archshift 
							
						 
					 
					
						
						
						
						
							
						
						
							a59f57d504 
							
						 
					 
					
						
						
							
							Use config files to store whether SDMC is enabled or not  
						
						... 
						
						
						
						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). 
						
						
					 
					
						2014-10-22 15:24:25 -07:00 
						 
				 
			
				
					
						
							
							
								Emmanuel Gil Peyrot 
							
						 
					 
					
						
						
						
						
							
						
						
							fbd72fd6bf 
							
						 
					 
					
						
						
							
							Common: Add a helper function to generate a 8.3 filename from a long one.  
						
						... 
						
						
						
						Core: Fix the SDMC Directory implementation to make blargSnes work. 
						
						
					 
					
						2014-10-06 19:58:43 +02:00 
						 
				 
			
				
					
						
							
							
								Emmanuel Gil Peyrot 
							
						 
					 
					
						
						
						
						
							
						
						
							19c2a96ab0 
							
						 
					 
					
						
						
							
							FileSys: Add static asserts for the Directory struct, and fix its fields position.  
						
						
						
						
					 
					
						2014-10-06 19:58:43 +02:00 
						 
				 
			
				
					
						
							
							
								Emmanuel Gil Peyrot 
							
						 
					 
					
						
						
						
						
							
						
						
							0be5c03176 
							
						 
					 
					
						
						
							
							FileSys: split the constructor into an Open method, in order to notify the opener something went wrong.  
						
						... 
						
						
						
						Kernel: Return an invalid handle to OpenFile when it failed to open. 
						
						
					 
					
						2014-10-06 19:58:42 +02:00 
						 
				 
			
				
					
						
							
							
								Emmanuel Gil Peyrot 
							
						 
					 
					
						
						
						
						
							
						
						
							23c2fbfc7a 
							
						 
					 
					
						
						
							
							FileSys/Kernel: Implement SetSize service call for File objects.  
						
						
						
						
					 
					
						2014-10-06 19:58:37 +02:00 
						 
				 
			
				
					
						
							
							
								Emmanuel Gil Peyrot 
							
						 
					 
					
						
						
						
						
							
						
						
							d34673990b 
							
						 
					 
					
						
						
							
							FileSys: Add forgotten docstrings.  
						
						
						
						
					 
					
						2014-10-06 19:54:50 +02:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							ca2f0de08a 
							
						 
					 
					
						
						
							
							Fix warnings in core and common  
						
						
						
						
					 
					
						2014-09-28 11:44:14 -04:00 
						 
				 
			
				
					
						
							
							
								Emmanuel Gil Peyrot 
							
						 
					 
					
						
						
						
						
							
						
						
							c14e5713f5 
							
						 
					 
					
						
						
							
							Core: Add a method to obtain a Directory from an Archive.  
						
						
						
						
					 
					
						2014-09-17 14:35:46 +00:00 
						 
				 
			
				
					
						
							
							
								Emmanuel Gil Peyrot 
							
						 
					 
					
						
						
						
						
							
						
						
							33b0d1081e 
							
						 
					 
					
						
						
							
							Core: Add a Directory object, with both a stub and a passthrough implementations.  
						
						
						
						
					 
					
						2014-09-17 14:35:46 +00:00 
						 
				 
			
				
					
						
							
							
								Emmanuel Gil Peyrot 
							
						 
					 
					
						
						
						
						
							
						
						
							e73caaefe5 
							
						 
					 
					
						
						
							
							Core: Add a passthrough backend for the filesystem, exposed as SDMC.  
						
						
						
						
					 
					
						2014-09-17 14:35:45 +00:00