define pointers correctly

This commit is contained in:
nino-porcino 2022-01-31 11:04:16 +01:00
parent 55a9d44f59
commit 037223fe00
1 changed files with 4 additions and 4 deletions

View File

@ -15,11 +15,11 @@
#include "utils.h"
#ifdef APPLE1
const byte *VDP_DATA = (byte *) 0xCC00; // TMS9918 data port (VRAM)
const byte *VDP_REG = (byte *) 0xCC01; // TMS9918 register port (write) or status (read)
byte *const VDP_DATA = (byte *) 0xCC00; // TMS9918 data port (VRAM)
byte *const VDP_REG = (byte *) 0xCC01; // TMS9918 register port (write) or status (read)
#else
const byte *VDP_DATA = (byte *) 0xA000; // TMS9918 data port (VRAM)
const byte *VDP_REG = (byte *) 0xA001; // TMS9918 register port (write) or status (read)
byte *const VDP_DATA = (byte *) 0xA000; // TMS9918 data port (VRAM)
byte *const VDP_REG = (byte *) 0xA001; // TMS9918 register port (write) or status (read)
#endif
// control port bits