ignore unknown extension UUIDs
This commit is contained in:
parent
df13838f99
commit
89f9a978fc
|
@ -132,13 +132,14 @@ system_expansion_uxn38_device(Uxn *u, Uint8 *ram, Uint16 addr)
|
||||||
{
|
{
|
||||||
Uint8 dev_id = ram[addr + 1];
|
Uint8 dev_id = ram[addr + 1];
|
||||||
Uint8 *uuid = &ram[addr + 2];
|
Uint8 *uuid = &ram[addr + 2];
|
||||||
if(dev_id == 0x10 && uuid_eq(uuid, console_uuid) != 0) {
|
if(uuid_eq(uuid, console_uuid) != 0)
|
||||||
ram[addr + 18] = 0x00;
|
if(dev_id == 0x10) {
|
||||||
ram[addr + 19] = 0xff;
|
ram[addr + 18] = 0x00;
|
||||||
} else {
|
ram[addr + 19] = 0xff;
|
||||||
ram[addr + 18] = 0x00;
|
} else {
|
||||||
ram[addr + 19] = 0x00;
|
ram[addr + 18] = 0x00;
|
||||||
}
|
ram[addr + 19] = 0x00;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* IO */
|
/* IO */
|
||||||
|
|
Loading…
Reference in New Issue