Played through wofb, adding support for new priority mode writes
This commit is contained in:
parent
089f6aafb1
commit
d8a776ddd5
|
@ -13360,30 +13360,12 @@ void __fastcall Wofb98WriteWord(UINT32 a, UINT16 d)
|
||||||
|
|
||||||
case 0x98000c: {
|
case 0x98000c: {
|
||||||
switch (d) {
|
switch (d) {
|
||||||
case 0x00: {
|
case 0x00:
|
||||||
nCps1Layers[0] = 1;
|
case 0x04:
|
||||||
nCps1Layers[1] = 0;
|
case 0x06:
|
||||||
nCps1Layers[2] = 2;
|
case 0x08:
|
||||||
nCps1Layers[3] = 3;
|
case 0x0a:
|
||||||
break;
|
case 0x0b:
|
||||||
}
|
|
||||||
|
|
||||||
case 0x01: {
|
|
||||||
nCps1Layers[0] = 1;
|
|
||||||
nCps1Layers[1] = 0;
|
|
||||||
nCps1Layers[2] = 3;
|
|
||||||
nCps1Layers[3] = 2;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
case 0x03: {
|
|
||||||
nCps1Layers[0] = 1;
|
|
||||||
nCps1Layers[1] = 3;
|
|
||||||
nCps1Layers[2] = 0;
|
|
||||||
nCps1Layers[3] = 2;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
case 0x0e: {
|
case 0x0e: {
|
||||||
nCps1Layers[0] = 1;
|
nCps1Layers[0] = 1;
|
||||||
nCps1Layers[1] = 0;
|
nCps1Layers[1] = 0;
|
||||||
|
@ -13392,6 +13374,8 @@ void __fastcall Wofb98WriteWord(UINT32 a, UINT16 d)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case 0x01:
|
||||||
|
case 0x05:
|
||||||
case 0x0f: {
|
case 0x0f: {
|
||||||
nCps1Layers[0] = 1;
|
nCps1Layers[0] = 1;
|
||||||
nCps1Layers[1] = 0;
|
nCps1Layers[1] = 0;
|
||||||
|
@ -13400,6 +13384,16 @@ void __fastcall Wofb98WriteWord(UINT32 a, UINT16 d)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case 0x03:
|
||||||
|
case 0x07:
|
||||||
|
case 0x09: {
|
||||||
|
nCps1Layers[0] = 1;
|
||||||
|
nCps1Layers[1] = 3;
|
||||||
|
nCps1Layers[2] = 0;
|
||||||
|
nCps1Layers[3] = 2;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
nCps1Layers[0] = 1;
|
nCps1Layers[0] = 1;
|
||||||
nCps1Layers[1] = 0;
|
nCps1Layers[1] = 0;
|
||||||
|
|
Loading…
Reference in New Issue