mirror of
https://github.com/digarok/gsplus.git
synced 2024-11-28 04:49:18 +00:00
mli init - was reading unit as 16-bit quantity instead of 8-bit quantity.
This commit is contained in:
parent
30491a39a0
commit
70578779e4
@ -451,7 +451,7 @@ static int mli_atinit(unsigned dcb) {
|
|||||||
if (!saved_mli_address) return paramRangeErr;
|
if (!saved_mli_address) return paramRangeErr;
|
||||||
|
|
||||||
saved_unit = 0x80;
|
saved_unit = 0x80;
|
||||||
if (pcount >= 4) saved_unit = get_memory16_c(dcb + 6, 0);
|
if (pcount >= 4) saved_unit = get_memory_c(dcb + 6, 0) & 0xf0;
|
||||||
|
|
||||||
if (!saved_unit) return paramRangeErr;
|
if (!saved_unit) return paramRangeErr;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user