mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
Merge pull request #717 from lioncash/unused
Core: Remove unused parameters in Movie
This commit is contained in:
commit
a77d397312
@ -622,7 +622,7 @@ void Wiimote::Update()
|
||||
|
||||
const ReportFeatures& rptf = reporting_mode_features[m_reporting_mode - WM_REPORT_CORE];
|
||||
s8 rptf_size = rptf.size;
|
||||
if (Movie::IsPlayingInput() && Movie::PlayWiimote(m_index, data, rptf, m_reg_ir.mode))
|
||||
if (Movie::IsPlayingInput() && Movie::PlayWiimote(m_index, data, rptf))
|
||||
{
|
||||
if (rptf.core)
|
||||
m_status.buttons = *(wm_core*)(data + rptf.core);
|
||||
@ -734,7 +734,7 @@ void Wiimote::Update()
|
||||
}
|
||||
if (!Movie::IsPlayingInput())
|
||||
{
|
||||
Movie::CheckWiimoteStatus(m_index, data, rptf, m_reg_ir.mode);
|
||||
Movie::CheckWiimoteStatus(m_index, data, rptf);
|
||||
}
|
||||
|
||||
// don't send a data report if auto reporting is off
|
||||
|
@ -656,7 +656,7 @@ void RecordInput(GCPadStatus* PadStatus, int controllerID)
|
||||
g_totalBytes = g_currentByte;
|
||||
}
|
||||
|
||||
void CheckWiimoteStatus(int wiimote, u8 *data, const WiimoteEmu::ReportFeatures& rptf, int irMode)
|
||||
void CheckWiimoteStatus(int wiimote, u8 *data, const WiimoteEmu::ReportFeatures& rptf)
|
||||
{
|
||||
u8* const coreData = rptf.core?(data+rptf.core):nullptr;
|
||||
u8* const accelData = rptf.accel?(data+rptf.accel):nullptr;
|
||||
@ -1034,7 +1034,7 @@ void PlayController(GCPadStatus* PadStatus, int controllerID)
|
||||
CheckInputEnd();
|
||||
}
|
||||
|
||||
bool PlayWiimote(int wiimote, u8 *data, const WiimoteEmu::ReportFeatures& rptf, int irMode)
|
||||
bool PlayWiimote(int wiimote, u8 *data, const WiimoteEmu::ReportFeatures& rptf)
|
||||
{
|
||||
if (!IsPlayingInput() || !IsUsingWiimote(wiimote) || tmpInput == nullptr)
|
||||
return false;
|
||||
|
@ -161,7 +161,7 @@ bool PlayInput(const std::string& filename);
|
||||
void LoadInput(const std::string& filename);
|
||||
void ReadHeader();
|
||||
void PlayController(GCPadStatus* PadStatus, int controllerID);
|
||||
bool PlayWiimote(int wiimote, u8* data, const struct WiimoteEmu::ReportFeatures& rptf, int irMode);
|
||||
bool PlayWiimote(int wiimote, u8* data, const struct WiimoteEmu::ReportFeatures& rptf);
|
||||
void EndPlayInput(bool cont);
|
||||
void SaveRecording(const std::string& filename);
|
||||
void DoState(PointerWrap &p);
|
||||
@ -169,7 +169,7 @@ void CheckMD5();
|
||||
void GetMD5();
|
||||
void Shutdown();
|
||||
void CheckPadStatus(GCPadStatus* PadStatus, int controllerID);
|
||||
void CheckWiimoteStatus(int wiimote, u8* data, const struct WiimoteEmu::ReportFeatures& rptf, int irMode);
|
||||
void CheckWiimoteStatus(int wiimote, u8* data, const struct WiimoteEmu::ReportFeatures& rptf);
|
||||
|
||||
std::string GetInputDisplay();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user