diff options
author | João Silva | 2017-01-15 00:04:54 +0000 |
---|---|---|
committer | João Silva | 2017-01-15 00:04:54 +0000 |
commit | a06ce12a2acdc993742df298f6d40811da70a432 (patch) | |
tree | 4c8230a461bd5a9de3c8ed3dfbb1a663e2bedc9f /source | |
parent | 738c2d73ffca3422ff65dee9b4a160118b3eeb73 (diff) | |
download | snes9x2005-a06ce12a2acdc993742df298f6d40811da70a432.tar.gz snes9x2005-a06ce12a2acdc993742df298f6d40811da70a432.tar.bz2 snes9x2005-a06ce12a2acdc993742df298f6d40811da70a432.zip |
Fixed inverted ternary operator logic.
Diffstat (limited to 'source')
-rw-r--r-- | source/gfx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gfx.c b/source/gfx.c index bf018b7..5613c49 100644 --- a/source/gfx.c +++ b/source/gfx.c @@ -905,7 +905,7 @@ void S9xSetupOBJ() int j, Y; for (Y = 0; Y < SNES_HEIGHT_EXTENDED; Y++) { - GFX.OBJLines[Y].RTOFlags = Y ? 0 : GFX.OBJLines[Y - 1].RTOFlags; + GFX.OBJLines[Y].RTOFlags = Y ? GFX.OBJLines[Y - 1].RTOFlags : 0; GFX.OBJLines[Y].Tiles = 34; j = 0; |