- FIX CIELOS
- FIX HUGE STACKS

BYE
This commit is contained in:
tildearrow 2025-04-11 20:21:46 -05:00
parent ca67378173
commit 2ea7bf65ea
4 changed files with 285 additions and 277 deletions

View file

@ -24,6 +24,7 @@
#include "safeReader.h"
#define DIV_MAX_CSTRACE 64
#define DIV_MAX_CSSTACK 128
class DivEngine;
@ -39,7 +40,7 @@ struct DivCSChannelState {
int portaTarget, portaSpeed;
unsigned char arp, arpStage, arpTicks, loopCount;
unsigned int callStack[16];
unsigned int callStack[DIV_MAX_CSSTACK];
unsigned char callStackPos;
unsigned int trace[DIV_MAX_CSTRACE];