diff --git a/rpcs3/Emu/Cell/PPUThread.cpp b/rpcs3/Emu/Cell/PPUThread.cpp index 594614fd82..09affb232a 100644 --- a/rpcs3/Emu/Cell/PPUThread.cpp +++ b/rpcs3/Emu/Cell/PPUThread.cpp @@ -252,7 +252,7 @@ static bool ppu_check_toc(ppu_thread& ppu, ppu_opcode_t op) } // Fallback to the interpreter function - if (reinterpret_cast(std::uintptr_t{ppu_cache(ppu.cia)})(ppu, op)) + if (reinterpret_cast(std::uintptr_t{(u32)ppu_cache(ppu.cia)})(ppu, op)) { ppu.cia += 4; } @@ -336,7 +336,7 @@ static bool ppu_break(ppu_thread& ppu, ppu_opcode_t op) } // Fallback to the interpreter function - if (reinterpret_cast(std::uintptr_t{ppu_cache(ppu.cia)})(ppu, op)) + if (reinterpret_cast(std::uintptr_t{(u32)ppu_cache(ppu.cia)})(ppu, op)) { ppu.cia += 4; }