diff options
author | notaz | 2013-01-06 04:11:26 +0200 |
---|---|---|
committer | notaz | 2013-01-06 04:11:26 +0200 |
commit | 92879b62c06f6c1d363a138f77f7727d0fc7721e (patch) | |
tree | bb404095a1dd49be9796064fdaabba33ec48efb2 /frontend | |
parent | 804789d73ee66857216f1e32c74c80dd65ef587f (diff) | |
download | pcsx_rearmed-92879b62c06f6c1d363a138f77f7727d0fc7721e.tar.gz pcsx_rearmed-92879b62c06f6c1d363a138f77f7727d0fc7721e.tar.bz2 pcsx_rearmed-92879b62c06f6c1d363a138f77f7727d0fc7721e.zip |
fully reinit drc on change
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/menu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/frontend/menu.c b/frontend/menu.c index 8e182bf..eb004d8 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -2499,9 +2499,12 @@ void menu_prepare_emu(void) plat_video_menu_leave(); psxCpu = (Config.Cpu == CPU_INTERPRETER) ? &psxInt : &psxRec; - if (psxCpu != prev_cpu) + if (psxCpu != prev_cpu) { + prev_cpu->Shutdown(); + psxCpu->Init(); // note that this does not really reset, just clears drc caches psxCpu->Reset(); + } // core doesn't care about Config.Cdda changes, // so handle them manually here |