mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
Avoid logging if word reading from the IOGA
This commit is contained in:
parent
59a9815e1c
commit
d134bb39d4
@ -213,6 +213,7 @@ READ32_MEMBER(saturn_state::stv_ioga_r32)
|
||||
if(ACCESSING_BITS_0_7)
|
||||
res |= stv_ioga_r(space,offset*4+3);
|
||||
if(ACCESSING_BITS_8_15 || ACCESSING_BITS_24_31)
|
||||
if(!(ACCESSING_BITS_16_23 || ACCESSING_BITS_0_7))
|
||||
printf("Warning: IOGA reads from odd offset %02x %08x!\n",offset*4,mem_mask);
|
||||
|
||||
return res;
|
||||
@ -225,6 +226,7 @@ WRITE32_MEMBER(saturn_state::stv_ioga_w32)
|
||||
if(ACCESSING_BITS_0_7)
|
||||
stv_ioga_w(space,offset*4+3,data);
|
||||
if(ACCESSING_BITS_8_15 || ACCESSING_BITS_24_31)
|
||||
if(!(ACCESSING_BITS_16_23 || ACCESSING_BITS_0_7))
|
||||
printf("Warning: IOGA writes to odd offset %02x (%08x) -> %08x!",offset*4,mem_mask,data);
|
||||
|
||||
return;
|
||||
@ -240,6 +242,7 @@ READ32_MEMBER(saturn_state::critcrsh_ioga_r32)
|
||||
if(ACCESSING_BITS_0_7)
|
||||
res |= critcrsh_ioga_r(space,offset*4+3);
|
||||
if(ACCESSING_BITS_8_15 || ACCESSING_BITS_24_31)
|
||||
if(!(ACCESSING_BITS_16_23 || ACCESSING_BITS_0_7))
|
||||
if(!space.debugger_access())
|
||||
printf("Warning: IOGA reads from odd offset %02x %08x!\n",offset*4,mem_mask);
|
||||
|
||||
@ -256,6 +259,7 @@ READ32_MEMBER(saturn_state::stvmp_ioga_r32)
|
||||
if(ACCESSING_BITS_0_7)
|
||||
res |= stvmp_ioga_r(space,offset*4+3);
|
||||
if(ACCESSING_BITS_8_15 || ACCESSING_BITS_24_31)
|
||||
if(!(ACCESSING_BITS_16_23 || ACCESSING_BITS_0_7))
|
||||
if(!space.debugger_access())
|
||||
printf("Warning: IOGA reads from odd offset %02x %08x!\n",offset*4,mem_mask);
|
||||
|
||||
@ -269,6 +273,7 @@ WRITE32_MEMBER(saturn_state::stvmp_ioga_w32)
|
||||
if(ACCESSING_BITS_0_7)
|
||||
stvmp_ioga_w(space,offset*4+3,data);
|
||||
if(ACCESSING_BITS_8_15 || ACCESSING_BITS_24_31)
|
||||
if(!(ACCESSING_BITS_16_23 || ACCESSING_BITS_0_7))
|
||||
if(!space.debugger_access())
|
||||
printf("Warning: IOGA writes to odd offset %02x (%08x) -> %08x!",offset*4,mem_mask,data);
|
||||
}
|
||||
@ -283,6 +288,7 @@ READ32_MEMBER(saturn_state::magzun_ioga_r32)
|
||||
if(ACCESSING_BITS_0_7)
|
||||
res |= magzun_ioga_r(space,offset*4+3);
|
||||
if(ACCESSING_BITS_8_15 || ACCESSING_BITS_24_31)
|
||||
if(!(ACCESSING_BITS_16_23 || ACCESSING_BITS_0_7))
|
||||
if(!space.debugger_access())
|
||||
printf("Warning: IOGA reads from odd offset %02x %08x!\n",offset*4,mem_mask);
|
||||
|
||||
@ -296,6 +302,7 @@ WRITE32_MEMBER(saturn_state::magzun_ioga_w32)
|
||||
if(ACCESSING_BITS_0_7)
|
||||
magzun_ioga_w(space,offset*4+3,data);
|
||||
if(ACCESSING_BITS_8_15 || ACCESSING_BITS_24_31)
|
||||
if(!(ACCESSING_BITS_16_23 || ACCESSING_BITS_0_7))
|
||||
if(!space.debugger_access())
|
||||
printf("Warning: IOGA writes to odd offset %02x (%08x) -> %08x!",offset*4,mem_mask,data);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user