oops again
This commit is contained in:
parent
5a0e5e00c2
commit
9edd683394
@ -10,16 +10,15 @@ vga_write(s8 *sequence, s32 size, s8 flags)
|
|||||||
for (s32 i = 0; i <= VGA_SIZE; i++) {
|
for (s32 i = 0; i <= VGA_SIZE; i++) {
|
||||||
vga_vidmem[i] = sequence[using_size + i];
|
vga_vidmem[i] = sequence[using_size + i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 i = *vga_vidmem;
|
|
||||||
|
|
||||||
while (*sequence != '\0') {
|
while (*sequence != '\0') {
|
||||||
vga_vidmem[i] = *sequence;
|
vga_vidmem[unused++] = *sequence;
|
||||||
*sequence++;
|
*sequence++;
|
||||||
i++;
|
|
||||||
vga_vidmem[unused++] = flags;
|
vga_vidmem[unused++] = flags;
|
||||||
i++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user