mirror of
https://git.citron-emu.org/citron/emulator
synced 2026-02-02 15:43:35 +00:00
build: update Android build system and platform compatibility
1. Gradle ecosystem upgrades: - Update Gradle from 8.1 to 8.12 - Update Android Gradle plugin from 8.1.2 to 8.10.0 - Upgrade Java compatibility from 17 to 21 2. Build configuration changes: - Make release build the default instead of relWithDebInfo - Enable premium features 3. Platform compatibility fixes: - Properly exclude boost-process on Android - Add workarounds for missing features on Android - Fix socket operations in SSL backend - Update Boost.Asio naming (io_service → io_context) Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
class FakeCemuhookServer {
|
||||
public:
|
||||
FakeCemuhookServer()
|
||||
: socket(io_service, boost::asio::ip::udp::endpoint(boost::asio::ip::udp::v4(), 0)) {}
|
||||
: socket(io_context, boost::asio::ip::udp::endpoint(boost::asio::ip::udp::v4(), 0)) {}
|
||||
|
||||
~FakeCemuhookServer() {
|
||||
is_running = false;
|
||||
@@ -82,7 +82,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
boost::asio::io_service io_service;
|
||||
boost::asio::io_context io_context;
|
||||
boost::asio::ip::udp::socket socket;
|
||||
std::array<u8, InputCommon::CemuhookUDP::MAX_PACKET_SIZE> send_buffer;
|
||||
std::array<u8, InputCommon::CemuhookUDP::MAX_PACKET_SIZE> receive_buffer;
|
||||
|
||||
Reference in New Issue
Block a user