Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core runs at fullspeed in menu #60

Open
JukePlz opened this issue Nov 5, 2020 · 2 comments
Open

Core runs at fullspeed in menu #60

JukePlz opened this issue Nov 5, 2020 · 2 comments

Comments

@JukePlz
Copy link

JukePlz commented Nov 5, 2020

As titled, the core config menu is running at full speed making configuration almost imposible because pressing up or down makes the selection go to top or bottom of list almost instantaneously.

This is a libretro core problem as the original standalone Atari800 emulator doesn't have this issue.

This issue seems to date from a while back, as I found googling this thread from 2017 where another user had the same problem on retropie (I'm running on windows retroarch tho, not retropie)

@CCKMik
Copy link

CCKMik commented Nov 19, 2022

yes,
the core config menu is running at full speed,
how to fix it ?
maybe older version, where is it?

@7not6
Copy link

7not6 commented Aug 1, 2024

It need some func to cap fps when UI is active like this ...
Simple hack could be to send 0 sound when in UI like this

void retro_sound_update(void)
{	
   int x,stop=CURRENT_TV==312?885:742;//FIXME: 882/735?

   if (! UI_is_active)
   {
      int16_t *p = (int16_t *)SNDBUF;

      Sound_Callback(SNDBUF, sizeof SNDBUF);
      for (x = 0; x < stop; p += 2, x++)
         retro_audio_cb(*p, *p + 1);

   }
   else for (x = 0; x < stop;x++) retro_audio_cb(0,0);
   
}


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants