mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-07 16:49:58 +00:00
parent
38709058a3
commit
d01235ce2d
1 changed files with 4 additions and 1 deletions
|
@ -269,8 +269,11 @@ void GameViewer::ConfigureGame(wxCommandEvent& WXUNUSED(event))
|
||||||
|
|
||||||
void GameViewer::RemoveGame(wxCommandEvent& event)
|
void GameViewer::RemoveGame(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
|
long i = GetFirstSelected();
|
||||||
|
if (i < 0) return;
|
||||||
|
|
||||||
Emu.GetVFS().Init("/");
|
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();
|
Emu.GetVFS().UnMountAll();
|
||||||
|
|
||||||
Refresh();
|
Refresh();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue