mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 14:24:12 +08:00
貌似可以了,换回背景色
This commit is contained in:
parent
a45ae7c64b
commit
3b2e3009d3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user