Skip to content

Commit 56a67e2

Browse files
Ah, LOG() in cpu.cpp is a dummy unless "debug spew", use the unblocked version to show writes to 386 debug regs
1 parent bf24d53 commit 56a67e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cpu/cpu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2676,7 +2676,7 @@ bool CPU_READ_CRX(Bitu cr,uint32_t & retvalue) {
26762676
bool CPU_WRITE_DRX(Bitu dr,Bitu value) {
26772677
/* Check if privileged to access control registers */
26782678
if (cpu.pmode && (cpu.cpl>0)) return CPU_PrepareException(EXCEPTION_GP,0);
2679-
LOG(LOG_CPU,LOG_DEBUG)("386 debug write to DR%d",cr);
2679+
UNBLOCKED_LOG(LOG_CPU,LOG_DEBUG)("386 debug write to DR%d = %X",(unsigned int)dr,(unsigned int)value);
26802680
switch (dr) {
26812681
case 0:
26822682
case 1:

0 commit comments

Comments
 (0)