Linux (gtk): Clear screen after reset.
This commit is contained in:
parent
443cef56be
commit
037cf4e065
|
@ -1391,6 +1391,9 @@ static void Reset()
|
||||||
bool shouldBeRunning = desmume_running();
|
bool shouldBeRunning = desmume_running();
|
||||||
Pause();
|
Pause();
|
||||||
NDS_Reset();
|
NDS_Reset();
|
||||||
|
// Clear the NDS screen
|
||||||
|
memset(GPU_screen, 0xFF, sizeof(GPU_screen));
|
||||||
|
gtk_widget_queue_draw(pDrawingArea);
|
||||||
if (shouldBeRunning) {
|
if (shouldBeRunning) {
|
||||||
Launch();
|
Launch();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue