Await restoreState before run(); update home.htm contact to Twitter

restoreState() was fire-and-forget so emulator.run() started cold-booting
while the snapshot was still being read and applied over live RAM/regs.
This commit is contained in:
Felix Rieseberg
2026-04-11 20:29:49 -07:00
parent bc76e9c79a
commit 3c63139fae
2 changed files with 2 additions and 2 deletions

View File

@@ -435,7 +435,7 @@ export class Emulator extends React.Component<{}, EmulatorState> {
// wait time (lol)
setTimeout(async () => {
if (!this.state.isBootingFresh) {
this.restoreState();
await this.restoreState();
}
this.state.emulator.run();

View File

@@ -17,7 +17,7 @@
<font face="Arial" color="#000000">
<p>Hi, I'm Felix, the maker behind windows95. I hope you're having fun!</p>
<p>Reach out to me in a modern browser (as in: not in windows95) on <font color="#0000FF">felixrieseberg.com</font> or find me on Bluesky at <font color="#0000FF">@felixrieseberg</font>.</p>
<p>Reach out to me in a modern browser (as in: not in windows95) on <font color="#0000FF">felixrieseberg.com</font> or find me on Twitter at <font color="#0000FF">@felixrieseberg</font>.</p>
<hr width="75%">
<a name="internet"></a>