Win32 - Drag & Drop - if dropping a .fcm with no ROM loaded,
prompt for one (same functionality that was added to .fm2 files)
This commit is contained in:
parent
4ff3aed35b
commit
daad084393
|
@ -1,3 +1,4 @@
|
|||
20-april-2010 - adelikat - Win32 - Drag & Drop - if dropping a .fcm with no ROM loaded, prompt for one (same functionality that was added to .fm2 files)
|
||||
08-april-2010 - ugetab - Win32 - Added conditional debugging option 'K', for bank PC is on
|
||||
07-april-2010 - adelikat - fix bug that caused zapper.read() to crash when movie playback ends
|
||||
|
||||
|
|
|
@ -1328,6 +1328,8 @@ LRESULT FAR PASCAL AppWndProc(HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam)
|
|||
std::fstream* outf = FCEUD_UTF8_fstream(outname, "wb");
|
||||
md.dump(outf,false);
|
||||
delete outf;
|
||||
if (!GameInfo) //If no game is loaded, load the Open Game dialog
|
||||
LoadNewGamey(hWnd, 0);
|
||||
FCEUI_LoadMovie(outname.c_str(), 1, false, false);
|
||||
} else {
|
||||
std::string msg = "Failure converting " + fileDropped + "\r\n\r\n" + EFCM_CONVERTRESULT_message(result);
|
||||
|
|
Loading…
Reference in New Issue