save_core_state() is not supposed to call runtosave!

This commit is contained in:
Ilari Liusvaara 2011-11-10 21:22:05 +02:00
parent 5138e9f8a9
commit 54e0ed37e0

View file

@ -654,7 +654,6 @@ std::map<std::string, std::vector<char>> load_sram_commandline(const std::vector
std::vector<char> save_core_state() throw(std::bad_alloc)
{
SNES::system.runtosave();
std::vector<char> ret;
serializer s = SNES::system.serialize();
ret.resize(s.size());