A3XX: Fix DES Perf Page bug -- thanks Intl

This commit is contained in:
Joshua Davidson 2017-07-21 13:42:21 -04:00
parent 4b0389e1ce
commit 36f45d7dcc
2 changed files with 4 additions and 0 deletions

View file

@ -285,6 +285,8 @@ var pagebutton = func(btn) {
setprop("/MCDU[0]/page", "CLB"); setprop("/MCDU[0]/page", "CLB");
} else if (getprop("/FMGC/status/phase") == 3) { } else if (getprop("/FMGC/status/phase") == 3) {
setprop("/MCDU[0]/page", "CRZ"); setprop("/MCDU[0]/page", "CRZ");
} else if (getprop("/FMGC/status/phase") == 4) {
setprop("/MCDU[0]/page", "DES");
} }
} else if (btn == "init") { } else if (btn == "init") {
setprop("/MCDU[0]/page", "INITA"); setprop("/MCDU[0]/page", "INITA");

View file

@ -285,6 +285,8 @@ var pagebutton = func(btn) {
setprop("/MCDU[1]/page", "CLB"); setprop("/MCDU[1]/page", "CLB");
} else if (getprop("/FMGC/status/phase") == 3) { } else if (getprop("/FMGC/status/phase") == 3) {
setprop("/MCDU[1]/page", "CRZ"); setprop("/MCDU[1]/page", "CRZ");
} else if (getprop("/FMGC/status/phase") == 4) {
setprop("/MCDU[0]/page", "DES");
} }
} else if (btn == "init") { } else if (btn == "init") {
setprop("/MCDU[1]/page", "INITA"); setprop("/MCDU[1]/page", "INITA");