Compare commits

...

2 Commits

Author SHA1 Message Date
Gleb Zaharov
8ece779b4b 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>
2024-07-23 00:41:58 +02:00
Egor00f
a218a83bd5 Fix ksys.h
Extra comma in ksys_draw_bitmap_palette function
2024-07-22 22:18:31 +00:00

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