mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-16 01:09:20 +01:00
EXI_Channel: Use std::array
This commit is contained in:
parent
a9d8a7decd
commit
642284fec4
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
|
|
||||||
@ -79,7 +80,7 @@ private:
|
|||||||
NUM_DEVICES = 3
|
NUM_DEVICES = 3
|
||||||
};
|
};
|
||||||
|
|
||||||
std::unique_ptr<IEXIDevice> m_pDevices[NUM_DEVICES];
|
std::array<std::unique_ptr<IEXIDevice>, NUM_DEVICES> m_pDevices;
|
||||||
|
|
||||||
// Since channels operate a bit differently from each other
|
// Since channels operate a bit differently from each other
|
||||||
u32 m_ChannelId;
|
u32 m_ChannelId;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user