We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99309b6 commit f3b2d3fCopy full SHA for f3b2d3f
src/apu.c
@@ -334,7 +334,7 @@ static void pulse_writeControl(Pulse *p, uint8_t value)
334
p->envelopeEnabled = ((value>>4)&1) == 0;
335
p->envelopePeriod = value & 15;
336
p->constantVolume = value & 15;
337
- p->envelopeStart = 1;
+ //TODO p->envelopeStart = 1;
338
}
339
340
static void pulse_writeSweep(Pulse *p, uint8_t value)
@@ -738,7 +738,7 @@ static void apu_init(struct xnes_apu_t *apu)
738
739
void xnes_apu_init(struct xnes_apu_t * apu, struct xnes_ctx_t * ctx)
740
{
741
- //memset(apu, 0, sizeof(struct xnes_apu_t));
+ memset(apu, 0, sizeof(struct xnes_apu_t));
742
apu->ctx = ctx;
743
apu_init(apu);
744
0 commit comments