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:
parent
ac9510187c
commit
c97dc8df52
|
@ -37,7 +37,6 @@ SDSP g_dsp;
|
||||||
DSPBreakpoints dsp_breakpoints;
|
DSPBreakpoints dsp_breakpoints;
|
||||||
DSPCoreState core_state = DSPCORE_RUNNING;
|
DSPCoreState core_state = DSPCORE_RUNNING;
|
||||||
Common::Event step_event;
|
Common::Event step_event;
|
||||||
DSPInitialize *dsp_initialize = NULL;
|
|
||||||
|
|
||||||
static bool LoadRom(const char *fname, int size_in_words, u16 *rom)
|
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;
|
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.step_counter = 0;
|
||||||
|
|
||||||
g_dsp.irom = (u16*)AllocateMemoryPages(DSP_IROM_BYTE_SIZE);
|
g_dsp.irom = (u16*)AllocateMemoryPages(DSP_IROM_BYTE_SIZE);
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#define _DSPCORE_H
|
#define _DSPCORE_H
|
||||||
|
|
||||||
#include "DSPBreakpoints.h"
|
#include "DSPBreakpoints.h"
|
||||||
#include "AudioCommon.h"
|
|
||||||
|
|
||||||
#define DSP_IRAM_BYTE_SIZE 0x2000
|
#define DSP_IRAM_BYTE_SIZE 0x2000
|
||||||
#define DSP_IRAM_SIZE 0x1000
|
#define DSP_IRAM_SIZE 0x1000
|
||||||
|
@ -212,9 +211,8 @@ struct SDSP
|
||||||
|
|
||||||
extern SDSP g_dsp;
|
extern SDSP g_dsp;
|
||||||
extern DSPBreakpoints dsp_breakpoints;
|
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_Reset();
|
||||||
void DSPCore_Shutdown(); // Frees all allocated memory.
|
void DSPCore_Shutdown(); // Frees all allocated memory.
|
||||||
|
|
Loading…
Reference in New Issue