mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
32x: preliminary PWM implementation. 32x opts in menu
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@790 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
5e128c6d27
commit
db1d3564e6
16 changed files with 256 additions and 46 deletions
|
@ -476,7 +476,7 @@ u32 PicoRead8_io(u32 a)
|
|||
goto end;
|
||||
}
|
||||
|
||||
if (!(PicoOpt & POPT_DIS_32X)) {
|
||||
if (PicoOpt & POPT_EN_32X) {
|
||||
d = PicoRead8_32x(a);
|
||||
goto end;
|
||||
}
|
||||
|
@ -511,7 +511,7 @@ u32 PicoRead16_io(u32 a)
|
|||
goto end;
|
||||
}
|
||||
|
||||
if (!(PicoOpt & POPT_DIS_32X)) {
|
||||
if (PicoOpt & POPT_EN_32X) {
|
||||
d = PicoRead16_32x(a);
|
||||
goto end;
|
||||
}
|
||||
|
@ -541,7 +541,7 @@ void PicoWrite8_io(u32 a, u32 d)
|
|||
Pico.m.sram_reg |= (u8)(d & 3);
|
||||
return;
|
||||
}
|
||||
if (!(PicoOpt & POPT_DIS_32X)) {
|
||||
if (PicoOpt & POPT_EN_32X) {
|
||||
PicoWrite8_32x(a, d);
|
||||
return;
|
||||
}
|
||||
|
@ -569,7 +569,7 @@ void PicoWrite16_io(u32 a, u32 d)
|
|||
Pico.m.sram_reg |= (u8)(d & 3);
|
||||
return;
|
||||
}
|
||||
if (!(PicoOpt & POPT_DIS_32X)) {
|
||||
if (PicoOpt & POPT_EN_32X) {
|
||||
PicoWrite16_32x(a, d);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue