]> git.sur5r.net Git - cc65/blobdiff - samples/hello.c
atari5200: update docs for recent conio changes
[cc65] / samples / hello.c
index 854e9a4b4d5071decfc68bb3536bd9c668b621cf..255dccd001c2c084fcfc98f555a7797cec10b458 100644 (file)
@@ -67,7 +67,7 @@ int main (void)
     gotoxy ((XSize - strlen (Text)) / 2, YSize / 2);
     cprintf ("%s", Text);
 
-#if defined(__NES__) || defined(__PCE__) || defined(__GAMATE__)
+#if defined(__NES__) || defined(__PCE__) || defined(__GAMATE__) || defined(__ATARI5200__)
 
     /* Wait for the user to press a button */
     joy_install (joy_static_stddrv);
@@ -77,7 +77,7 @@ int main (void)
 #else
 
     /* Wait for the user to press a key */
-    (void) cgetc ();
+    cgetc ();
 
 #endif