diff options
author | noah the goodra <peterpan0413@live.com> | 2017-01-31 11:44:23 -0600 |
---|---|---|
committer | noah the goodra <peterpan0413@live.com> | 2017-01-31 11:44:23 -0600 |
commit | a0874d9b64fe4d8cabf6d62fc62301460b62a9ea (patch) | |
tree | 3b3b664aca85c7ca7764d7409510fc92e76d74f6 | |
parent | d0bf7df5ba11f19314b5b08d264de79bce691a45 (diff) |
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
-rw-r--r-- | src/core/settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/settings.cpp b/src/core/settings.cpp index 9afaf79ec..3a32b70aa 100644 --- a/src/core/settings.cpp +++ b/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; |