diff options
author | Nebuleon Fumika | 2012-12-27 18:02:03 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2012-12-27 18:02:03 -0500 |
commit | 6b36e79013d4c9273a96a9783a2bccdb516f174a (patch) | |
tree | be9c829dbc09a855cc9799738a4ae0c19caa1986 /source/snes9x.h | |
parent | 0f60f047f5146c76a73c8a299b4405929bf3909f (diff) | |
download | snesemu-6b36e79013d4c9273a96a9783a2bccdb516f174a.tar.gz snesemu-6b36e79013d4c9273a96a9783a2bccdb516f174a.tar.bz2 snesemu-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.h | 2 |
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; |