feat(IECPage): rename boot_disk to autoboot for clarity in configuration
This commit is contained in:
parent
41809f098c
commit
89d093e159
|
|
@ -90,12 +90,12 @@ export default function IECPage({ config, setConfig }: IECPageProps) {
|
|||
</div>
|
||||
|
||||
<div className="p-4">
|
||||
<label className="text-sm text-neutral-500 block mb-2">Boot Disk</label>
|
||||
<label className="text-sm text-neutral-500 block mb-2">Autoboot</label>
|
||||
<div className="flex gap-2">
|
||||
<input
|
||||
type="text"
|
||||
value={iec.boot_disk || ''}
|
||||
onChange={(e) => updateSetting(['iec', 'boot_disk'], e.target.value)}
|
||||
value={iec.autoboot || ''}
|
||||
onChange={(e) => updateSetting(['iec', 'autoboot'], e.target.value)}
|
||||
className="flex-1 px-3 py-2 border border-neutral-300 rounded-lg"
|
||||
/>
|
||||
<button
|
||||
|
|
@ -110,9 +110,9 @@ export default function IECPage({ config, setConfig }: IECPageProps) {
|
|||
|
||||
{showMediaBrowser && (
|
||||
<MediaBrowser
|
||||
currentPath={iec.boot_disk || '/'}
|
||||
currentPath={iec.autoboot || '/'}
|
||||
onSelect={(path) => {
|
||||
updateSetting(['iec', 'boot_disk'], path);
|
||||
updateSetting(['iec', 'autoboot'], path);
|
||||
setShowMediaBrowser(false);
|
||||
}}
|
||||
onClose={() => setShowMediaBrowser(false)}
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@
|
|||
"enabled": 1,
|
||||
"vic20_mode": 0,
|
||||
"vdrive": 0,
|
||||
"boot_disk": "",
|
||||
"autoboot": "",
|
||||
"rom": {
|
||||
"enabled": 0,
|
||||
"default": "",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user