mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-25 03:36:44 +00:00
cellMic: use s32 consistently
This commit is contained in:
parent
6e25fea16a
commit
bb3ac62126
2 changed files with 2 additions and 2 deletions
|
@ -133,7 +133,7 @@ void mic_context::load_config_and_init()
|
||||||
{
|
{
|
||||||
case microphone_handler::standard:
|
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.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]);
|
mic_list.at(index).add_device(device_list[index]);
|
||||||
|
|
|
@ -353,7 +353,7 @@ public:
|
||||||
|
|
||||||
u64 event_queue_key = 0;
|
u64 event_queue_key = 0;
|
||||||
|
|
||||||
std::unordered_map<u8, microphone_device> mic_list;
|
std::unordered_map<s32, microphone_device> mic_list;
|
||||||
|
|
||||||
shared_mutex mutex;
|
shared_mutex mutex;
|
||||||
atomic_t<u32> init = 0;
|
atomic_t<u32> init = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue