Fixed crash after running tests & pressing resume

This commit is contained in:
Souryo 2014-06-23 14:18:52 -04:00
parent 94bfda12b4
commit 1f0afc5aec

View file

@ -188,7 +188,7 @@ namespace NES {
_console.reset(new Console(_currentROM));
}
if(!_console) {
if(!_console && _currentROM.length() > 0) {
_console.reset(new Console(_currentROM));
}