mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 09:39:13 +00:00
ArmEmitter: make it more readable
This commit is contained in:
parent
46e7c0657f
commit
7a66a3ded1
2 changed files with 51 additions and 59 deletions
|
@ -54,9 +54,9 @@ double GetCurrentBitmapLogicalScale()
|
|||
{
|
||||
#ifdef __APPLE__
|
||||
// wx doesn't expose this itself, unfortunately.
|
||||
if ([[NSScreen mainScreen] respondsToSelector:@selector(backingScaleFactor)])
|
||||
if ([[NSScreen mainScreen] respondsToSelector:@selector(backingScaleFactor)])
|
||||
{
|
||||
return [[NSScreen mainScreen] backingScaleFactor];
|
||||
return [[NSScreen mainScreen] backingScaleFactor];
|
||||
}
|
||||
#endif
|
||||
return 1.0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue