NV2A : Log NV2A messages in similarly to other logging
This commit is contained in:
parent
00e95be25d
commit
55a764ce52
|
@ -180,7 +180,7 @@ static void *nv_dma_map(NV2AState *d, xbaddr dma_obj_address, xbaddr *len)
|
|||
DMAObject dma = nv_dma_load(d, dma_obj_address);
|
||||
|
||||
/* TODO: Handle targets and classes properly */
|
||||
printf("dma_map %x, %x, %x %x\n",
|
||||
NV2A_DPRINTF("dma_map %x, %x, %x %x\n",
|
||||
dma.dma_class, dma.dma_target, dma.address, dma.limit);
|
||||
|
||||
dma.address &= 0x07FFFFFF;
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
|
||||
typedef xbaddr hwaddr; // Compatibility; Cxbx uses xbaddr, xqemu and OpenXbox use hwaddr
|
||||
typedef uint32_t value_t; // Compatibility; Cxbx values are uint32_t (xqemu and OpenXbox use uint64_t)
|
||||
#define NV2A_DPRINTF printf // Compatibility; TODO : Replace this by something equivalent
|
||||
#define NV2A_DPRINTF(...) printf("[0x????] NV2A: " ## __VA_ARGS__) // Compatibility; TODO : Replace this by something equivalent
|
||||
#define NV2A_GL_DPRINTF EmuWarning // Compatibility; TODO : Replace this by something equivalent
|
||||
#define VSH_TOKEN_SIZE 4 // Compatibility; TODO : Move this to nv2a_vsh.h
|
||||
#define MAX(a,b) ((a)>(b) ? (a) : (b)) // Compatibility
|
||||
|
|
Loading…
Reference in New Issue