mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
[makerom] misc
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 14
|
# Visual Studio 14
|
||||||
VisualStudioVersion = 14.0.23107.0
|
VisualStudioVersion = 14.0.24720.0
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "makerom", "makerom.vcxproj", "{21926330-F5A5-4643-AD32-D4F167CE226B}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "makerom", "makerom.vcxproj", "{21926330-F5A5-4643-AD32-D4F167CE226B}"
|
||||||
EndProject
|
EndProject
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
<NMakeCleanCommandLine>make clean</NMakeCleanCommandLine>
|
<NMakeCleanCommandLine>make clean</NMakeCleanCommandLine>
|
||||||
<NMakeReBuildCommandLine>make rebuild</NMakeReBuildCommandLine>
|
<NMakeReBuildCommandLine>make rebuild</NMakeReBuildCommandLine>
|
||||||
<NMakePreprocessorDefinitions>WIN32;_DEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
<NMakePreprocessorDefinitions>WIN32;_DEBUG;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||||
<IncludePath>C:\Program Files\mingw-w64\x86_64-4.9.2-win32-seh-rt_v4-rev2\mingw64\x86_64-w64-mingw32\include</IncludePath>
|
<IncludePath>C:\mingw\mingw64\x86_64-w64-mingw32\include</IncludePath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<NMakeBuildCommandLine>make</NMakeBuildCommandLine>
|
<NMakeBuildCommandLine>make</NMakeBuildCommandLine>
|
||||||
|
|||||||
@@ -49,14 +49,12 @@ int ParseArgs(int argc, char *argv[], user_settings *set)
|
|||||||
|
|
||||||
// Parsing Arguments
|
// Parsing Arguments
|
||||||
int set_result;
|
int set_result;
|
||||||
int i = 1;
|
for (int i = 1; i < argc; i += set_result) {
|
||||||
while (i < argc) {
|
|
||||||
set_result = SetArgument(argc, i, argv, set);
|
set_result = SetArgument(argc, i, argv, set);
|
||||||
if (set_result < 1) {
|
if (set_result < 1) {
|
||||||
fprintf(stderr, "[RESULT] Invalid arguments, see '%s -help'\n", argv[0]);
|
fprintf(stderr, "[RESULT] Invalid arguments, see '%s -help'\n", argv[0]);
|
||||||
return set_result;
|
return set_result;
|
||||||
}
|
}
|
||||||
i += set_result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Checking arguments
|
// Checking arguments
|
||||||
|
|||||||
Reference in New Issue
Block a user