mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 01:59:02 +00:00
Use ExtensionNumber in Movie.cpp
This commit is contained in:
parent
27be8c087e
commit
1c62ebc9fb
2 changed files with 10 additions and 9 deletions
|
@ -715,8 +715,8 @@ static void SetInputDisplayString(ControllerState padState, int controllerID)
|
|||
}
|
||||
|
||||
// NOTE: CPU Thread
|
||||
static void SetWiiInputDisplayString(int remoteID, const DataReportBuilder& rpt, int ext,
|
||||
const EncryptionKey& key)
|
||||
static void SetWiiInputDisplayString(int remoteID, const DataReportBuilder& rpt,
|
||||
ExtensionNumber ext, const EncryptionKey& key)
|
||||
{
|
||||
int controllerID = remoteID + 4;
|
||||
|
||||
|
@ -897,7 +897,7 @@ void RecordInput(const GCPadStatus* PadStatus, int controllerID)
|
|||
}
|
||||
|
||||
// NOTE: CPU Thread
|
||||
void CheckWiimoteStatus(int wiimote, const DataReportBuilder& rpt, int ext,
|
||||
void CheckWiimoteStatus(int wiimote, const DataReportBuilder& rpt, ExtensionNumber ext,
|
||||
const EncryptionKey& key)
|
||||
{
|
||||
SetWiiInputDisplayString(wiimote, rpt, ext, key);
|
||||
|
@ -1297,7 +1297,7 @@ void PlayController(GCPadStatus* PadStatus, int controllerID)
|
|||
}
|
||||
|
||||
// NOTE: CPU Thread
|
||||
bool PlayWiimote(int wiimote, WiimoteCommon::DataReportBuilder& rpt, int ext,
|
||||
bool PlayWiimote(int wiimote, WiimoteCommon::DataReportBuilder& rpt, ExtensionNumber ext,
|
||||
const EncryptionKey& key)
|
||||
{
|
||||
if (!IsPlayingInput() || !IsUsingWiimote(wiimote) || s_temp_input.empty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue