mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-02-09 23:30:51 +00:00
ppcexec: initialize interpreter lookup tables.
This commit is contained in:
parent
2b19b0b237
commit
b81de4af48
@ -90,7 +90,7 @@ static PPCOpcode SubOpcode16Grabber[] = {ppc_bc, ppc_bcl, ppc_bca, ppc_bcla};
|
||||
|
||||
static PPCOpcode SubOpcode18Grabber[] = {ppc_b, ppc_bl, ppc_ba, ppc_bla};
|
||||
|
||||
/** Instructions decoding tables for integer,
|
||||
/** Instructions decoding tables for integer,
|
||||
single floating-point, and double-floating point ops respectively */
|
||||
|
||||
PPCOpcode SubOpcode31Grabber[1024] = {ppc_illegalsubop19};
|
||||
@ -656,6 +656,8 @@ void ppc_cpu_init(MemCtrlBase* mem_ctrl, uint32_t proc_version) {
|
||||
|
||||
//test_timebase_update();
|
||||
|
||||
initialize_ppc_opcode_tables();
|
||||
|
||||
/* initialize timer variables */
|
||||
#ifdef NEW_TBR_UPDATE_ALGO
|
||||
cycles_count = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user