From a9ab23ad51a72db17be9d846b38f5b1a5852b8c7 Mon Sep 17 00:00:00 2001 From: Colin Leroy-Mira Date: Tue, 27 May 2025 16:22:37 +0200 Subject: [PATCH] Make waitvsync available on apple2 --- doc/funcref.sgml | 12 ++++++++++-- libsrc/apple2/waitvsync.s | 23 +++++++++++++++++------ 2 files changed, 27 insertions(+), 8 deletions(-) diff --git a/doc/funcref.sgml b/doc/funcref.sgml index 07d538781..a235eb2e0 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -104,6 +104,7 @@ function. rebootafterexit + @@ -119,6 +120,7 @@ function. rebootafterexit + @@ -8516,14 +8518,20 @@ if the mode is not supported due to lack of hardware. , +, , , , , / -void waitvsync (void); +signed char waitvsync (void); /* For Apple II */ +The function will return -1 when the feature is not supported, +like on the Apple ][+. +