mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
nv2a: Fix register print debug macro
This commit is contained in:
committed by
mborgerson
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
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user