mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-20 22:33:22 +02:00
Try to make it more compatible with PS3
This commit is contained in:
@@ -4,9 +4,6 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#if HAVE_STRINGS_H
|
|
||||||
#include <strings.h>
|
|
||||||
#endif
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#ifdef HAVE_WINDOWS_H
|
#ifdef HAVE_WINDOWS_H
|
||||||
|
|||||||
@@ -398,6 +398,10 @@ void retro_audio_cb( short l, short r)
|
|||||||
audio_cb(l,r);
|
audio_cb(l,r);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Forward declarations */
|
||||||
|
void retro_sound_update(void);
|
||||||
|
void Retro_PollEvent(void);
|
||||||
|
|
||||||
void retro_run(void)
|
void retro_run(void)
|
||||||
{
|
{
|
||||||
int x;
|
int x;
|
||||||
@@ -426,8 +430,8 @@ void retro_run(void)
|
|||||||
ToggleTV=0;
|
ToggleTV=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(retro_sound_finalized)
|
||||||
if(retro_sound_finalized)retro_sound_update();
|
retro_sound_update();
|
||||||
|
|
||||||
Retro_PollEvent();
|
Retro_PollEvent();
|
||||||
}
|
}
|
||||||
@@ -435,7 +439,6 @@ void retro_run(void)
|
|||||||
video_cb(Retro_Screen,retrow,retroh,retrow<<PIXEL_BYTES);
|
video_cb(Retro_Screen,retrow,retroh,retrow<<PIXEL_BYTES);
|
||||||
|
|
||||||
co_switch(emuThread);
|
co_switch(emuThread);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int lastdown,lastup,lastchar;
|
unsigned int lastdown,lastup,lastchar;
|
||||||
|
|||||||
Reference in New Issue
Block a user