2.7.x playdate->system->delay return type is wrong

playdate->system->delay (introduced in 2.7.0) seems to be a void function but the docs indicate a float return.

It's a shame it only pauses execution for a given number of milliseconds, given a frame is typically only ~30 milliseconds. It'd be nice to target microseconds so we can better manage setRefreshRate(0).

2 Likes