mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 23:07:46 -04:00
core+platforms, revise pico pen handling
the MSB in the tablet position register denotes pen on surface. add logic and a hotkey for handling pen not on surface. This allows for repositioning of the pen without the storyware reacting to it.
This commit is contained in:
parent
9f29605f55
commit
c87e36d750
12 changed files with 127 additions and 70 deletions
|
@ -36,6 +36,8 @@ static void PicoResetPico(void)
|
|||
PicoPicohw.fifo_bytes = 0;
|
||||
PicoPicohw.r12 = 0;
|
||||
|
||||
PicoPicohw.pen_pos[0] = PicoPicohw.pen_pos[1] = 0x8000;
|
||||
|
||||
PicoPicoPCMIrqEn(0);
|
||||
PicoPicoPCMFilter(0);
|
||||
PicoPicoPCMGain(8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue