notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Page[] mappings in mapper code, X.DB update for games with no controls
[fceu.git]
/
video.c
diff --git
a/video.c
b/video.c
index
397f82e
..
b4e137f
100644
(file)
--- a/
video.c
+++ b/
video.c
@@
-57,7
+57,7
@@
int InitVirtualVideo(void)
XBuf=(uint8 *)m;
}
*/
XBuf=(uint8 *)m;
}
*/
- memset(XBuf,
128
,320*240);
+ memset(XBuf,
0
,320*240);
return 1;
}
return 1;
}
@@
-167,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;