--- previous/src/dsp/dsp.c 2018/04/24 19:30:25 1.1 +++ previous/src/dsp/dsp.c 2018/04/24 19:32:03 1.1.1.2 @@ -25,7 +25,6 @@ #include "main.h" #include "sysdeps.h" #include "newcpu.h" -#include "memorySnapShot.h" #include "ioMem.h" #include "dsp.h" #include "configuration.h" @@ -135,7 +134,7 @@ void DSP_SetIRQB(void) /** * Handling DMA transfers. */ -void DSP_HandleDMA(void) +static void DSP_HandleDMA(void) { #if ENABLE_DSP_EMU if (dsp_core.dma_mode && dsp_core.dma_request && dma_dsp_ready()) { @@ -259,22 +258,6 @@ void DSP_Start(Uint8 mode) #endif } - -/** - * Save/Restore snapshot of CPU variables ('MemorySnapShot_Store' handles type) - */ -void DSP_MemorySnapShot_Capture(bool bSave) -{ -#if ENABLE_DSP_EMU - if (!bSave) - DSP_Reset(); - - MemorySnapShot_Store(&bDspEnabled, sizeof(bDspEnabled)); - MemorySnapShot_Store(&dsp_core, sizeof(dsp_core)); - MemorySnapShot_Store(&save_cycles, sizeof(save_cycles)); -#endif -} - /** * Run DSP for certain cycles */