mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-22 01:33:13 +02:00
Update to v103r27 release.
byuu says: Changelog: - hiro/windows: set dpiAware=false, fixes icarus window sizes relative to higan window sizes - higan, icarus, hiro, ruby: add support for high resolution displays on macOS [ncbncb] - processor/lr35902-legacy: removed - processor/arm7tdmi: new processor core started; intended to one day be a replacement for processor/arm It will probably take several WIPs to get the new ARM core up and running. It's the last processor rewrite. After this, all processor cores will be up to date with all my current programming conventions.
This commit is contained in:
@@ -78,7 +78,7 @@ struct VideoCGL : Video, OpenGL {
|
||||
if(!ready()) return;
|
||||
@autoreleasepool {
|
||||
if([view lockFocusIfCanDraw]) {
|
||||
auto area = [view frame];
|
||||
auto area = [view convertRectToBacking:[view bounds]];
|
||||
OpenGL::outputWidth = area.size.width;
|
||||
OpenGL::outputHeight = area.size.height;
|
||||
OpenGL::output();
|
||||
@@ -110,6 +110,7 @@ private:
|
||||
[view setOpenGLContext:context];
|
||||
[view setFrame:NSMakeRect(0, 0, size.width, size.height)];
|
||||
[view setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
|
||||
[view setWantsBestResolutionOpenGLSurface:YES];
|
||||
[_context addSubview:view];
|
||||
[context setView:view];
|
||||
|
||||
|
Reference in New Issue
Block a user