ogoguel / activegs-ios

ActiveGS, Apple 2/2GS emulator for iOS
http://www.freetoolsassociation.com
84 stars 18 forks source link

Video not displaying in iOS 15 #15

Open yoshisuga opened 3 years ago

yoshisuga commented 3 years ago

I just updated and built ActiveGS in Xcode 13/iOS 15. Sound works and emulation is occurring but the video is not displayed.

I tried to debug the portion where the image view is updated, but it's coming up with a blank image so I'm not sure if the video data is being written to.

ogoguel commented 3 years ago

Saw your commit about iOS15 : sounds weird to have to adjust the width, any thought on why it is required ?

yoshisuga commented 3 years ago

Yeah it's very puzzling! I changed the method to pass a CGImageRef reference so that I can convert it to a UIImage and I was able to see the image, but it looks like CGContextDrawImage couldn't render the image.

It could be a size/pixel issue rendering an image into a smaller rect. Sadly I don't know enough about the details of drawing an image to the context. Converting to a UIImage and displaying that might work but I'm guessing that CGContextDrawImage is faster. Also strange that it happens on iOS 15 but not iOS 14.

ogoguel commented 3 years ago

The issue has been reported to Apple: waiting for their feedback

utilsites commented 2 years ago

@ogoguel do you have feedback from Apple?

ogoguel commented 2 years ago

Nope :( I put online a quick hack to be compatible with anyway

Le 23 nov. 2021 à 20:21, utilsites @.***> a écrit :

 @ogoguel do you have feedback from Apple?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

utilsites commented 2 years ago

Can you share the hack @ogoguel ? Thanks

ogoguel commented 2 years ago

sure: https://github.com/ogoguel/activegs-ios/commit/3110db04dc1de2be2d333722457d55ee541452ce

Le dim. 28 nov. 2021 à 08:51, utilsites @.***> a écrit :

Can you share the hack @ogoguel https://github.com/ogoguel ? Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ogoguel/activegs-ios/issues/15#issuecomment-980933375, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFEZB7Q6UOWKLYSAX4ZSR3UOHNOPANCNFSM5EN4AS4A .

-- ıllıllı ɹǝ!ʌ!ןo ıllıllı

Paa-Kwesi-ML commented 2 years ago

I downloaded the iOS 15.3 but when i try to install it they tell me it cant be installed I need help

ogoguel commented 2 years ago

@Amkwesi I did not try yet the 15.3 beta.... any relevant messages/logs?