mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Debugger: Poll frequently after stepping.
This will make us listen for events slightly less often, so we don't want to sustain it.
This commit is contained in:
1 parent
fc8ad3b47b
commit
2f3b6c19d0
3 files changed
+14
-4
No files matched your search
@@ -29,7 +29,7 @@ JsonWriter &DebuggerRequest::Respond() {
|
||||
return writer_;
|
||||
}
|
||||
|
||||
void DebuggerRequest::Finish() {
|
||||
bool DebuggerRequest::Finish() {
|
||||
if (responseBegun_ && !responseSent_) {
|
||||
writer_.end();
|
||||
if (responsePartial_)
|
||||
@@ -40,6 +40,8 @@ void DebuggerRequest::Finish() {
|
||||
responseSent_ = true;
|
||||
responsePartial_ = false;
|
||||
}
|
||||
|
||||
return responseSent_;
|
||||
}
|
||||
|
||||
void DebuggerRequest::Flush() {
|
||||
|
||||
@@ -86,7 +86,7 @@ struct DebuggerRequest {
|
||||
|
||||
JsonWriter &Respond();
|
||||
void Flush();
|
||||
void Finish();
|
||||
bool Finish();
|
||||
|
||||
private:
|
||||
JsonWriter writer_;
|
||||
|
||||
Reference in new issue
Block a user