3
0
Fork 0
forked from suyu/suyu

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.
This commit is contained in:
Lioncash 2019-05-28 22:10:51 -04:00
parent 84a8fb9264
commit c6f05b586f

View file

@ -191,7 +191,7 @@ int main(int argc, char** argv) {
switch (load_result) { switch (load_result) {
case Core::System::ResultStatus::ErrorGetLoader: 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; return -1;
case Core::System::ResultStatus::ErrorLoader: case Core::System::ResultStatus::ErrorLoader:
LOG_CRITICAL(Frontend, "Failed to load ROM!"); LOG_CRITICAL(Frontend, "Failed to load ROM!");