From 30a3199502d5b255722c530258c2ca83c40243f4 Mon Sep 17 00:00:00 2001 From: Kris Roberts Date: Wed, 18 Oct 2023 12:12:16 -0700 Subject: [PATCH] Fixed discrepency in the folder name to save/load replay data. --- RobertsmaniaReplay/VAPlugin_RobertsmaniaReplay.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/RobertsmaniaReplay/VAPlugin_RobertsmaniaReplay.cs b/RobertsmaniaReplay/VAPlugin_RobertsmaniaReplay.cs index a320dbb..9d97db5 100644 --- a/RobertsmaniaReplay/VAPlugin_RobertsmaniaReplay.cs +++ b/RobertsmaniaReplay/VAPlugin_RobertsmaniaReplay.cs @@ -1391,14 +1391,15 @@ public static void LoadMarkers() // Get the "My Documents" folder path string myDocumentsPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); - // Reference the folder named "PitGirlReplays" - string inputFolderPath = Path.Combine(myDocumentsPath, "PitGirlReplays"); + // Reference the folder named "RobertsmaniaReplays" + string inputFolderPath = Path.Combine(myDocumentsPath, "RobertsmaniaReplays"); string fileName = $"markers_{g_SubSessionID}.json"; if (!File.Exists(Path.Combine(inputFolderPath, fileName))) { _vaProxy.WriteToLog("No marker data found", "red"); + _vaProxy.WriteToLog(Path.Combine(inputFolderPath, fileName), "red"); return; } @@ -1616,7 +1617,7 @@ public static void VA_Init1(dynamic vaProxy) _iRSDKWrapper.TelemetryUpdateFrequency = cUpdatesPerSec; _iRSDKWrapper.Start(); - //seems clumsy but there is no default constror for structs + //seems clumsy but there is no default constructor for structs //TODO any other data structures need intialiaztion? for (int i = 0; i < g_Drivers.Length; i++) {