Fixed sdl build to reflect movie.h changes

This commit is contained in:
punkrockguy318 2008-08-10 09:50:20 +00:00
parent 6cf8efd2de
commit 36d4f31a61
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,6 @@
---version 2.0.2 released---
10-aug-2008 - punkrockguy318 - Added lua script loading hotkey in sdl build (f3). Non win32 SDL requires zenity for this to function.
10-aug-2008 - punkrockguy318 - Build script cleanup
10-aug-2008 - zeromus - SF [ 2030405 ] Avi recording: no sound b0rks format
10-aug-2008 - zeromus - SF [ 2037878 ] Convert .fcm doesn't do special characters
09-aug-2008 - zeromus - SF [ 2040463 ] Add an "author" text field in the record movie dialog

View File

@ -166,7 +166,7 @@ std::string GetFilename()
// use the contents of szFile to initialize itself.
ofn.lpstrFile[0] = '\0';
ofn.nMaxFile = sizeof(szFile);
ofn.lpstrFilter = "All\0*.*\0Text\0*.TXT\0Lua Scripts\0*.LUA\0";
ofn.lpstrFilter = "All\0*.*\0";
ofn.nFilterIndex = 1;
ofn.lpstrFileTitle = NULL;
ofn.nMaxFileTitle = 0;
@ -271,7 +271,7 @@ KeyboardCommands()
if(_keyonly(key)) {
if(is_shift) {
FCEUI_printf("Recording movie to %s\n", movie_fname);
FCEUI_SaveMovie(movie_fname, MOVIE_FLAG_NONE, "");
FCEUI_SaveMovie(movie_fname, MOVIE_FLAG_NONE, L"");
} else {
FCEUI_SaveState(NULL);
}