mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-11 06:40:39 +00:00
parent
38709058a3
commit
d01235ce2d
@ -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…
x
Reference in New Issue
Block a user