(Xbox 1) Shows menu now
This commit is contained in:
parent
58a3c8ac86
commit
199871955c
|
@ -172,10 +172,10 @@ bool CSurface::Render(int x, int y, dword w, dword h)
|
||||||
/*CustomVertex*/DrawVerticeFormats newVerts[] =
|
/*CustomVertex*/DrawVerticeFormats newVerts[] =
|
||||||
{
|
{
|
||||||
// x, y, z, color, u ,v
|
// x, y, z, color, u ,v
|
||||||
{fX, fY, 0.0f, /*D3DCOLOR_ARGB(m_byOpacity, m_byR, m_byG, m_byB),*/ 0, 0},
|
{fX, fY, 0.0f, /*D3DCOLOR_ARGB(m_byOpacity, m_byR, m_byG, m_byB),*/ 0, 0, 0},
|
||||||
{fX + w, fY, 0.0f, /*D3DCOLOR_ARGB(m_byOpacity, m_byR, m_byG, m_byB),*/ 1, 0},
|
{fX + w, fY, 0.0f, /*D3DCOLOR_ARGB(m_byOpacity, m_byR, m_byG, m_byB),*/ 0, 1, 0},
|
||||||
{fX + w, fY + h, 0.0f, /*D3DCOLOR_ARGB(m_byOpacity, m_byR, m_byG, m_byB),*/ 1, 1},
|
{fX + w, fY + h, 0.0f, /*D3DCOLOR_ARGB(m_byOpacity, m_byR, m_byG, m_byB),*/ 0, 1, 1},
|
||||||
{fX, fY + h, 0.0f, /*D3DCOLOR_ARGB(m_byOpacity, m_byR, m_byG, m_byB),*/ 0, 1}
|
{fX, fY + h, 0.0f, /*D3DCOLOR_ARGB(m_byOpacity, m_byR, m_byG, m_byB),*/ 0, 0, 1}
|
||||||
};
|
};
|
||||||
|
|
||||||
// load the existing vertices
|
// load the existing vertices
|
||||||
|
|
|
@ -67,23 +67,23 @@ void menu_free(void) {}
|
||||||
void menu_loop(void)
|
void menu_loop(void)
|
||||||
{
|
{
|
||||||
xdk_d3d_video_t *d3d = (xdk_d3d_video_t*)driver.video_data;
|
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
|
// Loop the app
|
||||||
//while (!g_bExit)
|
while (!g_bExit)
|
||||||
//{
|
{
|
||||||
// d3d->d3d_render_device->Clear(0, NULL, D3DCLEAR_TARGET,
|
d3d->d3d_render_device->Clear(0, NULL, D3DCLEAR_TARGET,
|
||||||
// D3DCOLOR_XRGB(0, 0, 0),
|
D3DCOLOR_XRGB(0, 0, 0),
|
||||||
// 1.0f, 0);
|
1.0f, 0);
|
||||||
//
|
|
||||||
// d3d->d3d_render_device->BeginScene();
|
d3d->d3d_render_device->BeginScene();
|
||||||
// d3d->d3d_render_device->SetFlickerFilter(g_iniFile.m_currentIniEntry.dwFlickerFilter);
|
d3d->d3d_render_device->SetFlickerFilter(g_iniFile.m_currentIniEntry.dwFlickerFilter);
|
||||||
// d3d->d3d_render_device->SetSoftDisplayFilter(g_iniFile.m_currentIniEntry.bSoftDisplayFilter);
|
d3d->d3d_render_device->SetSoftDisplayFilter(g_iniFile.m_currentIniEntry.bSoftDisplayFilter);
|
||||||
|
|
||||||
// //g_input.GetInput();
|
//g_input.GetInput();
|
||||||
// g_menuManager.Update();
|
g_menuManager.Update();
|
||||||
//
|
|
||||||
// d3d->d3d_render_device->EndScene();
|
d3d->d3d_render_device->EndScene();
|
||||||
// d3d->d3d_render_device->Present(NULL, NULL, NULL, NULL);
|
d3d->d3d_render_device->Present(NULL, NULL, NULL, NULL);
|
||||||
//}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,7 @@ typedef struct
|
||||||
typedef struct DrawVerticeFormats
|
typedef struct DrawVerticeFormats
|
||||||
{
|
{
|
||||||
float x, y, z;
|
float x, y, z;
|
||||||
|
float rhw;
|
||||||
float u, v;
|
float u, v;
|
||||||
} DrawVerticeFormats;
|
} DrawVerticeFormats;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue