aboutsummaryrefslogtreecommitdiff
path: root/src/SPU.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/SPU.h')
-rw-r--r--src/SPU.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/SPU.h b/src/SPU.h
index 85c27ee..d340a72 100644
--- a/src/SPU.h
+++ b/src/SPU.h
@@ -1,5 +1,5 @@
/*
- Copyright 2016-2017 StapleButter
+ Copyright 2016-2019 StapleButter
This file is part of melonDS.
@@ -19,6 +19,8 @@
#ifndef SPU_H
#define SPU_H
+#include "Savestate.h"
+
namespace SPU
{
@@ -27,6 +29,8 @@ void DeInit();
void Reset();
void Stop();
+void DoSavestate(Savestate* file);
+
void SetBias(u16 bias);
void Mix(u32 samples);
@@ -46,6 +50,7 @@ public:
Channel(u32 num);
~Channel();
void Reset();
+ void DoSavestate(Savestate* file);
u32 Num;
@@ -137,6 +142,7 @@ public:
CaptureUnit(u32 num);
~CaptureUnit();
void Reset();
+ void DoSavestate(Savestate* file);
u32 Num;