左边是错误,右边是代码。
我单纯就是下载了 gens 的 source,就编译一下啊。什么也没改。
gens_core/cpu/68k/cpu_68k.c:27:3: error: initializer element is not constant
{0xFF0000, 0xFFFFFF, (unsigned) &Ram_68k[0] - 0xFF0000},
struct STARSCREAM_PROGRAMREGION M68K_Fetch[] = {
{0x000000, 0x3FFFFF, (unsigned) 0x000000},
{0xFF0000, 0xFFFFFF, (unsigned) &Ram_68k[0] - 0xFF0000},
{0xF00000, 0xF0FFFF, (unsigned) &Ram_68k[0] - 0xF00000},
{0xEF0000, 0xEFFFFF, (unsigned) &Ram_68k[0] - 0xEF0000},
{-1, -1, (unsigned) NULL},
{-1, -1, (unsigned) NULL},
{-1, -1, (unsigned) NULL}
};
https://i.loli.net/2019/12/19/74oS8jfbBQuyRti.jpg