-fixed bug that emulators didnt return to wiiflow

This commit is contained in:
fix94.1 2012-04-13 10:32:32 +00:00
parent b2cef2a34e
commit 3967b7b3c8

View File

@ -637,8 +637,9 @@ void CMenu::_launch(dir_discHdr *hdr)
string path((char*)hdr->path, size_t(strlen((char*)hdr->path) - title.size()));
safe_vector<std::string> arguments;
gprintf("Game title: %s\n", title.c_str());
if(strstr(path.c_str(), "sd:/") == NULL && strstr(path.c_str(), ":/") != NULL)
if(strstr(path.c_str(), ":/") != NULL)
{
if(strstr(path.c_str(), "sd:/") == NULL)
path.erase(3,1);
arguments.push_back(path);
arguments.push_back(title);