コード例 #1
0
        private unsafe void InitDllLogging()
        {
            var fakeTrackirData = new FreePieTrackIRHeadposeData();

            using (var logpath = new MarshalledString(Path.Combine(Environment.CurrentDirectory, "NPClient.log")))
                CopyMemory(new IntPtr(fakeTrackirData.LogPath), logpath.Pointer, logpath.Length);

            freepieData.Write(x => x.TrackIRData.FakeTrackIRData, fakeTrackirData);
        }
コード例 #2
0
ファイル: NPClientSpoof.cs プロジェクト: Redacacia/FreePIE
        private unsafe void InitDllLogging()
        {
            var fakeTrackirData = new FreePieTrackIRHeadposeData();

            using (var logpath = new MarshalledString(Path.Combine(Environment.CurrentDirectory, "NPClient.log")))
                CopyMemory(new IntPtr(fakeTrackirData.LogPath), logpath.Pointer, logpath.Length);

            freepieData.Write(x => x.TrackIRData.FakeTrackIRData, fakeTrackirData);
        }