aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/volume.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cruise/volume.cpp')
-rw-r--r--engines/cruise/volume.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/cruise/volume.cpp b/engines/cruise/volume.cpp
index 0f89e68dd9..cceb7df4d3 100644
--- a/engines/cruise/volume.cpp
+++ b/engines/cruise/volume.cpp
@@ -468,6 +468,17 @@ int16 readVolCnf(void) {
///////////////////////////::
+// This code used to rely on "strupr", which is non existant on my system,
+// thus I just implemented this function instead. - LordHoto
+//
+// TODO: This might be code duplication, please check this out.
+void strToUpper(char *string) {
+ while (*string) {
+ *string = toupper(*string);
+ ++string;
+ }
+}
+
void drawMsgString(const char *string) {
//printf("%s\n",string);
}