Skip to content

Commit 5deb0fc

Browse files
committed
PPU debugger: Update CIA unconditionally if "PPU Debug" enabled
1 parent 62055be commit 5deb0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpcs3/Emu/Cell/PPUInterpreter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ struct ppu_exec_select
139139
#define RETURN_(...) \
140140
if constexpr (Build == 0) { \
141141
static_cast<void>(exec); \
142-
if (is_debugger_present()) return +[](ppu_thread& ppu, ppu_opcode_t op, be_t<u32>* this_op, ppu_intrp_func* next_fn) { \
142+
if (is_debugger_present() || g_cfg.core.ppu_debug) return +[](ppu_thread& ppu, ppu_opcode_t op, be_t<u32>* this_op, ppu_intrp_func* next_fn) { \
143143
exec(__VA_ARGS__); \
144144
const auto next_op = this_op + 1; \
145145
const auto fn = atomic_storage<ppu_intrp_func_t>::load(next_fn->fn); \

0 commit comments

Comments
 (0)