Skip to content

Commit

Permalink
Minor Fixes for Older .NET Framework Versions
Browse files Browse the repository at this point in the history
  • Loading branch information
HerpDerpinstine committed Aug 29, 2021
1 parent dc58afe commit fe48f4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ML_OpenVR_FSR.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ML_OpenVR_FSR</RootNamespace>
<AssemblyName>ML_OpenVR_FSR</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
Expand Down
5 changes: 2 additions & 3 deletions Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ unsafe public override void OnApplicationEarlyStart()

MelonLogger.Msg("Searching for openvr_api.dll...");

string plugins_path = Path.Combine(
MelonUtils.GameDirectory,
$"{Process.GetCurrentProcess().ProcessName}_Data",
string plugins_path = Path.Combine(Path.Combine(MelonUtils.GameDirectory,
$"{Process.GetCurrentProcess().ProcessName}_Data"),
"Plugins");

string orig_openvr = null;
Expand Down

0 comments on commit fe48f4d

Please sign in to comment.