From a1002754223fb227117c99a14b676038a296f25f Mon Sep 17 00:00:00 2001 From: espes Date: Tue, 21 Apr 2015 01:59:24 -0700 Subject: [PATCH] not going to fix this any time soon... --- hw/xbox/nv2a.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/xbox/nv2a.c b/hw/xbox/nv2a.c index 3806d225f6..95206a397c 100644 --- a/hw/xbox/nv2a.c +++ b/hw/xbox/nv2a.c @@ -1229,7 +1229,9 @@ static void *nv_dma_map(NV2AState *d, hwaddr dma_obj_address, hwaddr *len) DMAObject dma = nv_dma_load(d, dma_obj_address); /* TODO: Handle targets and classes properly */ - assert(dma.address + dma.limit < memory_region_size(d->vram)); + // NV2A_DPRINTF("dma_map %x, %x, %llx %llx\n", + // dma.dma_class, dma.dma_target, dma.address, dma.limit); + // assert(dma.address + dma.limit < memory_region_size(d->vram)); *len = dma.limit; return d->vram_ptr + dma.address; }