all repos — mgba @ e54a01bcaf071629674881e1cfde204bd7e702c7

mGBA Game Boy Advance Emulator

mVL: Fix injecting accidentally draining non-injection buffer
Vicki Pfau vi@endrift.com
Sat, 08 Aug 2020 18:14:28 -0700
commit

e54a01bcaf071629674881e1cfde204bd7e702c7

parent

729c5fd73a7e6ecb40625c36249d1d4dac4fda57

M CHANGESCHANGES

@@ -4,6 +4,7 @@ - 3DS: Redo video sync to be more precise

- 3DS: Fix crash with libctru 2.0 when exiting - Qt: Add dummy English translation file (fixes mgba.io/i/1469) - mGUI: Fix closing down a game if an exit is signalled + - mVL: Fix injecting accidentally draining non-injection buffer - VFS: Fix directory node listing on some filesystems 0.8.3: (2020-08-03)
M src/feature/video-logger.csrc/feature/video-logger.c

@@ -997,7 +997,7 @@ }

data = (uint8_t*) data + size; length -= size; } - if (!_fillBuffer(context, channelId, BUFFER_BASE_SIZE)) { + if (channel->injecting || !_fillBuffer(context, channelId, BUFFER_BASE_SIZE)) { return size; } size += CircleBufferRead(buffer, data, length);