Apple build fix

This commit is contained in:
Jasmine Iwanek
2023-07-20 15:59:54 -04:00
parent ee695e71f9
commit db66543959
45 changed files with 134 additions and 1 deletions

View File

@@ -123,7 +123,9 @@ elt_vid_out(uint16_t addr, uint8_t val, void *priv)
case 0x3d1:
if (cga->crtcreg >= 32)
return;
#ifndef __APPLE__
[[fallthrough]];
#endif
default:
cga->crtcreg &= 31;

View File

@@ -699,7 +699,9 @@ do_fmt:
/* Done with this track. */
dev->state = STATE_FDONE;
#ifndef __APPLE__
[[fallthrough]];
#endif
case STATE_FDONE:
/* One more track done. */
if (++start_cyl == end_cyl) {