Fix some warnings

This commit is contained in:
Megamouse 2024-12-20 11:47:45 +01:00
parent 0fd6956bb0
commit ed4d8bf2a8
2 changed files with 2 additions and 2 deletions

View file

@ -3643,7 +3643,7 @@ namespace rsx
m_invalidated_memory_range.invalidate();
}
void thread::renderctl(u32 request_code, void* args)
void thread::renderctl(u32 request_code, void* /*args*/)
{
switch (request_code)
{

View file

@ -2347,7 +2347,7 @@ void game_list_frame::BatchActionBySerials(progress_dialog* pdlg, const std::set
const std::shared_ptr<std::function<void()>> periodic_func = std::make_shared<std::function<void()>>();
*periodic_func = [=]()
*periodic_func = [=, this]()
{
if (should_wait_cb && should_wait_cb())
{