mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
(Xbox 1) Menu shows (corrupted) screen now
This commit is contained in:
parent
7b01393941
commit
58a3c8ac86
@ -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);
|
||||
//}
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user