diff --git a/xbox1/frontend/menu.cpp b/xbox1/frontend/menu.cpp index de9b223efc..c9764d5fe0 100644 --- a/xbox1/frontend/menu.cpp +++ b/xbox1/frontend/menu.cpp @@ -49,7 +49,7 @@ int menu_init(void) g_romList.Load(); // Init input here - g_input.Create(); + //g_input.Create(); // Load the font here g_font.Create(); @@ -67,23 +67,23 @@ void menu_free(void) {} void menu_loop(void) { xdk_d3d_video_t *d3d = (xdk_d3d_video_t*)driver.video_data; - //rarch_console_load_game("D:\\ssf2x.gba"); + rarch_console_load_game("D:\\ssf2x.gba"); // Loop the app - while (!g_bExit) - { - d3d->d3d_render_device->Clear(0, NULL, D3DCLEAR_TARGET, - D3DCOLOR_XRGB(0, 0, 0), - 1.0f, 0); - - d3d->d3d_render_device->BeginScene(); - d3d->d3d_render_device->SetFlickerFilter(g_iniFile.m_currentIniEntry.dwFlickerFilter); - d3d->d3d_render_device->SetSoftDisplayFilter(g_iniFile.m_currentIniEntry.bSoftDisplayFilter); + //while (!g_bExit) + //{ + // d3d->d3d_render_device->Clear(0, NULL, D3DCLEAR_TARGET, + // D3DCOLOR_XRGB(0, 0, 0), + // 1.0f, 0); + // + // d3d->d3d_render_device->BeginScene(); + // d3d->d3d_render_device->SetFlickerFilter(g_iniFile.m_currentIniEntry.dwFlickerFilter); + // d3d->d3d_render_device->SetSoftDisplayFilter(g_iniFile.m_currentIniEntry.bSoftDisplayFilter); - g_input.GetInput(); - g_menuManager.Update(); - - d3d->d3d_render_device->EndScene(); - d3d->d3d_render_device->Present(NULL, NULL, NULL, NULL); - } + // //g_input.GetInput(); + // g_menuManager.Update(); + // + // d3d->d3d_render_device->EndScene(); + // d3d->d3d_render_device->Present(NULL, NULL, NULL, NULL); + //} } diff --git a/xbox1/xdk_d3d8.h b/xbox1/xdk_d3d8.h index 64e720d58a..402a2eb4af 100644 --- a/xbox1/xdk_d3d8.h +++ b/xbox1/xdk_d3d8.h @@ -25,8 +25,7 @@ #define SHOW_DEBUG_INFO #define DFONT_MAX 4096 -#define PRIM_FVF (D3DFVF_XYZRHW | D3DFVF_TEX1) -#define D3DFVF_CUSTOMVERTEX (D3DFVF_XYZ | D3DFVF_NORMAL) +#define D3DFVF_CUSTOMVERTEX (D3DFVF_XYZRHW | D3DFVF_TEX1) #define MIN_SCALING_FACTOR (1.0f) #define MAX_SCALING_FACTOR (2.0f)