Skip to content

Conversation

@AITUS95
Copy link
Contributor

@AITUS95 AITUS95 commented Nov 29, 2025

Summary

This PR fixes a slowdown that appears in Hardball 6 when using Voodoo 1 or Voodoo 2.
The game performs very frequent framebuffer readbacks during gameplay. On Voodoo 1/2, each readback triggers a heavy internal wait for the FIFO and render thread to become idle.

Because Hardball 6 repeats this constantly, the emulator gets stuck waiting and drops to about 15% speed.

The update reduces the amount of waiting performed during readback, while keeping behavior correct. With the change applied, the game runs at full speed again and shows no graphical issues. Other Voodoo cards are unaffected.

Checklist

References

Provide links to datasheets or other documentation that helped you implement this pull request.

Refactor FIFO handling to check for emptiness before waking thread.
@OBattler OBattler merged commit fad5e39 into 86Box:master Nov 29, 2025
45 checks passed
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.

2 participants