Merge branch '86Box:master' into master

This commit is contained in:
starfrost
2024-12-02 11:39:19 +00:00
committed by GitHub

View File

@@ -462,7 +462,6 @@ static const geom_t ibm_type_table[] = {
// clang-format on
};
#define ENABLE_PS1_HDC_LOG 1
#ifdef ENABLE_PS1_HDC_LOG
int ps1_hdc_do_log = ENABLE_PS1_HDC_LOG;
@@ -721,7 +720,9 @@ hdc_callback(void *priv)
off64_t addr;
int no_data = 0;
int val;
#ifdef ENABLE_PS1_HDC_LOG
uint8_t cmd = ccb->cmd & 0x0f;
#endif
/* Clear the SSB error bits. */
dev->ssb.track_0 = 0;