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.
This commit is contained in:
Lioncash 2018-05-14 09:44:18 -04:00 committed by MerryMage
parent 9736e2cce2
commit 0da5e949a8
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@ enum class DataCacheOperation {
/// DC ISW
InvalidateBySetWay,
/// DC IVAC
InvaldiateByVAToPoC,
InvalidateByVAToPoC,
/// DC ZVA
ZeroByVA,
};

View file

@ -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) {