From 20f70663f0beb0051c19c57a0823292c9ec934a4 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Wed, 18 Nov 2020 21:23:28 -0300 Subject: [PATCH] Add Jetway J656VXD to the machine migration list --- src/config.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/config.c b/src/config.c index ba5ad8f44..bf74de17f 100644 --- a/src/config.c +++ b/src/config.c @@ -514,10 +514,12 @@ load_machine(void) p = config_get_string(cat, "machine", NULL); if (p != NULL) { - if (! strcmp(p, "8500ttc")) /* correct typo */ + if (! strcmp(p, "8500ttc")) /* fix typo */ machine = machine_get_machine_from_internal_name("8600ttc"); - else if (! strcmp(p, "president")) /* migrate from removed machine */ + else if (! strcmp(p, "president")) /* migrate removed machine */ machine = machine_get_machine_from_internal_name("mb500n"); + else if (! strcmp(p, "j656vxd")) /* migrate removed machine */ + machine = machine_get_machine_from_internal_name("p55va"); else machine = machine_get_machine_from_internal_name(p); } else @@ -528,7 +530,7 @@ load_machine(void) /* This is for backwards compatibility. */ p = config_get_string(cat, "model", NULL); if (p != NULL) { - if (! strcmp(p, "p55r2p4")) /* correct typo */ + if (! strcmp(p, "p55r2p4")) /* fix typo */ machine = machine_get_machine_from_internal_name("p55t2p4"); else machine = machine_get_machine_from_internal_name(p);