notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactoring z80 if code for sms preparation
[picodrive.git]
/
platform
/
win32
/
GenaDrive
/
Emu.cpp
diff --git
a/platform/win32/GenaDrive/Emu.cpp
b/platform/win32/GenaDrive/Emu.cpp
index
497c023
..
46fa27a
100644
(file)
--- a/
platform/win32/GenaDrive/Emu.cpp
+++ b/
platform/win32/GenaDrive/Emu.cpp
@@
-4,6
+4,7
@@
unsigned short *EmuScreen=NULL;
\r
int EmuWidth=320,EmuHeight=224;
\r
RECT EmuScreenRect = { 0, 0, 320, 224 };
\r
unsigned short *EmuScreen=NULL;
\r
int EmuWidth=320,EmuHeight=224;
\r
RECT EmuScreenRect = { 0, 0, 320, 224 };
\r
+int PicoPadAdd = 0;
\r
\r
static int EmuScan(unsigned int num);
\r
unsigned char *PicoDraw2FB = NULL;
\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
}
\r
\r
PicoPad[0]=input;
\r
+ PicoPad[0]|=PicoPadAdd;
\r
\r
PsndOut=(short *)DSoundNext;
\r
PicoFrame();
\r
\r
PsndOut=(short *)DSoundNext;
\r
PicoFrame();
\r