]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/cdrom.cpp
Fix configuration dialog crashing.
[virtualjaguar] / src / cdrom.cpp
index a7569ac1eaec9a95ad0293c87188ad2a92fba6c6..60522ca28fde3d78a92b66539d0b9a00f9905993 100644 (file)
@@ -3,14 +3,22 @@
 //
 // Originally by David Raingeard
 // GCC/SDL port by Niels Wagenaar (Linux/WIN32) and Caz (BeOS)
-// Extensive rewrites/cleanups/fixes by James L. Hammons
+// Extensive rewrites/cleanups/fixes by James Hammons
+// (C) 2010 Underground Software
+//
+// JLH = James Hammons <jlhamm@acm.org>
+//
+// Who  When        What
+// ---  ----------  -------------------------------------------------------------
+// JLH  01/16/2010  Created this log ;-)
 //
 
 #include "cdrom.h"
 
 #include <string.h>                                                                    // For memset, etc.
-#include "jaguar.h"                                                                    // For GET32/SET32 macros
-#include "m68k.h"
+//#include "jaguar.h"                                                                  // For GET32/SET32 macros
+//#include "m68k.h"    //???
+//#include "memory.h"
 #include "cdintf.h"                                                                    // System agnostic CD interface functions
 #include "log.h"
 #include "dac.h"
@@ -833,8 +841,9 @@ if (cdBufPtr % 32 == 30)
 
 bool ButchIsReadyToSend(void)
 {
+#ifdef LOG_CDROM_VERBOSE
 WriteLog("Butch is%s ready to send...\n", cdRam[I2CNTRL + 3] & 0x02 ? "" : " not");
-
+#endif
        return (cdRam[I2CNTRL + 3] & 0x02 ? true : false);
 }