TSTHawk: Fix interlaced display so it doesn't crash because crashing is bad

This commit is contained in:
nattthebear 2017-07-10 19:12:44 -04:00
parent 597708765a
commit a1bcb90ee6
2 changed files with 4 additions and 4 deletions

View File

@ -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"
})

View File

@ -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)
{