1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

Added a missing asterisk to a "hardware" struct definition.

This commit is contained in:
Greg King 2020-07-20 21:40:44 -04:00
parent 517df130cc
commit b60b303c5d

View File

@ -290,7 +290,7 @@ struct __emul {
unsigned char keymap; /* Keyboard layout number */
const char detect[2]; /* "16" if running on x16emu */
};
#define EMULATOR (*(volatile struct __emul)0x9FB0)
#define EMULATOR (*(volatile struct __emul *)0x9FB0)
/* An array window into the half Mebibyte or two Mebibytes of banked RAM */
#define BANK_RAM ((unsigned char[0x2000])0xA000)