diff --git a/src/crypto/randomx/randomx.cpp b/src/crypto/randomx/randomx.cpp index a3616b7ac2..68322d646f 100644 --- a/src/crypto/randomx/randomx.cpp +++ b/src/crypto/randomx/randomx.cpp @@ -209,6 +209,8 @@ void RandomX_ConfigurationBase::Apply() #if defined(_M_X64) || defined(__x86_64__) *(uint32_t*)(codeShhPrefetchTweaked + 3) = ArgonMemory * 16 - 1; const uint32_t DatasetBaseMask = DatasetBaseSize - RANDOMX_DATASET_ITEM_SIZE; + *(uint32_t*)(codeReadDatasetRyzenTweaked + 9) = DatasetBaseMask; + *(uint32_t*)(codeReadDatasetRyzenTweaked + 24) = DatasetBaseMask; *(uint32_t*)(codeReadDatasetTweaked + 7) = DatasetBaseMask; *(uint32_t*)(codeReadDatasetTweaked + 23) = DatasetBaseMask; *(uint32_t*)(codeReadDatasetLightSshInitTweaked + 59) = DatasetBaseMask;