From 0da5e949a88f237479ec3a2d67da42e6866ef670 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 14 May 2018 09:44:18 -0400 Subject: [PATCH] Correct typo in DataCacheOperation enum Fixes a typo for the InvalidateByVAToPoC enum entry. Given yuzu is the only known user of 64-bit mode and it doesn't use this value, we can get away with changing this. --- include/dynarmic/A64/config.h | 2 +- src/frontend/A64/translate/impl/sys_dc.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dynarmic/A64/config.h b/include/dynarmic/A64/config.h index 7e87c86c..5ba02e0e 100644 --- a/include/dynarmic/A64/config.h +++ b/include/dynarmic/A64/config.h @@ -56,7 +56,7 @@ enum class DataCacheOperation { /// DC ISW InvalidateBySetWay, /// DC IVAC - InvaldiateByVAToPoC, + InvalidateByVAToPoC, /// DC ZVA ZeroByVA, }; diff --git a/src/frontend/A64/translate/impl/sys_dc.cpp b/src/frontend/A64/translate/impl/sys_dc.cpp index c2c52df0..3899031c 100644 --- a/src/frontend/A64/translate/impl/sys_dc.cpp +++ b/src/frontend/A64/translate/impl/sys_dc.cpp @@ -14,7 +14,7 @@ static bool DataCacheInstruction(TranslatorVisitor& tv, IREmitter& ir, DataCache } bool TranslatorVisitor::DC_IVAC(Reg Rt) { - return DataCacheInstruction(*this, ir, DataCacheOperation::InvaldiateByVAToPoC, Rt); + return DataCacheInstruction(*this, ir, DataCacheOperation::InvalidateByVAToPoC, Rt); } bool TranslatorVisitor::DC_ISW(Reg Rt) {