You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: basic_programs.md
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ nav_order: 3
12
12
13
13

14
14
15
-
> This is a simple Hello World program for the PSP.
15
+
This is a simple Hello World program for the PSP.
16
16
17
17
Click on view source below to see the code and how to build it.
18
18
@@ -50,7 +50,7 @@ This will result in an EBOOT.PBP file in the build directory. Put it in a direct
50
50
51
51

52
52
53
-
> This is a simple square drawn on the PSP. It uses the native libgu library.
53
+
This is a simple square drawn on the PSP. It uses the native libgu library.
54
54
55
55
Click on view source below to see the code and how to build it.
56
56
@@ -89,7 +89,7 @@ More libgu examples can be found <a href="https://github.com/pspdev/pspsdk/tree/
89
89
90
90

91
91
92
-
> This is a simple program to use the PSP's input functions.
92
+
This is a simple program to use the PSP's input functions.
93
93
94
94
Click on view source below to see the code and how to build it.
95
95
@@ -126,7 +126,7 @@ make
126
126
127
127

128
128
129
-
> This is a simple program to use the audio of the PSP with minimal effort. It uses native audio library.
129
+
This is a simple program to use the audio of the PSP with minimal effort. It uses native audio library.
130
130
131
131
Click on view source below to see the code and how to build it.
132
132
@@ -163,9 +163,11 @@ More audiolib examples can be found <a href="https://github.com/pspdev/pspsdk/tr
163
163
## Using SDL2
164
164
{: .fs-6 .fw-700 }
165
165
166
-

166
+

167
+
168
+
SDL2 is a library which handles system specific things like input, audio and window management for you. It can also be used to render shapes and images, just like the native libgu. This can be slower, but will result in code that is easier to read and can run on multiple platforms.
167
169
168
-
> SDL2 is a library which handles system specific things like input, audio and window management for you. It can also be used to render shapes and images, just like the native libgu. This will be slower, but will result in code that can be run more easily on multiple platforms.
170
+
Despite this example adding an option to close by pressing the start button, the code is much shorter. It can even be build for Linux without any further modifications.
169
171
170
172
Click on view source below for the to see the code and how to build it.
171
173
@@ -212,7 +214,7 @@ More documentation on SDL can be found <a href="http://wiki.libsdl.org/FrontPage
212
214
213
215

214
216
215
-
> This is a simple program to use the SDL2_mixer library. It handle audio playback in multimedia applications and games. It supports various audio formats(MP3/OGG).
217
+
This is a simple program to use the SDL2_mixer library. It handle audio playback in multimedia applications and games. It supports various audio formats(MP3/OGG).
216
218
217
219
Click on view source below to see the code and how to build it.
218
220
@@ -249,7 +251,7 @@ This will result in an EBOOT.PBP file in the build directory. Put it in a direct
249
251
250
252

251
253
252
-
> This is a simple program to use the SDL2_ttf library. It provides functionality for rendering TrueType fonts for your PSP.
254
+
This is a simple program to use the SDL2_ttf library. It provides functionality for rendering TrueType fonts for your PSP.
253
255
254
256
Click on view source below to see the code and how to build it.
0 commit comments