diff options
Diffstat (limited to 'src/devices/imagedev/cassette.cpp')
-rw-r--r-- | src/devices/imagedev/cassette.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/imagedev/cassette.cpp b/src/devices/imagedev/cassette.cpp index 5d17f822e60..778b296d63d 100644 --- a/src/devices/imagedev/cassette.cpp +++ b/src/devices/imagedev/cassette.cpp @@ -364,7 +364,7 @@ std::string cassette_image_device::call_display() cassette_state uistate = get_state() & CASSETTE_MASK_UISTATE; // choose which frame of the animation we are at - int n = (int(position) / ANIMATION_FPS) % ARRAY_LENGTH(shapes); + int n = (int(position) / ANIMATION_FPS) % std::size(shapes); // play or record const char *status_icon = (uistate == CASSETTE_PLAY) |