diff --git a/src/core/hle/service/gsp/gsp_gpu.h b/src/core/hle/service/gsp/gsp_gpu.h index 1c264837c7..8b43b9cea3 100644 --- a/src/core/hle/service/gsp/gsp_gpu.h +++ b/src/core/hle/service/gsp/gsp_gpu.h @@ -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(); diff --git a/src/core/hle/service/ptm/ptm.cpp b/src/core/hle/service/ptm/ptm.cpp index f86ce78dc2..7d30fcc5bd 100644 --- a/src/core/hle/service/ptm/ptm.cpp +++ b/src/core/hle/service/ptm/ptm.cpp @@ -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(&gamecoin_data));