
Zitat von
fhub
None of these methods compile - I give up ...
Edit: I've made the same changes long time ago in the saitek_stratos driver, and there it worked with m_nvram_data.get().
Maybe the problem for the Prestige is, that it uses ENDIANNESS_BIG?
Thanks,
Franz
ENDIANNESS_BIG, ENDIANNESS_LITTLE, will make no difference.
Try this then:
std::unique_ptr u8[] m_nvram_data;
m_nvram_data = make_unique_clear u8[] (0x10000);
Otherwise, I don't know why it won't work.