mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 20:15:27 +00:00
fix warnings
This commit is contained in:
parent
b81e77cffa
commit
6555de6ef5
5 changed files with 5 additions and 9 deletions
|
@ -884,7 +884,7 @@ error_code _sys_prx_register_library(ppu_thread& ppu, vm::ptr<void> library)
|
|||
|
||||
if (flags.front())
|
||||
{
|
||||
const bool success = idm::select<lv2_obj, lv2_prx>([&](u32 id, lv2_prx& prx)
|
||||
const bool success = idm::select<lv2_obj, lv2_prx>([&](u32 /*id*/, lv2_prx& prx)
|
||||
{
|
||||
if (prx.state == PRX_STATE_INITIALIZED)
|
||||
{
|
||||
|
|
|
@ -996,7 +996,6 @@ namespace np
|
|||
|
||||
memset(tdata->rankArray.get_ptr(), 0, tdata->rankArraySize);
|
||||
auto* fb_rankarray = resp->rankArray();
|
||||
u32 target_index = 0;
|
||||
|
||||
vm::ptr<SceNpScoreRankData> rankArray = vm::static_ptr_cast<SceNpScoreRankData>(tdata->rankArray);
|
||||
vm::ptr<SceNpScorePlayerRankData> rankPlayerArray = vm::static_ptr_cast<SceNpScorePlayerRankData>(tdata->rankArray);
|
||||
|
@ -1030,8 +1029,6 @@ namespace np
|
|||
cur_rank->scoreValue = fb_rankdata->score();
|
||||
cur_rank->hasGameData = fb_rankdata->hasGameData();
|
||||
cur_rank->recordDate.tick = fb_rankdata->recordDate();
|
||||
|
||||
target_index++;
|
||||
}
|
||||
|
||||
if (tdata->commentArray)
|
||||
|
|
|
@ -609,13 +609,13 @@ namespace rsx
|
|||
{
|
||||
auto protect_ranges = [this](address_range_vector& _set, utils::protection _prot)
|
||||
{
|
||||
u32 count = 0;
|
||||
//u32 count = 0;
|
||||
for (auto &range : _set)
|
||||
{
|
||||
if (range.valid())
|
||||
{
|
||||
rsx::memory_protect(range, _prot);
|
||||
count++;
|
||||
//count++;
|
||||
}
|
||||
}
|
||||
//rsx_log.error("Set protection of %d blocks to 0x%x", count, static_cast<u32>(prot));
|
||||
|
|
|
@ -691,7 +691,7 @@ namespace vk
|
|||
// GTX970 workaround/hack
|
||||
// The driver reports a full working 4GB of memory which is incorrect.
|
||||
// Limit to ~2.5GB to allow vma to avoid running over the headroom of 0.5G.
|
||||
memory_map.device_local_total_bytes = 2560 * 0x100000;
|
||||
memory_map.device_local_total_bytes = 2560ULL * 0x100000ULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -210,7 +210,7 @@ void init_fxo_for_exec(utils::serial* ar, bool full = false)
|
|||
{
|
||||
Emu.ExecDeserializationRemnants();
|
||||
|
||||
auto flags = (*ar)(Emu.m_savestate_extension_flags1);
|
||||
[[maybe_unused]] auto flags = (*ar)(Emu.m_savestate_extension_flags1);
|
||||
|
||||
const usz advance = (Emu.m_savestate_extension_flags1 & Emulator::SaveStateExtentionFlags1::SupportsMenuOpenResume ? 32 : 31);
|
||||
|
||||
|
@ -2506,7 +2506,6 @@ void Emulator::Resume()
|
|||
}
|
||||
}
|
||||
|
||||
s32 sysutil_send_system_cmd(u64 status, u64 param);
|
||||
u64 get_sysutil_cb_manager_read_count();
|
||||
|
||||
void process_qt_events();
|
||||
|
|
Loading…
Add table
Reference in a new issue