update pak format

This commit is contained in:
Nishi 2026-01-12 11:48:26 +09:00
commit 32919ca13d
Signed by: nishi
GPG key ID: 27EF69B208EB9343
9 changed files with 324 additions and 73 deletions

View file

@ -13,6 +13,8 @@ void GSLog(int level, const char* fmt, ...) {
fprintf(out, "WARN ");
} else if(level == GSLogError) {
fprintf(out, "ERROR");
} else if(level == GSLogDebug) {
fprintf(out, "DEBUG");
}
#else
fprintf(out, "[\x1b[mGearSrc\x1b[m|");
@ -23,6 +25,8 @@ void GSLog(int level, const char* fmt, ...) {
fprintf(out, "\x1b[1m\x1b[33mWARN\x1b[m ");
} else if(level == GSLogError) {
fprintf(out, "\x1b[1m\x1b[31mERROR\x1b[m");
} else if(level == GSLogDebug) {
fprintf(out, "\x1b[1m\x1b[34mDEBUG\x1b[m");
}
#endif