aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS_TheReturn')
-rw-r--r--ShiftOS_TheReturn/AudioManager.cs2
-rw-r--r--ShiftOS_TheReturn/TerminalTextWriter.cs8
2 files changed, 5 insertions, 5 deletions
diff --git a/ShiftOS_TheReturn/AudioManager.cs b/ShiftOS_TheReturn/AudioManager.cs
index 7f6f5e9..7466eeb 100644
--- a/ShiftOS_TheReturn/AudioManager.cs
+++ b/ShiftOS_TheReturn/AudioManager.cs
@@ -22,7 +22,7 @@
* SOFTWARE.
*/
-//#define NOSOUND
+#define NOSOUND
using System;
using System.Collections.Generic;
diff --git a/ShiftOS_TheReturn/TerminalTextWriter.cs b/ShiftOS_TheReturn/TerminalTextWriter.cs
index bc242a9..55e27cf 100644
--- a/ShiftOS_TheReturn/TerminalTextWriter.cs
+++ b/ShiftOS_TheReturn/TerminalTextWriter.cs
@@ -58,7 +58,7 @@ namespace ShiftOS.Engine
{
Desktop.InvokeOnWorkerThread(new Action(() =>
{
- UnderlyingControl.SelectBottom();
+ UnderlyingControl?.SelectBottom();
}));
}
@@ -76,7 +76,7 @@ namespace ShiftOS.Engine
{
Desktop.InvokeOnWorkerThread(new Action(() =>
{
- UnderlyingControl.Write(value.ToString());
+ UnderlyingControl?.Write(value.ToString());
select();
}));
}
@@ -96,7 +96,7 @@ namespace ShiftOS.Engine
Desktop.InvokeOnWorkerThread(new Action(() =>
{
- UnderlyingControl.WriteLine(value);
+ UnderlyingControl?.WriteLine(value);
select();
}));
}
@@ -120,7 +120,7 @@ namespace ShiftOS.Engine
Desktop.InvokeOnWorkerThread(new Action(() =>
{
- UnderlyingControl.Write(value.ToString());
+ UnderlyingControl?.Write(value.ToString());
select();
}));
}