summaryrefslogtreecommitdiff
path: root/src/gfx.c
diff options
context:
space:
mode:
authortwinaphex2016-08-08 03:55:28 +0200
committertwinaphex2016-08-08 03:55:28 +0200
commit03348aad9460c12407c33f63646a9d81f1461931 (patch)
tree7abbcc62d7ebd3151fe5de1bfbbf705ad68f95c8 /src/gfx.c
parent7009e4011bfbb239d59039262aeac9c1bff33a7f (diff)
downloadsnes9x2002-03348aad9460c12407c33f63646a9d81f1461931.tar.gz
snes9x2002-03348aad9460c12407c33f63646a9d81f1461931.tar.bz2
snes9x2002-03348aad9460c12407c33f63646a9d81f1461931.zip
Cleanups
Diffstat (limited to 'src/gfx.c')
-rw-r--r--src/gfx.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/gfx.c b/src/gfx.c
index 156f0c2..f9d8df5 100644
--- a/src/gfx.c
+++ b/src/gfx.c
@@ -809,8 +809,6 @@ void DrawOBJS(bool8_32 OnMain, uint8 D)
uint32 O;
uint32 BaseTile, Tile;
- CHECK_SOUND();
-
BG.BitShift = 4;
BG.TileShift = 5;
BG.TileAddress = PPU.OBJNameBase;
@@ -957,8 +955,6 @@ void DrawOBJS(bool8_32 OnMain, uint8 D)
void DrawBackgroundMosaic(uint32 BGMode, uint32 bg, uint8 Z1, uint8 Z2)
{
- CHECK_SOUND();
-
uint32 Tile;
uint16* SC0;
uint16* SC1;
@@ -1183,8 +1179,6 @@ void DrawBackgroundMosaic(uint32 BGMode, uint32 bg, uint8 Z1, uint8 Z2)
void DrawBackgroundOffset(uint32 BGMode, uint32 bg, uint8 Z1, uint8 Z2)
{
- CHECK_SOUND();
-
uint32 Tile;
uint16* SC0;
uint16* SC1;
@@ -1459,8 +1453,6 @@ void DrawBackgroundOffset(uint32 BGMode, uint32 bg, uint8 Z1, uint8 Z2)
void DrawBackgroundMode5(uint32 BGMODE, uint32 bg, uint8 Z1, uint8 Z2)
{
- CHECK_SOUND();
-
uint8 depths [2] = {Z1, Z2};
uint32 Tile;
@@ -2111,7 +2103,6 @@ static inline void DrawBackground(uint32 BGMode, uint32 bg, uint8 Z1, uint8 Z2)
DrawBackgroundMode5(BGMode, bg, Z1, Z2);
return;
}
- CHECK_SOUND();
if (BGMode == 0)
BG.StartPalette = bg << 5;
@@ -2126,8 +2117,6 @@ static inline void DrawBackground(uint32 BGMode, uint32 bg, uint8 Z1, uint8 Z2)
}
#define RENDER_BACKGROUND_MODE7(FUNC) \
- CHECK_SOUND(); \
-\
uint8 *VRAM1 = Memory.VRAM + 1; \
if (GFX.r2130 & 1) \
{ \
@@ -2263,8 +2252,6 @@ static inline void DrawBackground(uint32 BGMode, uint32 bg, uint8 Z1, uint8 Z2)
}
#define RENDER_BACKGROUND_MODE7ADDSUB(DEPTH, FUNC) \
- CHECK_SOUND(); \
-\
uint8 *VRAM1 = Memory.VRAM + 1; \
if (GFX.r2130 & 1) \
{ \
@@ -2405,8 +2392,6 @@ static inline void DrawBackground(uint32 BGMode, uint32 bg, uint8 Z1, uint8 Z2)
}
#define RENDER_BACKGROUND_MODE7PRIO(FUNC) \
- CHECK_SOUND(); \
-\
uint8 *VRAM1 = Memory.VRAM + 1; \
if (GFX.r2130 & 1) \
{ \