Explorar el Código

Applets/swkdb: Remove use of Memory::GetPointer

MerryMage hace 10 años
padre
commit
aa84cab4e9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/core/hle/applets/swkbd.cpp

+ 1 - 1
src/core/hle/applets/swkbd.cpp

@@ -99,7 +99,7 @@ void SoftwareKeyboard::DrawScreenKeyboard() {
     auto info = bottom_screen->framebuffer_info[bottom_screen->index];
 
     // TODO(Subv): Draw the HLE keyboard, for now just zero-fill the framebuffer
-    memset(Memory::GetPointer(info.address_left), 0, info.stride * 320);
+    Memory::ZeroBlock(info.address_left, info.stride * 320);
 
     GSP_GPU::SetBufferSwap(1, info);
 }