From 831bffdd31b9d06b9e9f10605d82a469f960e8cd Mon Sep 17 00:00:00 2001 From: kub Date: Sat, 20 Jan 2024 17:29:22 +0100 Subject: [PATCH] core, fix Pico hardware region code --- pico/pico/pico.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pico/pico/pico.c b/pico/pico/pico.c index 077b9b21..1266ce87 100644 --- a/pico/pico/pico.c +++ b/pico/pico/pico.c @@ -95,9 +95,9 @@ PICO_INTERNAL void PicoInitPico(void) // map version register PicoDetectRegion(); switch (Pico.m.hardware >> 6) { - case 0: PicoPicohw.r1 = 0x00; break; + case 0: PicoPicohw.r1 = 0x40; break; case 1: PicoPicohw.r1 = 0x00; break; - case 2: PicoPicohw.r1 = 0x40; break; + case 2: PicoPicohw.r1 = 0x60; break; case 3: PicoPicohw.r1 = 0x20; break; } } -- 2.39.5