Misc: More enum cast warning fixes

This commit is contained in:
Stenzek
2023-09-05 21:18:22 +10:00
parent 60aca2fc4d
commit 2efda31694
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ enum : u32
VOICE_ADDRESS_SHIFT = 3,
NUM_SAMPLES_PER_ADPCM_BLOCK = 28,
NUM_SAMPLES_FROM_LAST_ADPCM_BLOCK = 3,
SYSCLK_TICKS_PER_SPU_TICK = System::MASTER_CLOCK / SAMPLE_RATE, // 0x300
SYSCLK_TICKS_PER_SPU_TICK = static_cast<u32>(System::MASTER_CLOCK) / static_cast<u32>(SAMPLE_RATE), // 0x300
CAPTURE_BUFFER_SIZE_PER_CHANNEL = 0x400,
MINIMUM_TICKS_BETWEEN_KEY_ON_OFF = 2,
NUM_REVERB_REGS = 32,