mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-21 02:04:40 +00:00
(Xbox 1/RMenu context) build fix
This commit is contained in:
parent
66247dbb61
commit
9c1725358b
@ -154,7 +154,7 @@ static void rmenu_ctx_xdk_screenshot_enable(bool enable)
|
||||
|
||||
static void rmenu_ctx_xdk_screenshot_dump(void *data)
|
||||
{
|
||||
gfx_ctx_xdk_screenshot_dump();
|
||||
gfx_ctx_xdk_screenshot_dump(NULL);
|
||||
}
|
||||
|
||||
const rmenu_context_t rmenu_ctx_xdk = {
|
||||
|
@ -22,6 +22,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <xgraphics.h>
|
||||
|
||||
#include "../../screenshot.h"
|
||||
#include "xdk_ctx.h"
|
||||
|
||||
@ -161,7 +163,8 @@ void gfx_ctx_xdk_screenshot_dump(void *data)
|
||||
ret = XGWriteSurfaceToFile(surf, filename);
|
||||
surf->Release();
|
||||
#elif defined(_XBOX360)
|
||||
ret = D3DXSaveTextureToFile(filename, D3DXIFF_BMP, d3d->lpTexture, NULL);
|
||||
ret = 1; //false
|
||||
//ret = D3DXSaveTextureToFile(filename, D3DXIFF_BMP, d3d->lpTexture, NULL);
|
||||
#endif
|
||||
|
||||
if(ret == S_OK)
|
||||
|
Loading…
x
Reference in New Issue
Block a user