Jelajahi Sumber

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 tahun lalu
induk
melakukan
c6f05b586f
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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!");