📄 d_nsf.c
字号:
#include "d_NSF.h"
PMapperParam MP; /* Used by all mappers, might as well drop it in here */
extern CTMapperInfo MapperInfo_NSF;
static CPMapperInfo __cdecl LoadMapper (int Mapper)
{
if (Mapper == 666)
return &MapperInfo_NSF;
else return NULL;
}
static CPMapperInfo __cdecl LoadBoard (char *Board)
{
if (!strcmp(Board,"NSF"))
return &MapperInfo_NSF;
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(0,"Mapper interface incompatible!","Mappers",MSGBOX_FLAGS);
return NULL;
}
return &DLL_Info;
}
__declspec(dllexport) void __cdecl Unload_DLL (void)
{
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -