switchbrew / libnx

Library for Switch Homebrew
https://switchbrew.github.io/libnx/
ISC License
1.26k stars 167 forks source link

btm: add DeviceCondition definitions #554

Closed ndeadly closed 3 years ago

ndeadly commented 3 years ago

This adds partial definitions for BtmDeviceCondition. This structure has changed size three times over the course of various firmware updates. I wasn't sure how to best handle the different struct versions in a way that fits with the rest of the libnx codebase. Thoughts and ideas are welcome.