Skip to content

Commit

Permalink
Modernize vcxproject, upgrade version
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemonaco committed May 24, 2024
1 parent 431caf6 commit 72835c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
9 changes: 4 additions & 5 deletions Atlas.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v141</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v141</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
Expand Down Expand Up @@ -54,9 +54,8 @@
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
Expand All @@ -82,7 +81,7 @@
<WholeProgramOptimization>true</WholeProgramOptimization>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
Expand Down
8 changes: 4 additions & 4 deletions AtlasMain.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Atlas main
// Atlas main entry point

#include "stdafx.h"
#include <ctime>
Expand All @@ -18,14 +18,14 @@ int _tmain(int argc, _TCHAR* argv[])
Logger.SetLogStatus(false);
StartTime = clock();

printf("Atlas 1.11g by Klarth\n\n");
printf("Atlas 1.11h by Klarth\n\n");
if (argc != 3 && argc != 5)
{
printf("Usage: %s [switches] ROM.ext Script.txt\n", argv[0]);
printf("Switches: -d filename or -d stdout (debugging)\n");
printf("Arguments in brackets are optional\n\n");
printf("Press any key to continue\n");
getch();
(void)getch();
return 1;
}

Expand All @@ -50,7 +50,7 @@ int _tmain(int argc, _TCHAR* argv[])

printf("Execution time: %u msecs\n", (unsigned int)ElapsedTime);

getch();
(void)getch();

return retcode;
}

0 comments on commit 72835c1

Please sign in to comment.