- Blank the screen on invalid video state.

- Name the CPU thread.
master
Nabile Rahmani 2018-12-24 17:13:27 +01:00
parent ac64a2d0c4
commit 0753fbce9b
2 changed files with 3 additions and 2 deletions

View File

@ -126,7 +126,7 @@ namespace DotN64.Desktop.SDL
if (frame.Size <= ControlRegister.PixelSize.Reserved || frame.Width <= 0 || frame.Height <= 0) // Do nothing on Blank or Reserved frame.
{
// Might want to clear the screen.
SDL_RenderClear(renderer);
SDL_RenderPresent(renderer);
return;
}

View File

@ -91,7 +91,8 @@ namespace DotN64
Debugger.Run(true);
PowerOff();
}
});
})
{ Name = nameof(VR4300) };
cpuThread.Start();
if (VideoOutput != null)