mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 04:02:42 +01:00
parent
38709058a3
commit
d01235ce2d
@ -269,8 +269,11 @@ void GameViewer::ConfigureGame(wxCommandEvent& WXUNUSED(event))
|
||||
|
||||
void GameViewer::RemoveGame(wxCommandEvent& event)
|
||||
{
|
||||
long i = GetFirstSelected();
|
||||
if (i < 0) return;
|
||||
|
||||
Emu.GetVFS().Init("/");
|
||||
Emu.GetVFS().DeleteAll(m_path + "/" + this->GetItemText(event.GetId(), 6).ToStdString());
|
||||
Emu.GetVFS().DeleteAll(m_path + "/" + this->GetItemText(i, 6).ToStdString());
|
||||
Emu.GetVFS().UnMountAll();
|
||||
|
||||
Refresh();
|
||||
|
Loading…
Reference in New Issue
Block a user