meta: enable debug for lpc & blkmemory -- will be dropped later

This commit is contained in:
wutno 2025-03-08 18:35:17 -05:00
parent 11f8d3df63
commit 02c147089f
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@
#include "block/blkmemory.h"
// #define DEBUG_BLKMEMORY
#define DEBUG_BLKMEMORY
typedef struct BDRVMemoryState {
uint64_t size;

View File

@ -42,8 +42,8 @@
#define ISA_LPCSEGA_DEVICE(obj) \
OBJECT_CHECK(ISALPCSEGAState, (obj), TYPE_ISA_LPCSEGA_DEVICE)
// #define DEBUG
#ifdef DEBUG
#define DEBUG_SEGA
#ifdef DEBUG_SEGA
# define DPRINTF(format, ...) printf(format, ## __VA_ARGS__)
#else
# define DPRINTF(format, ...) do { } while (0)