From 2a5edf076d328a1a4f6aecf120158fae111b3d27 Mon Sep 17 00:00:00 2001 From: gocha Date: Fri, 10 Aug 2012 07:49:25 +0900 Subject: [PATCH] win32: fix error handling of movie drag & drop --- win32/wsnes9x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/wsnes9x.cpp b/win32/wsnes9x.cpp index 6321dbaf..c5840ebb 100644 --- a/win32/wsnes9x.cpp +++ b/win32/wsnes9x.cpp @@ -1519,7 +1519,7 @@ bool WinMoviePlay(LPCTSTR filename) } romcheck_exit: - S9xMovieOpen (_tToChar(filename), GUI.MovieReadOnly); + err = S9xMovieOpen (_tToChar(filename), GUI.MovieReadOnly); if(err != SUCCESS) { TCHAR* err_string = MOVIE_ERR_COULD_NOT_OPEN;