Fixes to OAM viewer
This commit is contained in:
parent
ba5416ee5b
commit
e7236deb11
@ -1870,9 +1870,9 @@ static unsigned *multiplication_table_for_frequency(unsigned frequency)
|
|||||||
height:oamHeight
|
height:oamHeight
|
||||||
scale:16.0/oamHeight];
|
scale:16.0/oamHeight];
|
||||||
case 1:
|
case 1:
|
||||||
return @((unsigned)oamInfo[row].x - 8);
|
return @((signed)((unsigned)oamInfo[row].x - 8));
|
||||||
case 2:
|
case 2:
|
||||||
return @((unsigned)oamInfo[row].y - 16);
|
return @((signed)((unsigned)oamInfo[row].y - 16));
|
||||||
case 3:
|
case 3:
|
||||||
return [NSString stringWithFormat:@"$%02x", oamInfo[row].tile];
|
return [NSString stringWithFormat:@"$%02x", oamInfo[row].tile];
|
||||||
case 4:
|
case 4:
|
||||||
|
@ -536,7 +536,7 @@
|
|||||||
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
|
||||||
</tableHeaderCell>
|
</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"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user