Fix crashes trying to frameadvance or exit with no ROM loaded
This commit is contained in:
parent
67c78124d5
commit
f88b3eaee5
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue