Skip to content

Commit f3b2d3f

Browse files
committed
1 parent 99309b6 commit f3b2d3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/apu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ static void pulse_writeControl(Pulse *p, uint8_t value)
334334
p->envelopeEnabled = ((value>>4)&1) == 0;
335335
p->envelopePeriod = value & 15;
336336
p->constantVolume = value & 15;
337-
p->envelopeStart = 1;
337+
//TODO p->envelopeStart = 1;
338338
}
339339

340340
static void pulse_writeSweep(Pulse *p, uint8_t value)
@@ -738,7 +738,7 @@ static void apu_init(struct xnes_apu_t *apu)
738738

739739
void xnes_apu_init(struct xnes_apu_t * apu, struct xnes_ctx_t * ctx)
740740
{
741-
//memset(apu, 0, sizeof(struct xnes_apu_t));
741+
memset(apu, 0, sizeof(struct xnes_apu_t));
742742
apu->ctx = ctx;
743743
apu_init(apu);
744744
}

0 commit comments

Comments
 (0)