From: Neils Wagenaar Date: Sat, 16 Aug 2003 17:25:54 +0000 (+0000) Subject: Added some needed constants, renamed 'pcm.h' to 'dac.h' X-Git-Tag: 1.0.5~31 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eec393ad84a023a5788204847d0bbaf8ecf0dd90;p=virtualjaguar Added some needed constants, renamed 'pcm.h' to 'dac.h' --- diff --git a/src/include/jaguar.h b/src/include/jaguar.h index f903f1b..6463c2f 100644 --- a/src/include/jaguar.h +++ b/src/include/jaguar.h @@ -15,7 +15,7 @@ #include "clock.h" #include "anajoy.h" #include "joystick.h" -#include "pcm.h" +#include "dac.h" #include "jagdasm.h" #include "dsnd.h" #include "cdrom.h" @@ -57,7 +57,15 @@ void JaguarExecute(int16 * backbuffer, bool render); #define SET16(r, a, v) r[(a)] = ((v) & 0xFF00) >> 8, r[(a)+1] = (v) & 0xFF #define GET16(r, a) ((r[(a)] << 8) | r[(a)+1]) -//Temp debug stuff +// Various clock rates + +#define M68K_CLOCK_RATE_PAL 13296950 +#define M68K_CLOCK_RATE_NTSC 13295453 +#define RISC_CLOCK_RATE_PAL 26593900 +#define RISC_CLOCK_RATE_NTSC 26590906 + + +//Temp debug stuff (will go away soon, so don't use these) void DumpMainMemory(void); uint8 * GetRamPtr(void);