From 6831c527f5cdc38d36ac884f800064f064c24b48 Mon Sep 17 00:00:00 2001 From: Jonathan Campbell Date: Sun, 4 May 2025 16:46:49 -0700 Subject: [PATCH] CMD is for command port constants, name it REG, be consistent --- include/iglib.h | 2 +- src/ints/bios.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/iglib.h b/include/iglib.h index aa5d15e64..c57729823 100644 --- a/include/iglib.h +++ b/include/iglib.h @@ -142,7 +142,7 @@ extern uint16_t DOSBOXID_VAR dosbox_id_baseio; #define DOSBOX_ID_REG_MIXER_QUERY (0x5158494DUL) -#define DOSBOX_ID_CMD_SET_WATCHDOG (0x57415444UL) +#define DOSBOX_ID_REG_SET_WATCHDOG (0x57415444UL) /* return value of DOSBOX_ID_REG_IDENTIFY */ #define DOSBOX_ID_IDENTIFICATION (0xD05B0740UL) diff --git a/src/ints/bios.cpp b/src/ints/bios.cpp index d190ba02f..3646d02af 100644 --- a/src/ints/bios.cpp +++ b/src/ints/bios.cpp @@ -952,7 +952,7 @@ void dosbox_integration_trigger_write() { GFX_ReleaseMouse(); break; - case DOSBOX_ID_CMD_SET_WATCHDOG: /* Set/clear watchdog timer 'WATD' */ + case DOSBOX_ID_REG_SET_WATCHDOG: /* Set/clear watchdog timer 'WATD' */ Watchdog_Timer_Set(dosbox_int_register); break;