mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-25 09:29:48 +00:00
Work around an abort in mockingboard for now
This commit is contained in:
parent
0d109c404d
commit
360c2fded1
@ -2047,7 +2047,11 @@ void MB_UpdateCycles(ULONG uExecutedCycles)
|
|||||||
CpuCalcCycles(uExecutedCycles);
|
CpuCalcCycles(uExecutedCycles);
|
||||||
UINT64 uCycles = g_nCumulativeCycles - g_uLastCumulativeCycles;
|
UINT64 uCycles = g_nCumulativeCycles - g_uLastCumulativeCycles;
|
||||||
g_uLastCumulativeCycles = g_nCumulativeCycles;
|
g_uLastCumulativeCycles = g_nCumulativeCycles;
|
||||||
_ASSERT(uCycles < 0x10000);
|
//_ASSERT(uCycles < 0x10000);
|
||||||
|
if (uCycles >= 0x10000) {
|
||||||
|
printf("OOPS!!! Mockingboard failed assert!\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
USHORT nClocks = (USHORT) uCycles;
|
USHORT nClocks = (USHORT) uCycles;
|
||||||
|
|
||||||
for(unsigned int i=0; i<NUM_SY6522; i++)
|
for(unsigned int i=0; i<NUM_SY6522; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user