Skip to content

Commit

Permalink
UEVRSharedMemory: Switch to Unicode characters instead
Browse files Browse the repository at this point in the history
Requires backend update
  • Loading branch information
praydog committed Feb 8, 2024
1 parent 840cec7 commit aaca3a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UEVR/UEVRSharedMemory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class SharedMemory {
[DllImport("user32.dll", SetLastError = true)]
public static extern bool PostThreadMessage(uint threadId, uint msg, IntPtr wParam, IntPtr lParam);

[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode, Pack = 1)]
public struct Data {
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)]
public string path;
Expand Down

0 comments on commit aaca3a0

Please sign in to comment.