mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	Struct vs class declaration and unused variable
This commit is contained in:
		
							parent
							
								
									285b2b3207
								
							
						
					
					
						commit
						6e3652d15b
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -185,7 +185,8 @@ static_assert(sizeof(CommandBuffer) == 0x200, "CommandBuffer struct has incorrec
 | 
			
		|||
 | 
			
		||||
class GSP_GPU;
 | 
			
		||||
 | 
			
		||||
struct SessionData : public Kernel::SessionRequestHandler::SessionDataBase {
 | 
			
		||||
class SessionData : public Kernel::SessionRequestHandler::SessionDataBase {
 | 
			
		||||
public:
 | 
			
		||||
    SessionData();
 | 
			
		||||
    SessionData(GSP_GPU* gsp);
 | 
			
		||||
    ~SessionData();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -188,7 +188,7 @@ static GameCoin ReadGameCoinData() {
 | 
			
		|||
        LOG_ERROR(Service_PTM, "Could not open the game coin data file!");
 | 
			
		||||
        return default_game_coin;
 | 
			
		||||
    }
 | 
			
		||||
    u16 result;
 | 
			
		||||
 | 
			
		||||
    auto gamecoin = std::move(gamecoin_result).Unwrap();
 | 
			
		||||
    GameCoin gamecoin_data;
 | 
			
		||||
    gamecoin->Read(0, sizeof(GameCoin), reinterpret_cast<u8*>(&gamecoin_data));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue