X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcd%2FArea.c;h=b71310486e26740373ec6566df0c426854b967cd;hb=53668ca0f8dae622f61c2b30000a27b80fd8ec6f;hp=aba08e3b46769972cd62f9638d85dc8765be71f7;hpb=b542be4686241c9e0722ff8e452980f9ac2b4d7c;p=picodrive.git diff --git a/Pico/cd/Area.c b/Pico/cd/Area.c index aba08e3..b713104 100644 --- a/Pico/cd/Area.c +++ b/Pico/cd/Area.c @@ -150,7 +150,7 @@ static int g_read_offs = 0; #define R_ERROR_RETURN(error) \ { \ - printf("PicoCdLoadState @ %x: " error "\n", g_read_offs); \ + elprintf(EL_STATUS, "PicoCdLoadState @ %x: " error "\n", g_read_offs); \ return 1; \ } @@ -165,7 +165,7 @@ static int g_read_offs = 0; #define CHECKED_READ2(len2,data) \ if (len2 != len) { \ - printf("unexpected len %i, wanted %i (%s)", len, len2, #len2); \ + elprintf(EL_STATUS, "unexpected len %i, wanted %i (%s)", len, len2, #len2); \ if (len > len2) R_ERROR_RETURN("failed."); \ /* else read anyway and hope for the best.. */ \ } \ @@ -235,7 +235,7 @@ PICO_INTERNAL int PicoCdLoadState(void *file) case CHUNK_MISC_CD: CHECKED_READ_BUFF(Pico_mcd->m); break; default: - printf("PicoCdLoadState: skipping unknown chunk %i of size %i\n", buff[0], len); + elprintf(EL_STATUS, "PicoCdLoadState: skipping unknown chunk %i of size %i\n", buff[0], len); areaSeek(file, len, SEEK_CUR); break; }