From: notaz Date: Fri, 8 Dec 2023 22:50:39 +0000 (+0200) Subject: gpu: adjust timing X-Git-Tag: r24~21 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=442afc304ad15b4f61f8808a184d971f834f4b3f 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)