SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 38eafeb0cfb12fcd0a89c47927fa6924452a641d parent 97652b7460d413ed97a48eb6e106937a3286e070 Author: Lior Halphon <LIJI32@gmail.com> Date: Wed, 29 Dec 2021 17:03:44 +0200 Never deadlock ever again thanks Diffstat:
| M | Cocoa/Document.m | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cocoa/Document.m b/Cocoa/Document.m @@ -390,7 +390,7 @@ static void infraredStateChanged(GB_gameboy_t *gb, bool on) if (audioBufferPosition < nFrames) { audioBufferNeeded = nFrames; - [audioLock wait]; + [audioLock waitUntilDate:[NSDate dateWithTimeIntervalSinceNow:0.125]]; } if (stopping || GB_debugger_is_stopped(&gb)) {
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.