mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 03:35:22 +00:00
(360) Fix build
This commit is contained in:
parent
b67fd69c26
commit
d84dec4c96
@ -441,7 +441,7 @@ HRESULT CRetroArchSettings::OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled
|
|||||||
g_extern.lifecycle_menu_state &= ~(1 << MODE_MENU_HD);
|
g_extern.lifecycle_menu_state &= ~(1 << MODE_MENU_HD);
|
||||||
else
|
else
|
||||||
g_extern.lifecycle_menu_state |= (1 << MODE_MENU_HD);
|
g_extern.lifecycle_menu_state |= (1 << MODE_MENU_HD);
|
||||||
m_settingslist.SetText(SETTING_EMU_MENUS, (g_extern.lifecycle_menu_status & (1 << MODE_MENU_HD)) ? L"Menus: HD" : L"Menus: SD");
|
m_settingslist.SetText(SETTING_EMU_MENUS, (g_extern.lifecycle_menu_state & (1 << MODE_MENU_HD)) ? L"Menus: HD" : L"Menus: SD");
|
||||||
break;
|
break;
|
||||||
case SETTING_GAMMA_CORRECTION_ENABLED:
|
case SETTING_GAMMA_CORRECTION_ENABLED:
|
||||||
g_extern.console.screen.gamma_correction = g_extern.console.screen.gamma_correction ? 0 : 1;
|
g_extern.console.screen.gamma_correction = g_extern.console.screen.gamma_correction ? 0 : 1;
|
||||||
@ -546,7 +546,7 @@ HRESULT CRetroArchSettings::OnControlNavigate(XUIMessageControlNavigate *pContro
|
|||||||
g_extern.lifecycle_menu_state &= ~(1 << MODE_MENU_HD);
|
g_extern.lifecycle_menu_state &= ~(1 << MODE_MENU_HD);
|
||||||
else
|
else
|
||||||
g_extern.lifecycle_menu_state |= (1 << MODE_MENU_HD);
|
g_extern.lifecycle_menu_state |= (1 << MODE_MENU_HD);
|
||||||
m_settingslist.SetText(SETTING_EMU_MENUS, (g_extern.lifecycle_menu_status & (1 << MODE_MENU_HD)) ? L"Menus: HD" : L"Menus: SD");
|
m_settingslist.SetText(SETTING_EMU_MENUS, (g_extern.lifecycle_menu_state & (1 << MODE_MENU_HD)) ? L"Menus: HD" : L"Menus: SD");
|
||||||
break;
|
break;
|
||||||
case SETTING_GAMMA_CORRECTION_ENABLED:
|
case SETTING_GAMMA_CORRECTION_ENABLED:
|
||||||
g_extern.console.screen.gamma_correction = g_extern.console.screen.gamma_correction ? 0 : 1;
|
g_extern.console.screen.gamma_correction = g_extern.console.screen.gamma_correction ? 0 : 1;
|
||||||
@ -614,7 +614,7 @@ HRESULT CRetroArchSettings::OnControlNavigate(XUIMessageControlNavigate *pContro
|
|||||||
g_extern.lifecycle_menu_state &= ~(1 << MODE_MENU_HD);
|
g_extern.lifecycle_menu_state &= ~(1 << MODE_MENU_HD);
|
||||||
else
|
else
|
||||||
g_extern.lifecycle_menu_state |= (1 << MODE_MENU_HD);
|
g_extern.lifecycle_menu_state |= (1 << MODE_MENU_HD);
|
||||||
m_settingslist.SetText(SETTING_EMU_MENUS, (g_extern.lifecycle_menu_status & (1 << MODE_MENU_HD)) ? L"Menus: HD" : L"Menus: SD");
|
m_settingslist.SetText(SETTING_EMU_MENUS, (g_extern.lifecycle_menu_state & (1 << MODE_MENU_HD)) ? L"Menus: HD" : L"Menus: SD");
|
||||||
break;
|
break;
|
||||||
case SETTING_GAMMA_CORRECTION_ENABLED:
|
case SETTING_GAMMA_CORRECTION_ENABLED:
|
||||||
g_extern.console.screen.gamma_correction = g_extern.console.screen.gamma_correction ? 0 : 1;
|
g_extern.console.screen.gamma_correction = g_extern.console.screen.gamma_correction ? 0 : 1;
|
||||||
|
@ -423,7 +423,7 @@ void xdk_d3d_generate_pp(D3DPRESENT_PARAMETERS *d3dpp, const video_info_t *video
|
|||||||
d3dpp->FullScreen_PresentationInterval = d3d->vsync ? D3DPRESENT_INTERVAL_ONE : D3DPRESENT_INTERVAL_IMMEDIATE;
|
d3dpp->FullScreen_PresentationInterval = d3d->vsync ? D3DPRESENT_INTERVAL_ONE : D3DPRESENT_INTERVAL_IMMEDIATE;
|
||||||
d3dpp->SwapEffect = D3DSWAPEFFECT_COPY;
|
d3dpp->SwapEffect = D3DSWAPEFFECT_COPY;
|
||||||
#elif defined(_XBOX360)
|
#elif defined(_XBOX360)
|
||||||
if (!lifecycle_menu_state & MODE_MENU_WIDESCREEN)
|
if (!(lifecycle_menu_state & (1 << MODE_MENU_WIDESCREEN)))
|
||||||
d3dpp->Flags |= D3DPRESENTFLAG_NO_LETTERBOX;
|
d3dpp->Flags |= D3DPRESENTFLAG_NO_LETTERBOX;
|
||||||
|
|
||||||
if (g_extern.console.screen.gamma_correction)
|
if (g_extern.console.screen.gamma_correction)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user