Use new fancy way to set values at build time

This commit is contained in:
Jaby
2022-09-02 12:07:22 +02:00
parent 2306cddeeb
commit 024e94f7b2
3 changed files with 51 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ namespace SPU {
};
static constexpr Bit<uint16_t> Enable = 15;
static constexpr Bit<uint16_t> Mute = 14;
static constexpr Bit<uint16_t> Unmute = 14;
static constexpr BitRange<Shift> NoiseFrequcenyShift = BitRange<Shift>::from_to(10, 13);
static constexpr BitRange<Step> NoiseFrequcenyStep = BitRange<Step>::from_to(8, 9);
static constexpr Bit<uint16_t> ReverbMasterEnable = 7;