| 2299 | return ide->rom + addr; |
| 2300 | } |
| 2301 | static int REGPARAM2 ide_generic_check(uaecptr a, uae_u32 b) |
| 2302 | { |
| 2303 | struct ide_board *ide = getideboard(a); |
| 2304 | if (!ide) |
| 2305 | return 0; |
| 2306 | a &= ide->rom_mask; |
| 2307 | if (a >= ide->rom_start && a + b < ide->rom_size) |
| 2308 | return 1; |
| 2309 | return 0; |
| 2310 | } |
| 2311 | |
| 2312 | static addrbank ide_bank_generic = { |
| 2313 | ide_generic_lget, ide_generic_wget, ide_generic_bget, |
nothing calls this directly
no test coverage detected