mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-02-05 07:15:01 +01:00
Migration bugfixes
This commit is contained in:
parent
27ebd182e7
commit
aec981935c
|
|
@ -1251,11 +1251,12 @@ namespace np
|
|||
for (int i = 0; i < resp->rankarray_size(); i++)
|
||||
{
|
||||
const auto& pb_rankdata = resp->rankarray(i);
|
||||
ensure(!pb_rankdata.npid().empty() && !pb_rankdata.onlinename().empty());
|
||||
|
||||
if (pb_rankdata.recorddate() == 0)
|
||||
continue;
|
||||
|
||||
ensure(!pb_rankdata.npid().empty() && !pb_rankdata.onlinename().empty());
|
||||
|
||||
num_scores_registered++;
|
||||
|
||||
if (tdata->player_rank_data)
|
||||
|
|
|
|||
|
|
@ -136,12 +136,6 @@ public:
|
|||
if (error)
|
||||
return nullptr;
|
||||
|
||||
if (rawdata_vec.empty())
|
||||
{
|
||||
error = true;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
auto msg = std::make_unique<T>();
|
||||
if (!msg->ParseFromArray(rawdata_vec.data(), static_cast<int>(rawdata_vec.size())))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue