mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-20 19:21:46 +00:00
PEGASUS: Silence two MSVC warnings
This commit is contained in:
parent
f477de2009
commit
60e83c2d9c
@ -258,12 +258,12 @@ void MainMenu::handleInput(const Input &input, const Hotspot *cursorSpot) {
|
||||
bool isDemo = vm->isDemo();
|
||||
|
||||
if (input.upButtonDown()) {
|
||||
if (_menuSelection > (isDemo ? kFirstSelectionDemo : kFirstSelection)) {
|
||||
if (_menuSelection > (uint32)(isDemo ? kFirstSelectionDemo : kFirstSelection)) {
|
||||
_menuSelection--;
|
||||
updateDisplay();
|
||||
}
|
||||
} else if (input.downButtonDown()) {
|
||||
if (_menuSelection < (isDemo ? kLastSelectionDemo : kLastSelection)) {
|
||||
if (_menuSelection < (uint32)(isDemo ? kLastSelectionDemo : kLastSelection)) {
|
||||
_menuSelection++;
|
||||
updateDisplay();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user