Draft socketselect, other minor fixes

This commit is contained in:
Raul Tambre 2015-07-15 16:21:41 +03:00
parent 82733e1943
commit 6beec80b60
6 changed files with 129 additions and 75 deletions

View file

@ -22,7 +22,11 @@ bool TRPLoader::Install(std::string dest, bool show)
if (!dest.empty() && dest.back() != '/')
dest += '/';
Emu.GetVFS().CreateDir(dest);
if (!Emu.GetVFS().ExistsDir(dest))
{
Emu.GetVFS().CreateDir(dest);
}
for (const TRPEntry& entry : m_entries)
{
char* buffer = new char [(u32)entry.size];