mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-25 06:31:02 +00:00
Memory 64 support
This commit is contained in:
@@ -6,6 +6,7 @@ import { Settings } from "@/settings";
|
||||
|
||||
interface SettingsMenuProps {
|
||||
settings: Settings;
|
||||
allowWasm64: boolean;
|
||||
onChange: (settings: Settings) => void;
|
||||
}
|
||||
|
||||
@@ -105,6 +106,18 @@ export class SettingsMenu extends React.Component<SettingsMenuProps, Settings> {
|
||||
/>
|
||||
<Label htmlFor="settings-persist">Persist filesystem</Label>
|
||||
</div>
|
||||
|
||||
<div className="flex gap-6">
|
||||
<Checkbox
|
||||
id="settings-mem64"
|
||||
disabled={!this.props.allowWasm64}
|
||||
checked={this.state.wasm64}
|
||||
onCheckedChange={(checked: boolean) => {
|
||||
this.setState({ wasm64: checked });
|
||||
}}
|
||||
/>
|
||||
<Label htmlFor="settings-mem64">64-Bit WebAssembly</Label>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user