Skip to content

Commit

Permalink
Preserve XFRACT variant (fake lut logic)
Browse files Browse the repository at this point in the history
  • Loading branch information
LegalizeAdulthood committed Feb 29, 2024
1 parent f3a38db commit dfd07ad
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion common/find_special_colors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "port.h"

#include "id_data.h"
#include "os.h"
#include "rotate.h"

int g_color_dark = 0; // darkest color in palette
Expand Down Expand Up @@ -33,8 +34,14 @@ void find_special_colors()
return;
}

if (!g_got_real_dac)
#ifdef XFRACT
if (!(g_got_real_dac || g_fake_lut))
#else
if (g_got_real_dac)
#endif
{
return;
}

for (int i = 0; i < g_colors; i++)
{
Expand Down

0 comments on commit dfd07ad

Please sign in to comment.