d_fds.c
来自「一款游戏机的模拟器」· C语言 代码 · 共 42 行
C
42 行
#include "d_FDS.h"
PMapperParam MP; /* Used by all mappers, might as well drop it in here */
extern CTMapperInfo MapperInfo_FDS;
static CPMapperInfo __cdecl LoadMapper (int Mapper)
{
if (Mapper == 20)
return &MapperInfo_FDS;
else return NULL;
}
static CPMapperInfo __cdecl LoadBoard (char *Board)
{
if (!strcmp(Board,"HVC-FMR"))
return &MapperInfo_FDS;
else return NULL;
}
static TDLLInfo DLL_Info =
{
"Quietust <quietust@ircN.org>",
0x20030408, /* Date */
0x00010003, /* Version 1.3 */
LoadMapper,
LoadBoard
};
__declspec(dllexport) PDLLInfo __cdecl Load_DLL (int VersionRequired)
{
if (VersionRequired != CurrentMapperInterface)
{
MessageBox(NULL,"Mapper interface incompatible!","Mappers",MSGBOX_FLAGS);
return NULL;
}
return &DLL_Info;
}
__declspec(dllexport) void __cdecl Unload_DLL (void)
{
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?