VFS::CreatePath fixed, bugfixes

This commit is contained in:
Nekotekina 2015-04-20 18:53:31 +03:00
parent 8c1aa3ee15
commit 56c64c8045
16 changed files with 147 additions and 77 deletions

View file

@ -182,7 +182,7 @@ void Emulator::Load()
{
GetModuleManager().Init();
if (!rExists(m_path)) return;
if (!rIsFile(m_path)) return;
if (IsSelf(m_path))
{
@ -407,7 +407,7 @@ void Emulator::SavePoints(const std::string& path)
void Emulator::LoadPoints(const std::string& path)
{
if (!rExists(path)) return;
if (!rIsFile(path)) return;
std::ifstream f(path, std::ios::binary);
if (!f.is_open())
return;