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
This commit is contained in:
noah the goodra 2017-01-31 11:44:23 -06:00
parent d0bf7df5ba
commit a0874d9b64
1 changed files with 1 additions and 1 deletions

View File

@ -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;