Moved codegen_init() back to after mem_init() in pc.c:pc_init_modules(), fixes the emulator crashing on initialization with the recompiler enabled.

This commit is contained in:
OBattler
2017-10-03 05:33:31 +02:00
parent 63c532d940
commit a1b3c33054

View File

@@ -350,11 +350,13 @@ pc_init_modules(void)
cpuspeed2 = (AT) ? 2 : 1;
atfullspeed = 0;
codegen_init();
random_init();
mem_init();
codegen_init();
rom_load_bios(romset);
mem_add_bios();