mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +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
|
@end
|
||||||
|
|
||||||
struct Atari2600CRTDelegate: public Outputs::CRT::CRTDelegate {
|
struct Atari2600CRTDelegate: public Outputs::CRT::CRTDelegate {
|
||||||
CSAtari2600 *atari;
|
__weak CSAtari2600 *atari;
|
||||||
void crt_did_end_frame(Outputs::CRT *crt, CRTFrame *frame) { [atari crtDidEndFrame:frame]; }
|
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;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)dealloc {
|
|
||||||
NSLog(@"");
|
|
||||||
}
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
Loading…
Reference in New Issue
Block a user