Get rid of mostly dead code
This commit is contained in:
@@ -187,7 +187,6 @@ static void SQReload(int x, uint8 V) {
|
||||
}
|
||||
|
||||
static DECLFW(Write_PSG) {
|
||||
/* FCEU_printf("APU1 %04x:%04x\n",A,V); */
|
||||
A &= 0x1F;
|
||||
switch (A) {
|
||||
case 0x0:
|
||||
@@ -271,7 +270,6 @@ static DECLFW(Write_PSG) {
|
||||
}
|
||||
|
||||
static DECLFW(Write_DMCRegs) {
|
||||
/* FCEU_printf("APU1 %04x:%04x\n",A,V); */
|
||||
A &= 0xF;
|
||||
|
||||
switch (A) {
|
||||
@@ -306,7 +304,6 @@ static DECLFW(Write_DMCRegs) {
|
||||
|
||||
static DECLFW(StatusWrite) {
|
||||
int x;
|
||||
/* FCEU_printf("APU1 %04x:%04x\n",A,V); */
|
||||
|
||||
DoSQ1();
|
||||
DoSQ2();
|
||||
@@ -552,7 +549,6 @@ static INLINE void RDoSQ(int x) {
|
||||
amp = EnvUnits[x].Speed;
|
||||
else
|
||||
amp = EnvUnits[x].decvolume;
|
||||
/* printf("%d\n",amp); */
|
||||
|
||||
/* Modify Square wave volume based on channel volume modifiers
|
||||
* Note: the formulat x = x * y /100 does not yield exact results,
|
||||
|
||||
Reference in New Issue
Block a user