X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcd%2Fcd_sys.c;h=713b995abbd20f56238f6687e3daf158d512bc1f;hb=50483b5330e31812fc75f397ae639f6ab03f7978;hp=c0001d2d1fa90b496f62813702e9df464ae29392;hpb=eff55556cff77fd64cff4be32e449e0a58aed6fe;p=picodrive.git diff --git a/Pico/cd/cd_sys.c b/Pico/cd/cd_sys.c index c0001d2..713b995 100644 --- a/Pico/cd/cd_sys.c +++ b/Pico/cd/cd_sys.c @@ -1,6 +1,6 @@ /*********************************************************** * * - * This source was taken from the Gens project * + * This source file was taken from the Gens project * * Written by Stéphane Dallongeville * * Copyright (c) 2002 by Stéphane Dallongeville * * Modified/adapted for PicoDrive by notaz, 2007 * @@ -13,8 +13,7 @@ #include "cd_sys.h" #include "cd_file.h" -#define cdprintf dprintf -//#define cdprintf(x...) +#define cdprintf(x...) #define DEBUG_CD #define TRAY_OPEN 0x0500 // TRAY OPEN CDD status @@ -660,7 +659,7 @@ PICO_INTERNAL int Close_Tray_CDD_cC(void) Pico_mcd->scd.Status_CDC &= ~1; // Stop CDC read - printf("tray close\n"); + elprintf(EL_STATUS, "tray close\n"); if (PicoMCDcloseTray != NULL) CD_Present = PicoMCDcloseTray(); @@ -685,7 +684,7 @@ PICO_INTERNAL int Open_Tray_CDD_cD(void) Pico_mcd->scd.Status_CDC &= ~1; // Stop CDC read - printf("tray open\n"); + elprintf(EL_STATUS, "tray open\n"); Unload_ISO(); CD_Present = 0;