SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit e7236deb11c630d5d70fa7f0c7122d6eb2cd548c parent ba5416ee5b814e80825a929ff0abe9c388725e05 Author: Lior Halphon <LIJI32@gmail.com> Date: Sat, 5 Feb 2022 13:54:30 +0200 Fixes to OAM viewer Diffstat:
| M | Cocoa/Document.m | 4 | ++-- |
| M | Cocoa/Document.xib | 2 | +- |
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Cocoa/Document.m b/Cocoa/Document.m @@ -1870,9 +1870,9 @@ static unsigned *multiplication_table_for_frequency(unsigned frequency) height:oamHeight scale:16.0/oamHeight]; case 1: - return @((unsigned)oamInfo[row].x - 8); + return @((signed)((unsigned)oamInfo[row].x - 8)); case 2: - return @((unsigned)oamInfo[row].y - 16); + return @((signed)((unsigned)oamInfo[row].y - 16)); case 3: return [NSString stringWithFormat:@"$%02x", oamInfo[row].tile]; case 4: diff --git a/Cocoa/Document.xib b/Cocoa/Document.xib @@ -536,7 +536,7 @@ <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/> </tableHeaderCell> - <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" id="czf-Bn-nZN"> + <textFieldCell key="dataCell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" id="czf-Bn-nZN"> <font key="font" metaFont="system"/> <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/> <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.