mirror of
https://github.com/devinacker/bsnes-plus.git
synced 2024-05-15 02:39:51 -04:00
clear screen after power off (regression from a632b50acc
)
This commit is contained in:
parent
dbdfff1e37
commit
14e00375ba
|
@ -724,7 +724,10 @@ void CanvasObject::mouseMoveEvent(QMouseEvent *event) {
|
|||
//custom video render and mouse capture functionality
|
||||
|
||||
QPaintEngine* CanvasWidget::paintEngine() const {
|
||||
video.refresh();
|
||||
if(application.power && SNES::cartridge.loaded())
|
||||
video.refresh();
|
||||
else
|
||||
video.clear();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue