Forráskód Böngészése

yuzu-tester/yuzu: Correct format string

Prevents an invalid formatting exception from being thrown.
Lioncash 7 éve
szülő
commit
6e11cfcdf0
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/yuzu_tester/yuzu.cpp

+ 1 - 1
src/yuzu_tester/yuzu.cpp

@@ -225,7 +225,7 @@ int main(int argc, char** argv) {
 
     switch (load_result) {
     case Core::System::ResultStatus::ErrorGetLoader:
-        LOG_CRITICAL(Frontend, "Failed to obtain loader for %s!", filepath.c_str());
+        LOG_CRITICAL(Frontend, "Failed to obtain loader for {}!", filepath);
         return -1;
     case Core::System::ResultStatus::ErrorLoader:
         LOG_CRITICAL(Frontend, "Failed to load ROM!");