Dead code

This commit is contained in:
Lior Halphon 2024-11-23 15:47:06 +02:00
parent c3d83eae22
commit 1ab690ba18
2 changed files with 0 additions and 14 deletions

View File

@ -83,8 +83,6 @@ enum model {
+ (NSImage *) imageFromData:(NSData *)data width:(NSUInteger) width height:(NSUInteger) height scale:(double) scale;
- (uint8_t) readMemory:(uint16_t) addr;
- (void) writeMemory:(uint16_t) addr value:(uint8_t)value;
- (void) performAtomicBlock: (void (^)())block;
- (void) connectLinkCable:(NSMenuItem *)sender;
- (int)loadStateFile:(const char *)path noErrorOnNotFound:(bool)noErrorOnFileNotFound;

View File

@ -1784,18 +1784,6 @@ enum GBWindowResizeAction
[self log:log withAttributes:0];
}
- (uint8_t) readMemory:(uint16_t)addr
{
while (!GB_is_inited(&_gb));
return GB_safe_read_memory(&_gb, addr);
}
- (void) writeMemory:(uint16_t)addr value:(uint8_t)value
{
while (!GB_is_inited(&_gb));
GB_write_memory(&_gb, addr, value);
}
- (void)performAtomicBlock: (void (^)())block
{
while (!GB_is_inited(&_gb));