mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
GE Debugger: Fix bad read on step at start of VRAM.
This commit is contained in:
parent
a901fa4315
commit
27d00199c8
@ -2708,7 +2708,8 @@ void GPUCommon::ResetListState(int listID, DisplayListState state) {
|
||||
|
||||
GPUDebugOp GPUCommon::DissassembleOp(u32 pc, u32 op) {
|
||||
char buffer[1024];
|
||||
GeDisassembleOp(pc, op, Memory::Read_U32(pc - 4), buffer, sizeof(buffer));
|
||||
u32 prev = Memory::IsValidAddress(pc - 4) ? Memory::ReadUnchecked_U32(pc - 4) : 0;
|
||||
GeDisassembleOp(pc, op, prev, buffer, sizeof(buffer));
|
||||
|
||||
GPUDebugOp info;
|
||||
info.pc = pc;
|
||||
|
Loading…
Reference in New Issue
Block a user