Get rid of mostly dead code

This commit is contained in:
libretroadmin
2022-06-20 06:07:40 +02:00
parent c3d84f5349
commit 6a31522981
14 changed files with 5 additions and 170 deletions

View File

@@ -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,