aboutsummaryrefslogtreecommitdiff
path: root/examples/system/tty
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2021-07-01 08:45:46 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2021-07-01 08:45:46 +0800
commit01fe30bd8bae59ab954751b08bcc1d158eff7edb (patch)
treeaa83e37f4e59207ec41b3d47796875755462c63f /examples/system/tty
parentda79082d2c5e0dcbc899a359f6f49ec8cca90d66 (diff)
downloadpsn00bsdk-01fe30bd8bae59ab954751b08bcc1d158eff7edb.tar.gz
Added int*_t and uint*_t variable types and updated type definitions in psxgpu and psxcd, to improve compatibility with code written for the official SDK.
Diffstat (limited to 'examples/system/tty')
-rw-r--r--examples/system/tty/main.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/system/tty/main.c b/examples/system/tty/main.c
index 8333746..dfffdc4 100644
--- a/examples/system/tty/main.c
+++ b/examples/system/tty/main.c
@@ -2,7 +2,7 @@
* LibPSn00b Example Programs
*
* Teletype Example
- * 2020 Meido-Tek Productions / PSn00bSDK Project
+ * 2020 - 2021 Meido-Tek Productions / PSn00bSDK Project
*
* This example showcases the uses of tty through stdio facilities. If you've
* written text console applications before, this one is not too dissimilar to
@@ -14,10 +14,13 @@
*
* Changelog:
*
- * April 23, 2020 - Initial version.
+ * May 10, 2021 - Variable types updated for psxgpu.h changes.
+ *
+ * April 23, 2020 - Initial version.
*
*/
-
+
+#include <sys/types.h>
#include <stdio.h>
#include <ctype.h>
#include <psxgpu.h>