X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdac.cpp;h=4cf8da2d94710468c75083282007ec7ebc977c25;hb=94e1e961b57f253b760298ab0bae96a7de6d20fa;hp=9dc1a2ef28c34bb9b7d32d2fe04b67e53e1f4948;hpb=f95620384355f3db89f779e1e7be59260ecfc6ff;p=virtualjaguar diff --git a/src/dac.cpp b/src/dac.cpp index 9dc1a2e..4cf8da2 100644 --- a/src/dac.cpp +++ b/src/dac.cpp @@ -4,6 +4,13 @@ // Originally by David Raingeard // GCC/SDL port by Niels Wagenaar (Linux/WIN32) and Caz (BeOS) // Rewritten by James L. Hammons +// (C) 2010 Underground Software +// +// JLH = James L. Hammons +// +// Who When What +// --- ---------- ------------------------------------------------------------- +// JLH 01/16/2010 Created this log ;-) // // Need to set up defaults that the BIOS sets for the SSI here in DACInit()... !!! FIX !!! @@ -22,10 +29,11 @@ #include "dac.h" #include "SDL.h" -#include "gui.h" +//#include "gui.h" #include "jaguar.h" #include "log.h" #include "m68k.h" +//#include "memory.h" #include "settings.h" //#define DEBUG_DAC @@ -222,7 +230,8 @@ WriteLog("Tail=%X, Head=%X", ltail, lhead); WriteLog("From while: Tail=%X, Head=%X", (LeftFIFOTailPtr + 2) & (BUFFER_SIZE - 1), LeftFIFOHeadPtr); // LogDone(); // exit(0); - GUICrashGracefully("Stuck in left DAC spinlock!"); +#warning "Reimplement GUICrashGracefully!" +// GUICrashGracefully("Stuck in left DAC spinlock!"); return; } }//*/ @@ -313,7 +322,8 @@ WriteLog("Tail=%X, Head=%X", rtail, rhead); WriteLog("From while: Tail=%X, Head=%X", (RightFIFOTailPtr + 2) & (BUFFER_SIZE - 1), RightFIFOHeadPtr); // LogDone(); // exit(0); - GUICrashGracefully("Stuck in right DAC spinlock!"); +#warning "Reimplement GUICrashGracefully!" +// GUICrashGracefully("Stuck in right DAC spinlock!"); return; } }//*/ @@ -351,7 +361,8 @@ WriteLog("Tail=%X, Head=%X", rtail, rhead); WriteLog("DAC: Failed to initialize SDL sound: %s.\nDesired freq: %u\nShutting down!\n", SDL_GetError(), desired.freq); // LogDone(); // exit(1); - GUICrashGracefully("Failed to initialize SDL sound!"); +#warning "Reimplement GUICrashGracefully!" +// GUICrashGracefully("Failed to initialize SDL sound!"); return; } }