Merge pull request 'Extra comma in ksys.h' (#79) from Egor00f/kolibrios:main into main

Reviewed-on: https://git.kolibrios.org/KolibriOS/kolibrios/pulls/79
Reviewed-by: Gleb Zaharov <sweetbread@coders-squad.com>
This commit is contained in:
Gleb Zaharov 2024-07-23 00:41:58 +02:00
commit 8ece779b4b

View File

@ -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),