Merge pull request #279 from renatoliveira/cartridge-patch
Cartridge patch
This commit is contained in:
commit
68b8d4bb1e
@ -1533,7 +1533,7 @@ static bool mbc(GB_gameboy_t *gb, char *arguments, char *modifiers, const debugg
|
|||||||
const GB_cartridge_t *cartridge = gb->cartridge_type;
|
const GB_cartridge_t *cartridge = gb->cartridge_type;
|
||||||
|
|
||||||
if (cartridge->has_ram) {
|
if (cartridge->has_ram) {
|
||||||
GB_log(gb, "Cartrdige includes%s RAM: $%x bytes\n", cartridge->has_battery? " battery-backed": "", gb->mbc_ram_size);
|
GB_log(gb, "Cartridge includes%s RAM: $%x bytes\n", cartridge->has_battery? " battery-backed": "", gb->mbc_ram_size);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
GB_log(gb, "No cartridge RAM\n");
|
GB_log(gb, "No cartridge RAM\n");
|
||||||
|
@ -61,9 +61,9 @@ static OSStatus render(CGContextRef cgContext, CFURLRef url, bool showBorder)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (showBorder) {
|
if (showBorder) {
|
||||||
/* Use the CGB flag to determine the cartrdige "look":
|
/* Use the CGB flag to determine the cartridge "look":
|
||||||
- DMG cartridges are grey
|
- DMG cartridges are grey
|
||||||
- CGB cartrdiges are transparent
|
- CGB cartridges are transparent
|
||||||
- CGB cartridges that support DMG systems are black
|
- CGB cartridges that support DMG systems are black
|
||||||
*/
|
*/
|
||||||
NSImage *effectiveTemplate = nil;
|
NSImage *effectiveTemplate = nil;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user