]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/cdrom.cpp
Fix configuration dialog crashing.
[virtualjaguar] / src / cdrom.cpp
index c45a8f0306c06c5970a8a52bbd98e4b1daa4e45e..60522ca28fde3d78a92b66539d0b9a00f9905993 100644 (file)
@@ -3,10 +3,10 @@
 //
 // 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 L. Hammons <jlhamm@acm.org>
+// JLH = James Hammons <jlhamm@acm.org>
 //
 // Who  When        What
 // ---  ----------  -------------------------------------------------------------
@@ -17,7 +17,7 @@
 
 #include <string.h>                                                                    // For memset, etc.
 //#include "jaguar.h"                                                                  // For GET32/SET32 macros
-#include "m68k.h"
+//#include "m68k.h"    //???
 //#include "memory.h"
 #include "cdintf.h"                                                                    // System agnostic CD interface functions
 #include "log.h"
@@ -841,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);
 }