Linux (gtk): Clear screen after reset.

This commit is contained in:
alvinwong 2014-03-03 08:50:33 +00:00
parent 443cef56be
commit 037cf4e065
1 changed files with 3 additions and 0 deletions

View File

@ -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();
} }