Install PKGs into custom folder

This commit is contained in:
KaOs1 2015-07-31 22:15:07 +02:00
parent 2f8a41d810
commit 804ee1183b
2 changed files with 4 additions and 8 deletions

View file

@ -270,7 +270,10 @@ void MainFrame::InstallPkg(wxCommandEvent& WXUNUSED(event))
if (pkg_f)
{
PKGLoader::Install(pkg_f, "/dev_hdd0/game/");
Emu.GetVFS().Init("/");
std::string local_path;
Emu.GetVFS().GetDevice("/dev_hdd0/game/", local_path);
PKGLoader::Install(pkg_f, local_path + "/");
// Refresh game list
m_game_viewer->Refresh();