mirror of
https://github.com/pevans/erc-c.git
synced 2025-01-03 00:29:38 +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;
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user