Skip to content

Commit a162e10

Browse files
arthurkehrwaldfreezy
authored andcommitted
Support MPF v0.80
1 parent 769d1ad commit a162e10

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

VisualPinball.Engine.Mpf.Test/Program.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ public static async Task Main(string[] args)
3838
var mpfApi = new MpfApi(machineFolder);
3939

4040
mpfApi.Launch(new MpfConsoleOptions {
41-
//ShowLogInsteadOfConsole = true,
42-
//CatchStdOut = true,
41+
MediaController = MediaController.None
4342
});
4443

4544
mpfApi.StartGame(new Dictionary<string, bool> {
@@ -87,10 +86,10 @@ public static async Task Main(string[] args)
8786
key = Console.ReadKey();
8887
switch (key.Key) {
8988
case ConsoleKey.A:
90-
await mpfApi.Switch("0", true);
89+
await mpfApi.Switch("22", true);
9190
break;
9291
case ConsoleKey.S:
93-
await mpfApi.Switch("0", false);
92+
await mpfApi.Switch("22", false);
9493
break;
9594
}
9695
} while (key.Key != ConsoleKey.Escape);

VisualPinball.Engine.Mpf/machine/config/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#config_version=5
1+
#config_version=6
22

33
displays:
44
dmd: # source display for the DMD

0 commit comments

Comments
 (0)