mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-11 05:10:05 +00:00
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:
parent
6f23ee43ae
commit
7de1bf3746
4 changed files with 94 additions and 57 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue