Add missing includes for recent microphone changes and add stubs for !WIN32 to continue compiling. Greeting from FROSCON!

This commit is contained in:
riccardom 2009-08-22 15:01:24 +00:00
parent 17d4b20115
commit fd7f8f0ef6
3 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -20,6 +20,7 @@
#ifndef MIC_H
#define MIC_H
#include <iostream>
#ifdef WIN32
static char MicSampleName[256];

View File

@ -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;
}