mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 03:35:22 +00:00
(360) Added /privilege=6 to imagexex command line (allow insecure
sockets - no more 'couldn't resolve symbolic link root name XlfsUploadCache'
This commit is contained in:
parent
000d863ae0
commit
5a3b88bdd6
12
360/main.c
12
360/main.c
@ -43,9 +43,9 @@
|
|||||||
#define DEVICE_CACHE 11
|
#define DEVICE_CACHE 11
|
||||||
|
|
||||||
typedef struct _STRING {
|
typedef struct _STRING {
|
||||||
USHORT Length;
|
unsigned short Length;
|
||||||
USHORT MaximumLength;
|
unsigned short MaximumLength;
|
||||||
PCHAR Buffer;
|
char * Buffer;
|
||||||
} STRING;
|
} STRING;
|
||||||
|
|
||||||
char SYS_CONFIG_FILE[MAX_PATH_LENGTH];
|
char SYS_CONFIG_FILE[MAX_PATH_LENGTH];
|
||||||
@ -148,7 +148,7 @@ static void set_default_settings (void)
|
|||||||
|
|
||||||
static bool file_exists(const char * filename)
|
static bool file_exists(const char * filename)
|
||||||
{
|
{
|
||||||
DWORD file_attr;
|
unsigned long file_attr;
|
||||||
|
|
||||||
file_attr = GetFileAttributes(filename);
|
file_attr = GetFileAttributes(filename);
|
||||||
|
|
||||||
@ -241,7 +241,7 @@ static void get_environment_settings (void)
|
|||||||
{
|
{
|
||||||
SSNES_ERR("Couldn't change number of bytes reserved for file system cache.\n");
|
SSNES_ERR("Couldn't change number of bytes reserved for file system cache.\n");
|
||||||
}
|
}
|
||||||
DWORD result = XMountUtilityDriveEx(XMOUNTUTILITYDRIVE_FORMAT0,8192, 0);
|
unsigned long result = XMountUtilityDriveEx(XMOUNTUTILITYDRIVE_FORMAT0,8192, 0);
|
||||||
|
|
||||||
if(result != ERROR_SUCCESS)
|
if(result != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
@ -249,7 +249,7 @@ static void get_environment_settings (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// detect install environment
|
// detect install environment
|
||||||
DWORD license_mask;
|
unsigned long license_mask;
|
||||||
|
|
||||||
if (XContentGetLicenseMask(&license_mask, NULL) != ERROR_SUCCESS)
|
if (XContentGetLicenseMask(&license_mask, NULL) != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
|
@ -171,7 +171,7 @@ HRESULT CSSNESFileBrowser::OnNotifyPress( HXUIOBJ hObjPressed, BOOL& bHandled )
|
|||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT CSSNESSettings::OnNotifyPress( HXUIOBJ hObjPressed, BOOL& bHandled )
|
HRESULT CSSNESSettings::OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled )
|
||||||
{
|
{
|
||||||
if ( hObjPressed == m_rewind)
|
if ( hObjPressed == m_rewind)
|
||||||
{
|
{
|
||||||
@ -212,7 +212,7 @@ HRESULT CSSNESSettings::OnNotifyPress( HXUIOBJ hObjPressed, BOOL& bHandled )
|
|||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT CSSNESMain::OnNotifyPress( HXUIOBJ hObjPressed, BOOL& bHandled )
|
HRESULT CSSNESMain::OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled )
|
||||||
{
|
{
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
||||||
|
12
360/menu.h
12
360/menu.h
@ -44,8 +44,8 @@ protected:
|
|||||||
CXuiTextElement m_title;
|
CXuiTextElement m_title;
|
||||||
CXuiTextElement m_core;
|
CXuiTextElement m_core;
|
||||||
public:
|
public:
|
||||||
HRESULT OnInit( XUIMessageInit* pInitData, BOOL& bHandled );
|
HRESULT OnInit( XUIMessageInit* pInitData, int & bHandled );
|
||||||
HRESULT OnNotifyPress( HXUIOBJ hObjPressed, BOOL& bHandled );
|
HRESULT OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled );
|
||||||
|
|
||||||
XUI_BEGIN_MSG_MAP()
|
XUI_BEGIN_MSG_MAP()
|
||||||
XUI_ON_XM_INIT( OnInit)
|
XUI_ON_XM_INIT( OnInit)
|
||||||
@ -62,8 +62,8 @@ protected:
|
|||||||
CXuiControl m_back;
|
CXuiControl m_back;
|
||||||
CXuiTextElement m_rompathtitle;
|
CXuiTextElement m_rompathtitle;
|
||||||
public:
|
public:
|
||||||
HRESULT OnInit( XUIMessageInit* pInitData, BOOL& bHandled );
|
HRESULT OnInit( XUIMessageInit* pInitData, int & bHandled );
|
||||||
HRESULT OnNotifyPress( HXUIOBJ hObjPressed, BOOL& bHandled );
|
HRESULT OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled );
|
||||||
|
|
||||||
XUI_BEGIN_MSG_MAP()
|
XUI_BEGIN_MSG_MAP()
|
||||||
XUI_ON_XM_INIT( OnInit)
|
XUI_ON_XM_INIT( OnInit)
|
||||||
@ -81,8 +81,8 @@ protected:
|
|||||||
CXuiControl m_hw_filter;
|
CXuiControl m_hw_filter;
|
||||||
CXuiControl m_back;
|
CXuiControl m_back;
|
||||||
public:
|
public:
|
||||||
HRESULT OnInit( XUIMessageInit* pInitData, BOOL& bHandled );
|
HRESULT OnInit( XUIMessageInit* pInitData, int & bHandled );
|
||||||
HRESULT OnNotifyPress( HXUIOBJ hObjPressed, BOOL& bHandled );
|
HRESULT OnNotifyPress( HXUIOBJ hObjPressed, int & bHandled );
|
||||||
|
|
||||||
XUI_BEGIN_MSG_MAP()
|
XUI_BEGIN_MSG_MAP()
|
||||||
XUI_ON_XM_INIT( OnInit)
|
XUI_ON_XM_INIT( OnInit)
|
||||||
|
@ -36,8 +36,8 @@ Console::~Console()
|
|||||||
Destroy();
|
Destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT Console::Create( LPCSTR strFontFileName, D3DCOLOR colBackColor,
|
HRESULT Console::Create( LPCSTR strFontFileName, unsigned long colBackColor,
|
||||||
D3DCOLOR colTextColor, unsigned int nLines )
|
unsigned long colTextColor, unsigned int nLines )
|
||||||
{
|
{
|
||||||
xdk360_video_t *vid = (xdk360_video_t*)g_d3d;
|
xdk360_video_t *vid = (xdk360_video_t*)g_d3d;
|
||||||
D3DDevice *m_pd3dDevice = vid->xdk360_render_device;
|
D3DDevice *m_pd3dDevice = vid->xdk360_render_device;
|
||||||
|
@ -82,8 +82,8 @@ private:
|
|||||||
XdkFont m_Font;
|
XdkFont m_Font;
|
||||||
|
|
||||||
// Colors
|
// Colors
|
||||||
D3DCOLOR m_colBackColor;
|
unsigned long m_colBackColor;
|
||||||
D3DCOLOR m_colTextColor;
|
unsigned long m_colTextColor;
|
||||||
|
|
||||||
// Text Buffers
|
// Text Buffers
|
||||||
unsigned int m_cScreenHeight; // height in lines of screen area
|
unsigned int m_cScreenHeight; // height in lines of screen area
|
||||||
|
@ -120,6 +120,9 @@
|
|||||||
<DeploymentFiles>$(RemoteRoot)=$(ImagePath);$(RemoteRoot)\media=$(OutDir)media;$(RemoteRoot)=$(OutDir)cfg</DeploymentFiles>
|
<DeploymentFiles>$(RemoteRoot)=$(ImagePath);$(RemoteRoot)\media=$(OutDir)media;$(RemoteRoot)=$(OutDir)cfg</DeploymentFiles>
|
||||||
<ForceCopy>true</ForceCopy>
|
<ForceCopy>true</ForceCopy>
|
||||||
</Deploy>
|
</Deploy>
|
||||||
|
<ImageXex>
|
||||||
|
<AdditionalOptions>/privilege=6 %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ImageXex>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
@ -145,6 +148,9 @@
|
|||||||
<ForceCopy>true</ForceCopy>
|
<ForceCopy>true</ForceCopy>
|
||||||
<DeploymentType>CopyToHardDrive</DeploymentType>
|
<DeploymentType>CopyToHardDrive</DeploymentType>
|
||||||
</Deploy>
|
</Deploy>
|
||||||
|
<ImageXex>
|
||||||
|
<AdditionalOptions>/privilege=6 %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ImageXex>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
@ -175,6 +181,9 @@
|
|||||||
<ForceCopy>true</ForceCopy>
|
<ForceCopy>true</ForceCopy>
|
||||||
<DeploymentType>CopyToHardDrive</DeploymentType>
|
<DeploymentType>CopyToHardDrive</DeploymentType>
|
||||||
</Deploy>
|
</Deploy>
|
||||||
|
<ImageXex>
|
||||||
|
<AdditionalOptions>/privilege=6 %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ImageXex>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
@ -204,6 +213,9 @@
|
|||||||
<ForceCopy>true</ForceCopy>
|
<ForceCopy>true</ForceCopy>
|
||||||
<DeploymentType>CopyToHardDrive</DeploymentType>
|
<DeploymentType>CopyToHardDrive</DeploymentType>
|
||||||
</Deploy>
|
</Deploy>
|
||||||
|
<ImageXex>
|
||||||
|
<AdditionalOptions>/privilege=6 %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ImageXex>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
@ -232,6 +244,9 @@
|
|||||||
<DeploymentFiles>$(RemoteRoot)=$(ImagePath);$(RemoteRoot)\media=$(OutDir)media;$(RemoteRoot)=$(OutDir)cfg</DeploymentFiles>
|
<DeploymentFiles>$(RemoteRoot)=$(ImagePath);$(RemoteRoot)\media=$(OutDir)media;$(RemoteRoot)=$(OutDir)cfg</DeploymentFiles>
|
||||||
<ForceCopy>true</ForceCopy>
|
<ForceCopy>true</ForceCopy>
|
||||||
</Deploy>
|
</Deploy>
|
||||||
|
<ImageXex>
|
||||||
|
<AdditionalOptions>/privilege=6 %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ImageXex>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
@ -262,6 +277,9 @@
|
|||||||
<DeploymentFiles>$(RemoteRoot)=$(ImagePath);$(RemoteRoot)\media=$(OutDir)media;$(RemoteRoot)=$(OutDir)cfg</DeploymentFiles>
|
<DeploymentFiles>$(RemoteRoot)=$(ImagePath);$(RemoteRoot)\media=$(OutDir)media;$(RemoteRoot)=$(OutDir)cfg</DeploymentFiles>
|
||||||
<DeploymentType>CopyToHardDrive</DeploymentType>
|
<DeploymentType>CopyToHardDrive</DeploymentType>
|
||||||
</Deploy>
|
</Deploy>
|
||||||
|
<ImageXex>
|
||||||
|
<AdditionalOptions>/privilege=6 %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
</ImageXex>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\360\file_browser.c" />
|
<ClCompile Include="..\..\360\file_browser.c" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user