2016-08-12 19:49:17 +00:00
|
|
|
#import "Document.h"
|
|
|
|
#import "HexFiend/HexFiend.h"
|
|
|
|
#import "HexFiend/HFByteArray.h"
|
|
|
|
|
2016-08-19 11:54:54 +00:00
|
|
|
typedef enum {
|
|
|
|
GBMemoryEntireSpace,
|
|
|
|
GBMemoryROM,
|
|
|
|
GBMemoryVRAM,
|
|
|
|
GBMemoryExternalRAM,
|
|
|
|
GBMemoryRAM
|
|
|
|
} GB_memory_mode_t;
|
|
|
|
|
2016-08-12 19:49:17 +00:00
|
|
|
@interface GBMemoryByteArray : HFByteArray
|
|
|
|
- (instancetype) initWithDocument:(Document *)document;
|
2021-01-13 18:59:28 +00:00
|
|
|
@property (nonatomic) uint16_t selectedBank;
|
|
|
|
@property (nonatomic) GB_memory_mode_t mode;
|
2016-08-12 19:49:17 +00:00
|
|
|
@end
|