SameBoy/Cocoa/GBMemoryByteArray.h

18 lines
392 B
Objective-C

#import "Document.h"
#import "HexFiend/HexFiend.h"
#import "HexFiend/HFByteArray.h"
typedef enum {
GBMemoryEntireSpace,
GBMemoryROM,
GBMemoryVRAM,
GBMemoryExternalRAM,
GBMemoryRAM
} GB_memory_mode_t;
@interface GBMemoryByteArray : HFByteArray
- (instancetype) initWithDocument:(Document *)document;
@property uint16_t selectedBank;
@property GB_memory_mode_t mode;
@end