mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-31 01:25:18 +01:00
Migration bugfixes
This commit is contained in:
@@ -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())))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user