forked from KolibriOS/kolibrios
Merge pull request 'Extra comma in ksys.h' (#79) from Egor00f/kolibrios:main into main
Reviewed-on: KolibriOS/kolibrios#79 Reviewed-by: Gleb Zaharov <sweetbread@coders-squad.com>
This commit is contained in:
commit
8ece779b4b
@ -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)
|
||||
{
|
||||
asm_inline(
|
||||
"pushl %%ebp,\n\t" // save EBP register
|
||||
"movl 0x24(%%ebp), %%ebp\n\t" // 0x24 - "offset" param
|
||||
"pushl %%ebp\n\t" // save EBP register
|
||||
"movl 0x24(%%ebp), %%ebp\n\t" // 0x24 - "offset" param
|
||||
"int $0x40\n\t"
|
||||
"popl %%ebp" // restore EBP register
|
||||
"popl %%ebp" // restore EBP register
|
||||
:
|
||||
: "a"(65),
|
||||
"b"(bitmap),
|
||||
|
Loading…
Reference in New Issue
Block a user