cursor should advance at proper rates now
This commit is contained in:
parent
814f361e8b
commit
9f793bfd2a
@ -13,12 +13,13 @@ static u8* Frame_Buffer = (u8*)FRAME_BUFFER_ADDR;
|
||||
s32 Frame_Buffer_Cursor = 0x0000;
|
||||
|
||||
void frame_buffer_newline() {
|
||||
while(Frame_Buffer_Cursor != (AREA*2)) {
|
||||
while(Frame_Buffer_Cursor != (AREA*8)) {
|
||||
if((Frame_Buffer_Cursor % 160) == 0) {
|
||||
break;
|
||||
Frame_Buffer_Cursor+=160;
|
||||
}
|
||||
else {
|
||||
Frame_Buffer_Cursor++;
|
||||
Frame_Buffer_Cursor+=2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user