@tmustier/pi-nes 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions/nes/index.ts +5 -5
- package/package.json +1 -1
package/extensions/nes/index.ts
CHANGED
|
@@ -175,8 +175,8 @@ async function configureWithWizard(
|
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
const qualityChoice = await ctx.ui.select("Quality (pixel scale)", [
|
|
178
|
-
"Low (1.0) - faster",
|
|
179
178
|
"Balanced (1.2) - recommended",
|
|
179
|
+
"Low (1.0) - faster",
|
|
180
180
|
"High (1.5) - sharper",
|
|
181
181
|
"Custom...",
|
|
182
182
|
]);
|
|
@@ -225,18 +225,18 @@ async function editConfig(ctx: ExtensionCommandContext): Promise<void> {
|
|
|
225
225
|
}
|
|
226
226
|
const config = await loadConfig();
|
|
227
227
|
const choice = await ctx.ui.select("NES configuration", [
|
|
228
|
-
"
|
|
229
|
-
"
|
|
228
|
+
"Quick setup",
|
|
229
|
+
"Advanced (edit config JSON)",
|
|
230
230
|
"Reset to defaults",
|
|
231
231
|
]);
|
|
232
232
|
if (!choice) {
|
|
233
233
|
return;
|
|
234
234
|
}
|
|
235
|
-
if (choice === "
|
|
235
|
+
if (choice === "Quick setup") {
|
|
236
236
|
await configureWithWizard(ctx, config);
|
|
237
237
|
return;
|
|
238
238
|
}
|
|
239
|
-
if (choice === "
|
|
239
|
+
if (choice === "Advanced (edit config JSON)") {
|
|
240
240
|
await editConfigJson(ctx, config);
|
|
241
241
|
return;
|
|
242
242
|
}
|