mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
SI: Move MAX_SI_CHANNELS into the SerialInterface namespace
Given this constant is related to the serial interface, it shouldn't be outside of the namespace.
This commit is contained in:
@ -33,7 +33,7 @@ static jclass s_adapter_class;
|
||||
|
||||
static bool s_detected = false;
|
||||
static int s_fd = 0;
|
||||
static u8 s_controller_type[MAX_SI_CHANNELS] = {
|
||||
static u8 s_controller_type[SerialInterface::MAX_SI_CHANNELS] = {
|
||||
ControllerTypes::CONTROLLER_NONE, ControllerTypes::CONTROLLER_NONE,
|
||||
ControllerTypes::CONTROLLER_NONE, ControllerTypes::CONTROLLER_NONE};
|
||||
static u8 s_controller_rumble[4];
|
||||
@ -234,7 +234,7 @@ static void Reset()
|
||||
if (s_read_adapter_thread_running.TestAndClear())
|
||||
s_read_adapter_thread.join();
|
||||
|
||||
for (int i = 0; i < MAX_SI_CHANNELS; i++)
|
||||
for (int i = 0; i < SerialInterface::MAX_SI_CHANNELS; i++)
|
||||
s_controller_type[i] = ControllerTypes::CONTROLLER_NONE;
|
||||
|
||||
s_detected = false;
|
||||
|
Reference in New Issue
Block a user