TSTHawk: Fix interlaced display so it doesn't crash because crashing is bad
This commit is contained in:
parent
597708765a
commit
a1bcb90ee6
|
@ -41,9 +41,9 @@ namespace BizHawk.Emulation.Cores.Consoles.NEC.PCFX
|
|||
DefaultFpsNumerator = 7159091,
|
||||
DefaultFpsDenominator = 455 * 263,
|
||||
DefaultWidth = 256,
|
||||
DefaultHeight = 240,
|
||||
DefaultHeight = 232,
|
||||
MaxWidth = 1024,
|
||||
MaxHeight = 232,
|
||||
MaxHeight = 480,
|
||||
MaxSamples = 2048,
|
||||
SystemId = "PCFX"
|
||||
})
|
||||
|
|
|
@ -671,8 +671,8 @@ struct MyFrameInfo: public FrameInfo
|
|||
uint32_t Buttons[3]; // port 1, port 2, console
|
||||
};
|
||||
static EmulateSpecStruct Ess;
|
||||
static int32_t LineWidths[256];
|
||||
static uint32_t FrameBuffer[1024 * 512];
|
||||
static int32_t LineWidths[480];
|
||||
static uint32_t FrameBuffer[1024 * 480];
|
||||
|
||||
EXPORT bool Init(int numDisks, const uint8_t *bios)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue