參考資訊:
https://github.com/mamedev/mame/releases/tag/mame0138
步驟如下:
$ cd $ wget https://github.com/mamedev/mame/archive/mame0138.tar.gz $ tar xvf mame0138.tar.gz $ cd mame-mame0138 $ vim makefile 215 SYMBOLS = 1 685 $(LD) $(LDFLAGS) $(LDFLAGSEMULATOR) $^ $(LIBS) -o $@ -pthread $ vim src/emu/mconfig.h 13 #define offsetof(TYPE, MEMBER) ((size_t)&((TYPE *)0)->MEMBER) $ vim src/mame/machine/slikshot.c +280 280 *inter2 = 0x30f2e / (_27d8 + (((unsigned long)abs((INT8)vx) << 16) / 0x58f8c)); 281 inter2a = 0x30f2e / (_27d8 - (((unsigned long)abs((INT8)vx) << 16) / 0x58f8c)); $ make