Ok, This stuff is not used and that's not very elegant but that would be at least a leak and this shut up gcc.

This commit is contained in:
riccardom 2008-12-30 15:40:12 +00:00
parent fcf045ac18
commit 9cb3b76e74
1 changed files with 3 additions and 1 deletions

View File

@ -387,7 +387,9 @@ static void FCEUI_LoadMovie(const char *fname, bool _read_only, bool tasedit, in
//LoadFM2(currMovieData, fp->stream, INT_MAX, false);
LoadFM2(currMovieData, &fstream(fname), INT_MAX, false);
fstream fs (fname);
LoadFM2(currMovieData, &fs, INT_MAX, false);
fs.close();
//TODO
//fully reload the game to reinitialize everything before playing any movie