snes9x/apu/bapu/snes/snes.hpp
Brandon Wright 10a521e39c byuu APU now being used. Nothing works yet.
Sync is broken, but the new SMP will handle ratios now.
Save states need to be redone without serializer.
No SPC dumping.
2011-06-18 05:31:44 -05:00

48 lines
531 B
C++
Executable File

#ifndef __SNES_HPP
#define __SNES_HPP
#include "snes9x.h"
#define alwaysinline inline
#define debugvirtual
namespace SNES
{
struct Processor
{
unsigned frequency;
int64 clock;
};
class CPU
{
public:
enum { Threaded = false };
int frequency;
void enter ()
{
return;
}
void port_write (uint8 port, uint8 data)
{
}
uint8 port_read (uint8 port)
{
return 0;
}
};
extern CPU cpu;
#include "smp/smp.hpp"
#include "dsp/dsp.hpp"
} /* namespace SNES */
#endif