mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
@ -100,7 +100,7 @@ static void EnqueueEvent(u64 userdata, s64 cycles_late = 0)
|
|||||||
Update();
|
Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDIO_EventNotify_CPUThread(u64 userdata, s64 cycles_late)
|
static void SDIO_EventNotify_CPUThread(u64 userdata, s64 cycles_late)
|
||||||
{
|
{
|
||||||
auto device =
|
auto device =
|
||||||
static_cast<CWII_IPC_HLE_Device_sdio_slot0*>(GetDeviceByName("/dev/sdio/slot0").get());
|
static_cast<CWII_IPC_HLE_Device_sdio_slot0*>(GetDeviceByName("/dev/sdio/slot0").get());
|
||||||
|
@ -80,10 +80,11 @@ public:
|
|||||||
class NumericSetting
|
class NumericSetting
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NumericSetting(const std::string& name, const ControlState default_value,
|
NumericSetting(const std::string& setting_name, const ControlState default_value,
|
||||||
const unsigned int low = 0, const unsigned int high = 100,
|
const unsigned int low = 0, const unsigned int high = 100,
|
||||||
const SettingType type = SettingType::NORMAL)
|
const SettingType setting_type = SettingType::NORMAL)
|
||||||
: m_type(type), m_name(name), m_default_value(default_value), m_low(low), m_high(high)
|
: m_type(setting_type), m_name(setting_name), m_default_value(default_value), m_low(low),
|
||||||
|
m_high(high)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -99,9 +100,9 @@ public:
|
|||||||
class BooleanSetting
|
class BooleanSetting
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
BooleanSetting(const std::string& name, const bool default_value,
|
BooleanSetting(const std::string& setting_name, const bool default_value,
|
||||||
const SettingType type = SettingType::NORMAL)
|
const SettingType setting_type = SettingType::NORMAL)
|
||||||
: m_type(type), m_name(name), m_default_value(default_value)
|
: m_type(setting_type), m_name(setting_name), m_default_value(default_value)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -116,8 +117,8 @@ public:
|
|||||||
class BackgroundInputSetting : public BooleanSetting
|
class BackgroundInputSetting : public BooleanSetting
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
BackgroundInputSetting(const std::string& name)
|
BackgroundInputSetting(const std::string& setting_name)
|
||||||
: BooleanSetting(name, false, SettingType::VIRTUAL)
|
: BooleanSetting(setting_name, false, SettingType::VIRTUAL)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user