From: notaz Date: Fri, 8 Dec 2023 22:50:39 +0000 (+0200) Subject: gpu: adjust timing X-Git-Tag: r24l~28 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=963f41620dce6ddb2527b7e3dced09564031f783;p=pcsx_rearmed.git gpu: adjust timing seemed to be causing races, likely because we run the CPU too fast notaz/pcsx_rearmed#330 --- diff --git a/plugins/gpulib/gpu_timing.h b/plugins/gpulib/gpu_timing.h index 0dfe0d68..363e608d 100644 --- a/plugins/gpulib/gpu_timing.h +++ b/plugins/gpulib/gpu_timing.h @@ -1,6 +1,6 @@ // very conservative and wrong -#define gput_fill(w, h) (23 + (4 + (w) / 16u) * (h)) +#define gput_fill(w, h) (23 + (4 + (w) / 32u) * (h)) #define gput_copy(w, h) ((w) * (h)) #define gput_poly_base() (23) #define gput_poly_base_t() (gput_poly_base() + 90)