Fix warnings

This fixes warnings in:
- Source/Core/InputCommon/ControllerEmu.h: avoid shadowing other
  variables (my fault)
- Source/Core/Core/IPC_HLE/WII_IPC_HLE.h: made
  SDIO_EventNotify_CPUThread static as it's not used anywhere else
This commit is contained in:
Léo Lam committed 2016-07-18 23:38:42 +02:00
1 parent 320e0d101b
commit 0e1aeedb5b
2 files changed
+10 -9

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ static void EnqueueEvent(u64 userdata, s64 cycles_late = 0)
Update();
}
void SDIO_EventNotify_CPUThread(u64 userdata, s64 cycles_late)
static void SDIO_EventNotify_CPUThread(u64 userdata, s64 cycles_late)
{
auto device =
static_cast<CWII_IPC_HLE_Device_sdio_slot0*>(GetDeviceByName("/dev/sdio/slot0").get());