mirror of
https://codeberg.org/wownero/RandomWOW
synced 2026-03-05 22:27:33 -05:00
randomx_cache and randomx_dataset changed to standard-layout structs
This commit is contained in:
@@ -44,7 +44,10 @@ protected:
|
||||
alignas(16) randomx::ProgramConfiguration config;
|
||||
randomx::MemoryRegisters mem;
|
||||
uint8_t* scratchpad;
|
||||
uint8_t* datasetBasePtr;
|
||||
union {
|
||||
randomx_cache* cachePtr = nullptr;
|
||||
randomx_dataset* datasetPtr;
|
||||
};
|
||||
uint32_t datasetOffset;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user