Skip to content

Commit

Permalink
fixed file path for analogizer.bin configuration file. Added minor co…
Browse files Browse the repository at this point in the history
…smetic changes. (mattpannella#390)
  • Loading branch information
RndMnkIII authored Feb 5, 2025
1 parent ad67523 commit ebfe3b1
Showing 1 changed file with 14 additions and 13 deletions.
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

0 comments on commit ebfe3b1

Please sign in to comment.