boxart: remove redundant call to c_str()

This commit is contained in:
scribam 2023-07-22 15:28:10 +02:00 committed by flyinghead
parent 4db26bc092
commit d2b475ae41
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ void OfflineScraper::scrape(GameBoxart& item)
}
Disc *disc = nullptr;
try {
disc = OpenDisc(item.gamePath.c_str());
disc = OpenDisc(item.gamePath);
if (disc == nullptr)
WARN_LOG(COMMON, "Can't open disk %s", item.gamePath.c_str());
} catch (const std::runtime_error& e) {