wxFile removed (rFile -> rfile_t)

This commit is contained in:
Nekotekina 2015-04-19 16:19:24 +03:00
parent 2cafa84b75
commit ab405901ee
43 changed files with 814 additions and 973 deletions

View file

@ -146,11 +146,12 @@ bool Emulator::BootGame(const std::string& path, bool direct)
"/USRDIR/EBOOT.BIN",
"/EBOOT.BIN"
};
auto curpath = path;
if (direct)
{
if (rFile::Access(curpath, rFile::read))
if (rfile_t(curpath))
{
SetPath(curpath);
Load();
@ -163,7 +164,7 @@ bool Emulator::BootGame(const std::string& path, bool direct)
{
curpath = path + elf_path[i];
if (rFile::Access(curpath, rFile::read))
if (rfile_t(curpath))
{
SetPath(curpath);
Load();