mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-06 03:40:12 +00:00
Wiimote: Cleanup warnings of -Wmissing-variable-declarations
While I am here, make g_wiimote_scanner as static as well.
This commit is contained in:
parent
62707986b7
commit
0bd6016ad0
@ -69,9 +69,9 @@ struct WiimotePoolEntry
|
||||
|
||||
// Connected wii remotes are placed here when no open slot is set to "Real".
|
||||
// They are then automatically disconnected after some time.
|
||||
std::vector<WiimotePoolEntry> g_wiimote_pool;
|
||||
static std::vector<WiimotePoolEntry> g_wiimote_pool;
|
||||
|
||||
WiimoteScanner g_wiimote_scanner;
|
||||
static WiimoteScanner g_wiimote_scanner;
|
||||
|
||||
// Attempt to fill a real wiimote slot from the pool or by stealing from ControllerInterface.
|
||||
static void TryToFillWiimoteSlot(u32 index)
|
||||
|
@ -195,7 +195,6 @@ private:
|
||||
|
||||
// Mutex is recursive as ControllerInterface may call AddWiimoteToPool within ProcessWiimotePool.
|
||||
extern std::recursive_mutex g_wiimotes_mutex;
|
||||
extern WiimoteScanner g_wiimote_scanner;
|
||||
extern std::unique_ptr<Wiimote> g_wiimotes[MAX_BBMOTES];
|
||||
|
||||
void AddWiimoteToPool(std::unique_ptr<Wiimote>);
|
||||
|
Loading…
x
Reference in New Issue
Block a user