Skip to content
Snippets Groups Projects
Commit a0874d9b authored by noah the goodra's avatar noah the goodra
Browse files

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
parent d0bf7df5
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ Values values = {}; ...@@ -15,7 +15,7 @@ Values values = {};
void Apply() { void Apply() {
GDBStub::SetServerPort(static_cast<u32>(values.gdbstub_port)); GDBStub::SetServerPort(values.gdbstub_port);
GDBStub::ToggleServer(values.use_gdbstub); GDBStub::ToggleServer(values.use_gdbstub);
VideoCore::g_hw_renderer_enabled = values.use_hw_renderer; VideoCore::g_hw_renderer_enabled = values.use_hw_renderer;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment