Try to make it more compatible with PS3

This commit is contained in:
twinaphex
2017-08-06 01:53:12 +02:00
parent 01db5d0d26
commit 1d4a7242ba
2 changed files with 24 additions and 24 deletions
-3
View File
@@ -4,9 +4,6 @@
#include "config.h"
#include <stdio.h>
#include <string.h>
#if HAVE_STRINGS_H
#include <strings.h>
#endif
#include <math.h>
#include <ctype.h>
#ifdef HAVE_WINDOWS_H
+6 -3
View File
@@ -398,6 +398,10 @@ void retro_audio_cb( short l, short r)
audio_cb(l,r);
}
/* Forward declarations */
void retro_sound_update(void);
void Retro_PollEvent(void);
void retro_run(void)
{
int x;
@@ -426,8 +430,8 @@ void retro_run(void)
ToggleTV=0;
}
if(retro_sound_finalized)retro_sound_update();
if(retro_sound_finalized)
retro_sound_update();
Retro_PollEvent();
}
@@ -435,7 +439,6 @@ void retro_run(void)
video_cb(Retro_Screen,retrow,retroh,retrow<<PIXEL_BYTES);
co_switch(emuThread);
}
unsigned int lastdown,lastup,lastchar;