mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-25 16:31:42 +00:00
It appears ARC extends its reach into C++ nowadays. Fixed additional retain cycle.
This commit is contained in:
parent
3c25ead1f3
commit
828ae66a45
@ -14,7 +14,7 @@
|
||||
@end
|
||||
|
||||
struct Atari2600CRTDelegate: public Outputs::CRT::CRTDelegate {
|
||||
CSAtari2600 *atari;
|
||||
__weak CSAtari2600 *atari;
|
||||
void crt_did_end_frame(Outputs::CRT *crt, CRTFrame *frame) { [atari crtDidEndFrame:frame]; }
|
||||
};
|
||||
|
||||
@ -62,8 +62,4 @@ struct Atari2600CRTDelegate: public Outputs::CRT::CRTDelegate {
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
NSLog(@"");
|
||||
}
|
||||
|
||||
@end
|
||||
|
Loading…
Reference in New Issue
Block a user