Fixed compilation issue on recent compilers (lambdas can't use constexpr until C++17)
This commit is contained in:
parent
ea74b764e9
commit
b1a50434c9
1 changed files with 1 additions and 1 deletions
|
@ -847,7 +847,7 @@ void Ppu::RenderTilemapMode7()
|
|||
return;
|
||||
}
|
||||
|
||||
constexpr auto clip = [](int32_t val) { return (val & 0x2000) ? (val | ~0x3ff) : (val & 0x3ff); };
|
||||
auto clip = [](int32_t val) { return (val & 0x2000) ? (val | ~0x3ff) : (val & 0x3ff); };
|
||||
|
||||
int32_t lutX[256];
|
||||
int32_t lutY[256];
|
||||
|
|
Loading…
Add table
Reference in a new issue