From: notaz Date: Thu, 6 Jul 2023 20:55:43 +0000 (+0300) Subject: fix missed double resolution change X-Git-Tag: r24~270 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cb4b1b67091f9c5e8c448e3db15eb36712cdb94;p=pcsx_rearmed.git fix missed double resolution change --- diff --git a/plugins/gpulib/vout_pl.c b/plugins/gpulib/vout_pl.c index 1c98b55a..46af2590 100644 --- a/plugins/gpulib/vout_pl.c +++ b/plugins/gpulib/vout_pl.c @@ -44,10 +44,10 @@ static void check_mode_change(int force) } // width|rgb24 change? - if (force || (gpu.status ^ old_status) & ((7<<16)|(1<<21)) || h != old_h) + if (force || (gpu.status ^ old_status) & ((7<<16)|(1<<21)) || h_out != old_h) { old_status = gpu.status; - old_h = h; + old_h = h_out; cbs->pl_vout_set_mode(w_out, h_out, w, h, (gpu.status & PSX_GPU_STATUS_RGB24) ? 24 : 16);