Einzelnen Beitrag anzeigen
  #5532  
Alt 09.09.2023, 22:11
hap hap ist offline
Resurrection
 
Registriert seit: 27.07.2019
Beiträge: 595
Abgegebene Danke: 220
Erhielt 2.269 Danke für 410 Beiträge
Aktivitäten Langlebigkeit
0/20 6/20
Heute Beiträge
0/3 ssssss595
Re: AW: Re: Mess Emulator für diverse Schachcomputer ist fertig!

 Zitat von fhub Beitrag anzeigen
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.
Mit Zitat antworten
Folgende 3 Benutzer sagen Danke zu hap für den nützlichen Beitrag:
berger (11.09.2023), fhub (09.09.2023), kamoj (10.09.2023)