aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-02 14:26:25 -0400
committerMichael <[email protected]>2017-04-02 14:26:25 -0400
commitf89cd092830a8e88bd9aaf8048c18b0dda7dea25 (patch)
treeb8e3560bf62ffd65ddb0eec0dd54dece62c2a087 /ShiftOS_TheReturn
parent83dd55d028ed0d82cd7af7dd9ae2959f1ae2aae5 (diff)
downloadshiftos_thereturn-f89cd092830a8e88bd9aaf8048c18b0dda7dea25.tar.gz
shiftos_thereturn-f89cd092830a8e88bd9aaf8048c18b0dda7dea25.tar.bz2
shiftos_thereturn-f89cd092830a8e88bd9aaf8048c18b0dda7dea25.zip
Various bugfixes.
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();
}));
}