notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
release r2, update credits
[fceu.git]
/
mappers
/
69.c
diff --git
a/mappers/69.c
b/mappers/69.c
index
948c304
..
b204a54
100644
(file)
--- a/
mappers/69.c
+++ b/
mappers/69.c
@@
-21,9
+21,9
@@
#include "mapinc.h"
static void AYSound(int Count);
#include "mapinc.h"
static void AYSound(int Count);
-
//
static void AYSoundHQ(void);
+static void AYSoundHQ(void);
static void DoAYSQ(int x);
static void DoAYSQ(int x);
-
//
static void DoAYSQHQ(int x);
+static void DoAYSQHQ(int x);
#define sunselect mapbyte1[0]
#define sungah mapbyte1[1]
#define sunselect mapbyte1[0]
#define sungah mapbyte1[1]
@@
-39,7
+39,7
@@
static DECLFR(SUN5AWRAM)
{
if((sungah&0xC0)==0x40)
return X.DB;
{
if((sungah&0xC0)==0x40)
return X.DB;
- return CartBR(A);
+ return CartBR
OB
(A);
}
static DECLFW(Mapper69_SWL)
}
static DECLFW(Mapper69_SWL)
@@
-51,22
+51,22
@@
static DECLFW(Mapper69_SWH)
{
int x;
GameExpSound.Fill=AYSound;
{
int x;
GameExpSound.Fill=AYSound;
- GameExpSound.HiFill=
0;//
AYSoundHQ;
+ GameExpSound.HiFill=AYSoundHQ;
if(FSettings.SndRate);
switch(sunindex)
{
case 0:
case 1:
if(FSettings.SndRate);
switch(sunindex)
{
case 0:
case 1:
- case 8:
/*if(FSettings.soundq>=1) DoAYSQHQ(0); else*/
DoAYSQ(0);break;
+ case 8:
if(FSettings.soundq>=1) DoAYSQHQ(0); else
DoAYSQ(0);break;
case 2:
case 3:
case 2:
case 3:
- case 9:
/*if(FSettings.soundq>=1) DoAYSQHQ(1); else*/
DoAYSQ(1);break;
+ case 9:
if(FSettings.soundq>=1) DoAYSQHQ(1); else
DoAYSQ(1);break;
case 4:
case 5:
case 4:
case 5:
- case 10:
/*if(FSettings.soundq>=1) DoAYSQHQ(2); else*/
DoAYSQ(2);break;
+ case 10:
if(FSettings.soundq>=1) DoAYSQHQ(2); else
DoAYSQ(2);break;
case 7:
for(x=0;x<2;x++)
case 7:
for(x=0;x<2;x++)
-
/*if(FSettings.soundq>=1) DoAYSQHQ(x); else*/
DoAYSQ(x);
+
if(FSettings.soundq>=1) DoAYSQHQ(x); else
DoAYSQ(x);
break;
}
MapperExRAM[sunindex]=V;
break;
}
MapperExRAM[sunindex]=V;
@@
-133,7
+133,6
@@
static void DoAYSQ(int x)
CAYBC[x]=end;
if(amp)
CAYBC[x]=end;
if(amp)
- if(!(MapperExRAM[0x7]&(1<<x)))
for(V=start;V<end;V++)
{
if(dcount[x])
for(V=start;V<end;V++)
{
if(dcount[x])
@@
-147,7
+146,6
@@
static void DoAYSQ(int x)
}
}
}
}
-#if 0
static void DoAYSQHQ(int x)
{
int32 V;
static void DoAYSQHQ(int x)
{
int32 V;
@@
-172,7
+170,6
@@
static void DoAYSQHQ(int x)
}
CAYBC[x]=SOUNDTS;
}
}
CAYBC[x]=SOUNDTS;
}
-#endif
static void AYSound(int Count)
{
static void AYSound(int Count)
{
@@
-184,14
+181,12
@@
static void AYSound(int Count)
CAYBC[x]=Count;
}
CAYBC[x]=Count;
}
-#if 0
static void AYSoundHQ(void)
{
DoAYSQHQ(0);
DoAYSQHQ(1);
DoAYSQHQ(2);
}
static void AYSoundHQ(void)
{
DoAYSQHQ(0);
DoAYSQHQ(1);
DoAYSQHQ(2);
}
-#endif
static void AYHiSync(int32 ts)
{
static void AYHiSync(int32 ts)
{