Properly parse incoming hio packet
This also does kind of a hacky way of sending HIO requests, since we don't have a direct way of signaling a request should be sent like the Rosalina implementation. To improve this, it could probably do some kind of signal sending which the main run loop handles instead of GDBStub::HandlePacket();
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
// Copyright 2022 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/common_types.h"
|
||||
@ -23,10 +27,10 @@ struct PackedGdbHioRequest {
|
||||
|
||||
void SetHioRequest(const VAddr address);
|
||||
|
||||
bool HandleHioRequest(const u8* const command_buffer, const u32 command_length);
|
||||
bool HandleHioReply(const u8* const command_buffer, const u32 command_length);
|
||||
|
||||
bool HasHioRequest();
|
||||
|
||||
std::string BuildHioReply();
|
||||
std::string BuildHioRequestPacket();
|
||||
|
||||
} // namespace GDBStub
|
||||
|
Reference in New Issue
Block a user