mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	ptm: Use boolean instead of integral value
The third parameter of Write is actually a bool type, not an int.
This commit is contained in:
		
							parent
							
								
									2d387d95a8
								
							
						
					
					
						commit
						934b8ffcf8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -137,7 +137,7 @@ void Init() {
 | 
			
		|||
            Service::FS::OpenFileFromArchive(*archive_result, gamecoin_path, open_mode);
 | 
			
		||||
        if (gamecoin_result.Succeeded()) {
 | 
			
		||||
            auto gamecoin = gamecoin_result.MoveFrom();
 | 
			
		||||
            gamecoin->backend->Write(0, sizeof(GameCoin), 1,
 | 
			
		||||
            gamecoin->backend->Write(0, sizeof(GameCoin), true,
 | 
			
		||||
                                     reinterpret_cast<const u8*>(&default_game_coin));
 | 
			
		||||
            gamecoin->backend->Close();
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue