X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fmenu.c;h=87b878889a24093aa6421696ce28bb44d509c23e;hp=a7aa8b2a81272808e1dab130d2f32509a75577b3;hb=dc990066a301c231e5982a346f4809b4e0247a51;hpb=4f5a1b2a86d077d32086de91f487a2ee5270714d diff --git a/frontend/menu.c b/frontend/menu.c index a7aa8b2a..87b87888 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;