diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-01 16:24:15 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-01 16:24:15 +0200 |
commit | a30ba67504ffd12c4db499adbb5ce47a7d1f6036 (patch) | |
tree | 9ae1a7e3849dda6bbb5c578232f6f2fa5b2e7e7e /spectro/oeminst.c | |
parent | 89e99e8a827859729729dfc92d74be4a8f96f1a4 (diff) | |
parent | 094535c010320967639e8e86f974d878e80baa72 (diff) |
New release 1.7.0
Diffstat (limited to 'spectro/oeminst.c')
-rw-r--r-- | spectro/oeminst.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/spectro/oeminst.c b/spectro/oeminst.c index 2aa96e5..bce7a67 100644 --- a/spectro/oeminst.c +++ b/spectro/oeminst.c @@ -30,8 +30,10 @@ #include "aglob.h" #include "oemarch.h" #include "xspect.h" +#include "disptechs.h" #include "ccmx.h" #include "ccss.h" +#include "ui.h" void usage(void) { fprintf(stderr,"Install OEM data files, Version %s\n",ARGYLL_VERSION_STR); @@ -127,7 +129,7 @@ main(int argc, char *argv[]) { for (; fa < argc; fa++) { xfile *xf; xf = new_add_xf(&files, argv[fa], NULL, 0, file_arch | file_dllcab | file_data, - targ_spyd_pld | targ_spyd_cal + targ_spyd1_pld | targ_spyd2_pld | targ_spyd_cal | targ_i1d3_edr | targ_ccmx); if (load_xfile(xf, verb)) error("Unable to load file '%s'",xf->name); @@ -201,7 +203,9 @@ main(int argc, char *argv[]) { if (cx->buf_read_ccmx(cx, xf->buf, xf->len)) { error("Reading '%s' failed with '%s'\n",xf->name,cx->err); } - if (cx->cbid <= 0) + if (cx->dtech == disptech_unknown) + warning("'%s' has an unknown display technology set",xf->name); + if (cx->cc_cbid <= 0) error("'%s' doesn't contain DISPLAY_TYPE_BASE_ID field :- it can't be installed without this!",xf->name); if (cx->refrmode < 0) warning("'%s' doesn't contain DISPLAY_TYPE_REFRESH field :- non-refresh will be assumed!",xf->name); |