mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-07-30 02:08:30 +02:00
CTitleStateMenu: implemented rebooting into installer
This commit is contained in:
@@ -65,7 +65,7 @@ public:
|
||||
{
|
||||
case SDL_KEYDOWN:
|
||||
{
|
||||
if (g_isAppInit)
|
||||
if (App::s_isInit)
|
||||
break;
|
||||
|
||||
switch (event->key.keysym.scancode)
|
||||
@@ -93,7 +93,7 @@ public:
|
||||
|
||||
case SDL_MOUSEBUTTONDOWN:
|
||||
{
|
||||
if (g_isAppInit)
|
||||
if (App::s_isInit)
|
||||
break;
|
||||
|
||||
g_isAccepted = true;
|
||||
@@ -273,8 +273,8 @@ void MessageWindow::Draw()
|
||||
auto textMarginX = Scale(37);
|
||||
auto textMarginY = Scale(45);
|
||||
|
||||
bool isController = g_isAppInit ? true : hid::detail::IsInputDeviceController();
|
||||
bool isKeyboard = g_isAppInit ? false : hid::detail::g_inputDevice == hid::detail::EInputDevice::Keyboard;
|
||||
bool isController = App::s_isInit ? true : hid::detail::IsInputDeviceController();
|
||||
bool isKeyboard = App::s_isInit ? false : hid::detail::g_inputDevice == hid::detail::EInputDevice::Keyboard;
|
||||
|
||||
if (DrawContainer(g_appearTime, centre, { textSize.x / 2 + textMarginX, textSize.y / 2 + textMarginY }, !g_isControlsVisible))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user