Revised channel access from EXI_DeviceMemoryCard

This commit is contained in:
TotalNerd committed 2014-07-18 20:06:03 -05:00
1 parent f602372885
commit b2ac65bb21
8 files changed
+55 -27

No files matched your search

+5
View File
@@ -97,6 +97,11 @@ void ChangeDevice(const u8 channel, const TEXIDevices device_type, const u8 devi
CoreTiming::ScheduleEvent_Threadsafe(500000000, changeDevice, ((u64)channel << 32) | ((u64)device_type << 16) | device_num);
}
CEXIChannel* GetChannel(u32 index)
{
return g_Channels[index];
}
IEXIDevice* FindDevice(TEXIDevices device_type, int customIndex)
{
for (auto& channel : g_Channels)