X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fgpulib%2Fgpu.c;h=797431c04937f90dd5095223c71279e5a8a83942;hb=0cf4107147cfd3675c8ce3bac4403f9c507a3390;hp=d72909164a1f2f896c1dc838b4a6f42640960f67;hpb=495d603c20ec58689bd7f73348d16e17f5491f5b;p=pcsx_rearmed.git diff --git a/plugins/gpulib/gpu.c b/plugins/gpulib/gpu.c index d7290916..797431c0 100644 --- a/plugins/gpulib/gpu.c +++ b/plugins/gpulib/gpu.c @@ -54,6 +54,7 @@ static noinline void do_cmd_reset(void) static noinline void do_reset(void) { unsigned int i; + do_cmd_reset(); memset(gpu.regs, 0, sizeof(gpu.regs)); @@ -136,14 +137,13 @@ static noinline void get_gpu_info(uint32_t data) gpu.gp0 = gpu.ex_regs[data & 7] & 0xfffff; break; case 0x05: - case 0x06: gpu.gp0 = gpu.ex_regs[5] & 0x3fffff; break; case 0x07: gpu.gp0 = 2; break; default: - gpu.gp0 = 0; + // gpu.gp0 unchanged break; } }