Fix ksys.h
Extra comma in ksys_draw_bitmap_palette function
This commit is contained in:
parent
f222e98a09
commit
a218a83bd5
@ -1223,10 +1223,10 @@ KOSAPI void _ksys_debug_puts(const char* s)
|
|||||||
KOSAPI void ksys_draw_bitmap_palette(void* bitmap, int x, int y, int w, int h, int bpp, void* palette, int offset)
|
KOSAPI void ksys_draw_bitmap_palette(void* bitmap, int x, int y, int w, int h, int bpp, void* palette, int offset)
|
||||||
{
|
{
|
||||||
asm_inline(
|
asm_inline(
|
||||||
"pushl %%ebp,\n\t" // save EBP register
|
"pushl %%ebp\n\t" // save EBP register
|
||||||
"movl 0x24(%%ebp), %%ebp\n\t" // 0x24 - "offset" param
|
"movl 0x24(%%ebp), %%ebp\n\t" // 0x24 - "offset" param
|
||||||
"int $0x40\n\t"
|
"int $0x40\n\t"
|
||||||
"popl %%ebp" // restore EBP register
|
"popl %%ebp" // restore EBP register
|
||||||
:
|
:
|
||||||
: "a"(65),
|
: "a"(65),
|
||||||
"b"(bitmap),
|
"b"(bitmap),
|
||||||
|
Loading…
Reference in New Issue
Block a user