From ea757627b822e277502d9187b733ebd8f2e3f0db Mon Sep 17 00:00:00 2001 From: ABelliqueux Date: Sun, 14 Nov 2021 12:52:51 +0100 Subject: [PATCH] Add missing Drawsync() --- hello_str/hello_str.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hello_str/hello_str.c b/hello_str/hello_str.c index 4cbae5c..06fec9a 100644 --- a/hello_str/hello_str.c +++ b/hello_str/hello_str.c @@ -172,6 +172,8 @@ int main() { DecDCToutSync(0); // Transfer data from main memory to VRAM LoadImage(&curSlice, (u_long *) curIMGptr ); + // Wait for drawing termination + DrawSync(0); // Increment drawArea's X with slice width (16 or 24 pix) curSlice.x += 16 * PPW; }