Skip to content

Commit d37970d

Browse files
committed
Adjust 3DS button symbols for Citra
1 parent fef06bc commit d37970d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Library/Sources/CTRPluginFramework/Menu/MenuEntryHotkeys.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ namespace CTRPluginFramework {
5858
FONT_ZR
5959
};
6060

61+
static const string g_keyNameCitra[16] = {"A", "B", "Select", "Start", "D-Pad Right", "D-Pad Left", "D-Pad Up", "D-Pad Down", "R", "L", "X", "Y", "", "", "ZL", "ZR"};
62+
6163
string KeysToString(u32 keys) {
6264
string ret;
6365
bool add = false;
@@ -67,7 +69,7 @@ namespace CTRPluginFramework {
6769
if (add)
6870
ret += " + ";
6971

70-
ret += g_keyName[i];
72+
ret += (System::IsCitra() ? g_keyNameCitra[i] : g_keyName[i]);
7173
add = true;
7274
}
7375
}

Library/lib/libctrpf.a

868 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)