mVL: Fix injecting accidentally draining non-injection buffer
1
CHANGES
|
@ -4,6 +4,7 @@ Other fixes:
|
||||||
- 3DS: Fix crash with libctru 2.0 when exiting
|
- 3DS: Fix crash with libctru 2.0 when exiting
|
||||||
- Qt: Add dummy English translation file (fixes mgba.io/i/1469)
|
- Qt: Add dummy English translation file (fixes mgba.io/i/1469)
|
||||||
- mGUI: Fix closing down a game if an exit is signalled
|
- 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
|
- VFS: Fix directory node listing on some filesystems
|
||||||
|
|
||||||
0.8.3: (2020-08-03)
|
0.8.3: (2020-08-03)
|
||||||
|
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.2 KiB |
|
@ -997,7 +997,7 @@ static ssize_t mVideoLoggerReadChannel(struct mVideoLogChannel* channel, void* d
|
||||||
data = (uint8_t*) data + size;
|
data = (uint8_t*) data + size;
|
||||||
length -= size;
|
length -= size;
|
||||||
}
|
}
|
||||||
if (!_fillBuffer(context, channelId, BUFFER_BASE_SIZE)) {
|
if (channel->injecting || !_fillBuffer(context, channelId, BUFFER_BASE_SIZE)) {
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
size += CircleBufferRead(buffer, data, length);
|
size += CircleBufferRead(buffer, data, length);
|
||||||
|
|