refresh rate: comments
[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;
  }
 */
- memset(XBuf,128,320*240);
+ memset(XBuf,0,320*240);
  return 1;
 }
 
@@ -167,7 +167,7 @@ int SaveSnapshot(void)
  int x,u,y;
  FILE *pp=NULL;
  uint8 *compmem=NULL;
- uint32 compmemsize=totallines*263+12;
+ unsigned long compmemsize=totallines*263+12;
 
  if(!(compmem=FCEU_malloc(compmemsize)))
   return 0;