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=497c023ca2d6794edf5f02306b1a37bac1cb124f;hpb=67c81ee2e41f86851aeb221aed911980c07274bf;p=picodrive.git diff --git a/platform/win32/GenaDrive/Emu.cpp b/platform/win32/GenaDrive/Emu.cpp index 497c023..46fa27a 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 PicoPadAdd = 0; static int EmuScan(unsigned int num); unsigned char *PicoDraw2FB = NULL; @@ -58,6 +59,7 @@ int EmuFrame() } PicoPad[0]=input; + PicoPad[0]|=PicoPadAdd; PsndOut=(short *)DSoundNext; PicoFrame();