Error out on unimplemented kDeviceInfo() calls

svn-id: r49993
This commit is contained in:
Filippos Karapetis 2010-06-18 02:09:12 +00:00
parent e3c8624510
commit 31930b6d09

View file

@ -402,8 +402,7 @@ reg_t kDeviceInfo(EngineState *s, int argc, reg_t *argv) {
break;
default:
// TODO: Not all sub-commands are handled. E.g. KQ5CD calls sub-command 5
warning("Unknown DeviceInfo() sub-command: %d", mode);
error("Unknown DeviceInfo() sub-command: %d", mode);
break;
}