Skip to content

Commit

Permalink
Fixed another bug with graph
Browse files Browse the repository at this point in the history
  • Loading branch information
MatVeiQaaa committed Aug 27, 2022
1 parent 16828f6 commit fd09fa5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions LR2GAS/GaugeIncrementsAsm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,22 +142,22 @@ namespace

for (int i = 0; i < 1000; i++)
{
int* hkGraphNode = (int*)(0x1873F4 + g_win10Offset + i * 4);
int* hkGraphNode = (int*)(0x1873F4 + g_win10Offset + i * sizeof(int));
switch (*gaugeType)
{
case 0:
*hkGraphNode = grooveGraph.graphNode[i];
grooveGraph.graphNode[i] = 0;
break;
case 1:
*hkGraphNode = hardGraph.graphNode[i];
hardGraph.graphNode[i] = 0;
break;
case 3:
*hkGraphNode = easyGraph.graphNode[i];
easyGraph.graphNode[i] = 0;
break;
}
grooveGraph.graphNode[i] = 0;
hardGraph.graphNode[i] = 0;
easyGraph.graphNode[i] = 0;
}


Expand Down
8 changes: 4 additions & 4 deletions LR2GAS/LR2GAS.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,26 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
Expand Down

0 comments on commit fd09fa5

Please sign in to comment.