not going to fix this any time soon...

This commit is contained in:
espes 2015-04-21 01:59:24 -07:00
parent 98b5749b29
commit a100275422
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}