mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-27 06:44:40 +02:00
Update to v106r30 release.
byuu says: Changelog: - nall/GNUmakefile: fixed findstring parameter arguments [Screwtape] - nall/Windows: always include -mthreads -lpthread for all applications - nall/memory: code restructuring I really wanted to work on the new PPU today, but I thought I'd spend a few minutes making some minor improvements to nall::memory, that was five and a half hours ago. Now I have a 67KiB diff of changes. Sigh.
This commit is contained in:
@@ -18,7 +18,7 @@ auto NSMakeImage(image icon, uint scaleWidth = 0, uint scaleHeight = 0) -> NSIma
|
||||
bitmapFormat:NSAlphaNonpremultipliedBitmapFormat
|
||||
bytesPerRow:(4 * icon.width()) bitsPerPixel:32
|
||||
] autorelease];
|
||||
memory::copy([bitmap bitmapData], icon.data(), 4 * icon.width() * icon.height());
|
||||
memory::copy<uint32_t>([bitmap bitmapData], icon.data(), icon.width() * icon.height());
|
||||
[cocoaImage addRepresentation:bitmap];
|
||||
return cocoaImage;
|
||||
}
|
||||
|
Reference in New Issue
Block a user