From 3c63139faec6b6aef8406c0d8d6cf07e7fe53e89 Mon Sep 17 00:00:00 2001 From: Felix Rieseberg Date: Sat, 11 Apr 2026 20:29:49 -0700 Subject: [PATCH] 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. --- src/renderer/emulator.tsx | 2 +- static/www/home.htm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/emulator.tsx b/src/renderer/emulator.tsx index 814db53..03b72a7 100644 --- a/src/renderer/emulator.tsx +++ b/src/renderer/emulator.tsx @@ -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(); diff --git a/static/www/home.htm b/static/www/home.htm index 4c13bf6..d0ef746 100644 --- a/static/www/home.htm +++ b/static/www/home.htm @@ -17,7 +17,7 @@

Hi, I'm Felix, the maker behind windows95. I hope you're having fun!

-

Reach out to me in a modern browser (as in: not in windows95) on felixrieseberg.com or find me on Bluesky at @felixrieseberg.

+

Reach out to me in a modern browser (as in: not in windows95) on felixrieseberg.com or find me on Twitter at @felixrieseberg.