(PS3) MSVS 2010f fix plus got rid of some warnings

This commit is contained in:
TwinAphex51224 2012-01-30 20:27:52 +01:00
parent 35b386df0d
commit f4183d2c8f
4 changed files with 11 additions and 2 deletions

View File

@ -46,6 +46,9 @@
<Link> <Link>
<AdditionalDependencies>"$(SCE_PS3_ROOT)\target\ppu\lib\PSGL\RSX\debug\libPSGL.a";"$(SCE_PS3_ROOT)\target\ppu\lib\PSGL\RSX\debug\libPSGLcgc.a";libcgc.a;libdbgfont.a;libgcm_cmd.a;libgcm_sys_stub.a;libresc_stub.a;libio_stub.a;libfs_stub.a;libsysutil_stub.a;libsysutil_game_stub.a;libsysutil_screenshot_stub.a;libjpgdec_stub.a;libpngdec_stub.a;libpthread.a;libsysmodule_stub.a;libaudio_stub.a;$(TargetDir)libsnes.a;libnet_stub.a;%(AdditionalDependencies)</AdditionalDependencies> <AdditionalDependencies>"$(SCE_PS3_ROOT)\target\ppu\lib\PSGL\RSX\debug\libPSGL.a";"$(SCE_PS3_ROOT)\target\ppu\lib\PSGL\RSX\debug\libPSGLcgc.a";libcgc.a;libdbgfont.a;libgcm_cmd.a;libgcm_sys_stub.a;libresc_stub.a;libio_stub.a;libfs_stub.a;libsysutil_stub.a;libsysutil_game_stub.a;libsysutil_screenshot_stub.a;libjpgdec_stub.a;libpngdec_stub.a;libpthread.a;libsysmodule_stub.a;libaudio_stub.a;$(TargetDir)libsnes.a;libnet_stub.a;%(AdditionalDependencies)</AdditionalDependencies>
</Link> </Link>
<PostBuildEvent>
<Command>copy ssnes.cfg $(TargetDir)</Command>
</PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|PS3'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|PS3'">
<ClCompile> <ClCompile>
@ -75,6 +78,10 @@
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|PS3'">CompileAsC</CompileAs> <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|PS3'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|PS3'">CompileAsC</CompileAs> <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|PS3'">CompileAsC</CompileAs>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\console\main_wrap.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|PS3'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|PS3'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\console\rom_ext.c"> <ClCompile Include="..\..\console\rom_ext.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|PS3'">CompileAsC</CompileAs> <CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|PS3'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|PS3'">CompileAsC</CompileAs> <CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|PS3'">CompileAsC</CompileAs>

View File

@ -128,5 +128,8 @@
<ClCompile Include="..\..\console\rom_ext.c"> <ClCompile Include="..\..\console\rom_ext.c">
<Filter>Source Files\console</Filter> <Filter>Source Files\console</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\..\console\main_wrap.c">
<Filter>Source Files\console</Filter>
</ClCompile>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -1452,7 +1452,6 @@ static void select_rom(void)
else if (FILEBROWSER_IS_CURRENT_A_FILE(browser)) else if (FILEBROWSER_IS_CURRENT_A_FILE(browser))
{ {
char rom_path_temp[MAX_PATH_LENGTH]; char rom_path_temp[MAX_PATH_LENGTH];
bool retval;
snprintf(rom_path_temp, sizeof(rom_path_temp), "%s/%s", FILEBROWSER_GET_CURRENT_DIRECTORY_NAME(browser), FILEBROWSER_GET_CURRENT_FILENAME(browser)); snprintf(rom_path_temp, sizeof(rom_path_temp), "%s/%s", FILEBROWSER_GET_CURRENT_DIRECTORY_NAME(browser), FILEBROWSER_GET_CURRENT_FILENAME(browser));

View File

@ -1054,7 +1054,7 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo
static bool gl_alive(void *data) static bool gl_alive(void *data)
{ {
gl_t *gl = data; (void)data;
cellSysutilCheckCallback(); cellSysutilCheckCallback();
return !g_quitting; return !g_quitting;
} }