summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_dma.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-04-20 19:42:14 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-23 14:52:58 +0200
commit5c9feaebb6bfa34bb275ffa59ca823003de20422 (patch)
tree392bfbd6cc096d4f8dded3b6feeb80b709e984c8 /src/video_core/engines/maxwell_dma.cpp
parentGPU: Add Fast GPU Time Option. (diff)
downloadyuzu-5c9feaebb6bfa34bb275ffa59ca823003de20422.tar
yuzu-5c9feaebb6bfa34bb275ffa59ca823003de20422.tar.gz
yuzu-5c9feaebb6bfa34bb275ffa59ca823003de20422.tar.bz2
yuzu-5c9feaebb6bfa34bb275ffa59ca823003de20422.tar.lz
yuzu-5c9feaebb6bfa34bb275ffa59ca823003de20422.tar.xz
yuzu-5c9feaebb6bfa34bb275ffa59ca823003de20422.tar.zst
yuzu-5c9feaebb6bfa34bb275ffa59ca823003de20422.zip
Diffstat (limited to 'src/video_core/engines/maxwell_dma.cpp')
-rw-r--r--src/video_core/engines/maxwell_dma.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_dma.cpp b/src/video_core/engines/maxwell_dma.cpp
index 51e606a10..6630005b0 100644
--- a/src/video_core/engines/maxwell_dma.cpp
+++ b/src/video_core/engines/maxwell_dma.cpp
@@ -36,7 +36,8 @@ void MaxwellDMA::CallMethod(const GPU::MethodCall& method_call) {
#undef MAXWELLDMA_REG_INDEX
}
-void MaxwellDMA::CallMultiMethod(u32 method, const u32* base_start, u32 amount, u32 methods_pending) {
+void MaxwellDMA::CallMultiMethod(u32 method, const u32* base_start, u32 amount,
+ u32 methods_pending) {
for (std::size_t i = 0; i < amount; i++) {
CallMethod({method, base_start[i], 0, methods_pending - static_cast<u32>(i)});
}