mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 14:24:54 +00:00
Merge pull request #13578 from tygyh/Core/HW-Remove-redundant-empty-lambda-parameter-lists
Core/HW: Remove redundant empty lambda parameter lists
This commit is contained in:
commit
f675048768
3 changed files with 4 additions and 4 deletions
|
@ -1114,7 +1114,7 @@ void ZeldaAudioRenderer::ApplyReverb(bool post_rendering)
|
||||||
for (u16 i = 0; i < 8; ++i)
|
for (u16 i = 0; i < 8; ++i)
|
||||||
(*last8_samples_buffers[rpb_idx])[i] = buffer[0x50 + i];
|
(*last8_samples_buffers[rpb_idx])[i] = buffer[0x50 + i];
|
||||||
|
|
||||||
auto ApplyFilter = [&]() {
|
auto ApplyFilter = [&] {
|
||||||
// Filter the buffer using provided coefficients.
|
// Filter the buffer using provided coefficients.
|
||||||
for (u16 i = 0; i < 0x50; ++i)
|
for (u16 i = 0; i < 0x50; ++i)
|
||||||
{
|
{
|
||||||
|
|
|
@ -144,7 +144,7 @@ bool DeserializeDesiredState(DesiredWiimoteState* state, const SerializedWiimote
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const size_t expected_size = [&]() {
|
const size_t expected_size = [&] {
|
||||||
size_t s = 1;
|
size_t s = 1;
|
||||||
if (has_buttons && has_accel)
|
if (has_buttons && has_accel)
|
||||||
s += 5;
|
s += 5;
|
||||||
|
|
|
@ -80,7 +80,7 @@ std::unordered_map<BTH_ADDR, std::time_t> s_connect_times;
|
||||||
|
|
||||||
bool load_hid()
|
bool load_hid()
|
||||||
{
|
{
|
||||||
auto loader = [&]() {
|
auto loader = [&] {
|
||||||
s_hid_lib = ::LoadLibrary(_T("hid.dll"));
|
s_hid_lib = ::LoadLibrary(_T("hid.dll"));
|
||||||
if (!s_hid_lib)
|
if (!s_hid_lib)
|
||||||
{
|
{
|
||||||
|
@ -116,7 +116,7 @@ bool load_hid()
|
||||||
|
|
||||||
bool load_bthprops()
|
bool load_bthprops()
|
||||||
{
|
{
|
||||||
auto loader = [&]() {
|
auto loader = [&] {
|
||||||
s_bthprops_lib = ::LoadLibrary(_T("bthprops.cpl"));
|
s_bthprops_lib = ::LoadLibrary(_T("bthprops.cpl"));
|
||||||
if (!s_bthprops_lib)
|
if (!s_bthprops_lib)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue