X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fwin32%2FGenaDrive%2FEmu.cpp;h=753235333067b6268e667f6ab89bdd6c029181d8;hb=42989e7d7e446b8688330b1cd8345e4d03f46f44;hp=497c023ca2d6794edf5f02306b1a37bac1cb124f;hpb=67c81ee2e41f86851aeb221aed911980c07274bf;p=picodrive.git diff --git a/platform/win32/GenaDrive/Emu.cpp b/platform/win32/GenaDrive/Emu.cpp index 497c023..7532353 100644 --- a/platform/win32/GenaDrive/Emu.cpp +++ b/platform/win32/GenaDrive/Emu.cpp @@ -4,6 +4,7 @@ unsigned short *EmuScreen=NULL; int EmuWidth=320,EmuHeight=224; RECT EmuScreenRect = { 0, 0, 320, 224 }; +int picohw_pen_pressed = 0; static int EmuScan(unsigned int num); unsigned char *PicoDraw2FB = NULL; @@ -58,6 +59,7 @@ int EmuFrame() } PicoPad[0]=input; + if (picohw_pen_pressed) PicoPad[0] |= 0x20; PsndOut=(short *)DSoundNext; PicoFrame();