mirror of
https://github.com/mupen64plus/mupen64plus-rsp-cxd4.git
synced 2024-05-28 16:57:57 -04:00
Fix implicit declaration of function 'init_regs' warning and subsequent undefined symbol issue
This commit is contained in:
parent
e4ae22295e
commit
502460a679
4
module.c
4
module.c
|
@ -247,6 +247,8 @@ static const char DLL_about[] =
|
|||
"Thanks for test RDP: Jabo, ziggy, angrylion\n"\
|
||||
"RSP driver examples: bpoint, zilmar, Ville Linde";
|
||||
|
||||
#endif
|
||||
|
||||
static void init_regs(void)
|
||||
{
|
||||
register size_t i, j;
|
||||
|
@ -325,6 +327,8 @@ static void init_regs(void)
|
|||
*CR[0xC] += *CR[0xD] + *CR[0xE] + *CR[0xF]; /* random total clock cycles */
|
||||
}
|
||||
|
||||
#if !defined(M64P_PLUGIN_API)
|
||||
|
||||
EXPORT void CALL CloseDLL(void)
|
||||
{
|
||||
DRAM = NULL; /* so DllTest benchmark doesn't think ROM is still open */
|
||||
|
|
Loading…
Reference in a new issue