From 594af38236385ce20535bcac1da498d15cfae48d Mon Sep 17 00:00:00 2001 From: David Kuder Date: Tue, 2 May 2023 16:16:09 -0400 Subject: [PATCH] Move SHR to Analog GS firmware Even with overclocking SHR pushes the limits of the RP2040 if it has to bit-shift the 12-bit RGB to 9-bit RGB. May investigate using the hardware math acceleration to re-enable this at a later time. --- vga/render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vga/render.c b/vga/render.c index 2a02231..62724df 100644 --- a/vga/render.c +++ b/vga/render.c @@ -208,7 +208,7 @@ void DELAYED_COPY_CODE(render_loop)() { testdone = 1; render_about_init(); } -#if defined(ANALOG_GS) || defined(OVERCLOCKED) +#if defined(ANALOG_GS) } else if(soft_switches & SOFTSW_SHR) { vga_prepare_frame(); render_shr();