mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-21 00:38:43 +00:00
Warning cleanup, mainly shadowed variables, const/non-const and ctor initialization order
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5098 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f7f11211a1
commit
fdd635d273
19 changed files with 39 additions and 41 deletions
|
@ -34,11 +34,11 @@ CUCode_Zelda::CUCode_Zelda(CMailHandler& _rMailHandler, u32 _CRC)
|
|||
IUCode(_rMailHandler),
|
||||
m_CRC(_CRC),
|
||||
|
||||
m_NumSyncMail(0),
|
||||
|
||||
m_bSyncInProgress(false),
|
||||
m_MaxVoice(0),
|
||||
|
||||
m_NumSyncMail(0),
|
||||
|
||||
m_NumVoices(0),
|
||||
|
||||
m_bSyncCmdPending(false),
|
||||
|
|
|
@ -426,7 +426,7 @@ void CUCode_Zelda::RenderVoice_Raw(ZeldaVoicePB &PB, s16 *_Buffer, int _Size)
|
|||
ERROR_LOG(DSPHLE, "Raw loop: ReadAudio size = %04x 34:%04x %08x", PB.Unk36[0], PB.raw[0x34 ^ 1], (int)ACC0);
|
||||
Decoder21_ReadAudio(PB, PB.Unk36[0], _Buffer);
|
||||
|
||||
u32 ACC0 = _Size << 16;
|
||||
ACC0 = _Size << 16;
|
||||
ACC0 -= PB.Unk36[0] << 16;
|
||||
|
||||
PB.raw[0x34 ^ 1] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue