Fix crashes trying to frameadvance or exit with no ROM loaded

This commit is contained in:
Ilari Liusvaara 2013-03-14 00:17:30 +02:00
parent 67c78124d5
commit f88b3eaee5

View file

@ -143,7 +143,9 @@ namespace
return x;
},
//Short name.
[]() -> std::string { return "null"; }
[]() -> std::string { return "null"; },
//Pre-emulate.
[](controller_frame& cf) -> void {}
};
core_core core_null(_core_null);