Decompile 2 functions in Source/Contents/Hotkeys/UserHotkeyScript.cpp
Batch #15633 by Yommy: 2 byte-identical, 0 confirmed by peer review. - fn_04055 ClearUserHotkeys: byte-identical - fn_04063 SaveUserHotkeys: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
5170857e3f
commit
66c77dcc88
1 changed files with 4 additions and 8 deletions
|
|
@ -8,11 +8,9 @@ template bool std::_Traits_equal<std::char_traits<char>>(const char*, std::size_
|
|||
// FUNCTION: fn_04055
|
||||
void ClearUserHotkeys() {
|
||||
std::string path = "SaveData\\UserKeys";
|
||||
path += ".lua";
|
||||
path = path + ".lua";
|
||||
if (!path.empty()) {
|
||||
if (g_session.m_hotkeyScript != nullptr) {
|
||||
g_session.m_hotkeyScript->Call("ClearUserHotKeys", "s", path.c_str());
|
||||
}
|
||||
g_session.m_hotkeyScript->Call("ClearUserHotKeys", "s", path.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -20,11 +18,9 @@ void ClearUserHotkeys() {
|
|||
// FUNCTION: fn_04063
|
||||
void SaveUserHotkeys() {
|
||||
std::string path = "SaveData\\UserKeys";
|
||||
path += ".lua";
|
||||
path = path + ".lua";
|
||||
if (!path.empty()) {
|
||||
if (g_session.m_hotkeyScript != nullptr) {
|
||||
g_session.m_hotkeyScript->Call("SaveUserHotKeys2", "s", path.c_str());
|
||||
}
|
||||
g_session.m_hotkeyScript->Call("SaveUserHotKeys2", "s", path.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue