UMD callbacks, a couple of NIDs

This commit is contained in:
Henrik Rydgard committed 2012-11-07 15:44:13 +01:00
1 parent a1de133d3e
commit cf098dfd67
4 files changed
+27 -8

No files matched your search

+2 -1
View File
@@ -161,7 +161,7 @@ void SasInstance::mix(u32 outAddr)
{
Voice &voice = sas.voices[v];
if (voice.playing)
if (voice.playing && voice.vagAddr != 0)
{
for (int i = 0; i < grainSize; i++)
{
@@ -419,6 +419,7 @@ const HLEFunction sceSasCore[] =
{0xe175ef66, sceSasGetOutputMode, "__sceSasGetOutputmode"},
{0xe855bf76, 0, "__sceSasSetOutputmode"},
{0x07f58c24, 0, "__sceSasGetAllEnvelopeHeights"}, // (int sasCore, int heightAddr) 32-bit heights, 0-0x40000000
{0xE1CD9561, 0, "__sceSasSetVoicePCM"},
};
void Register_sceSasCore()