(NGC) Fix build

This commit is contained in:
twinaphex 2013-01-09 05:08:08 +01:00
parent d5b3cef544
commit 905a2046f4
2 changed files with 3 additions and 2 deletions

View File

@ -597,7 +597,7 @@ static void system_exitspawn(void)
static void system_deinit(void) static void system_deinit(void)
{ {
#if defined(HAVE_LOGGER) || defined(HAVE_FILE_LOGGER) #if defined(HAVE_LOGGER) || defined(HAVE_FILE_LOGGER)
inl_logger_deinit() inl_logger_deinit();
#endif #endif
} }

View File

@ -280,11 +280,12 @@ static void gx_input_poll(void *data)
for (unsigned port = 0; port < MAX_PADS; port++) for (unsigned port = 0; port < MAX_PADS; port++)
{ {
uint32_t type = 0;
uint32_t down = 0; uint32_t down = 0;
uint64_t *state_cur = &pad_state[port]; uint64_t *state_cur = &pad_state[port];
#ifdef HW_RVL #ifdef HW_RVL
uint32_t type = 0;
if (WPAD_Probe(port, &type) == WPAD_ERR_NONE) if (WPAD_Probe(port, &type) == WPAD_ERR_NONE)
{ {
WPADData *wpaddata = WPAD_Data(port); WPADData *wpaddata = WPAD_Data(port);