libretro: drop sram clear

It's done by the core. If the core is missing something, core itself
needs to be fixed.
This commit is contained in:
notaz 2017-10-13 23:31:22 +03:00
parent bce144211c
commit a4fa71d4da
2 changed files with 3 additions and 20 deletions

View file

@ -61,8 +61,9 @@ void PicoExit(void)
PicoCartUnload();
z80_exit();
if (Pico.sv.data)
free(Pico.sv.data);
free(Pico.sv.data);
Pico.sv.data = NULL;
Pico.sv.start = Pico.sv.end = 0;
pevt_dump();
}