Skip to content

Commit

Permalink
stfu macos
Browse files Browse the repository at this point in the history
  • Loading branch information
Eknous-P committed Nov 16, 2024
1 parent 0696b85 commit 538f853
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gui/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "misc/cpp/imgui_stdlib.h"
#include "misc/freetype/imgui_freetype.h"
#include "scaling.h"
#include <cstdio>
#include <fmt/printf.h>

#ifdef _WIN32
Expand Down Expand Up @@ -387,7 +388,7 @@ const char* specificControls[18]={
SETTING((guiActions[x].friendlyName),{ /*ISSUE: guiActions[x].friendlyName here is NULL?!?!?!*/ \
const char* friendlyName=guiActions[x].friendlyName; \
char temp[2048]; \
sprintf(temp, "##%sKey",friendlyName); \
snprintf(temp, 2048, "##%sKey",friendlyName); \
if (ImGui::BeginTable(temp, 2)) { \
ImGui::TableSetupColumn("##label",ImGuiTableColumnFlags_WidthStretch,1.0f); \
ImGui::TableSetupColumn("##keyInputs",ImGuiTableColumnFlags_WidthStretch,5.0f); \
Expand Down Expand Up @@ -1773,7 +1774,7 @@ void FurnaceGUI::setupSettingsCategories() {
SETTING(_("PC Speaker strategy"),{
if (ImGui::Combo(_("PC Speaker strategy"),&settings.pcSpeakerOutMethod,LocalizedComboGetter,pcspkrOutMethods,5)) SETTINGS_CHANGED;
}),
SETTING(NULL,{ // subsection?
Setting(NULL,[]{ // subsection?
ImGui::Separator();
ImGui::Text(_("Sample ROMs:"));
}),
Expand Down

0 comments on commit 538f853

Please sign in to comment.