diff --git a/src/oldmovie.cpp b/src/oldmovie.cpp index 1672fdcf..d28426eb 100644 --- a/src/oldmovie.cpp +++ b/src/oldmovie.cpp @@ -543,7 +543,7 @@ EFCM_CONVERTRESULT convert_fcm(MovieData& md, std::string fname) EMUFILE* fp = FCEUD_UTF8_fstream(fname, "rb"); - if(!fp) FCM_CONVERTRESULT_FAILOPEN; + if(!fp) return FCM_CONVERTRESULT_FAILOPEN; // read header uint32 magic = 0;