Libretro: Add ZL/ZR support (#796)

* iOS: Remove unused hidService

* Libretro: Add ZL/ZR support

* Test build: Create venv

* Install python3-venv package

* Update Test_Build.yml
This commit is contained in:
wheremyfoodat
2025-07-30 09:41:46 +03:00
committed by GitHub
parent 21c25d2fb8
commit 115368491f
3 changed files with 27 additions and 61 deletions

View File

@@ -15,13 +15,11 @@ extern "C" {
#define IOS_EXPORT extern "C" __attribute__((visibility("default")))
std::unique_ptr<Emulator> emulator = nullptr;
HIDService* hidService = nullptr;
IOS_EXPORT void iosCreateEmulator() {
printf("Creating emulator\n");
emulator = std::make_unique<Emulator>();
hidService = &emulator->getServiceManager().getHID();
emulator->initGraphicsContext(nullptr);
}