mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
Started work on HLE Zelda UCode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@853 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -148,7 +148,7 @@ void CUCode_Jac::ExecuteList()
|
||||
break;
|
||||
|
||||
default:
|
||||
PanicAlert("UCode Jac unknown cmd: %s (size %)", cmd, m_numSteps);
|
||||
PanicAlert("UCode Jac unknown cmd: %s (size %i)", cmd, m_numSteps);
|
||||
DebugLog("Jac UCode - unknown cmd: %x (size %i)", cmd, m_numSteps);
|
||||
break;
|
||||
}
|
||||
|
@ -23,6 +23,11 @@
|
||||
#include "UCode_Zelda.h"
|
||||
#include "../MailHandler.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "../PCHW/DSoundStream.h"
|
||||
#endif
|
||||
#include "../PCHW/Mixer.h"
|
||||
|
||||
|
||||
CUCode_Zelda::CUCode_Zelda(CMailHandler& _rMailHandler)
|
||||
: IUCode(_rMailHandler)
|
||||
@ -75,6 +80,10 @@ void CUCode_Zelda::HandleMail(u32 _uMail)
|
||||
}
|
||||
}
|
||||
|
||||
void CUCode_Zelda::MixAdd(short* buffer, int size)
|
||||
{
|
||||
//TODO(XK): Zelda UCode MixAdd?
|
||||
}
|
||||
|
||||
void CUCode_Zelda::ExecuteList()
|
||||
{
|
||||
@ -115,6 +124,13 @@ void CUCode_Zelda::ExecuteList()
|
||||
tmp[1] = Read32();
|
||||
tmp[2] = Read32();
|
||||
|
||||
// We're ready to mix
|
||||
mixer_HLEready = true;
|
||||
#ifdef _WIN32
|
||||
DebugLog("Update the SoundThread to be in sync");
|
||||
DSound::DSound_UpdateSound(); //do it in this thread to avoid sync problems
|
||||
#endif
|
||||
|
||||
DebugLog("DsyncFrame");
|
||||
DebugLog("???: 0x%08x", tmp[0]);
|
||||
DebugLog("???: 0x%08x", tmp[1]);
|
||||
|
@ -68,6 +68,7 @@ public:
|
||||
|
||||
void HandleMail(u32 _uMail);
|
||||
void Update();
|
||||
void MixAdd(short* buffer, int size);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user