(Salamander XDK1) Fix build

This commit is contained in:
twinaphex 2014-06-01 05:35:28 +02:00
parent 4d26d32e8a
commit 4f27c4b56d
3 changed files with 43 additions and 32 deletions

View File

@ -25,6 +25,10 @@
#include "frontend.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct frontend_ctx_driver
{
void (*environment_get)(int argc, char *argv[], void *args);
@ -58,4 +62,8 @@ extern const frontend_ctx_driver_t frontend_ctx_null;
const frontend_ctx_driver_t *frontend_ctx_find_driver(const char *ident); // Finds driver with ident. Does not initialize.
const frontend_ctx_driver_t *frontend_ctx_init_first(void); // Finds first suitable driver and initializes.
#ifdef __cplusplus
}
#endif
#endif

View File

@ -324,8 +324,8 @@ static int frontend_xdk_process_args(int argc, char *argv[], void *args)
}
#endif
#endif
exit:
#ifndef IS_SALAMANDER
exit:
g_extern.verbose = original_verbose;
#endif
return ret;

View File

@ -371,6 +371,39 @@
CompileAs="2"/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\frontend\frontend_context.c">
<FileConfiguration
Name="Debug|Xbox">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
</FileConfiguration>
<FileConfiguration
Name="Profile|Xbox">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
</FileConfiguration>
<FileConfiguration
Name="Profile_FastCap|Xbox">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
</FileConfiguration>
<FileConfiguration
Name="Release|Xbox">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
</FileConfiguration>
<FileConfiguration
Name="Release_LTCG|Xbox">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\frontend\frontend_salamander.c">
<FileConfiguration
@ -405,37 +438,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\..\frontend\frontend_context.c">
<FileConfiguration
Name="Debug|Xbox">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
</FileConfiguration>
<FileConfiguration
Name="Profile|Xbox">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
</FileConfiguration>
<FileConfiguration
Name="Profile_FastCap|Xbox">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
</FileConfiguration>
<FileConfiguration
Name="Release|Xbox">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
</FileConfiguration>
<FileConfiguration
Name="Release_LTCG|Xbox">
<Tool
Name="VCCLCompilerTool"
CompileAs="2"/>
</FileConfiguration>
RelativePath="..\..\frontend\platform\platform_null.c">
</File>
</Filter>
<Filter