mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-11-15 10:40:13 +01:00
* ptm: Add battery charge-level to ptm state Update enum to be u8 rather than u32 * config: Add battery-level-source and battery-level configs Allow either a fixed battery level or source the battery-level from the user's system. * input_common: System battery-state implementation Use the Input interface to derive the system's battery information. Enable the POWER backend for SDL. * ptm: Implement configurable system/fixed battery state Either uses a fixed definition, or a system-derived battery-level and charge-state * input_common: Refactor battery-state interface Use a singular function to get the total state of the battery rather than several functions. * config: Add fixed battery charging state configuration * input_common: Limit controller `SDL` engine usage with `HAVE_SDL2` preprocessor Should fix some issues when compiling for libretro-windows. * chore: Update modified file licenses to gplv3 * cmake: Fix `std::aligned_alloc` compilation error during libretro-android builds libretro android builds are built using API level 21, which does not support aligned alloc(added in API level 28). One way to mitigate this seems to be to utilize `BOOST_ASIO_DISABLE_STD_ALIGNED_ALLOC` specifically for libretro Android builds to disable usage of `std::aligned_alloc`.