mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 16:55:46 +00:00
video_core: Silence implicit conversion warnings
This commit is contained in:
parent
026da21af5
commit
905cc250a4
9 changed files with 62 additions and 53 deletions
|
@ -261,7 +261,8 @@ void Maxwell3D::CallMacroMethod(u32 method, std::size_t num_parameters, const u3
|
|||
executing_macro = 0;
|
||||
|
||||
// Lookup the macro offset
|
||||
const u32 entry = ((method - MacroRegistersStart) >> 1) % macro_positions.size();
|
||||
const u32 entry =
|
||||
((method - MacroRegistersStart) >> 1) % static_cast<u32>(macro_positions.size());
|
||||
|
||||
// Execute the current macro.
|
||||
macro_interpreter.Execute(macro_positions[entry], num_parameters, parameters);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue