nv2a: Fix register print debug macro

This commit is contained in:
Matt Borgerson 2022-01-12 12:17:21 -07:00 committed by mborgerson
parent 7bd68b4bfc
commit 42c44dc241
3 changed files with 3 additions and 2 deletions

View File

@ -36,6 +36,7 @@
# define NV2A_DPRINTF(format, ...) do { } while (0)
#endif
// #define DEBUG_NV2A_REG
// #define DEBUG_NV2A_GL
#ifdef DEBUG_NV2A_GL

View File

@ -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)

View File

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