mirror of
https://github.com/pevans/erc-c.git
synced 2025-01-20 08:31:40 +00:00
Resolve potential bad dereference on sectab
This commit is contained in:
parent
bee2a0e86a
commit
2669460c6d
@ -95,6 +95,9 @@ apple2_dd_sector_num(int type, int sect)
|
|||||||
sectab = prodos;
|
sectab = prodos;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
// We also allow default behavior to mimic NIBBLE, but there's
|
||||||
|
// probably no "right" default behavior to use.
|
||||||
|
default:
|
||||||
case DD_NIBBLE:
|
case DD_NIBBLE:
|
||||||
return sect;
|
return sect;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user