- [FIX] si el canal està desactivat, no fer el envelope sweep - [FIX] Se miraba el bit incorrecte per a determinar si el envelope sweep anava amunt o avall
16 lines
280 B
C++
16 lines
280 B
C++
#pragma once
|
|
#include <stdint.h>
|
|
|
|
namespace APU
|
|
{
|
|
uint8_t readRegister(uint16_t address);
|
|
void writeRegister(uint16_t address, uint8_t value);
|
|
|
|
void init();
|
|
void reset();
|
|
void silence();
|
|
void resume();
|
|
void incDIVAPU();
|
|
void update(uint32_t dt);
|
|
}
|