From f81c293485a509d4abec4871baa3167d5a5de163 Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 5 Nov 2025 03:04:49 +0100 Subject: [PATCH] And I forgot a missing fraction (and vid_svga.h). --- src/86box.c | 2 +- src/include/86box/vid_svga.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/86box.c b/src/86box.c index 8b2dddc7f..fae30ca5e 100644 --- a/src/86box.c +++ b/src/86box.c @@ -1744,7 +1744,7 @@ update_mouse_msg(void) plat_get_string(STRING_MOUSE_CAPTURE)); swprintf(mouse_msg[1], sizeof_w(mouse_msg[1]), L"%%i%%%% - %ls", (mouse_get_buttons() > 2) ? plat_get_string(STRING_MOUSE_RELEASE) : plat_get_string(STRING_MOUSE_RELEASE_MMB)); - wcsncpy(mouse_msg[2], L"%i.%i%%", sizeof_w(mouse_msg[2])); + wcsncpy(mouse_msg[2], L"%i%%", sizeof_w(mouse_msg[2])); #else swprintf(mouse_msg[0], sizeof_w(mouse_msg[0]), L"%ls v%ls - %%i%%%% - %ls - %ls/%ls - %ls", EMU_NAME_W, EMU_VERSION_FULL_W, wmachine, wcpufamily, wcpu, diff --git a/src/include/86box/vid_svga.h b/src/include/86box/vid_svga.h index 814a986c3..252463af7 100644 --- a/src/include/86box/vid_svga.h +++ b/src/include/86box/vid_svga.h @@ -29,6 +29,7 @@ # define FLAG_512K_MASK 512 # define FLAG_NO_SHIFT3 1024 /* Needed for Bochs VBE. */ # define FLAG_PRECISETIME 2048 /* Needed for Copper demo if on dynarec. */ +# define FLAG_PANNING_ATI 4096 struct monitor_t; typedef struct hwcursor_t { @@ -136,6 +137,7 @@ typedef struct svga_t { int ps_bit_bug; int ati_4color; int vblankend; + int panning_blank; int render_line_offset; int start_retrace_latch; int vga_mode;