diff options
| author | 2017-01-31 11:44:23 -0600 | |
|---|---|---|
| committer | 2017-01-31 11:44:23 -0600 | |
| commit | a0874d9b64fe4d8cabf6d62fc62301460b62a9ea (patch) | |
| tree | 3b3b664aca85c7ca7764d7409510fc92e76d74f6 /src/core/settings.cpp | |
| parent | HLE/Applets: Stub Mint (eShop) Applet (#2463) (diff) | |
| download | yuzu-a0874d9b64fe4d8cabf6d62fc62301460b62a9ea.tar.gz yuzu-a0874d9b64fe4d8cabf6d62fc62301460b62a9ea.tar.xz yuzu-a0874d9b64fe4d8cabf6d62fc62301460b62a9ea.zip | |
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
Diffstat (limited to 'src/core/settings.cpp')
| -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 = {}; | |||
| 15 | 15 | ||
| 16 | void Apply() { | 16 | void Apply() { |
| 17 | 17 | ||
| 18 | GDBStub::SetServerPort(static_cast<u32>(values.gdbstub_port)); | 18 | GDBStub::SetServerPort(values.gdbstub_port); |
| 19 | GDBStub::ToggleServer(values.use_gdbstub); | 19 | GDBStub::ToggleServer(values.use_gdbstub); |
| 20 | 20 | ||
| 21 | VideoCore::g_hw_renderer_enabled = values.use_hw_renderer; | 21 | VideoCore::g_hw_renderer_enabled = values.use_hw_renderer; |