mirror of
https://github.com/devinacker/bsnes-plus.git
synced 2025-04-02 10:52:46 -04:00
32 lines
484 B
C++
32 lines
484 B
C++
#include <snes.hpp>
|
|
#include <nall/snes/smp.hpp>
|
|
|
|
#define SMPCORE_CPP
|
|
namespace SNES {
|
|
|
|
#include "serialization.cpp"
|
|
#include "algorithms.cpp"
|
|
#include "disassembler/disassembler.cpp"
|
|
|
|
#define A 0
|
|
#define X 1
|
|
#define Y 2
|
|
#define SP 3
|
|
|
|
#include "opcode_mov.cpp"
|
|
#include "opcode_pc.cpp"
|
|
#include "opcode_read.cpp"
|
|
#include "opcode_rmw.cpp"
|
|
#include "opcode_misc.cpp"
|
|
#include "table.cpp"
|
|
|
|
#undef A
|
|
#undef X
|
|
#undef Y
|
|
#undef SP
|
|
|
|
SMPcore::SMPcore() {
|
|
initialize_opcode_table();
|
|
}
|
|
|
|
}
|