remove audiocommon include from DSPCore

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3653 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-07-02 22:15:19 +00:00
parent ac9510187c
commit c97dc8df52
2 changed files with 2 additions and 7 deletions

View File

@ -37,7 +37,6 @@ SDSP g_dsp;
DSPBreakpoints dsp_breakpoints;
DSPCoreState core_state = DSPCORE_RUNNING;
Common::Event step_event;
DSPInitialize *dsp_initialize = NULL;
static bool LoadRom(const char *fname, int size_in_words, u16 *rom)
{
@ -65,10 +64,8 @@ static bool LoadRom(const char *fname, int size_in_words, u16 *rom)
return false;
}
bool DSPCore_Init(const char *irom_filename, const char *coef_filename, DSPInitialize *dspInit)
bool DSPCore_Init(const char *irom_filename, const char *coef_filename)
{
dsp_initialize = dspInit;
g_dsp.step_counter = 0;
g_dsp.irom = (u16*)AllocateMemoryPages(DSP_IROM_BYTE_SIZE);

View File

@ -27,7 +27,6 @@
#define _DSPCORE_H
#include "DSPBreakpoints.h"
#include "AudioCommon.h"
#define DSP_IRAM_BYTE_SIZE 0x2000
#define DSP_IRAM_SIZE 0x1000
@ -212,9 +211,8 @@ struct SDSP
extern SDSP g_dsp;
extern DSPBreakpoints dsp_breakpoints;
extern DSPInitialize *dsp_initialize;
bool DSPCore_Init(const char *irom_filename, const char *coef_filename, DSPInitialize *dspInit = NULL);
bool DSPCore_Init(const char *irom_filename, const char *coef_filename);
void DSPCore_Reset();
void DSPCore_Shutdown(); // Frees all allocated memory.