mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
Input: move m_is_init to base class
This commit is contained in:
parent
ddd261c943
commit
e499c3c6e3
7 changed files with 7 additions and 10 deletions
|
|
@ -338,7 +338,7 @@ pad_preview_values xinput_pad_handler::get_preview_values(const std::unordered_m
|
|||
|
||||
bool xinput_pad_handler::Init()
|
||||
{
|
||||
if (is_init)
|
||||
if (m_is_init)
|
||||
return true;
|
||||
|
||||
for (auto it : XINPUT_INFO::LIBRARY_FILENAMES)
|
||||
|
|
@ -357,7 +357,7 @@ bool xinput_pad_handler::Init()
|
|||
|
||||
if (xinputGetState && xinputSetState && xinputGetBatteryInformation)
|
||||
{
|
||||
is_init = true;
|
||||
m_is_init = true;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -371,7 +371,7 @@ bool xinput_pad_handler::Init()
|
|||
}
|
||||
}
|
||||
|
||||
if (!is_init)
|
||||
if (!m_is_init)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue