From 3b2e3009d36d7713eb7db86a1fc09e5e1ae84695 Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Mon, 17 Oct 2022 14:14:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B2=8C=E4=BC=BC=E5=8F=AF=E4=BB=A5=E4=BA=86?= =?UTF-8?q?=EF=BC=8C=E6=8D=A2=E5=9B=9E=E8=83=8C=E6=99=AF=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/atp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/arm11/atp.c b/source/arm11/atp.c index 555ccce..6fc58f5 100644 --- a/source/arm11/atp.c +++ b/source/arm11/atp.c @@ -88,7 +88,7 @@ static void screen_clean_zone( int x, int y, int w, int h ) if( x < 0 || y < 0 || x+w >= WINDOW_WIDTH || y+h >=WINDOW_HEIGHT ) return; - for( int i=0; i < w; i++ ) memset( consoleGet()->frameBuffer + WINDOW_HEIGHT*(i+x) + (WINDOW_HEIGHT-1-y-h), 0xff, h*sizeof(u16) ); + for( int i=0; i < w; i++ ) memset( consoleGet()->frameBuffer + WINDOW_HEIGHT*(i+x) + (WINDOW_HEIGHT-1-y-h), 0, h*sizeof(u16) ); } // wait key pressed, if power key is pressed, return 0