- Blank the screen on invalid video state.

- Name the CPU thread.
master
Nabile Rahmani 5 years ago
parent ac64a2d0c4
commit 0753fbce9b
  1. 2
      DotN64.Desktop/SDL/Window.cs
  2. 3
      DotN64/Nintendo64.cs

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

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

Loading…
Cancel
Save