diff options
| -rw-r--r-- | src/emu/attotime.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/emu/attotime.h b/src/emu/attotime.h index a7ecd5ab593..cdd83e5a23f 100644 --- a/src/emu/attotime.h +++ b/src/emu/attotime.h @@ -426,4 +426,15 @@ INLINE attotime attotime_max(attotime _time1, attotime _time2) } +/*------------------------------------------------- + attotime_is_never - return whether or not an + attotime is attotime_never +-------------------------------------------------*/ + +INLINE int attotime_is_never(attotime _time) +{ + return (_time.seconds >= ATTOTIME_MAX_SECONDS); +} + + #endif /* __ATTOTIME_H__ */ |
