X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fsms.c;h=5e328325622408145840862df8647b55f10bfbc3;hb=71f68165b6e50f58ddbc6e98a38c7dd4968ccca2;hp=e483291ab749113ee532274cfa268c55ff9d175d;hpb=19954be1966a04304b16d9180b003ec8ca3bc532;p=picodrive.git diff --git a/pico/sms.c b/pico/sms.c index e483291..5e32832 100644 --- a/pico/sms.c +++ b/pico/sms.c @@ -9,6 +9,7 @@ * - H counter */ #include "pico_int.h" +#include "memory.h" #include "sound/sn76496.h" static unsigned char vdp_data_read(void) @@ -168,7 +169,7 @@ static void write_bank(unsigned short a, unsigned char d) } } -static void MEMH_FUNC xwrite(unsigned int a, unsigned char d) +static void xwrite(unsigned int a, unsigned char d) { elprintf(EL_IO, "z80 write [%04x] %02x", a, d); if (a >= 0xc000)