o add bsnes

This commit is contained in:
optixx
2009-04-08 21:29:36 +02:00
parent bcb4a055e9
commit 27b58a09f2
413 changed files with 71887 additions and 0 deletions

21
bsnes/smp/ssmp/core/core.cpp Executable file
View File

@@ -0,0 +1,21 @@
#ifdef SSMP_CPP
#include "opfn.cpp"
void sSMP::enter() { loop:
tracer.trace_smpop(); //traces SMP opcode (only if tracer is enabled)
status.in_opcode = true;
switch(op_readpc()) {
#include "op_mov.cpp"
#include "op_pc.cpp"
#include "op_read.cpp"
#include "op_rmw.cpp"
#include "op_misc.cpp"
}
status.in_opcode = false;
goto loop;
}
#endif //ifdef SSMP_CPP