Debugger: Fixed issue when switching from NSF file to regular ROM while debugger is opened (no video was shown)
This commit is contained in:
parent
0c9cbe4da0
commit
7debc4e98c
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ bool Console::Initialize(VirtualFile &romFile, VirtualFile &patchFile)
|
|||
|
||||
if(_hdData && (!_hdData->Tiles.empty() || !_hdData->Backgrounds.empty())) {
|
||||
_ppu.reset(new HdPpu(_mapper.get(), _controlManager.get(), _hdData->Version));
|
||||
} else if(NsfMapper::GetInstance()) {
|
||||
} else if(std::dynamic_pointer_cast<NsfMapper>(_mapper)) {
|
||||
//Disable most of the PPU for NSFs
|
||||
_ppu.reset(new NsfPpu(_mapper.get(), _controlManager.get()));
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue