mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-11 16:44:49 +02:00
Update to v095r06 release.
byuu says: Changelog: - fixed I/O register reads; perfect score on endrift's I/O tests now - fixed mouse capture clipping on Windows [Cydrak] - several hours of code maintenance work done on the SFC core All higan/sfc files should now use the auto fn() -> ret; syntax. Haven't converted all unsigned->uint yet. Also, probably won't do sfc/alt as that's mostly just speed hack stuff. Errata: - forgot auto& instead of just auto on SuperFamicom::Video::draw_cursor, which makes Super Scope / Justifier crash. Will be fixed in the next WIP.
This commit is contained in:
@@ -35,7 +35,7 @@ NSFont* pFont::cocoaFont(string description) {
|
||||
CGFloat size = 8.0;
|
||||
|
||||
if(!part(0).empty()) family = [NSString stringWithUTF8String:part(0)];
|
||||
if(!part(1).empty()) size = decimal(part(1));
|
||||
if(!part(1).empty()) size = part(1).natural();
|
||||
if(part(2).ifind("bold")) traits |= NSBoldFontMask;
|
||||
if(part(2).ifind("italic")) traits |= NSItalicFontMask;
|
||||
if(part(2).ifind("narrow")) traits |= NSNarrowFontMask;
|
||||
|
Reference in New Issue
Block a user