svc: Correct parameter type for OutputDebugString()

This should be a u64 to represent size.
This commit is contained in:
Lioncash 2018-09-12 04:49:08 -04:00
parent 475222a496
commit 04d723baf9
2 changed files with 3 additions and 3 deletions

View file

@ -273,7 +273,7 @@ static void Break(u64 reason, u64 info1, u64 info2) {
}
/// Used to output a message on a debug hardware unit - does nothing on a retail unit
static void OutputDebugString(VAddr address, s32 len) {
static void OutputDebugString(VAddr address, u64 len) {
std::string str(len, '\0');
Memory::ReadBlock(address, str.data(), str.size());
LOG_DEBUG(Debug_Emulated, "{}", str);