mirror of
https://github.com/felixrieseberg/windows95.git
synced 2026-05-12 17:41:59 +00:00
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:
@@ -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();
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user