SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 0b7766250470b4c1f7d0363037a28c01877e7180 parent b2d1086e2e017c8a2b2da85bc77ac23b5b4729c1 Author: Lior Halphon <LIJI32@gmail.com> Date: Sun, 9 Jun 2024 15:27:28 +0300 Fix compatibility issues when linking against Sonoma's SDK. Fixes #633 Diffstat:
| D | HexFiend/HFHexTextView.h | 15 | --------------- |
| D | HexFiend/HFHexTextView.m | 13 | ------------- |
| M | HexFiend/HFLineCountingView.m | 6 | ++++++ |
| M | HexFiend/HFRepresenterTextView.m | 6 | ++++++ |
4 files changed, 12 insertions(+), 28 deletions(-)
diff --git a/HexFiend/HFHexTextView.h b/HexFiend/HFHexTextView.h @@ -1,15 +0,0 @@ -// -// HFHexTextView.h -// HexFiend_2 -// -// Copyright 2007 __MyCompanyName__. All rights reserved. -// - -#import <Cocoa/Cocoa.h> - - -@interface HFHexTextView : NSTextView { - -} - -@end diff --git a/HexFiend/HFHexTextView.m b/HexFiend/HFHexTextView.m @@ -1,13 +0,0 @@ -// -// HFHexTextView.m -// HexFiend_2 -// -// Copyright 2007 __MyCompanyName__. All rights reserved. -// - -#import "HFHexTextView.h" - - -@implementation HFHexTextView - -@end diff --git a/HexFiend/HFLineCountingView.m b/HexFiend/HFLineCountingView.m @@ -672,4 +672,10 @@ static inline int common_prefix_length(const char *a, const char *b) { } } +/* Compatibility with Sonoma */ ++ (bool)clipsToBounds +{ + return true; +} + @end diff --git a/HexFiend/HFRepresenterTextView.m b/HexFiend/HFRepresenterTextView.m @@ -1761,4 +1761,10 @@ static size_t unionAndCleanLists(NSRect *rectList, id *valueList, size_t count) else return YES; } +/* Compatibility with Sonoma */ ++ (bool)clipsToBounds +{ + return true; +} + @end
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.