feat: white cursor with black outline (desktop/login/firstInit) + fix hash patcher param

- outline = empty pixel with any 8-neighbour filled, stays inside cursor save region

- patch_login_hash.ps1: typed byte[] params + ASCII comments, default path fallback (was silently misbinding under some hosts)
This commit is contained in:
Linehu
2026-10-04 22:43:18 +08:00
parent b4d9c8e7ed
commit a570fe09b5
4 changed files with 53 additions and 18 deletions
+2 -2
View File
@@ -499,8 +499,8 @@ static void cursor_draw(u32 *fb, i64 mx, i64 my) {
cursor_bg_valid = 1;
cursor_cur_x = mx;
cursor_cur_y = my;
/* draw cursor shape(全白指针,深色描边改白) */
u32 white = 0xFFFFFFFF, dark = 0xFFFFFFFF;
/* draw cursor shape(白色指针 + 纯黑描边,'X'=描边 'O'=填充) */
u32 white = 0xFFFFFFFF, dark = 0xFF000000;
for (i64 y = 0; y < CUR_H; y++) {
i64 py = my + y;
if (py < 0 || (u64)py >= fb_h) continue;