mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-20 22:33:22 +02:00
Use frame counter instead of real clock
This commit is contained in:
@@ -31,6 +31,7 @@ int retrojoy_init=0,retro_ui_finalized=0;
|
||||
int retro_sound_finalized=0;
|
||||
|
||||
float retro_fps=49.8607597;
|
||||
long long retro_frame_counter;
|
||||
extern int ToggleTV;
|
||||
extern int CURRENT_TV;
|
||||
|
||||
@@ -621,6 +622,8 @@ void retro_run(void)
|
||||
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE, &updated) && updated)
|
||||
update_variables();
|
||||
|
||||
retro_frame_counter++;
|
||||
|
||||
if(pauseg==0){
|
||||
|
||||
if (ToggleTV == 1)
|
||||
|
||||
Reference in New Issue
Block a user