summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortwinaphex2016-08-08 23:31:33 +0200
committertwinaphex2016-08-08 23:31:33 +0200
commita4c9103f076d24793818b909aaeddcc45316a76b (patch)
tree9b33f4d746dd3ceca08e4754d7ee788e7d7cb304 /src
parent56ad88f3c4720b83617925b4775d6f11580ac1bf (diff)
downloadsnes9x2002-a4c9103f076d24793818b909aaeddcc45316a76b.tar.gz
snes9x2002-a4c9103f076d24793818b909aaeddcc45316a76b.tar.bz2
snes9x2002-a4c9103f076d24793818b909aaeddcc45316a76b.zip
Remove CHECK_SOUND
Diffstat (limited to 'src')
-rw-r--r--src/gfx16.c12
-rw-r--r--src/mode7.c1
-rw-r--r--src/mode7_t.h1
-rw-r--r--src/mode7_t.h.new2
-rw-r--r--src/mode7new.c2
-rw-r--r--src/mode7prio.c1
-rw-r--r--src/mode7prio_t.h1
-rw-r--r--src/mode7prio_t.h.last2
8 files changed, 0 insertions, 22 deletions
diff --git a/src/gfx16.c b/src/gfx16.c
index 68d832d..4aa7929 100644
--- a/src/gfx16.c
+++ b/src/gfx16.c
@@ -859,8 +859,6 @@ void DrawOBJS(bool8_32 OnMain, uint8 D)
uint32 O;
uint32 BaseTile, Tile;
- CHECK_SOUND();
-
BG.BitShift = 4;
SelectConvertTile();
BG.TileShift = 5;
@@ -1030,8 +1028,6 @@ void DrawBackgroundMosaic(uint32 BGMode, uint32 bg, uint8 Z1, uint8 Z2)
#ifdef __DEBUG__
printf("DrawBackgroundMosaic(%i, %i, %i, %i)\n", BGMode, bg, Z1, Z2);
#endif
- CHECK_SOUND();
-
uint32 Tile;
uint16* SC0;
uint16* SC1;
@@ -1259,9 +1255,6 @@ void DrawBackgroundOffset(uint32 BGMode, uint32 bg, uint8 Z1, uint8 Z2)
#ifdef __DEBUG__
printf("DrawBackgroundOffset(%i, %i, %i, %i)\n", BGMode, bg, Z1, Z2);
#endif
-
- CHECK_SOUND();
-
uint32 Tile;
uint16* SC0;
uint16* SC1;
@@ -1546,9 +1539,6 @@ void DrawBackgroundMode5(uint32 BGMODE, uint32 bg, uint8 Z1, uint8 Z2)
#ifdef __DEBUG__
printf("DrawBackgroundMode5(?, %i, %i, %i)\n", bg, Z1, Z2);
#endif
-
- CHECK_SOUND();
-
uint8 depths [2] = {Z1, Z2};
uint32 Tile;
@@ -2291,8 +2281,6 @@ static inline void DrawBackground(uint32 BGMode, uint32 bg, uint8 Z1, uint8 Z2)
case 0:
case 1:
case 3:
- CHECK_SOUND();
-
if (BGMode == 0) BG.StartPalette = bg << 5;
else BG.StartPalette = 0;
SelectPalette();
diff --git a/src/mode7.c b/src/mode7.c
index 48918df..ba22898 100644
--- a/src/mode7.c
+++ b/src/mode7.c
@@ -33,7 +33,6 @@ void DrawBGMode7Background16R3(uint8* Screen, int bg, int depth);
void DrawBGMode7Background16(uint8* Screen, int bg, int depth)
{
DMSG("opaque");
- CHECK_SOUND();
if (GFX.r2130 & 1)
{
diff --git a/src/mode7_t.h b/src/mode7_t.h
index cc36915..0ee311f 100644
--- a/src/mode7_t.h
+++ b/src/mode7_t.h
@@ -526,7 +526,6 @@ DEC_FMODE7(ROPNAME)
#define DMESG(n) printf("Rendering Mode7, ROp: " #n ", R:%d, r2130: %d, bg: %d\n", PPU.Mode7Repeat, GFX.r2130 & 1, bg)
DMESG(ROPNAME)
#endif
- CHECK_SOUND();
if (GFX.r2130 & 1)
{
diff --git a/src/mode7_t.h.new b/src/mode7_t.h.new
index 10c2ac2..ee568ab 100644
--- a/src/mode7_t.h.new
+++ b/src/mode7_t.h.new
@@ -524,8 +524,6 @@ DEC_FMODE7(ROPNAME)
#define DMESG(n) printf("Rendering Mode7, ROp: " #n ", R:%d, r2130: %d, bg: %d\n", PPU.Mode7Repeat, GFX.r2130 & 1, bg)
DMESG(ROPNAME)
#endif
- CHECK_SOUND();
-
if (GFX.r2130 & 1)
{
if (IPPU.DirectColourMapsNeedRebuild) S9xBuildDirectColourMaps();
diff --git a/src/mode7new.c b/src/mode7new.c
index 0a17f15..11e9352 100644
--- a/src/mode7new.c
+++ b/src/mode7new.c
@@ -26,8 +26,6 @@ void DrawBGMode7Background16NewR3(uint8* Screen);
void DrawBGMode7Background16New(uint8* Screen)
{
DMSG("totally opaque");
- CHECK_SOUND();
-
if (GFX.r2130 & 1)
{
if (IPPU.DirectColourMapsNeedRebuild) S9xBuildDirectColourMaps();
diff --git a/src/mode7prio.c b/src/mode7prio.c
index 56f171b..fa30dc8 100644
--- a/src/mode7prio.c
+++ b/src/mode7prio.c
@@ -34,7 +34,6 @@ void DrawBGMode7Background16PrioR3(uint8* Screen, int bg);
void DrawBGMode7Background16Prio(uint8* Screen, int bg)
{
DMSG("opaque");
- CHECK_SOUND();
if (GFX.r2130 & 1)
{
diff --git a/src/mode7prio_t.h b/src/mode7prio_t.h
index 70e74c8..06794f2 100644
--- a/src/mode7prio_t.h
+++ b/src/mode7prio_t.h
@@ -532,7 +532,6 @@ DEC_FMODE7(ROPNAME)
printf("Rendering Mode7 w/prio, ROp: " TOSTRING(ROPNAME) ", R:%d, r2130: %d, bg: %d\n", PPU.Mode7Repeat, GFX.r2130 & 1,
bg)
#endif
- CHECK_SOUND();
if (GFX.r2130 & 1)
{
diff --git a/src/mode7prio_t.h.last b/src/mode7prio_t.h.last
index b739051..ec88922 100644
--- a/src/mode7prio_t.h.last
+++ b/src/mode7prio_t.h.last
@@ -535,8 +535,6 @@ DEC_FMODE7(ROPNAME)
printf("Rendering Mode7 w/prio, ROp: " TOSTRING(ROPNAME) ", R:%d, r2130: %d, bg: %d\n", PPU.Mode7Repeat, GFX.r2130 & 1,
bg)
#endif
- CHECK_SOUND();
-
if (GFX.r2130 & 1)
{
if (IPPU.DirectColourMapsNeedRebuild) S9xBuildDirectColourMaps();