Skip to content

Commit bd3ce15

Browse files
committed
Fixup zorro type determination.
This was causing all boards to be shown as ZIII
1 parent 61569a8 commit bd3ce15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/boards.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void enumerate_boards(void)
9090
debug(" boards: Found board at $%08lX\n", (LONG)board->board_address);
9191

9292
/* Determine Zorro type */
93-
if (cd->cd_Rom.er_Type & ERT_ZORROIII) {
93+
if ((cd->cd_Rom.er_Type & ERT_TYPEMASK) == ERT_ZORROIII) {
9494
board->board_type = BOARD_ZORRO_III;
9595
} else {
9696
board->board_type = BOARD_ZORRO_II;

0 commit comments

Comments
 (0)