SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 003e8914b1f960913dc19565791ecb6fac63af91 parent d7e1672ae767c97c0edaaf0a56ce323b1fafa82e Author: Lior Halphon <2345928+LIJI32@users.noreply.github.com> Date: Tue, 8 Jul 2025 00:06:08 +0300 Merge pull request #711 from MaddTheSane/patch-2 Update GBViewController.m Diffstat:
| M | iOS/GBViewController.m | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iOS/GBViewController.m b/iOS/GBViewController.m @@ -1390,7 +1390,7 @@ didReceiveNotificationResponse:(UNNotificationResponse *)response - (UIImage *)imageFromData:(NSData *)data width:(unsigned)width height:(unsigned)height { /* Convert the screenshot to a CGImageRef */ - CGDataProviderRef provider = CGDataProviderCreateWithData(NULL, data.bytes, data.length, NULL); + CGDataProviderRef provider = CGDataProviderCreateWithCFData((CFDataRef)data); CGColorSpaceRef colorSpaceRef = CGColorSpaceCreateDeviceRGB(); CGBitmapInfo bitmapInfo = kCGBitmapByteOrderDefault | kCGImageAlphaNoneSkipLast; CGColorRenderingIntent renderingIntent = kCGRenderingIntentDefault;
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.