For Qt GUI, added logic to clear screen to black pixels on ROM close.
This commit is contained in:
parent
68e43eeb6b
commit
ced185df89
|
@ -401,6 +401,12 @@ CloseGame(void)
|
|||
{
|
||||
std::string filename;
|
||||
|
||||
if ( nes_shm )
|
||||
{ // Clear Screen on Game Close
|
||||
nes_shm->clear_pixbuf();
|
||||
nes_shm->blitUpdated = 1;
|
||||
}
|
||||
|
||||
if (!isloaded) {
|
||||
return(0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue