mirror of https://github.com/LIJI32/SameBoy.git
Dead code
This commit is contained in:
parent
c3d83eae22
commit
1ab690ba18
|
@ -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;
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue