win: fix [3311520], which causes MPCF path to get initialized wrongly and the whole c:\ drive to get scanned sometimes

This commit is contained in:
zeromus 2011-06-04 17:04:46 +00:00
parent 9b2821de3a
commit 59ec9700c6
1 changed files with 2 additions and 3 deletions

View File

@ -2569,8 +2569,6 @@ int _main()
CommonSettings.cheatsDisable = GetPrivateProfileBool("General", "cheatsDisable", false, IniName); CommonSettings.cheatsDisable = GetPrivateProfileBool("General", "cheatsDisable", false, IniName);
WIN_InstallCFlash();
ColorCtrl_Register(); ColorCtrl_Register();
if (!RegWndClass("DeSmuME", WindowProcedure, CS_DBLCLKS, LoadIcon(hAppInst, MAKEINTRESOURCE(ICONDESMUME)))) if (!RegWndClass("DeSmuME", WindowProcedure, CS_DBLCLKS, LoadIcon(hAppInst, MAKEINTRESOURCE(ICONDESMUME))))
{ {
@ -2759,6 +2757,7 @@ int _main()
GetPrivateProfileString("GBAslot.GBAgame", "filename", "", GBAgameName, MAX_PATH, IniName); GetPrivateProfileString("GBAslot.GBAgame", "filename", "", GBAgameName, MAX_PATH, IniName);
cmdline.process_addonCommands(); cmdline.process_addonCommands();
WIN_InstallCFlash();
switch (slot1_device_type) switch (slot1_device_type)
{ {