Files
gameboy/APU.h
Raimon Zamora 8fc576cda2 - [FIX] el só para durant el debug [però new BUG: al tornar està desincronitzat]
- [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
2025-01-29 17:43:43 +01:00

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);
}