mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-07 18:36:09 +08:00
It is a register, not a command, be consistent
This commit is contained in:
parent
dd8afd4f7b
commit
837b06503c
@ -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)
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user