merge mapper code from FCEUX
[fceu.git] / movie.c
diff --git a/movie.c b/movie.c
index 064c256..2875dba 100644 (file)
--- a/movie.c
+++ b/movie.c
@@ -98,7 +98,7 @@ int resetDMCacc=0;
 static uint32 nextts = 0;
 static int32 nextd = 0;
 
-#define FCEUSTATE_RLSB            0x80000000
+//#define FCEUSTATE_RLSB            0x80000000
 
 SFORMAT FCEUMOV_STATEINFO[]={
  { joop, 4,"JOOP"},
@@ -431,7 +431,7 @@ strcpy(origname,fname);
   {
          // attempt to load previous version's format
          fclose(fp);
-         printf("trying movie v1\n");
+         printf("movie: trying movie v1\n");
          FCEUI_LoadMovie_v1(fname, _read_only);
          return;
   }
@@ -440,6 +440,7 @@ strcpy(origname,fname);
   else
   {
          // unsupported version
+         printf("movie: unsupported version\n");
          fclose(fp);
          return;
   }
@@ -485,7 +486,8 @@ strcpy(origname,fname);
  }
 #endif
 
- if(!FCEUSS_LoadFP(fp,1)) return;
+ // Loading new savestates doesn't work and even breaks FDS
+ //if(!FCEUSS_LoadFP(fp,1)) return;
 
  ResetInputTypes();