psxbios: Return 0x1f801814 for gpu_abort_dma
authorgameblabla <gameblabla@openmailbox.org>
Wed, 17 Jul 2019 23:57:53 +0000 (01:57 +0200)
committergameblabla <gameblabla@openmailbox.org>
Wed, 17 Jul 2019 23:57:53 +0000 (01:57 +0200)
Nocash documentation says that it returns the I/O address.
I doubt any games use it so but it doesn't hurt to have it.

libpcsxcore/psxbios.c

index 58581e9..775fba7 100644 (file)
@@ -1191,7 +1191,7 @@ void psxBios_sys_a0_4c() { // 0x4c GPU relate
        GPU_writeData(0x0400000);
        GPU_writeData(0x0200000);
        GPU_writeData(0x0100000);
-
+       v0 = 0x1f801814;
        pc0 = ra;
 }