Win32 - If .fm2 drag & dropped with no ROM load, the open ROM dialog will appear
This commit is contained in:
parent
3507285489
commit
5ca3ed251e
|
@ -1,3 +1,4 @@
|
|||
03-march-2010 - adelikat - Win32 - If .fm2 drag & dropped with no ROM load, the open ROM dialog will appear
|
||||
03-march-2010 - prockguy - fceux - now prints the name of the mapper on rom load
|
||||
03-march-2010 - prockguy - SDL - VS unisystem keys now configable
|
||||
03-march-2010 - prcokguy - SDL - changed default hotkeys and keys to match w32
|
||||
|
|
|
@ -1345,6 +1345,8 @@ LRESULT FAR PASCAL AppWndProc(HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam)
|
|||
//-------------------------------------------------------
|
||||
else if (!(fileDropped.find(".fm2") == string::npos) && (fileDropped.find(".fm2") == fileDropped.length()-4)) //ROM is already loaded and .fm2 in filename
|
||||
{
|
||||
if (!GameInfo) //If no game is loaded, load the Open Game dialog
|
||||
LoadNewGamey(hWnd, 0);
|
||||
if (GameInfo && !(fileDropped.find(".fm2") == string::npos)) //.fm2 is at the end of the filename so that must be the extension
|
||||
FCEUI_LoadMovie(ftmp, 1, false, false); //We are convinced it is a movie file, attempt to load it
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue