removed extra ch4 logging
This commit is contained in:
parent
5934e2e877
commit
4823aeae93
@ -415,7 +415,7 @@ void audio_tick(){
|
||||
|
||||
if(ctx.ch4_len_enable && ctx.ch4_enable) {
|
||||
ctx.ch4_len++;
|
||||
printf("Ch4 env: %02X\n", ctx.ch4_len);
|
||||
//printf("Ch4 env: %02X\n", ctx.ch4_len);
|
||||
if(ctx.ch4_len >= 64) {
|
||||
ctx.ch4_len = 0;
|
||||
ctx.ch4_enable = false;
|
||||
@ -927,7 +927,7 @@ void audio_write(u16 address, u8 value){
|
||||
ctx.ch4_initial_len = value & 0b111111;
|
||||
ctx.ch4_len = ctx.ch4_initial_len;
|
||||
ctx.ch4_len_fz = false;
|
||||
printf("ch4 len: %02X\n", ctx.ch4_len);
|
||||
//printf("ch4 len: %02X\n", ctx.ch4_len);
|
||||
}
|
||||
|
||||
if(address == 0xFF21) {
|
||||
@ -971,7 +971,7 @@ void audio_write(u16 address, u8 value){
|
||||
}
|
||||
}
|
||||
ctx.ch4_len_enable = len_en;
|
||||
printf("ch4 trigger: LenEn %d\n", len_en);
|
||||
//printf("ch4 trigger: LenEn %d\n", len_en);
|
||||
if(value & 0x80) {
|
||||
enable_noise();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user