o add bsnes
This commit is contained in:
21
bsnes/smp/ssmp/core/core.cpp
Executable file
21
bsnes/smp/ssmp/core/core.cpp
Executable 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
|
||||
Reference in New Issue
Block a user