DolphinAnalytics: Use Pascal case for GameQuirk enum
This commit is contained in:
1 parent
aa45b7fe61
commit
3cc00c0676
13 files changed
+90
-95
No files matched your search
@@ -180,7 +180,7 @@ void AXUCode::HandleCommandList()
|
||||
break;
|
||||
|
||||
case CMD_UNK_08:
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::USES_UNIMPLEMENTED_AX_COMMAND);
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::UsesUnimplementedAXCommand);
|
||||
curr_idx += 10;
|
||||
break; // TODO: check
|
||||
|
||||
|
||||
@@ -536,7 +536,7 @@ void ProcessVoice(HLEAccelerator* accelerator, PB_TYPE& pb, const AXBuffers& buf
|
||||
if (pb.initial_time_delay.on)
|
||||
{
|
||||
// TODO
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::USES_AX_INITIAL_TIME_DELAY);
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::UsesAXInitialTimeDelay);
|
||||
}
|
||||
|
||||
#ifdef AX_WII
|
||||
@@ -548,12 +548,12 @@ void ProcessVoice(HLEAccelerator* accelerator, PB_TYPE& pb, const AXBuffers& buf
|
||||
// Only one filter at most for Wiimotes.
|
||||
if (pb.remote_iir.on == 2)
|
||||
{
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::USES_AX_WIIMOTE_BIQUAD);
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::UsesAXWiimoteBiquad);
|
||||
BiquadFilter(samples, count, pb.remote_iir.biquad);
|
||||
}
|
||||
else
|
||||
{
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::USES_AX_WIIMOTE_LOWPASS);
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::UsesAXWiimoteLowPass);
|
||||
LowPassFilter(samples, count, pb.remote_iir.lpf);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -885,14 +885,14 @@ void DVDInterface::ExecuteCommand(ReplyType reply_type)
|
||||
// Wii-exclusive
|
||||
case DICommand::StopLaser:
|
||||
ERROR_LOG_FMT(DVDINTERFACE, "DVDLowStopLaser");
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::USES_DVD_LOW_STOP_LASER);
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::UsesDVDLowStopLaser);
|
||||
SetDriveError(DriveError::InvalidCommand);
|
||||
interrupt_type = DIInterruptType::DEINT;
|
||||
break;
|
||||
// Wii-exclusive
|
||||
case DICommand::Offset:
|
||||
ERROR_LOG_FMT(DVDINTERFACE, "DVDLowOffset");
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::USES_DVD_LOW_OFFSET);
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::UsesDVDLowOffset);
|
||||
SetDriveError(DriveError::InvalidCommand);
|
||||
interrupt_type = DIInterruptType::DEINT;
|
||||
break;
|
||||
@@ -900,7 +900,7 @@ void DVDInterface::ExecuteCommand(ReplyType reply_type)
|
||||
case DICommand::ReadBCA:
|
||||
{
|
||||
WARN_LOG_FMT(DVDINTERFACE, "DVDLowReadDiskBca - supplying dummy data to appease NSMBW");
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::USES_DVD_LOW_READ_DISK_BCA);
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::UsesDVDLowReadDiskBCA);
|
||||
// NSMBW checks that the first 0x33 bytes of the BCA are 0, then it expects a 1.
|
||||
// Most (all?) other games have 0x34 0's at the start of the BCA, but don't actually
|
||||
// read it. NSMBW doesn't care about the other 12 bytes (which contain manufacturing data?)
|
||||
@@ -915,14 +915,14 @@ void DVDInterface::ExecuteCommand(ReplyType reply_type)
|
||||
// Wii-exclusive
|
||||
case DICommand::RequestDiscStatus:
|
||||
ERROR_LOG_FMT(DVDINTERFACE, "DVDLowRequestDiscStatus");
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::USES_DVD_LOW_REQUEST_DISC_STATUS);
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::UsesDVDLowRequestDiscStatus);
|
||||
SetDriveError(DriveError::InvalidCommand);
|
||||
interrupt_type = DIInterruptType::DEINT;
|
||||
break;
|
||||
// Wii-exclusive
|
||||
case DICommand::RequestRetryNumber:
|
||||
ERROR_LOG_FMT(DVDINTERFACE, "DVDLowRequestRetryNumber");
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::USES_DVD_LOW_REQUEST_RETRY_NUMBER);
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::UsesDVDLowRequestRetryNumber);
|
||||
SetDriveError(DriveError::InvalidCommand);
|
||||
interrupt_type = DIInterruptType::DEINT;
|
||||
break;
|
||||
@@ -935,7 +935,7 @@ void DVDInterface::ExecuteCommand(ReplyType reply_type)
|
||||
// Wii-exclusive
|
||||
case DICommand::SerMeasControl:
|
||||
ERROR_LOG_FMT(DVDINTERFACE, "DVDLowSerMeasControl");
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::USES_DVD_LOW_SER_MEAS_CONTROL);
|
||||
DolphinAnalytics::Instance().ReportGameQuirk(GameQuirk::UsesDVDLowSerMeasControl);
|
||||
SetDriveError(DriveError::InvalidCommand);
|
||||
interrupt_type = DIInterruptType::DEINT;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user