mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 14:46:49 +01:00
I could write a comment to since I'm at it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1136 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ffa2b49903
commit
d6f2a0f2e9
@ -612,6 +612,11 @@ void Update_ARAM_DMA()
|
|||||||
GenerateDSPInterrupt(INT_ARAM);
|
GenerateDSPInterrupt(INT_ARAM);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// =============================================================
|
||||||
|
// This is how it works: The game has written sound to RAM, the DSP will read it with
|
||||||
|
// this function. SamplePos in the plugin is double the value given here because it
|
||||||
|
// works on a nibble level.
|
||||||
|
// -------------------
|
||||||
u8 ReadARAM(u32 _iAddress)
|
u8 ReadARAM(u32 _iAddress)
|
||||||
{
|
{
|
||||||
//LOGV(DSPINTERFACE, 0, "ARAM (r) 0x%08x", _iAddress);
|
//LOGV(DSPINTERFACE, 0, "ARAM (r) 0x%08x", _iAddress);
|
||||||
@ -631,6 +636,8 @@ u8* GetARAMPtr()
|
|||||||
{
|
{
|
||||||
return g_ARAM;
|
return g_ARAM;
|
||||||
}
|
}
|
||||||
|
// ===================
|
||||||
|
|
||||||
|
|
||||||
void WriteARAM(u8 _iValue, u32 _iAddress)
|
void WriteARAM(u8 _iValue, u32 _iAddress)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user