diff options
author | notaz | 2011-03-01 19:07:27 +0200 |
---|---|---|
committer | notaz | 2011-03-01 19:10:51 +0200 |
commit | dc990066a301c231e5982a346f4809b4e0247a51 (patch) | |
tree | e4c9b0dbfe47400ed398c87a8208373d1048d1c2 /frontend | |
parent | 4f5a1b2a86d077d32086de91f487a2ee5270714d (diff) | |
download | pcsx_rearmed-dc990066a301c231e5982a346f4809b4e0247a51.tar.gz pcsx_rearmed-dc990066a301c231e5982a346f4809b4e0247a51.tar.bz2 pcsx_rearmed-dc990066a301c231e5982a346f4809b4e0247a51.zip |
drc: clear dynarec completely on CD image change
most likely only BIOS can be reused anyway, no need to stress
invalidation code needlessly (even if it does it all well).
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/menu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/menu.c b/frontend/menu.c index a7aa8b2..87b8788 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -25,6 +25,7 @@ #include "../libpcsxcore/misc.h" #include "../libpcsxcore/cdrom.h" #include "../libpcsxcore/psemu_plugin_defs.h" +#include "../libpcsxcore/new_dynarec/new_dynarec.h" #include "../plugins/dfinput/pad.h" #include "revision.h" @@ -1349,6 +1350,8 @@ static int romsel_run(void) printf("selected file: %s\n", fname); + new_dynarec_clear_full(); + if (run_cd_image(fname) != 0) return -1; |