From 442afc304ad15b4f61f8808a184d971f834f4b3f Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 9 Dec 2023 00:50:39 +0200 Subject: [PATCH] gpu: adjust timing seemed to be causing races, likely because we run the CPU too fast notaz/pcsx_rearmed#330 --- plugins/gpulib/gpu_timing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gpulib/gpu_timing.h b/plugins/gpulib/gpu_timing.h index 0dfe0d68c..363e608d5 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)