[XAM] XMP: Adjusted/Fixed size returned in message 0x0007002E

This commit is contained in:
Gliniak 2024-10-23 20:38:37 +02:00
parent c42a54ddec
commit da6afabf60
1 changed files with 1 additions and 1 deletions

View File

@ -497,7 +497,7 @@ X_HRESULT XmpApp::DispatchMessageSync(uint32_t message, uint32_t buffer_ptr,
args->xmp_client == 0x00000000);
// We don't use the storage, so just fudge the number.
xe::store_and_swap<uint32_t>(memory_->TranslateVirtual(args->size_ptr),
4 + uint32_t(args->song_count) * 128);
args->song_count * 0x3E8 + 0x88);
return X_E_SUCCESS;
}
case 0x0007002F: {