--- hatari/src/includes/video.h 2019/04/09 08:48:44 1.1.1.13 +++ hatari/src/includes/video.h 2019/04/09 08:52:07 1.1.1.15 @@ -113,16 +113,15 @@ extern int STRes; extern int TTRes; extern int nFrameSkips; -extern bool bUseSTShifter; extern bool bUseHighRes; extern int nVBLs; extern int nHBL; extern int nStartHBL; extern int nEndHBL; extern int OverscanMode; -extern Uint16 HBLPalettes[]; +extern Uint16 HBLPalettes[HBL_PALETTE_LINES]; extern Uint16 *pHBLPalettes; -extern Uint32 HBLPaletteMasks[]; +extern Uint32 HBLPaletteMasks[HBL_PALETTE_MASKS]; extern Uint32 *pHBLPaletteMasks; extern Uint32 VideoBase; extern int nScreenRefreshRate; @@ -135,12 +134,14 @@ extern int TimerBEventCountCycleStart; extern int LastCycleHblException; +#define HBL_JITTER_ARRAY_SIZE 5 extern int HblJitterIndex; -extern int HblJitterArray[]; -extern int HblJitterArrayPending[]; +extern const int HblJitterArray[HBL_JITTER_ARRAY_SIZE]; +extern const int HblJitterArrayPending[HBL_JITTER_ARRAY_SIZE]; +#define VBL_JITTER_ARRAY_SIZE 5 extern int VblJitterIndex; -extern int VblJitterArray[]; -extern int VblJitterArrayPending[]; +extern const int VblJitterArray[VBL_JITTER_ARRAY_SIZE]; +extern const int VblJitterArrayPending[VBL_JITTER_ARRAY_SIZE]; /*--------------------------------------------------------------*/