mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-24 19:14:40 +00:00
Removed "kp;"
This commit is contained in:
parent
48076d27e3
commit
35c85e5a50
@ -251,10 +251,9 @@ void ParseInputConfig(const std::string game_id = "") {
|
|||||||
std::string output_string = line.substr(0, equal_pos);
|
std::string output_string = line.substr(0, equal_pos);
|
||||||
std::string input_string = line.substr(equal_pos + 1);
|
std::string input_string = line.substr(equal_pos + 1);
|
||||||
// Remove trailing semicolon from input_string
|
// Remove trailing semicolon from input_string
|
||||||
if (!input_string.empty() && input_string[input_string.length() - 1] == ';') {
|
if (!input_string.empty() && input_string[input_string.length() - 1] == ';' &&
|
||||||
if (!(input_string == ";" || input_string == "kp;")) {
|
input_string != ";") {
|
||||||
line = line.substr(0, line.length() - 1);
|
line = line.substr(0, line.length() - 1);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::size_t comma_pos = input_string.find(',');
|
std::size_t comma_pos = input_string.find(',');
|
||||||
|
Loading…
Reference in New Issue
Block a user