notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cli added for debug
[fceu.git]
/
video.c
diff --git
a/video.c
b/video.c
index
adcb786
..
01a54e1
100644
(file)
--- a/
video.c
+++ b/
video.c
@@
-46,8
+46,6
@@
uint8 *XBuf=NULL;
int InitVirtualVideo(void)
{
int InitVirtualVideo(void)
{
- uint32 m;
-
if(!XBuf) /* Some driver code may allocate XBuf externally. */
if(!(XBuf = (uint8*) (FCEU_malloc(320 * 240))))
return 0;
if(!XBuf) /* Some driver code may allocate XBuf externally. */
if(!(XBuf = (uint8*) (FCEU_malloc(320 * 240))))
return 0;
@@
-169,7
+167,7
@@
int SaveSnapshot(void)
int x,u,y;
FILE *pp=NULL;
uint8 *compmem=NULL;
int x,u,y;
FILE *pp=NULL;
uint8 *compmem=NULL;
- u
int32
compmemsize=totallines*263+12;
+ u
nsigned long
compmemsize=totallines*263+12;
if(!(compmem=FCEU_malloc(compmemsize)))
return 0;
if(!(compmem=FCEU_malloc(compmemsize)))
return 0;