mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 03:03:50 +01:00
Win32: Add menu choice to open from memstick/PSP/GAME
This commit is contained in:
1 parent
e7027b6c9c
commit
6f7cc57f53
5 files changed
+18
-6
No files matched your search
@@ -197,9 +197,9 @@ namespace MainWindow
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void BrowseAndBoot(void)
|
||||
void BrowseAndBoot(std::string defaultPath)
|
||||
{
|
||||
std::string fn;
|
||||
std::string fn = defaultPath;
|
||||
std::string filter = "";
|
||||
|
||||
filter += "PSP";
|
||||
@@ -282,7 +282,16 @@ namespace MainWindow
|
||||
switch (wmId)
|
||||
{
|
||||
case ID_FILE_LOAD:
|
||||
BrowseAndBoot();
|
||||
BrowseAndBoot("");
|
||||
break;
|
||||
|
||||
case ID_FILE_LOAD_MEMSTICK:
|
||||
{
|
||||
std::string memStickDir, flash0dir;
|
||||
GetSysDirectories(memStickDir, flash0dir);
|
||||
memStickDir += "PSP\\GAME";
|
||||
BrowseAndBoot(memStickDir);
|
||||
}
|
||||
break;
|
||||
|
||||
case ID_FILE_REFRESHGAMELIST:
|
||||
|
||||
Reference in new issue
Block a user