Commit 1d2120f
committed
thecl10: introduce type 'H' for th20 ins_46/ins_47
ZUN's compiler, it seems, treats these arguments as 'D', but the vm
behaves as if these were SS/Sf when looking up the bits in the
param_mask. Vanilla game never uses variables in those arguments, but
mods may wish to do so.
The new 'H' type is equivalent to 'D', but a bit in the param_mask is
skipped when reading/writing the instruction. param_count is not
affected.1 parent 64cfb81 commit 1d2120f
2 files changed
Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1509 | 1509 | | |
1510 | 1510 | | |
1511 | 1511 | | |
| 1512 | + | |
1512 | 1513 | | |
1513 | 1514 | | |
1514 | 1515 | | |
| |||
1890 | 1891 | | |
1891 | 1892 | | |
1892 | 1893 | | |
1893 | | - | |
| 1894 | + | |
1894 | 1895 | | |
1895 | 1896 | | |
1896 | 1897 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
1080 | 1081 | | |
1081 | 1082 | | |
1082 | 1083 | | |
1083 | | - | |
1084 | | - | |
| 1084 | + | |
| 1085 | + | |
1085 | 1086 | | |
1086 | 1087 | | |
1087 | 1088 | | |
| |||
1377 | 1378 | | |
1378 | 1379 | | |
1379 | 1380 | | |
| 1381 | + | |
| 1382 | + | |
1380 | 1383 | | |
1381 | 1384 | | |
1382 | 1385 | | |
| |||
1609 | 1612 | | |
1610 | 1613 | | |
1611 | 1614 | | |
1612 | | - | |
| 1615 | + | |
1613 | 1616 | | |
1614 | 1617 | | |
1615 | 1618 | | |
| |||
2153 | 2156 | | |
2154 | 2157 | | |
2155 | 2158 | | |
| 2159 | + | |
2156 | 2160 | | |
2157 | 2161 | | |
2158 | 2162 | | |
| |||
2219 | 2223 | | |
2220 | 2224 | | |
2221 | 2225 | | |
| 2226 | + | |
| 2227 | + | |
2222 | 2228 | | |
2223 | | - | |
| 2229 | + | |
| 2230 | + | |
2224 | 2231 | | |
2225 | 2232 | | |
2226 | 2233 | | |
| |||
2261 | 2268 | | |
2262 | 2269 | | |
2263 | 2270 | | |
2264 | | - | |
| 2271 | + | |
2265 | 2272 | | |
2266 | 2273 | | |
2267 | 2274 | | |
| |||
0 commit comments