mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-01 02:22:06 +02:00
Dead code
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user