More header changes.

This commit is contained in:
Sacha 2014-07-12 03:06:59 +10:00
parent 6e06fdf638
commit c09b0f511e
13 changed files with 79 additions and 90 deletions

View file

@ -6,6 +6,7 @@
#include "Emu/FS/vfsFile.h"
#include "GameViewer.h"
#include "Loader/PSF.h"
#include <wx/dir.h>
static const std::string m_class_name = "GameViewer";
@ -238,9 +239,9 @@ void GameViewer::RemoveGame(wxCommandEvent& event)
Emu.GetVFS().UnMountAll();
//TODO: Replace wxWidgetsSpecific filesystem stuff?
if (!wxDirExists(fmt::FromUTF8(localPath)))
if (!rFile::Exists(localPath))
return;
//TODO: Replace wxWidgetsSpecific filesystem stuff?
WxDirDeleteTraverser deleter;
wxDir localDir(localPath);
localDir.Traverse(deleter);