standard libretro prefixes for logging

This commit is contained in:
markwkidd 2018-01-26 12:43:57 -05:00 committed by GitHub
parent 924515ca62
commit 86fd0b36da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,11 +54,11 @@ void loadExec(char* path)
fclose(fp); fclose(fp);
frame[2] = 0x00FF00; frame[2] = 0x00FF00;
printf("Succeeded loading Executive BIOS from: %s\n", path); printf("[INFO] [FREEINTV] Succeeded loading Executive BIOS from: %s\n", path);
} }
else else
{ {
printf("Failed loading Executive BIOS from: %s\n", path); printf("[ERROR] [FREEINTV] Failed loading Executive BIOS from: %s\n", path);
frame[2] = 0xFF0000; frame[2] = 0xFF0000;
} }
} }
@ -79,12 +79,12 @@ void loadGrom(char* path)
fclose(fp); fclose(fp);
frame[4] = 0x00FF00; frame[4] = 0x00FF00;
printf("Succeeded loading Graphics BIOS from: %s\n", path); printf("[INFO] [FREEINTV] Succeeded loading Graphics BIOS from: %s\n", path);
} }
else else
{ {
printf("Failed loading Graphics BIOS from: %s\n", path); printf("[ERROR] [FREEINTV] Failed loading Graphics BIOS from: %s\n", path);
frame[4] = 0xFF0000; frame[4] = 0xFF0000;
} }
} }
@ -113,7 +113,7 @@ int exec() // Run one instruction
if(ticks==0) if(ticks==0)
{ {
// Halt Instruction found! // // Halt Instruction found! //
printf("\nHALT! at %i\n", Cycles); printf("[ERROR] [FREEINTV] \nHALT! at %i\n", Cycles);
exit(0); exit(0);
return 0; return 0;
} }