diff --git a/360/menu.cpp b/360/menu.cpp index debcc29afb..389dac5c76 100644 --- a/360/menu.cpp +++ b/360/menu.cpp @@ -224,22 +224,18 @@ HRESULT CSSNESQuickMenu::OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled ) case ORIENTATION_NORMAL: g_console.screen_orientation = ORIENTATION_VERTICAL; m_quickmenulist.SetText(MENU_ITEM_ORIENTATION, L"Orientation: Vertical"); - g_console.force_resize_enable = true; break; case ORIENTATION_VERTICAL: g_console.screen_orientation = ORIENTATION_FLIPPED; m_quickmenulist.SetText(MENU_ITEM_ORIENTATION, L"Orientation: Flipped"); - g_console.force_resize_enable = true; break; case ORIENTATION_FLIPPED: g_console.screen_orientation = ORIENTATION_FLIPPED_ROTATED; m_quickmenulist.SetText(MENU_ITEM_ORIENTATION, L"Orientation: Flipped Rotated"); - g_console.force_resize_enable = true; break; case ORIENTATION_FLIPPED_ROTATED: g_console.screen_orientation = ORIENTATION_NORMAL; m_quickmenulist.SetText(MENU_ITEM_ORIENTATION, L"Orientation: Normal"); - g_console.force_resize_enable = true; break; } xdk360_set_orientation(g_console.screen_orientation); diff --git a/360/xdk360_video.cpp b/360/xdk360_video.cpp index 9f9e3ff3f3..60f4ee9f0d 100644 --- a/360/xdk360_video.cpp +++ b/360/xdk360_video.cpp @@ -358,7 +358,7 @@ static bool xdk360_gfx_frame(void *data, const void *frame, D3DDevice_Clear(vid->xdk360_render_device, 0, NULL, D3DCLEAR_TARGET, 0xff000000, 1.0f, 0, FALSE); - if (vid->last_width != width || vid->last_height != height || g_console.force_resize_enable) + if (vid->last_width != width || vid->last_height != height) { D3DLOCKED_RECT d3dlr; @@ -382,7 +382,6 @@ static bool xdk360_gfx_frame(void *data, const void *frame, vid->last_width = width; vid->last_height = height; - g_console.force_resize_enable = false; } vid->xdk360_render_device->SetVertexShaderConstantF(0, (FLOAT*)&vid->modelViewProj, 4); diff --git a/general.h b/general.h index 820dd13cf9..16c617b437 100644 --- a/general.h +++ b/general.h @@ -188,9 +188,6 @@ struct console_settings bool block_config_read; bool default_sram_dir_enable; bool default_savestate_dir_enable; -#ifdef _XBOX - bool force_resize_enable; -#endif bool frame_advance_enable; bool gamma_correction_enable; bool initialize_ssnes_enable;