GTE: Stub and register read/write function
This commit is contained in:
parent
6df8d42480
commit
4025d6e4a6
11 changed files with 258 additions and 200 deletions
|
|
@ -653,7 +653,7 @@ bool GPU::HandleCopyRectangleVRAMToCPUCommand()
|
|||
|
||||
Log_DebugPrintf("Copy rectangle from VRAM to CPU offset=(%u,%u), size=(%u,%u)", src_x, src_y, width, height);
|
||||
|
||||
if ((src_x + width) > VRAM_WIDTH || (src_x + height) > VRAM_HEIGHT)
|
||||
if ((src_x + width) > VRAM_WIDTH || (src_y + height) > VRAM_HEIGHT)
|
||||
{
|
||||
Panic("Out of bounds VRAM copy");
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue