Skip to content

Commit

Permalink
Remove CHECK_SOUND
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Aug 8, 2016
1 parent 56ad88f commit a4c9103
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 22 deletions.
12 changes: 0 additions & 12 deletions src/gfx16.c
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion src/mode7.c
Expand Up @@ -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)
{
Expand Down
1 change: 0 additions & 1 deletion src/mode7_t.h
Expand Up @@ -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)
{
Expand Down
2 changes: 0 additions & 2 deletions src/mode7_t.h.new
Expand Up @@ -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();
Expand Down
2 changes: 0 additions & 2 deletions src/mode7new.c
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion src/mode7prio.c
Expand Up @@ -34,7 +34,6 @@ void DrawBGMode7Background16PrioR3(uint8* Screen, int bg);
void DrawBGMode7Background16Prio(uint8* Screen, int bg)
{
DMSG("opaque");
CHECK_SOUND();

if (GFX.r2130 & 1)
{
Expand Down
1 change: 0 additions & 1 deletion src/mode7prio_t.h
Expand Up @@ -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)
{
Expand Down
2 changes: 0 additions & 2 deletions src/mode7prio_t.h.last
Expand Up @@ -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();
Expand Down

0 comments on commit a4c9103

Please sign in to comment.