fix: aimeio not applying
This commit is contained in:
@ -134,6 +134,9 @@ impl Segatools {
|
|||||||
if self.amnet.name.len() > 0 {
|
if self.amnet.name.len() > 0 {
|
||||||
aimeio.set("serverName", &self.amnet.name);
|
aimeio.set("serverName", &self.amnet.name);
|
||||||
}
|
}
|
||||||
|
} else if let Aime::Other(key) = &self.aime {
|
||||||
|
ini_out.with_section(Some("aimeio"))
|
||||||
|
.set("path", util::pkg_dir().join(key.to_string()).join("segatools").join("aimeio.dll").stringify()?);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ini_out.with_section(Some("aime"))
|
ini_out.with_section(Some("aime"))
|
||||||
|
@ -154,7 +154,10 @@ listen<{ message: string; header: string }>('invoke-error', (event) => {
|
|||||||
><div class="pi pi-box"></div
|
><div class="pi pi-box"></div
|
||||||
></Tab>
|
></Tab>
|
||||||
<Tab
|
<Tab
|
||||||
v-if="prf.current?.meta.game === 'chunithm'"
|
v-if="
|
||||||
|
prf.current?.meta.game === 'chunithm' &&
|
||||||
|
prf.current.data.sgt.target.length > 0
|
||||||
|
"
|
||||||
value="patches"
|
value="patches"
|
||||||
><div class="pi pi-ticket"></div
|
><div class="pi pi-ticket"></div
|
||||||
></Tab>
|
></Tab>
|
||||||
@ -255,6 +258,20 @@ listen<{ message: string; header: string }>('invoke-error', (event) => {
|
|||||||
<div v-else>
|
<div v-else>
|
||||||
Patches require <code>mempatcher</code> to be installed
|
Patches require <code>mempatcher</code> to be installed
|
||||||
and enabled.
|
and enabled.
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<Button
|
||||||
|
label="Add mempatcher"
|
||||||
|
icon="pi pi-plus"
|
||||||
|
class="mt-3"
|
||||||
|
@click="
|
||||||
|
() =>
|
||||||
|
pkg.installFromKey(
|
||||||
|
'mempatcher-mempatcher'
|
||||||
|
)
|
||||||
|
"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
<TabPanel value="info">
|
<TabPanel value="info">
|
||||||
|
@ -40,7 +40,8 @@ if (unsupported.value === true && model.value === true) {
|
|||||||
<UpdateButton :pkg="pkg" />
|
<UpdateButton :pkg="pkg" />
|
||||||
<span
|
<span
|
||||||
v-tooltip="
|
v-tooltip="
|
||||||
unsupported && 'This package is not compatible with STARTLINER.'
|
unsupported &&
|
||||||
|
'This package is currently incompatible with STARTLINER.'
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<ToggleSwitch
|
<ToggleSwitch
|
||||||
|
@ -84,6 +84,7 @@ load();
|
|||||||
</OptionRow>
|
</OptionRow>
|
||||||
<OptionRow
|
<OptionRow
|
||||||
title="Aime code"
|
title="Aime code"
|
||||||
|
tooltip="Only applicable with the segatools built-in emulation or with compatible third-party packages"
|
||||||
v-if="prf.current!.data.sgt.aime !== 'Disabled'"
|
v-if="prf.current!.data.sgt.aime !== 'Disabled'"
|
||||||
>
|
>
|
||||||
<InputText
|
<InputText
|
||||||
|
@ -329,7 +329,7 @@ export const usePrfStore = defineStore('prf', () => {
|
|||||||
if (timeout !== null) {
|
if (timeout !== null) {
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout);
|
||||||
}
|
}
|
||||||
timeout = setTimeout(() => invoke('save_current_profile'), 2000);
|
timeout = setTimeout(() => invoke('save_current_profile'), 600);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user