Browse Source

removed the possibly uneeded cast on values.gdbstub_port

as far as i could tell this cast is unneeded because [GDBStub::SetServerPort](https://github.com/citra-emu/citra/blob/master/src/core/gdbstub/gdbstub.cpp#L897) takes a u16 and [values.gdbstub_port](https://github.com/citra-emu/citra/blob/master/src/core/settings.h#L116) is already a u16
pull/15/merge
noah the goodra 9 years ago
parent
commit
a0874d9b64
  1. 2
      src/core/settings.cpp

2
src/core/settings.cpp

@ -15,7 +15,7 @@ Values values = {};
void Apply() {
GDBStub::SetServerPort(static_cast<u32>(values.gdbstub_port));
GDBStub::SetServerPort(values.gdbstub_port);
GDBStub::ToggleServer(values.use_gdbstub);
VideoCore::g_hw_renderer_enabled = values.use_hw_renderer;

Loading…
Cancel
Save