mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
cellMic: use s32 consistently
This commit is contained in:
parent
6e25fea16a
commit
bb3ac62126
@ -133,7 +133,7 @@ void mic_context::load_config_and_init()
|
||||
{
|
||||
case microphone_handler::standard:
|
||||
{
|
||||
for (u32 index = 0; index < device_list.size(); index++)
|
||||
for (s32 index = 0; index < static_cast<s32>(device_list.size()); index++)
|
||||
{
|
||||
mic_list.emplace(std::piecewise_construct, std::forward_as_tuple(index), std::forward_as_tuple(microphone_handler::standard));
|
||||
mic_list.at(index).add_device(device_list[index]);
|
||||
|
@ -353,7 +353,7 @@ public:
|
||||
|
||||
u64 event_queue_key = 0;
|
||||
|
||||
std::unordered_map<u8, microphone_device> mic_list;
|
||||
std::unordered_map<s32, microphone_device> mic_list;
|
||||
|
||||
shared_mutex mutex;
|
||||
atomic_t<u32> init = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user