コード例 #1
0
ファイル: DebugApi.cs プロジェクト: sodomon2/Mesen-S
        public static byte[] GetEventViewerOutput(int scanlineWidth, UInt32 scanlineCount, EventViewerDisplayOptions options)
        {
            UInt32 bufferSize = (UInt32)(scanlineWidth * scanlineCount * 2 * 4);

            byte[] buffer = new byte[bufferSize];
            DebugApi.GetEventViewerOutputWrapper(buffer, bufferSize, options);
            return(buffer);
        }
コード例 #2
0
 public static byte[] GetEventViewerOutput(EventViewerDisplayOptions options)
 {
     byte[] buffer = new byte[340 * 2 * 262 * 2 * 4];
     DebugApi.GetEventViewerOutputWrapper(buffer, options);
     return(buffer);
 }
コード例 #3
0
 public static byte[] GetEventViewerOutput(UInt32 scanlineCount, EventViewerDisplayOptions options)
 {
     byte[] buffer = new byte[340 * 2 * scanlineCount * 2 * 4];
     DebugApi.GetEventViewerOutputWrapper(buffer, options);
     return(buffer);
 }