コード例 #1
0
ファイル: ConfigApi.cs プロジェクト: sodomon2/Mesen-S
 public static List <string> GetAudioDevices()
 {
     return(new List <string>(Utf8Marshaler.PtrToStringUtf8(ConfigApi.GetAudioDevicesWrapper()).Split(new string[1] {
         "||"
     }, StringSplitOptions.RemoveEmptyEntries)));
 }
コード例 #2
0
 public static string GetScriptLog(Int32 scriptId)
 {
     return(Utf8Marshaler.PtrToStringUtf8(DebugApi.GetScriptLogWrapper(scriptId)).Replace("\n", Environment.NewLine));
 }
コード例 #3
0
ファイル: EmuApi.cs プロジェクト: gouchi/Mesen-S
 public static string GetLog()
 {
     return(Utf8Marshaler.PtrToStringUtf8(EmuApi.GetLogWrapper()).Replace("\n", Environment.NewLine));
 }
コード例 #4
0
 public static string GetExecutionTrace(UInt32 lineCount)
 {
     return(Utf8Marshaler.PtrToStringUtf8(DebugApi.GetExecutionTraceWrapper(lineCount)));
 }
コード例 #5
0
ファイル: InputApi.cs プロジェクト: yoshisuga/Mesen-S
 public static string GetKeyName(UInt32 key)
 {
     return(Utf8Marshaler.PtrToStringUtf8(InputApi.GetKeyNameWrapper(key)));
 }