diff --git a/desmume/src/mic.cpp b/desmume/src/mic.cpp index c4a468d9a..95f6b89f9 100644 --- a/desmume/src/mic.cpp +++ b/desmume/src/mic.cpp @@ -52,4 +52,13 @@ void Mic_DoNoise(BOOL noise) silence = !noise; } +void mic_savestate(std::ostream* os) +{ +} + +bool mic_loadstate(std::istream* is, int size) +{ + return TRUE; +} + #endif diff --git a/desmume/src/mic.h b/desmume/src/mic.h index c5cf1a87d..aa92286e9 100644 --- a/desmume/src/mic.h +++ b/desmume/src/mic.h @@ -20,6 +20,7 @@ #ifndef MIC_H #define MIC_H +#include #ifdef WIN32 static char MicSampleName[256]; diff --git a/desmume/src/mic_alsa.cpp b/desmume/src/mic_alsa.cpp index d87ce50b7..a36cbd8b8 100644 --- a/desmume/src/mic_alsa.cpp +++ b/desmume/src/mic_alsa.cpp @@ -146,3 +146,13 @@ u8 Mic_ReadSample() return ret; } + +/* FIXME: stub! */ +void mic_savestate(std::ostream* os) +{ +} + +bool mic_loadstate(std::istream* is, int size) +{ + return TRUE; +}