Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed output path for analogizer.bin configuration file and another minor changes #390

Merged
merged 1 commit into from
Feb 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions src/services/AnalogizerSettingsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,7 @@ class AnalogizerSettingsService
#.....#.#. ##.#.....#.#. #. #.#. #. #. #. #. #. #.
#. #.#. #.#. #.#. #. #. #. #. #. #. #. #. #
#. #.#. #.#. #.####### ####. #######. #### ####### ####### #. #
===================== C O N F I G U R A T O R V 0.2 =========================";
static readonly Dictionary<int, string> MenuOptions = new Dictionary<int, string>
{
{1, "SNAC game controller options"},
{2, "Video output options"},
{3, "Miscellaneous options"},
{4, "Save and Exit"}
};
===================== C O N F I G U R A T O R V 0.3 =========================";

static readonly Dictionary<int, string> VideoOutputOptions = new Dictionary<int, string>
{
Expand Down Expand Up @@ -98,15 +91,16 @@ class AnalogizerSettingsService

static readonly Dictionary<int, string> PocketBlankScreenOptions = new Dictionary<int, string>
{
{1, "No video output on the Pocket screen"},
{0, "Video is show on the Pocket screen"}
{0, "Video is show on the Pocket screen"},
{1, "No video output on the Pocket screen"}
};

static readonly Dictionary<int, string> AnalogizerOSDOptions = new Dictionary<int, string>
{
{1, "OSD is show on Analogizer video output (when avalaible)"},
{0, "OSD is show on Pocket screen (when avalaible)"}
};

static void FlushKeyboard()
{
while (Console.In.Peek() != -1)
Expand Down Expand Up @@ -276,8 +270,15 @@ public static void ShowWizard()
}
case 2:
{
//SNAC game controller options
SnacAssigmentsOptions();
if(snacSelection == 0) //If none SNAC controller is selected, bypass assigment
{
snacAssigmentSelection = 0;
}
else
{
//SNAC game controller options
SnacAssigmentsOptions();
}
menuDone++;
break;
}
Expand Down Expand Up @@ -318,7 +319,7 @@ public static void ShowWizard()

if (File.Exists(filepath))
{
string destination = Path.Combine(ServiceHelper.UpdateDirectory, "Assets", "Analogizer", "common");
string destination = Path.Combine(ServiceHelper.UpdateDirectory, "Assets", "analogizer", "common");

if (!Directory.Exists(destination))
{
Expand Down
Loading