Metal renderer & iOS frontend fixes

This commit is contained in:
wheremyfoodat 2025-06-29 23:20:35 +03:00
parent 630952f36b
commit adcd03d31e
8 changed files with 71 additions and 36 deletions

View file

@ -33,6 +33,10 @@ IOS_EXPORT void iosRunFrame(CAMetalLayer* layer) {
}
IOS_EXPORT void iosLoadROM(NSString* pathNS) {
auto path = std::filesystem::path([pathNS UTF8String]);
emulator->loadROM(path);
auto path = std::filesystem::path([pathNS UTF8String]);
emulator->loadROM(path);
}
IOS_EXPORT void iosSetOutputSize(uint32_t width, uint32_t height) {
emulator->setOutputSize(width, height);
}