aboutsummaryrefslogtreecommitdiff
path: root/Histacom2.Engine
diff options
context:
space:
mode:
Diffstat (limited to 'Histacom2.Engine')
-rw-r--r--Histacom2.Engine/BSODCreator.cs4
-rw-r--r--Histacom2.Engine/Template/Infobox95.cs5
2 files changed, 9 insertions, 0 deletions
diff --git a/Histacom2.Engine/BSODCreator.cs b/Histacom2.Engine/BSODCreator.cs
index fb693a9..0e1ebf1 100644
--- a/Histacom2.Engine/BSODCreator.cs
+++ b/Histacom2.Engine/BSODCreator.cs
@@ -17,6 +17,7 @@ namespace Histacom2.Engine
Testing,
WimpEnding,
PiracyEnding,
+ Generic
}
public Win9XBSOD throw9XBSOD(bool except, BSODCauses type)
@@ -44,6 +45,9 @@ namespace Histacom2.Engine
bsod.label1.BackColor = System.Drawing.Color.Silver;
bsod.label1.ForeColor = System.Drawing.Color.Black;
break;
+ case BSODCauses.Generic:
+
+ break;
default:
break;
}
diff --git a/Histacom2.Engine/Template/Infobox95.cs b/Histacom2.Engine/Template/Infobox95.cs
index 9214461..6408177 100644
--- a/Histacom2.Engine/Template/Infobox95.cs
+++ b/Histacom2.Engine/Template/Infobox95.cs
@@ -22,21 +22,26 @@ namespace Histacom2.Engine.Template
pictureBox1.Image = Properties.Resources.Win95Info;
SoundPlayer spa = new SoundPlayer(SaveSystem.currentTheme.asteriskSound);
spa.Play();
+ spa.Stream.Position = 0;
+
break;
case InfoboxType.Question:
pictureBox1.Image = Properties.Resources.Win95Question;
SoundPlayer spq = new SoundPlayer(SaveSystem.currentTheme.questionSound);
spq.Play();
+ spq.Stream.Position = 0;
break;
case InfoboxType.Warning:
pictureBox1.Image = Properties.Resources.Win95Warning;
SoundPlayer spw = new SoundPlayer(SaveSystem.currentTheme.exclamationSound);
spw.Play();
+ spw.Stream.Position = 0;
break;
case InfoboxType.Error:
pictureBox1.Image = Properties.Resources.Win95Error;
SoundPlayer spe = new SoundPlayer(SaveSystem.currentTheme.critStopSound);
spe.Play();
+ spe.Stream.Position = 0;
break;
}