瀏覽代碼

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!");