psx - setup a default framebuffer before emulating a frame, so the frontend doesnt freak out
This commit is contained in:
parent
ba3a6ca817
commit
b1fa5b64fd
|
@ -230,6 +230,11 @@ namespace BizHawk.Emulation.Cores.Sony.PSX
|
||||||
VirtualWidth = 800;
|
VirtualWidth = 800;
|
||||||
VirtualHeight = 480;
|
VirtualHeight = 480;
|
||||||
|
|
||||||
|
//set a default framebuffer
|
||||||
|
BufferWidth = VirtualWidth;
|
||||||
|
BufferHeight = VirtualHeight;
|
||||||
|
frameBuffer = new int[BufferWidth*BufferHeight];
|
||||||
|
|
||||||
if (disc != null)
|
if (disc != null)
|
||||||
{
|
{
|
||||||
OctoshockDll.shock_OpenTray(psx);
|
OctoshockDll.shock_OpenTray(psx);
|
||||||
|
|
Loading…
Reference in New Issue