Fix some build + impl errors with HIO

After rebase there were some API changes, also fix continuation logic in
the main gdbstub.
This commit is contained in:
Ian Chamberlain 2023-03-31 14:05:57 -04:00
parent 33dde0d06b
commit 83138e0c63
No known key found for this signature in database
GPG key ID: AE5484D09405AA60
4 changed files with 94 additions and 63 deletions

View file

@ -1144,7 +1144,7 @@ void SVC::Break(u8 break_reason) {
/// Used to output a message on a debug hardware unit, or for the GDB HIO
// protocol - does nothing on a retail unit.
void SVC::OutputDebugString(VAddr address, s32 len) {
if (!Memory::IsValidVirtualAddress(*kernel.GetCurrentProcess(), address)) {
if (!memory.IsValidVirtualAddress(*kernel.GetCurrentProcess(), address)) {
LOG_WARNING(Kernel_SVC, "OutputDebugString called with invalid address {:X}", address);
return;
}