1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-06-02 07:41:32 +00:00

Resolve potential bad dereference on sectab

This commit is contained in:
Peter Evans 2018-02-22 14:11:54 -06:00
parent bee2a0e86a
commit 2669460c6d

View File

@ -95,6 +95,9 @@ apple2_dd_sector_num(int type, int sect)
sectab = prodos;
break;
// We also allow default behavior to mimic NIBBLE, but there's
// probably no "right" default behavior to use.
default:
case DD_NIBBLE:
return sect;
}