yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

memory: Fix typo in RasterizerFlushVirtualRegion.

This commit is contained in:
bunnei 2018-03-23 15:46:21 -04:00
parent b36b627d4d
commit b5f3e7951b
1 changed files with 3 additions and 3 deletions

View File

@ -318,13 +318,13 @@ void RasterizerFlushVirtualRegion(VAddr start, u64 size, FlushMode mode) {
auto* rasterizer = VideoCore::g_renderer->Rasterizer(); auto* rasterizer = VideoCore::g_renderer->Rasterizer();
switch (mode) { switch (mode) {
case FlushMode::Flush: case FlushMode::Flush:
rasterizer->FlushRegion(region_start, overlap_size); rasterizer->FlushRegion(overlap_start, overlap_size);
break; break;
case FlushMode::Invalidate: case FlushMode::Invalidate:
rasterizer->InvalidateRegion(region_start, overlap_size); rasterizer->InvalidateRegion(overlap_start, overlap_size);
break; break;
case FlushMode::FlushAndInvalidate: case FlushMode::FlushAndInvalidate:
rasterizer->FlushAndInvalidateRegion(region_start, overlap_size); rasterizer->FlushAndInvalidateRegion(overlap_start, overlap_size);
break; break;
} }
}; };