File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ auto Cartridge::connect() -> void {
47
47
48
48
rtc.load ();
49
49
50
- if (rom.size <= 0x03fe'ffff ) {
50
+ if (rom.size <= 0x03ff'0000 ) {
51
51
isviewer.ram .allocate (64_KiB);
52
52
isviewer.tracer = node->append <Node::Debugger::Tracer::Notification>(" ISViewer" , " Cartridge" );
53
53
isviewer.tracer ->setAutoLineBreak (false );
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ inline auto PI::busRead(u32 address) -> u32 {
44
44
if (cartridge.flash ) return cartridge.flash .read <Size>(address);
45
45
return unmapped;
46
46
}
47
- if (cartridge.isviewer .enabled () && address >= 0x13f0 '0000 && address <= 0x13ff'ffff ) {
47
+ if (cartridge.isviewer .enabled () && address >= 0x13ff '0000 && address <= 0x13ff'ffff ) {
48
48
return cartridge.isviewer .read <Size>(address);
49
49
}
50
50
if (address <= 0x1000'0000 + cartridge.rom .size - 1 ) {
@@ -94,7 +94,7 @@ inline auto PI::busWrite(u32 address, u32 data) -> void {
94
94
if (cartridge.flash ) return cartridge.flash .write <Size>(address, data);
95
95
return ;
96
96
}
97
- if (address >= 0x13f0 '0000 && address <= 0x13ff'ffff ) {
97
+ if (address >= 0x13ff '0000 && address <= 0x13ff'ffff ) {
98
98
if (cartridge.isviewer .enabled ()) {
99
99
writeForceFinish (); // Debugging channel for homebrew, be gentle
100
100
return cartridge.isviewer .write <Size>(address, data);
You can’t perform that action at this time.
0 commit comments