mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-17 16:20:38 +00:00
Fix warning
This commit is contained in:
parent
b007b8e104
commit
89d9ec0a84
@ -1383,7 +1383,7 @@ void MainWindow::SetStateSlot(int slot)
|
||||
|
||||
void MainWindow::IncrementSelectedStateSlot()
|
||||
{
|
||||
int state_slot = m_state_slot + 1;
|
||||
u32 state_slot = m_state_slot + 1;
|
||||
if (state_slot > State::NUM_STATES)
|
||||
state_slot = 1;
|
||||
m_menu_bar->SetStateSlot(state_slot);
|
||||
@ -1391,7 +1391,7 @@ void MainWindow::IncrementSelectedStateSlot()
|
||||
|
||||
void MainWindow::DecrementSelectedStateSlot()
|
||||
{
|
||||
int state_slot = m_state_slot - 1;
|
||||
u32 state_slot = m_state_slot - 1;
|
||||
if (state_slot < 1)
|
||||
state_slot = State::NUM_STATES;
|
||||
m_menu_bar->SetStateSlot(state_slot);
|
||||
|
@ -217,7 +217,7 @@ private:
|
||||
bool m_exit_requested = false;
|
||||
bool m_fullscreen_requested = false;
|
||||
bool m_is_screensaver_inhibited = false;
|
||||
int m_state_slot = 1;
|
||||
u32 m_state_slot = 1;
|
||||
std::unique_ptr<BootParameters> m_pending_boot;
|
||||
|
||||
ControllersWindow* m_controllers_window = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user