mirror of
https://github.com/xmrig/xmrig.git
synced 2026-02-01 01:42:59 -05:00
Add support for older DMI formats on Linux.
This commit is contained in:
@@ -38,6 +38,16 @@ static void dmi_get_header(dmi_header *h, uint8_t *data)
|
||||
} // namespace xmrig
|
||||
|
||||
|
||||
bool xmrig::DmiReader::decode(uint8_t *buf, const Cleanup &cleanup)
|
||||
{
|
||||
const bool rc = decode(buf);
|
||||
|
||||
cleanup();
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
bool xmrig::DmiReader::decode(uint8_t *buf)
|
||||
{
|
||||
if (!buf) {
|
||||
|
||||
Reference in New Issue
Block a user