fixed some portability issues
[picodrive.git] / Pico / cd / cd_sys.c
index c0001d2..581583b 100644 (file)
@@ -1,6 +1,6 @@
 /***********************************************************\r
  *                                                         *\r
- * This source was taken from the Gens project             *\r
+ * This source file was taken from the Gens project        *\r
  * Written by Stéphane Dallongeville                       *\r
  * Copyright (c) 2002 by Stéphane Dallongeville            *\r
  * Modified/adapted for PicoDrive by notaz, 2007           *\r
@@ -13,8 +13,6 @@
 #include "cd_sys.h"\r
 #include "cd_file.h"\r
 \r
-#define cdprintf dprintf\r
-//#define cdprintf(x...)\r
 #define DEBUG_CD\r
 \r
 #define TRAY_OPEN      0x0500          // TRAY OPEN CDD status\r
@@ -660,7 +658,7 @@ PICO_INTERNAL int Close_Tray_CDD_cC(void)
 \r
        Pico_mcd->scd.Status_CDC &= ~1;                 // Stop CDC read\r
 \r
-       printf("tray close\n");\r
+       elprintf(EL_STATUS, "tray close\n");\r
 \r
        if (PicoMCDcloseTray != NULL)\r
                CD_Present = PicoMCDcloseTray();\r
@@ -685,7 +683,7 @@ PICO_INTERNAL int Open_Tray_CDD_cD(void)
 \r
        Pico_mcd->scd.Status_CDC &= ~1;                 // Stop CDC read\r
 \r
-       printf("tray open\n");\r
+       elprintf(EL_STATUS, "tray open\n");\r
 \r
        Unload_ISO();\r
        CD_Present = 0;\r