snes9x/apu/bapu/snes/snes.hpp

48 lines
531 B
C++
Raw Normal View History

2011-06-12 06:25:22 +00:00
#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;
2011-06-12 06:25:22 +00:00
}
void port_write (uint8 port, uint8 data)
{
2011-06-12 06:25:22 +00:00
}
uint8 port_read (uint8 port)
{
return 0;
}
};
extern CPU cpu;
#include "smp/smp.hpp"
#include "dsp/dsp.hpp"
} /* namespace SNES */
#endif