diff --git a/.gitignore b/.gitignore index 111e2100d4..668346f52f 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,3 @@ ehthumbs_vista.db ### macOS ### .DS_Store ._* - -# vscode folder -.vscode/ diff --git a/contrib/sdk/sources/newlib/libc/include/sys/ksys.h b/contrib/sdk/sources/newlib/libc/include/sys/ksys.h index 36fc2e2904..a9c7281e44 100644 --- a/contrib/sdk/sources/newlib/libc/include/sys/ksys.h +++ b/contrib/sdk/sources/newlib/libc/include/sys/ksys.h @@ -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 %0, %%ebp\n\t" // mov offset to EBP register - "int $0x40\n\t" // system call - "popl %%ebp" // restore EBP register + "pushl %%ebp\n\t" // save EBP register + "movl %0, %%ebp\n\t" // 0x24 - "offset" param + "int $0x40\n\t" + "popl %%ebp" // restore EBP register :: "X"(offset), "a"(65),