From bc5c7571b52064da169a4584f86d0ec8ac983ee1 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 8 Sep 2016 13:20:50 +0200 Subject: [PATCH] (Wii) Cleanup --- frontend/drivers/platform_gx.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/drivers/platform_gx.c b/frontend/drivers/platform_gx.c index 9ba23fe295..4c37656e47 100644 --- a/frontend/drivers/platform_gx.c +++ b/frontend/drivers/platform_gx.c @@ -25,8 +25,7 @@ #include #if defined(HW_RVL) && !defined(IS_SALAMANDER) -#include -#include +#include #include "../../memory/wii/mem2_manager.h" #endif @@ -99,17 +98,18 @@ static devoptab_t dotab_stdout = { #endif #ifdef HW_RVL -static struct { +static struct +{ bool mounted; const DISC_INTERFACE *interface; const char *name; } gx_devices[GX_DEVICE_END]; -static slock_t *gx_device_mutex; -static slock_t *gx_device_cond_mutex; -static scond_t *gx_device_cond; -static sthread_t *gx_device_thread; -static volatile bool gx_stop_dev_thread; +static slock_t *gx_device_mutex = NULL; +static slock_t *gx_device_cond_mutex = NULL; +static scond_t *gx_device_cond = NULL; +static sthread_t *gx_device_thread = NULL; +static volatile bool gx_stop_dev_thread = false; static void gx_devthread(void *a) {