fixup simple type conversions where possible
This commit is contained in:
parent
c549c36076
commit
0a31e373f1
14 changed files with 55 additions and 45 deletions
|
@ -85,7 +85,7 @@ void Config::ReadValues() {
|
|||
|
||||
// Debugging
|
||||
Settings::values.use_gdbstub = sdl2_config->GetBoolean("Debugging", "use_gdbstub", false);
|
||||
Settings::values.gdbstub_port = sdl2_config->GetInteger("Debugging", "gdbstub_port", 24689);
|
||||
Settings::values.gdbstub_port = static_cast<u16>(sdl2_config->GetInteger("Debugging", "gdbstub_port", 24689));
|
||||
}
|
||||
|
||||
void Config::Reload() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue