mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Fixed a crash when opening the start menu.
Fixed PAGEDOWN/PAGEUP not appearing in the input config GUI. Fixed PAGEDOWN/PAGEUP not properly updating detail data.
This commit is contained in:
parent
8a3eefcffc
commit
3acbd0af9c
|
@ -1,3 +1,8 @@
|
|||
December 8, 2012
|
||||
-Fixed a segfault when opening the menu (related to sounds). Woops!
|
||||
-Fixed PAGEDOWN/PAGEUP not appearing in the input config GUI.
|
||||
-Fixed PAGEDOWN/PAGEUP not properly clearing/updating detail data.
|
||||
|
||||
November 19
|
||||
-Added Arch Linux's DejaVuSeriff.ttf path to the list of fonts to check for.
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ void GuiGameList::onInput(InputManager::InputButton button, bool keyDown)
|
|||
|
||||
if(mDetailed)
|
||||
{
|
||||
if(button == InputManager::UP || button == InputManager::DOWN)
|
||||
if(button == InputManager::UP || button == InputManager::DOWN || button == InputManager::PAGEUP || button == InputManager::PAGEDOWN)
|
||||
{
|
||||
if(!keyDown)
|
||||
updateDetailData();
|
||||
|
@ -274,7 +274,7 @@ void GuiGameList::clearDetailData()
|
|||
void GuiGameList::onPause()
|
||||
{
|
||||
mList->stopScrolling();
|
||||
mTheme->getSound("menuOpenSound")->play();
|
||||
mTheme->getSound("menuOpen")->play();
|
||||
InputManager::unregisterComponent(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
std::string GuiInputConfig::sConfigPath = "./input.cfg";
|
||||
std::string GuiInputConfig::sInputs[] = { "UNKNOWN", "UP", "DOWN", "LEFT", "RIGHT", "BUTTON1 (Accept)", "BUTTON2 (Back)", "START (Menu)", "SELECT (Jump-to-letter)", "PAGE UP", "PAGE DOWN" }; //must be same order as InputManager::InputButton enum; only add to the end to preserve backwards compatibility
|
||||
int GuiInputConfig::sInputCount = 9;
|
||||
int GuiInputConfig::sInputCount = 11;
|
||||
|
||||
GuiInputConfig::GuiInputConfig()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue