krs013
Issue asserting Cartridge title SML
Modifying the code won't be an effective way to debug unless you recompile PyBoy from source after doing so, just FYI. I can't help more right now but maybe someone around here has a checksum of the rom--my first guess is that you have a different or modified rom file of some kind.
25 replies
Save states not functioning properly when sound flag is used
Then the access violation is caused in
Sound.enqueue_sound(self)
:
when SDL_QueueAudio(...)
tries to access a values indexed off of self.audiobuffer_p
that is outside of the buffer and possibly allocated memory.30 replies
Save states not functioning properly when sound flag is used
to make matters worse, there's this:
I'm not sure why that's
min
instead of max
for the number of samples to generate--I think we've gone back and forth on it before, but whatever the reason is, if nsamples
is greater than 2048, it will overrun the sample buffer.30 replies