diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/ASnd.cpp b/Source/Core/Core/HW/DSPHLE/UCodes/ASnd.cpp index 9a854724a8..e033d276d7 100644 --- a/Source/Core/Core/HW/DSPHLE/UCodes/ASnd.cpp +++ b/Source/Core/Core/HW/DSPHLE/UCodes/ASnd.cpp @@ -99,11 +99,11 @@ void ASndUCode::HandleMail(u32 mail) { PrepareBootUCode(mail); } - else if (m_next_command_is_voice_addr) + else if (m_next_mail_is_voice_addr) { m_voice_addr = mail; INFO_LOG_FMT(DSPHLE, "ASndUCode - Voice data is at {:08x}", mail); - m_next_command_is_voice_addr = false; + m_next_mail_is_voice_addr = false; // No mail is sent in response } else if ((mail & TASK_MAIL_MASK) == TASK_MAIL_TO_DSP) @@ -150,7 +150,7 @@ void ASndUCode::HandleMail(u32 mail) break; case MAIL_SET_VOICE_DATA_BUFFER: DEBUG_LOG_FMT(DSPHLE, "ASndUCode - MAIL_SET_VOICE_DATA_BUFFER: {:08x}", mail); - m_next_command_is_voice_addr = true; + m_next_mail_is_voice_addr = true; // No mail is sent in response break; case MAIL_INPUT_NEXT_SAMPLES: @@ -559,7 +559,7 @@ std::pair ASndUCode::ReadSampleStereo16BitsLittleEndian() const void ASndUCode::DoState(PointerWrap& p) { DoStateShared(p); - p.Do(m_next_command_is_voice_addr); + p.Do(m_next_mail_is_voice_addr); p.Do(m_voice_addr); p.Do(m_current_voice); p.Do(m_input_sample_buffer); diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/ASnd.h b/Source/Core/Core/HW/DSPHLE/UCodes/ASnd.h index b30bf32ec8..45ef40c0e0 100644 --- a/Source/Core/Core/HW/DSPHLE/UCodes/ASnd.h +++ b/Source/Core/Core/HW/DSPHLE/UCodes/ASnd.h @@ -81,7 +81,7 @@ private: }; static_assert(sizeof(VoiceData) == sizeof(u16) * 0x20); - bool m_next_command_is_voice_addr = false; + bool m_next_mail_is_voice_addr = false; u32 m_voice_addr = 0; VoiceData m_current_voice{};