aboutsummaryrefslogtreecommitdiff
path: root/source/snes9x.h
diff options
context:
space:
mode:
authorNebuleon Fumika2012-12-27 18:02:03 -0500
committerNebuleon Fumika2012-12-27 18:02:03 -0500
commit6b36e79013d4c9273a96a9783a2bccdb516f174a (patch)
treebe9c829dbc09a855cc9799738a4ae0c19caa1986 /source/snes9x.h
parent0f60f047f5146c76a73c8a299b4405929bf3909f (diff)
downloadsnes9x2005-6b36e79013d4c9273a96a9783a2bccdb516f174a.tar.gz
snes9x2005-6b36e79013d4c9273a96a9783a2bccdb516f174a.tar.bz2
snes9x2005-6b36e79013d4c9273a96a9783a2bccdb516f174a.zip
Speed up rendering by an unknown amount.
gfx.cpp, others: Avoid always checking for Settings.SixteenBit if FOREVER_16_BIT is defined. port.h: Define FOREVER_16_BIT below PIXEL_FORMAT.
Diffstat (limited to 'source/snes9x.h')
-rw-r--r--source/snes9x.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/snes9x.h b/source/snes9x.h
index 61281aa..e9ed479 100644
--- a/source/snes9x.h
+++ b/source/snes9x.h
@@ -342,7 +342,9 @@ struct SSettings{
bool8 FixFrequency;
/* Graphics options */
+#ifndef FOREVER_16_BIT
bool8 SixteenBit;
+#endif
bool8 Transparency;
bool8 SupportHiRes;
bool8 Mode7Interpolate;