diff --git a/hw/kdrive/smi/smi.c b/hw/kdrive/smi/smi.c index 4ca87dbf3..fc29b2228 100644 --- a/hw/kdrive/smi/smi.c +++ b/hw/kdrive/smi/smi.c @@ -70,7 +70,7 @@ smiScreenInit (KdScreenInfo *screen) if (!smic->reg_base) screen->dumb = TRUE; screen->softCursor = TRUE; -#ifdef SMI_VESA +#if SMI_VESA smis->screen = smis->sub.fb; #else smis->screen = smic->sub.fb; diff --git a/hw/kdrive/smi/smi.h b/hw/kdrive/smi/smi.h index ba985f48d..572312313 100644 --- a/hw/kdrive/smi/smi.h +++ b/hw/kdrive/smi/smi.h @@ -26,9 +26,9 @@ #ifndef _SMI_H_ #define _SMI_H_ -#define SMI_VESA 1 +#define SMI_VESA 0 -#ifdef SMI_VESA +#if SMI_VESA #include #define subGetColors vesaGetColors #define subPutColors vesaPutColors