add subcommand B4

This commit is contained in:
Martin Michelsen
2022-05-17 23:27:52 -07:00
parent 88549fbc2b
commit e87c73c1b7
2 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -1317,7 +1317,7 @@ void send_ep3_map_list(shared_ptr<Lobby> l) {
string data(16, '\0');
PSOSubcommand* subs = reinterpret_cast<PSOSubcommand*>(data.data());
subs[0].dword = 0x000000B6;
subs[1].dword = (23 + file_data->size()) & 0xFFFFFFFC;
subs[1].dword = (file_data->size() + 0x14 + 3) & 0xFFFFFFFC;
subs[2].dword = 0x00000040;
subs[3].dword = file_data->size();
data += *file_data;