Lots more work on making the frame aui stuff functional.

Also added a DSPCORE_STOP state.  The DSP-LLE debugger window segmentation faults if it is openned when a game is not running.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5931 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-07-22 02:05:28 +00:00
parent fb36de2338
commit 3859a7dce2
33 changed files with 245 additions and 534 deletions

View File

@ -36,7 +36,7 @@
SDSP g_dsp;
DSPBreakpoints dsp_breakpoints;
DSPCoreState core_state = DSPCORE_RUNNING;
DSPCoreState core_state = DSPCORE_STOP;
DSPEmitter *jit = NULL;
Common::Event step_event;
@ -136,11 +136,15 @@ bool DSPCore_Init(const char *irom_filename, const char *coef_filename,
step_event.Init();
core_state = DSPCORE_RUNNING;
return true;
}
void DSPCore_Shutdown()
{
core_state = DSPCORE_STOP;
if(jit) {
delete jit;
jit = NULL;

View File

@ -251,8 +251,9 @@ void CompileCurrent();
enum DSPCoreState
{
DSPCORE_RUNNING = 0,
DSPCORE_STEPPING = 1,
DSPCORE_STOP = 0,
DSPCORE_RUNNING,
DSPCORE_STEPPING,
};
int DSPCore_RunCycles(int cycles);