@@ -469,15 +469,15 @@ app_emulator_configure_backup_storage(
469469 read_len = fread (data , 1 , file_len , app -> emulation .backup_file );
470470
471471 if (read_len != file_len ) {
472- logln (HS_WARNING , "Failed to read the save file. Is it corrupted?" );
472+ logln (HS_WARN , "Failed to read the save file. Is it corrupted?" );
473473 } else {
474474 logln (HS_INFO , "Save file successfully read." );
475475 }
476476
477477 app -> emulation .launch_config -> backup_storage .data = data ;
478478 app -> emulation .launch_config -> backup_storage .size = file_len ;
479479 } else {
480- logln (HS_WARNING , "Failed to open the save file. A new one will be created instead." );
480+ logln (HS_WARN , "Failed to open the save file. A new one will be created instead." );
481481
482482 app -> emulation .backup_file = hs_fopen (backup_path , "wb+" );
483483
@@ -529,7 +529,7 @@ app_emulator_import_backup_storage(
529529 read_len = fread (data , 1 , file_len , backup );
530530
531531 if (read_len != file_len ) {
532- logln (HS_WARNING , "Failed to import the save file. Is it corrupted?" );
532+ logln (HS_WARN , "Failed to import the save file. Is it corrupted?" );
533533 } else {
534534 app_new_notification (
535535 app ,
@@ -545,7 +545,7 @@ app_emulator_import_backup_storage(
545545 app -> emulation .backup_file = hs_fopen (backup_path , "rb+" );
546546
547547 if (!app -> emulation .backup_file ) {
548- logln (HS_WARNING , "Failed to open the save file. A new one will be created instead." );
548+ logln (HS_WARN , "Failed to open the save file. A new one will be created instead." );
549549
550550 app -> emulation .backup_file = hs_fopen (backup_path , "wb+" );
551551
@@ -637,11 +637,9 @@ app_emulator_configure_and_run(
637637 );
638638 } else {
639639 logln (
640- HS_WARNING ,
641- "No game with the code \"%s%.3s%s\" could be found in the Hades game database." ,
642- g_light_magenta ,
643- code ,
644- g_reset
640+ HS_WARN ,
641+ "No game with the code \"%.3s\" could be found in the Hades game database." ,
642+ code
645643 );
646644
647645 app -> emulation .game_entry = db_autodetect_game_features (app -> emulation .launch_config -> rom .data , app -> emulation .launch_config -> rom .size );
@@ -1011,7 +1009,7 @@ app_emulator_quickload(
10111009 size_t size ;
10121010
10131011 if (app -> emulation .quickload_request .enabled ) {
1014- logln (HS_WARNING , "A saved state is already being loaded by the emulator, ignoring the new request." );
1012+ logln (HS_WARN , "A saved state is already being loaded by the emulator, ignoring the new request." );
10151013 return ;
10161014 }
10171015
0 commit comments