This commit is contained in:
NotAKidoS 2023-02-18 23:02:26 -06:00
parent 25c0b7cffe
commit 94abe14f0c
8 changed files with 33 additions and 8 deletions

View file

@ -176,4 +176,14 @@ internal class TryCatchHell
},
"Failed to update CVRGestureRecognizer camera.");
}
internal static void UpdateMenuCoreData(bool isVR)
{
TryCatchWrapper(() =>
{
DesktopVRSwitchMod.Logger.Msg("Updating CVR_Menu_Data core data.");
CVR_MenuManager.Instance.coreData.core.inVr = isVR;
},
"Failed to update CVR_Menu_Data core data.");
}
}