mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
merge
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2"
|
||||
CharacterSet="1"
|
||||
WholeProgramOptimization="1"
|
||||
>
|
||||
<Tool
|
||||
@@ -4034,6 +4034,10 @@
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<File
|
||||
RelativePath=".\icon.rc"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\love.cpp"
|
||||
>
|
||||
|
||||
@@ -109,7 +109,7 @@ namespace sdl
|
||||
QueryPerformanceFrequency(&temp);
|
||||
freq = temp.QuadPart;
|
||||
__int64 secs = ticks/freq;
|
||||
__int64 usecs = (ticks%freq)/(freq/1000000.0f);
|
||||
__int64 usecs = static_cast<__int64>((ticks%freq)/(freq/1000000.0f));
|
||||
return secs%86400 + usecs/1000000.0f;
|
||||
#else
|
||||
timeval t;
|
||||
|
||||
Reference in New Issue
Block a user