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

OpenDingux optimisations #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

OpenDingux optimisations #1

wants to merge 3 commits into from

Conversation

Nebuleon
Copy link

I attach 3 commits that optimise the OpenDingux build of MAME4ALL:

  • One of the commits is aimed at reducing audio underruns causing crackling, by buffering a bit more of the audio at once. This introduces a bit of lag in the audio (1 SDL buffer's worth, which is about 20 milliseconds).
  • One of the commits is aimed at requesting triple-buffering on OpenDingux for the GCW Zero. It allows some games that run between 30 and 60 FPS, which display at 30 FPS with double-buffering, to emulate and display, as well as synthesise audio for, more frames per second.
  • One of the commits builds MAME4ALL with -O3 and default toolchain flags instead of being explicit about MIPS-specific flags. This allows the toolchain's optimisations to evolve.

Nebuleon added 3 commits May 27, 2014 08:12
When starting a game, buffer enough of it so that an underrun doesn't occur every 2 seconds.
Then refill the buffer in the same way if an underrun occurs so that more underruns don't occur.
This allows more CPU to be spent emulating frames, thus increasing FPS, instead of waiting for the secondary buffer to be free if a game is being emulated between 30 and 60 FPS and the CPU usage is not 100%.
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

Successfully merging this pull request may close these issues.

1 participant