delete more old stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6953 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
46d00f211f
commit
a63cfd033f
|
@ -333,7 +333,7 @@ void DSPLLE::DSP_SendAIBuffer(unsigned int address, unsigned int num_samples)
|
||||||
|
|
||||||
if (pMixer != 0 && address != 0)
|
if (pMixer != 0 && address != 0)
|
||||||
{
|
{
|
||||||
const short *samples = (const short *)LLEMemory_Get_Pointer(address);
|
const short *samples = (const short *)&g_dsp.cpu_ram[address & Memory::RAM_MASK];
|
||||||
pMixer->PushSamples(samples, num_samples);
|
pMixer->PushSamples(samples, num_samples);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,30 +23,6 @@
|
||||||
#include "DSPCore.h"
|
#include "DSPCore.h"
|
||||||
#include "DSPLLEGlobals.h"
|
#include "DSPLLEGlobals.h"
|
||||||
|
|
||||||
// TODO: Get rid of this file.
|
|
||||||
|
|
||||||
// =======================================================================================
|
|
||||||
// For PB address detection
|
|
||||||
// --------------
|
|
||||||
|
|
||||||
// This will only work on GC, not Wii.
|
|
||||||
u32 RAM_MASK = 0x1FFFFFF;
|
|
||||||
|
|
||||||
u16 LLEMemory_Read_U16(u32 _uAddress)
|
|
||||||
{
|
|
||||||
return Common::swap16(*(u16*)&g_dsp.cpu_ram[_uAddress & RAM_MASK]);
|
|
||||||
}
|
|
||||||
|
|
||||||
u32 LLEMemory_Read_U32(u32 _uAddress)
|
|
||||||
{
|
|
||||||
return Common::swap32(*(u32*)&g_dsp.cpu_ram[_uAddress & RAM_MASK]);
|
|
||||||
}
|
|
||||||
|
|
||||||
void* LLEMemory_Get_Pointer(u32 _uAddress)
|
|
||||||
{
|
|
||||||
return &g_dsp.cpu_ram[_uAddress & RAM_MASK];
|
|
||||||
}
|
|
||||||
|
|
||||||
#if PROFILE
|
#if PROFILE
|
||||||
|
|
||||||
#define PROFILE_MAP_SIZE 0x10000
|
#define PROFILE_MAP_SIZE 0x10000
|
||||||
|
|
|
@ -26,10 +26,6 @@
|
||||||
|
|
||||||
#define PROFILE 0
|
#define PROFILE 0
|
||||||
|
|
||||||
u16 LLEMemory_Read_U16(u32 _uAddress); // For PB address detection
|
|
||||||
u32 LLEMemory_Read_U32(u32 _uAddress);
|
|
||||||
void* LLEMemory_Get_Pointer(u32 _uAddress);
|
|
||||||
|
|
||||||
#if PROFILE
|
#if PROFILE
|
||||||
void ProfilerDump(u64 _count);
|
void ProfilerDump(u64 _count);
|
||||||
void ProfilerInit();
|
void ProfilerInit();
|
||||||
|
|
Loading…
Reference in New Issue