notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e348af7
)
core, fix Pico hardware region code
author
kub
<derkub@gmail.com>
Sat, 20 Jan 2024 16:29:22 +0000
(17:29 +0100)
committer
kub
<derkub@gmail.com>
Sat, 20 Jan 2024 16:29:22 +0000
(17:29 +0100)
pico/pico/pico.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/pico/pico.c
b/pico/pico/pico.c
index
077b9b2
..
1266ce8
100644
(file)
--- 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 = 0x
0
0; break;
+ case 0: PicoPicohw.r1 = 0x
4
0; break;
case 1: PicoPicohw.r1 = 0x00; break;
- case 2: PicoPicohw.r1 = 0x
4
0; break;
+ case 2: PicoPicohw.r1 = 0x
6
0; break;
case 3: PicoPicohw.r1 = 0x20; break;
}
}