Next Generation Emulation banner
21 - 23 of 23 Posts

· DesMuMe Bug Catcher
Joined
·
81 Posts
Mmmmh, interesting Nherve. Maybe i can try on Desmume to simulate this issue with different values, to check if can be the problem on that games.

Nherve what lines are dedicated on demsume for frequency calculation?

Thank you!:thumb:
 

· Registered
Joined
·
831 Posts
See SPU_Write<Word/Long> and SPU_KeyOn for frequency calculation. It's the lines where a value is assigned to thischan.sampinc . But the frequency calculation formula used in DeSmuME isn't accurate (uses 16777216 instead of 16756991). But it doesn't affect the sound output.

The bug could also be a channel that is started whereas it shouldn't be, case where its start address would point to bad memory, causing bad sound to be played.

It could also be an emulation bug causing memory corruption or something else.
 

· DesMuMe Bug Catcher
Joined
·
81 Posts
You're right Nherve but to be sure i would make some test only to discard this possibility about the frequency. :thumb: Thank you for the instruction!
 
21 - 23 of 23 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top