Mac: Watchpoint bug fixes

This commit is contained in:
Michael Buckley 2023-03-25 14:14:28 -07:00
parent 07e456729f
commit 97dd443e63
2 changed files with 7 additions and 6 deletions

View File

@ -621,6 +621,7 @@ typedef NS_ENUM(uint32_t, S9xCheatFinderWatchSegments) {
case S9xCheatFinderWatchSegmentsRemove: case S9xCheatFinderWatchSegmentsRemove:
{ {
[_watchRows removeObjectsAtIndexes:self.watchTableView.selectedRowIndexes]; [_watchRows removeObjectsAtIndexes:self.watchTableView.selectedRowIndexes];
[self.engine setWatchPoints:_watchRows];
[self reloadWatchPoints]; [self reloadWatchPoints];
break; break;

View File

@ -53,7 +53,7 @@
<rect key="frame" x="1" y="1" width="391" height="462"/> <rect key="frame" x="1" y="1" width="391" height="462"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnResizing="NO" autosaveColumns="NO" rowHeight="24" rowSizeStyle="automatic" headerView="iN8-VY-ogh" viewBased="YES" id="sYl-gL-DD1" customClass="S9xCheatFinderTableView"> <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnResizing="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="24" rowSizeStyle="automatic" headerView="iN8-VY-ogh" viewBased="YES" id="sYl-gL-DD1" customClass="S9xCheatFinderTableView">
<rect key="frame" x="0.0" y="0.0" width="393" height="434"/> <rect key="frame" x="0.0" y="0.0" width="393" height="434"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<size key="intercellSpacing" width="17" height="0.0"/> <size key="intercellSpacing" width="17" height="0.0"/>
@ -222,17 +222,17 @@
</textField> </textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="cRe-AN-vwd"> <popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="cRe-AN-vwd">
<rect key="frame" x="539" y="461" width="86" height="25"/> <rect key="frame" x="539" y="461" width="86" height="25"/>
<popUpButtonCell key="cell" type="push" title="1 Bytes" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" borderStyle="borderAndBezel" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="6u8-S0-1HE" id="v4e-cD-Jvg"> <popUpButtonCell key="cell" type="push" title="1 Bytes" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="6u8-S0-1HE" id="v4e-cD-Jvg">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/> <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="menu"/> <font key="font" metaFont="menu"/>
<menu key="menu" id="ahy-ao-c12"> <menu key="menu" id="ahy-ao-c12">
<items> <items>
<menuItem title="1 Bytes" tag="1" id="6u8-S0-1HE"> <menuItem title="1 Bytes" state="on" tag="1" id="6u8-S0-1HE">
<connections> <connections>
<action selector="reload:" target="-2" id="R90-mV-hi2"/> <action selector="reload:" target="-2" id="R90-mV-hi2"/>
</connections> </connections>
</menuItem> </menuItem>
<menuItem title="2 Bytes" state="on" tag="2" id="cIU-wH-R28"> <menuItem title="2 Bytes" tag="2" id="cIU-wH-R28">
<connections> <connections>
<action selector="reload:" target="-2" id="8nL-gR-C8K"/> <action selector="reload:" target="-2" id="8nL-gR-C8K"/>
</connections> </connections>
@ -353,7 +353,7 @@
<rect key="frame" x="1" y="1" width="198" height="147"/> <rect key="frame" x="1" y="1" width="198" height="147"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" rowHeight="24" rowSizeStyle="automatic" headerView="Be9-bB-Nds" viewBased="YES" id="0yj-jc-bsT" customClass="S9xCheatFinderTableView"> <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnResizing="NO" autosaveColumns="NO" typeSelect="NO" rowHeight="24" rowSizeStyle="automatic" headerView="Be9-bB-Nds" viewBased="YES" id="0yj-jc-bsT" customClass="S9xCheatFinderTableView">
<rect key="frame" x="0.0" y="0.0" width="198" height="119"/> <rect key="frame" x="0.0" y="0.0" width="198" height="119"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<size key="intercellSpacing" width="17" height="0.0"/> <size key="intercellSpacing" width="17" height="0.0"/>
@ -405,7 +405,7 @@
<constraint firstAttribute="width" constant="200" id="cs4-sZ-4UP"/> <constraint firstAttribute="width" constant="200" id="cs4-sZ-4UP"/>
</constraints> </constraints>
<scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="V1J-zT-Szg"> <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="V1J-zT-Szg">
<rect key="frame" x="1" y="132" width="10" height="16"/> <rect key="frame" x="1" y="132" width="198" height="16"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
</scroller> </scroller>
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="TMt-m8-lYU"> <scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="TMt-m8-lYU">