X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdac.h;h=ef30549a237436128fa1c4a15ea5c009d1249e98;hb=10f249cb763ddc00cd80e1d47940784e25d3e4a7;hp=914ff6a5d6e1c11ea176d0b46a63a1ac3ee932b9;hpb=2ae315f25e623cc8279d3c9012a3a166d86684c2;p=virtualjaguar diff --git a/src/dac.h b/src/dac.h index 914ff6a..ef30549 100644 --- a/src/dac.h +++ b/src/dac.h @@ -5,11 +5,17 @@ #ifndef __DAC_H__ #define __DAC_H__ -#include "types.h" +//this is here, because we have to compensate in more than just dac.cpp... +#define NEW_DAC_CODE // New code paths! + +//#include "types.h" +#include "memory.h" void DACInit(void); void DACReset(void); void DACDone(void); +int GetCalculatedFrequency(void); +void DACSetNewFrequency(int); // DAC memory access @@ -20,6 +26,6 @@ uint16 DACReadWord(uint32 offset, uint32 who = UNKNOWN); // Global variables -extern uint16 lrxd, rrxd; // I2S ports (into Jaguar) +//extern uint16 lrxd, rrxd; // I2S ports (into Jaguar) #endif // __DAC_H__