mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-14 20:05:02 +00:00
[iQue] Create/update macros for printing debug strings (#2398)
This commit is contained in:
parent
a3c3c38fea
commit
f329507f97
65 changed files with 328 additions and 303 deletions
|
@ -337,9 +337,9 @@ s32 Jpeg_Decode(void* data, void* zbuffer, void* work, u32 workSize) {
|
|||
x = y = 0;
|
||||
for (i = 0; i < 300; i += 4) {
|
||||
if (JpegDecoder_Decode(&decoder, (u16*)workBuff->data, 4, i != 0, &state)) {
|
||||
PRINTF(VT_FGCOL(RED));
|
||||
PRINTF_COLOR_RED();
|
||||
PRINTF("Error : Can't decode jpeg\n");
|
||||
PRINTF(VT_RST);
|
||||
PRINTF_RST();
|
||||
} else {
|
||||
Jpeg_ScheduleDecoderTask(&ctx);
|
||||
osInvalDCache(&workBuff->data, sizeof(workBuff->data[0]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue