Skip to content

Commit

Permalink
install: correctly detect installed psp games
Browse files Browse the repository at this point in the history
Fixes #278
  • Loading branch information
blastrock committed Feb 19, 2019
1 parent 1eaf98c commit 074b4a1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/install.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ bool pkgi_psp_is_installed(const char* psppartition, const char* content)
fmt::format(
"{}pspemu/ISO/{:.9}.iso", psppartition, content + 7)
.c_str()) ||
pkgi_file_exists(
fmt::format(
"{}pspemu/PSP/GAME/{:.9}", psppartition, content + 7)
.c_str());
pkgi_file_exists(fmt::format(
"{}pspemu/PSP/GAME/{:.9}/EBOOT.PBP",
psppartition,
content + 7)
.c_str());
}

bool pkgi_psx_is_installed(const char* psppartition, const char* content)
Expand Down

0 comments on commit 074b4a1

Please sign in to comment.