mirror of https://github.com/xemu-project/xemu.git
not going to fix this any time soon...
This commit is contained in:
parent
98b5749b29
commit
a100275422
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue