It is a register, not a command, be consistent

This commit is contained in:
Jonathan Campbell 2025-05-04 17:30:09 -07:00
parent dd8afd4f7b
commit 837b06503c
2 changed files with 4 additions and 4 deletions

View File

@ -76,8 +76,8 @@ extern uint16_t DOSBOXID_VAR dosbox_id_baseio;
#define DOSBOX_ID_REG_RELEASE_MOUSE_CAPTURE (0x0052434DUL) /* release mouse capture (W) / mouse capture status (R) */
#define DOSBOX_ID_CMD_GET_VGA_SIZE (0x006845C0UL) /* size of the VGA screen */
#define DOSBOX_ID_CMD_GET_WINDOW_SIZE (0x006845FFUL) /* size of the emulator window (to give USER_MOUSE_CURSOR meaning) */
#define DOSBOX_ID_REG_GET_VGA_SIZE (0x006845C0UL) /* size of the VGA screen */
#define DOSBOX_ID_REG_GET_WINDOW_SIZE (0x006845FFUL) /* size of the emulator window (to give USER_MOUSE_CURSOR meaning) */
#define DOSBOX_ID_REG_8042_KB_INJECT (0x00804200UL)
# define DOSBOX_ID_8042_KB_INJECT_KB (0x00UL << 8UL)

View File

@ -805,11 +805,11 @@ void dosbox_integration_trigger_read() {
dosbox_int_register = dos_kernel_disabled || !uselfn ? 0: 1;
break;
case DOSBOX_ID_CMD_GET_VGA_SIZE: /* query VGA display size */
case DOSBOX_ID_REG_GET_VGA_SIZE: /* query VGA display size */
dosbox_int_register = VGA_QuerySizeIG();
break;
case DOSBOX_ID_CMD_GET_WINDOW_SIZE: /* query window size (so user mouse cursor has meaning) */
case DOSBOX_ID_REG_GET_WINDOW_SIZE: /* query window size (so user mouse cursor has meaning) */
dosbox_int_register = user_cursor_sw | (user_cursor_sh << 16);
break;