Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix misc build warnings and vertical scroll on controller combo box (…
…Windows) (#1753) Cmake based builds don't disable as many checks as the old make files, so there were a few new warnings clang was showing during the Windows build about unreachable code in mia.cpp & desktop-ui.cpp that are now fixed (it would fall through properly on other OSes). Note that there are still two remaining warnings about unreachable code during the build but this is within zstd included in libchdr so this needs to be addressed upstream. A user trying to compile ares made a single post in the ares Discord channel about a warning they were receiving during the link phase about an overflow. I've never seen the warning or remember anyone bringing it up so I asked about OS/compiler (I know it was Linux flavored cause they mentioned working on an AppImage) but they never responded. I think they were using openSUSE, but it is interesting this wasn't flagged anywhere else. We were assigning an enum value to a Color struct in table-view-cell.cpp which wasn't correct, so this has been fixed. Finally, SuperMikeMan100 pointed out that when the controller combobox in Settings > Input didn't fit entirely on the screen, you couldn't scroll to the bottom of the list (Windows issue). They also pointed out the fix needed in combo-button.cpp which I've tested and have included the fix for it here.
- Loading branch information