-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
The Maze of the Kings (NAOMI GD-ROM): Repeating and cut off SFX #483
Comments
I tested with the latest build and didn't notice any audio issue. I fixed an audio problem recently that used to affect Demul as well. So it's possible it fixed this problem as well. Let me know if the issue persists with the latest build (77a2bbb). |
The issue persists in the latest nightly build [76bf574]. I can upload a save state if it would make testing easier. Also, I did some digging: the last version of demul (0.7 apr 28 2018) does not have this bug. |
I was able to reproduce it but I have no idea what could be the cause. |
With the latest builds (started testing again with the release of NAOMI 2 support - great job BTW), currently running aa97a6d and e0d87eb, the issue is more severe - cutting SFX already when only shooting at enemies and the floor/walls, no water involved (i.e., more SFX involved). Hopefully it provides some clues to what's the cause; some recent change might've made it worse. Attempting to find exactly in which build it happened led to a dead end, cause both the oldest and newest commits under ...or maybe it's simply been a while since I last played the game, and I'm hallucinating that the issue has gotten worse when in reality it's unchanged. |
I don't think any recent change would have any effect on this bug. One not-so-recent change could however: the clock speed of the audio cpu was doubled to fix a naomi 2 bug. This could have made things worse for this bug. |
Should be fixed in the latest dev build. |
Indeed, it seems to be — fantastic job! I'll let you know if the issue creeps up in the feature — closing as completed. |
CA was reset to 0 for non-looping sound when ending, but not for looping ones when they reach full attenuation. This confuses some games. Disable the channel when it reaches full attenuation and reset CA to 0. Revert a7702c6 Issue #1602 Better fix for Issues #472, #483, #1180, #1249, #1030 (partial)
Platform / OS / Hardware:
Windows 11 - 22000.376
Ryzen 3600
GTX 1080 - driver 497.29
Github hash: 7555263 (v1.2)
Description of the Issue
The Sega NAOMI GD-ROM game The Maze of the Kings seems to have been a tricky one to emulate, especially sound-wise.
The most apparent area being the first boss with a waterfall in the background.
As you hit the waterfall while shooting the triangles being fired at you, the intended SFX will start to disappear and repeat more and more, and after a while, it will only play the sound of hitting the waterfall.
The game overall gets its SFX cut off and repeated constantly - the above is simply a great example.
The same exact issues were seen in the now-old DEMUL emulator.
Debugging Steps Tested
Logs Gathered
The text was updated successfully, but these errors were encountered: