GameList: Fix building on 32-bit ARM
This commit is contained in:
parent
16d15f5c65
commit
2703880d69
|
@ -273,14 +273,17 @@ void CommonHost::SetDefaultControllerSettings(SettingsInterface& si)
|
|||
si.SetStringValue(section.c_str(), "Type", Controller::GetDefaultPadType(i));
|
||||
}
|
||||
|
||||
#ifndef __ANDROID__
|
||||
// Use the automapper to set this up.
|
||||
InputManager::MapController(si, 0, InputManager::GetGenericBindingMapping("Keyboard"));
|
||||
#endif
|
||||
}
|
||||
|
||||
void CommonHost::SetDefaultHotkeyBindings(SettingsInterface& si)
|
||||
{
|
||||
si.ClearSection("Hotkeys");
|
||||
|
||||
#ifndef __ANDROID__
|
||||
si.SetStringValue("Hotkeys", "FastForward", "Keyboard/Tab");
|
||||
si.SetStringValue("Hotkeys", "TogglePause", "Keyboard/Space");
|
||||
si.SetStringValue("Hotkeys", "ToggleFullscreen", "Keyboard/Alt & Keyboard/Return");
|
||||
|
@ -291,6 +294,7 @@ void CommonHost::SetDefaultHotkeyBindings(SettingsInterface& si)
|
|||
si.SetStringValue("Hotkeys", "SaveSelectedSaveState", "Keyboard/F2");
|
||||
si.SetStringValue("Hotkeys", "SelectPreviousSaveStateSlot", "Keyboard/F3");
|
||||
si.SetStringValue("Hotkeys", "SelectNextSaveStateSlot", "Keyboard/F4");
|
||||
#endif
|
||||
}
|
||||
|
||||
void CommonHost::LoadSettings(SettingsInterface& si, std::unique_lock<std::mutex>& lock)
|
||||
|
|
|
@ -47,8 +47,6 @@ struct Entry
|
|||
size_t GetReleaseDateString(char* buffer, size_t buffer_size) const;
|
||||
|
||||
ALWAYS_INLINE bool IsDisc() const { return (type == EntryType::Disc); }
|
||||
|
||||
static_assert(sizeof(std::time_t) == sizeof(u64));
|
||||
};
|
||||
|
||||
const char* GetEntryTypeName(EntryType type);
|
||||
|
@ -85,4 +83,4 @@ void RefreshGameListAsync(bool invalidate_cache);
|
|||
|
||||
/// Cancels game list refresh, if there is one in progress.
|
||||
void CancelGameListRefresh();
|
||||
} // namespace Host
|
||||
} // namespace Host
|
||||
|
|
Loading…
Reference in New Issue