From 963f41620dce6ddb2527b7e3dced09564031f783 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 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) -- 2.39.5