(DInput) Buildfix pt. 2

This commit is contained in:
twinaphex 2015-04-08 02:04:02 +02:00
parent 58321991b0
commit 78e5206e8f
2 changed files with 3 additions and 1 deletions

View File

@ -82,7 +82,7 @@ void dinput_destroy_context(void)
g_dinput_ctx = NULL;
}
static bool dinput_init_context(void)
bool dinput_init_context(void)
{
if (g_dinput_ctx)
return true;

View File

@ -47,6 +47,8 @@ static const GUID common_xinput_guids[] = {
/* forward declarations */
void dinput_destroy_context(void);
bool dinput_init_context(void);
bool g_xinput_block_pads;
int g_xinput_pad_indexes[MAX_USERS];
LPDIRECTINPUT8 g_dinput_ctx;