mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
More Ignore address in gpu (#16303)
* More Ignore address 0 in gpu Fix #16297 * Change to ignore bad memory access * Update SoftGpu.cpp --------- Co-authored-by: Henrik Rydgård <hrydgard@gmail.com>
This commit is contained in:
parent
fb80ad6370
commit
0bce42cc33
@ -918,6 +918,9 @@ void GPUCommon::Execute_Call(u32 op, u32 diff) {
|
||||
const u32 target = gstate_c.getRelativeAddress(op & 0x00FFFFFC);
|
||||
if (!Memory::IsValidAddress(target)) {
|
||||
ERROR_LOG(Log::G3D, "CALL to illegal address %08x - ignoring! data=%06x", target, op & 0x00FFFFFF);
|
||||
if (g_Config.bIgnoreBadMemAccess) {
|
||||
return;
|
||||
}
|
||||
UpdateState(GPUSTATE_ERROR);
|
||||
return;
|
||||
}
|
||||
|
@ -1237,6 +1237,9 @@ void SoftGPU::Execute_Call(u32 op, u32 diff) {
|
||||
const u32 target = gstate_c.getRelativeAddress(op & 0x00FFFFFC);
|
||||
if (!Memory::IsValidAddress(target)) {
|
||||
ERROR_LOG(Log::G3D, "CALL to illegal address %08x - ignoring! data=%06x", target, op & 0x00FFFFFF);
|
||||
if (g_Config.bIgnoreBadMemAccess) {
|
||||
return;
|
||||
}
|
||||
gpuState = GPUSTATE_ERROR;
|
||||
downcount = 0;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user