Fix compile issue (#891)

Fix compile issue after commit:
e104bc6f9b
This commit is contained in:
bladeoner 2019-12-31 18:32:29 +01:00 committed by dborth
parent e104bc6f9b
commit d9f6d1d8b3
2 changed files with 3 additions and 0 deletions

View File

@ -900,9 +900,11 @@ void SetDefaultButtonMap ()
SetControllers(); SetControllers();
} }
#ifdef HW_RVL
char* GetUSBControllerInfo() char* GetUSBControllerInfo()
{ {
static char info[50]; static char info[50];
snprintf(info, 50, "Retrode: %s, XBOX360: %s", Retrode_Status(), XBOX360_Status()); snprintf(info, 50, "Retrode: %s, XBOX360: %s", Retrode_Status(), XBOX360_Status());
return info; return info;
} }
#endif

View File

@ -7,6 +7,7 @@ extern "C" {
bool Retrode_ScanPads(); bool Retrode_ScanPads();
u32 Retrode_ButtonsHeld(int chan); u32 Retrode_ButtonsHeld(int chan);
char* Retrode_Status();
#ifdef __cplusplus #ifdef __cplusplus
} }