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:
hrydgard 2011-01-28 21:39:23 +00:00
parent 46d00f211f
commit a63cfd033f
3 changed files with 1 additions and 29 deletions

View File

@ -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);
} }

View File

@ -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

View File

@ -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();