summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer_Split/src/display.hcc
diff options
context:
space:
mode:
Diffstat (limited to 'Graphic_Equalizer_Split/src/display.hcc')
-rw-r--r--Graphic_Equalizer_Split/src/display.hcc10
1 files changed, 10 insertions, 0 deletions
diff --git a/Graphic_Equalizer_Split/src/display.hcc b/Graphic_Equalizer_Split/src/display.hcc
index 1aeb9d9..dea60eb 100644
--- a/Graphic_Equalizer_Split/src/display.hcc
+++ b/Graphic_Equalizer_Split/src/display.hcc
@@ -129,12 +129,19 @@ void display_main(skindata_t *skindata, audiodata_t *audiodata, events_t *events
break;
}
+#if BUILD_ALL
if (MODE_GRAPH == events->mode) {
+#endif
+#if (HAVE_GRAPHIC_VISUALIZATION_ONLY || BUILD_ALL)
par {
visual_graph_color = ((unsigned 8)(0 @ audiodata->fft_info.read[pixeldata[31:24]]) << 1) @ ((unsigned 8)(0 @ audiodata->fft_info.read[pixeldata[31:24]]) << -1) @ ((unsigned 8)(0 @ audiodata->fft_info.read[pixeldata[31:24]]) << 0);
PalVideoOutWrite(VIDEOOUT, 0 @ visual_graph_color);
}
+#endif
+#if BUILD_ALL
} else {
+#endif
+#if (HAVE_GRAPHIC_EQUALIZER_ONLY || BUILD_ALL)
/*
* Determin what to draw where here. Every case has an
* if else statement comparing wether to draw something
@@ -248,7 +255,10 @@ void display_main(skindata_t *skindata, audiodata_t *audiodata, events_t *events
}
break;
}
+#endif
+#if BUILD_ALL
}
+#endif
/*
* We compare our current X and Y scan positions of the