mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Buildfixes from homebrew merge.
This commit is contained in:
1 parent
e7ec53a97f
commit
3ccbbcf63b
4 files changed
+19
-18
No files matched your search
@@ -179,7 +179,7 @@ bool GameManager::InstallGame(std::string zipfile) {
|
||||
const char *fn = zip_get_name(z, i, 0);
|
||||
std::string zippedName = fn;
|
||||
std::string outFilename = pspGame + zippedName.substr(stripChars);
|
||||
bool isDir = outFilename.back() == '/';
|
||||
bool isDir = *outFilename.rbegin() == '/';
|
||||
if (isDir) {
|
||||
File::CreateFullPath(outFilename.c_str());
|
||||
} else {
|
||||
@@ -203,7 +203,7 @@ bool GameManager::InstallGame(std::string zipfile) {
|
||||
fn += stripChars;
|
||||
|
||||
std::string outFilename = pspGame + fn;
|
||||
bool isDir = outFilename.back() == '/';
|
||||
bool isDir = *outFilename.rbegin() == '/';
|
||||
if (isDir)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in new issue
Block a user