notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
savestate and other bugfixes
[fceu.git]
/
drivers
/
gp2x
/
main.c
diff --git
a/drivers/gp2x/main.c
b/drivers/gp2x/main.c
index
cbd8679
..
ac48a2d
100644
(file)
--- a/
drivers/gp2x/main.c
+++ b/
drivers/gp2x/main.c
@@
-466,11
+466,13
@@
static void DriverKill(void)
void FCEUD_Update(uint8 *xbuf, int16 *Buffer, int Count)
{
void FCEUD_Update(uint8 *xbuf, int16 *Buffer, int Count)
{
- if(!Count && !(eoptions&EO_NOTHROTTLE))
+ if(!(eoptions&EO_NOTHROTTLE))
+ {
+ if(Count)
+ WriteSound(Buffer,Count);
SpeedThrottle();
SpeedThrottle();
+ }
+ FCEUD_UpdateInput(); // must update input before blitting because of save confirmation stuff
BlitScreen(xbuf);
BlitScreen(xbuf);
- if(Count && !(eoptions&EO_NOTHROTTLE))
- WriteSound(Buffer,Count);
- FCEUD_UpdateInput();
}
}