diff options
Diffstat (limited to 'hw/cuda.c')
| -rw-r--r-- | hw/cuda.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/cuda.c b/hw/cuda.c index 83ae68ad59..50950d9100 100644 --- a/hw/cuda.c +++ b/hw/cuda.c @@ -316,8 +316,10 @@ static uint32_t cuda_readb(void *opaque, target_phys_addr_t addr) val = s->anh; break; } - if (addr != 13 || val != 0) + if (addr != 13 || val != 0) { CUDA_DPRINTF("read: reg=0x%x val=%02x\n", (int)addr, val); + } + return val; } |