Misc: More enum cast warning fixes
This commit is contained in:
parent
60aca2fc4d
commit
2efda31694
|
@ -20,7 +20,7 @@ enum : u32
|
|||
VERTEX_CACHE_WIDTH = 0x800 * 2,
|
||||
VERTEX_CACHE_HEIGHT = 0x800 * 2,
|
||||
VERTEX_CACHE_SIZE = VERTEX_CACHE_WIDTH * VERTEX_CACHE_HEIGHT,
|
||||
PGXP_MEM_SIZE = (Bus::RAM_8MB_SIZE + CPU::DCACHE_SIZE) / 4,
|
||||
PGXP_MEM_SIZE = (static_cast<u32>(Bus::RAM_8MB_SIZE) + static_cast<u32>(CPU::DCACHE_SIZE)) / 4,
|
||||
PGXP_MEM_SCRATCH_OFFSET = Bus::RAM_8MB_SIZE / 4
|
||||
};
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue