mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-09 09:40:58 +02:00
Merge pull request #13861 from Tilka/unused_lambda_captures
DolphinQt: fix two -Wunused-lambda-capture warnings
This commit is contained in:
@@ -132,8 +132,7 @@ void AdvancedPane::CreateLayout()
|
||||
};
|
||||
|
||||
cpu_text();
|
||||
connect(m_cpu_clock_override_slider, &QSlider::valueChanged, this,
|
||||
[this, cpu_text]() { cpu_text(); });
|
||||
connect(m_cpu_clock_override_slider, &QSlider::valueChanged, this, cpu_text);
|
||||
|
||||
m_cpu_clock_override_checkbox->SetDescription(
|
||||
tr("Adjusts the emulated CPU's clock rate.<br><br>"
|
||||
@@ -177,8 +176,7 @@ void AdvancedPane::CreateLayout()
|
||||
};
|
||||
|
||||
vi_text();
|
||||
connect(m_vi_rate_override_slider, &QSlider::valueChanged, this,
|
||||
[this, vi_text]() { vi_text(); });
|
||||
connect(m_vi_rate_override_slider, &QSlider::valueChanged, this, vi_text);
|
||||
|
||||
m_vi_rate_override_checkbox->SetDescription(
|
||||
tr("Adjusts the VBI frequency. Also adjusts the emulated CPU's "
|
||||
|
@@ -397,7 +397,7 @@ static void SubtractBlend(u8* srcClr, u8* dstClr)
|
||||
|
||||
static void Dither(u16 x, u16 y, u8* color)
|
||||
{
|
||||
// No blending for RGB8 mode
|
||||
// No dithering for RGB8 mode
|
||||
if (!bpmem.blendmode.dither || bpmem.zcontrol.pixel_format != PixelFormat::RGBA6_Z24)
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user