Memory: move block operations into class

This commit is contained in:
Weiyi Wang
2018-12-05 20:21:14 -05:00
parent 323990d402
commit 2582d64fb3
13 changed files with 174 additions and 159 deletions
+1 -1
View File
@@ -802,7 +802,7 @@ void SVC::OutputDebugString(VAddr address, s32 len) {
}
std::string string(len, ' ');
Memory::ReadBlock(*kernel.GetCurrentProcess(), address, string.data(), len);
memory.ReadBlock(*kernel.GetCurrentProcess(), address, string.data(), len);
LOG_DEBUG(Debug_Emulated, "{}", string);
}