Implement spritebatch properly.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user