mVL: Fix injecting accidentally draining non-injection buffer
1
CHANGES
|
@ -37,6 +37,7 @@ Other fixes:
|
||||||
- Qt: Fix a race condition in the frame inspector
|
- Qt: Fix a race condition in the frame inspector
|
||||||
- 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
|
||||||
- SM83: Simplify register pair access on big endian
|
- SM83: Simplify register pair access on big endian
|
||||||
- VFS: Fix directory node listing on some filesystems
|
- VFS: Fix directory node listing on some filesystems
|
||||||
Misc:
|
Misc:
|
||||||
|
|
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.1 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 |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
|
@ -1000,7 +1000,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);
|
||||||
|
|