Fix successfully mapped properties in HandleAction0PropertyDefault
This commit is contained in:
@@ -912,16 +912,13 @@ typedef ChangeInfoResult (*VCI_Handler)(uint engine, int numinfo, int prop, cons
|
|||||||
|
|
||||||
static ChangeInfoResult HandleAction0PropertyDefault(ByteReader *buf, int prop)
|
static ChangeInfoResult HandleAction0PropertyDefault(ByteReader *buf, int prop)
|
||||||
{
|
{
|
||||||
switch (prop) {
|
if (prop == A0RPI_UNKNOWN_ERROR) {
|
||||||
case A0RPI_UNKNOWN_IGNORE:
|
return CIR_DISABLED;
|
||||||
|
} else if (prop < A0RPI_UNKNOWN_IGNORE) {
|
||||||
|
return CIR_UNKNOWN;
|
||||||
|
} else {
|
||||||
buf->Skip(buf->ReadExtendedByte());
|
buf->Skip(buf->ReadExtendedByte());
|
||||||
return CIR_SUCCESS;
|
return CIR_SUCCESS;
|
||||||
|
|
||||||
case A0RPI_UNKNOWN_ERROR:
|
|
||||||
return CIR_DISABLED;
|
|
||||||
|
|
||||||
default:
|
|
||||||
return CIR_UNKNOWN;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user