Implement spritebatch properly.

This commit is contained in:
2026-03-22 09:13:42 -05:00
parent 66ebcb1608
commit ca0e9fc3b2
19 changed files with 205 additions and 142 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ void logDebug(const char_t *message, ...) {
// print to file
FILE *file = fopen("ms0:/PSP/GAME/Dusk/debug.log", "a");
if (file) {
if(file) {
va_copy(copy, args);
vfprintf(file, message, copy);
va_end(copy);
@@ -41,7 +41,7 @@ void logError(const char_t *message, ...) {
// print to file
FILE *file = fopen("ms0:/PSP/GAME/Dusk/error.log", "a");
if (file) {
if(file) {
va_copy(copy, args);
vfprintf(file, message, copy);
va_end(copy);