mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 13:06:24 +02:00
Merge pull request #13831 from unknownbrackets/debugger
Debugger: Tweaks to memory read/write APIs
This commit is contained in:
7 files changed
+199
-19
No files matched your search
@@ -164,6 +164,12 @@ bool InputSink::Skip(size_t bytes) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void InputSink::Discard() {
|
||||
read_ = 0;
|
||||
write_ = 0;
|
||||
valid_ = 0;
|
||||
}
|
||||
|
||||
void InputSink::Fill() {
|
||||
// Avoid small reads if possible.
|
||||
if (BUFFER_SIZE - valid_ > PRESSURE) {
|
||||
|
||||
Reference in new issue
Block a user