Преглед изворни кода

yuzu_cmd/yuzu: Correct formatting specifier

Amends the formatting specifier to obey libfmt. Prevents the application
from terminating due to a formatting issue in the error case.
Lioncash пре 7 година
родитељ
комит
c6f05b586f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/yuzu_cmd/yuzu.cpp

+ 1 - 1
src/yuzu_cmd/yuzu.cpp

@@ -191,7 +191,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!");