Fix warning

This commit is contained in:
twinaphex 2016-08-27 02:21:43 +02:00
parent 8aeefbb793
commit 01dc5507fe

View File

@ -59,7 +59,7 @@ struct descriptor {
uint16_t *value; uint16_t *value;
}; };
struct remote_message { struct remote_joypad_message {
int port; int port;
int device; int device;
int index; int index;
@ -203,7 +203,7 @@ void NETRETROPAD_CORE_PREFIX(retro_get_system_av_info)(
static void retropad_update_input(void) static void retropad_update_input(void)
{ {
struct descriptor *desc; struct descriptor *desc;
struct remote_message msg; struct remote_joypad_message msg;
uint16_t state; uint16_t state;
uint16_t old; uint16_t old;
int offset; int offset;