fix send_function_call for JP Ep3 and v1.04

This commit is contained in:
Martin Michelsen
2023-01-26 19:27:25 -08:00
parent c39e60af8b
commit 8cf11b3c48
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -382,6 +382,9 @@ void send_function_call(
} else {
crypt.encrypt(data.data(), data.size());
}
w.write(data);
data = move(w.str());
}
}
+2 -1
View File
@@ -64,7 +64,8 @@ uint16_t flags_for_version(GameVersion version, int64_t sub_version) {
case 0x40: // GC Ep3 trial
return Client::Flag::NO_D6_AFTER_LOBBY |
Client::Flag::IS_EPISODE_3;
Client::Flag::IS_EPISODE_3 |
Client::Flag::ENCRYPTED_SEND_FUNCTION_CALL;
case 0x42: // GC Ep3 JP
return Client::Flag::NO_D6_AFTER_LOBBY |
Client::Flag::IS_EPISODE_3 |