more win32 Pico work
[picodrive.git] / platform / win32 / GenaDrive / Emu.cpp
index 497c023..7532353 100644 (file)
@@ -4,6 +4,7 @@
 unsigned short *EmuScreen=NULL;\r
 int EmuWidth=320,EmuHeight=224;\r
 RECT EmuScreenRect = { 0, 0, 320, 224 };\r
+int picohw_pen_pressed = 0;\r
 \r
 static int EmuScan(unsigned int num);\r
 unsigned char *PicoDraw2FB = NULL;\r
@@ -58,6 +59,7 @@ int EmuFrame()
   }\r
 \r
   PicoPad[0]=input;\r
+  if (picohw_pen_pressed) PicoPad[0] |= 0x20;\r
 \r
   PsndOut=(short *)DSoundNext;\r
   PicoFrame();\r