|
From: kosmirror <kos...@us...> - 2025-08-15 01:16:32
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A pseudo Operating System for the Dreamcast.".
The branch, master has been updated
via ef85bc4e70f3d37c59f2fe57bf6eefa8b1df567f (commit)
from a2dbeec5733a885c1f79345d01387b6be9346e32 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ef85bc4e70f3d37c59f2fe57bf6eefa8b1df567f
Author: QuzarDC <qu...@co...>
Date: Thu Aug 14 19:18:37 2025 -0400
vmu_lcd example: Add wait after draw to throttle animation.
The example never attempted to throttle itself because the
screen drawing commands were synchronous and would wait to
receive a response from the VMU before moving forward with
execution. With the changes in #904 there is no wait and
the user is responsible for throttling the drawing.
Without this the example is illegible on the VMU screen,
updating faster than can be seen. This wait amount gets it
back down to a pace similar to before.
-----------------------------------------------------------------------
Summary of changes:
examples/dreamcast/vmu/vmu_lcd/lcd.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/examples/dreamcast/vmu/vmu_lcd/lcd.c b/examples/dreamcast/vmu/vmu_lcd/lcd.c
index 7cb4ba68..4e218059 100644
--- a/examples/dreamcast/vmu/vmu_lcd/lcd.c
+++ b/examples/dreamcast/vmu/vmu_lcd/lcd.c
@@ -76,6 +76,9 @@ int main(int argc, char **argv) {
for(vmu = 0; !!(dev = maple_enum_type(vmu, MAPLE_FUNC_LCD)); vmu++) {
vmufb_present(&vmufb, dev);
}
+
+ /* Now sleep for a bit so we can actually see the new frame */
+ usleep(2000);
}
return 0;
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|