Fix implicit declaration of function 'init_regs' warning and subsequent undefined symbol issue

This commit is contained in:
Julian Sikorski 2019-07-17 20:17:13 +02:00
parent e4ae22295e
commit 502460a679

View file

@ -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 */