mirror of https://github.com/xemu-project/xemu.git
nv2a: Fix register print debug macro
This commit is contained in:
parent
7bd68b4bfc
commit
42c44dc241
|
@ -36,6 +36,7 @@
|
|||
# define NV2A_DPRINTF(format, ...) do { } while (0)
|
||||
#endif
|
||||
|
||||
// #define DEBUG_NV2A_REG
|
||||
// #define DEBUG_NV2A_GL
|
||||
#ifdef DEBUG_NV2A_GL
|
||||
|
||||
|
|
|
@ -120,7 +120,7 @@ const struct NV2ABlockInfo blocktable[] = {
|
|||
};
|
||||
#undef ENTRY
|
||||
|
||||
#ifdef NV2A_DEBUG
|
||||
#ifdef DEBUG_NV2A_REG
|
||||
static const char *nv2a_reg_names[] = {};
|
||||
|
||||
void nv2a_reg_log_read(int block, hwaddr addr, uint64_t val)
|
||||
|
|
|
@ -492,7 +492,7 @@ extern GloContext *g_nv2a_context_display;
|
|||
|
||||
void nv2a_update_irq(NV2AState *d);
|
||||
|
||||
#ifdef NV2A_DEBUG
|
||||
#ifdef DEBUG_NV2A_REG
|
||||
void nv2a_reg_log_read(int block, hwaddr addr, uint64_t val);
|
||||
void nv2a_reg_log_write(int block, hwaddr addr, uint64_t val);
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue