소스 검색

Applets/swkdb: Remove use of Memory::GetPointer

MerryMage 10 년 전
부모
커밋
aa84cab4e9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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];
     auto info = bottom_screen->framebuffer_info[bottom_screen->index];
 
 
     // TODO(Subv): Draw the HLE keyboard, for now just zero-fill the framebuffer
     // 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);
     GSP_GPU::SetBufferSwap(1, info);
 }
 }