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