1
0
Fork 0

Bring OS2 port up to date. Thanks Jochen

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3923
This commit is contained in:
Peter Veenstra 2015-07-08 12:01:33 +00:00
parent b0c72903e4
commit 79419f1f53
6 changed files with 27 additions and 22 deletions

View file

@ -410,8 +410,11 @@ static void MIXER_Mix_NoSound(void) {
mixer.tick_remain&=MIXER_REMAIN;
mixer.done=0;
}
#ifdef OS2
static void SDL_CALL MIXER_CallBack(void * userdata, Uint8 *stream, int len) {
#else
static void MIXER_CallBack(void * userdata, Uint8 *stream, int len) {
#endif
Bitu need=(Bitu)len/MIXER_SSIZE;
Bit16s * output=(Bit16s *)stream;
Bitu reduce;