update comments for ksys_draw_bitmap_palette && add .vscode dir to .gitignore

Yes, I use vscode.
This commit is contained in:
Егор 2024-11-17 08:10:14 +00:00
parent f78b47b814
commit 1b88ec0ac2
2 changed files with 7 additions and 4 deletions

3
.gitignore vendored
View File

@ -7,3 +7,6 @@ ehthumbs_vista.db
### macOS ###
.DS_Store
._*
# vscode folder
.vscode/

View File

@ -1224,8 +1224,8 @@ KOSAPI void ksys_draw_bitmap_palette(void* bitmap, int x, int y, int w, int h, i
{
asm_inline(
"pushl %%ebp\n\t" // save EBP register
"movl %0, %%ebp\n\t" // 0x24 - "offset" param
"int $0x40\n\t"
"movl %0, %%ebp\n\t" // mov offset to EBP register
"int $0x40\n\t" // system call
"popl %%ebp" // restore EBP register
::
"X"(offset),