mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
core, fix Pico hardware region code
This commit is contained in:
parent
e348af76ec
commit
831bffdd31
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue