From 2edae5f35cd540cce774fcbca3aa076b58c4764f Mon Sep 17 00:00:00 2001 From: Luke Usher Date: Mon, 11 Dec 2023 17:29:31 +0000 Subject: [PATCH] cv: tab->space --- ares/cv/cartridge/board/coleco.cpp | 2 +- ares/cv/cartridge/board/megacart.cpp | 6 +++--- ares/cv/cartridge/board/xin1.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ares/cv/cartridge/board/coleco.cpp b/ares/cv/cartridge/board/coleco.cpp index 08f57fc37f..6601b83a5a 100644 --- a/ares/cv/cartridge/board/coleco.cpp +++ b/ares/cv/cartridge/board/coleco.cpp @@ -15,7 +15,7 @@ struct coleco : Interface { } auto write(n16 address, n8 data) -> void override { - return; + return; } auto power() -> void override {} diff --git a/ares/cv/cartridge/board/megacart.cpp b/ares/cv/cartridge/board/megacart.cpp index cd2b9aa10a..724b9e8b27 100644 --- a/ares/cv/cartridge/board/megacart.cpp +++ b/ares/cv/cartridge/board/megacart.cpp @@ -12,13 +12,13 @@ struct megacart : Interface { auto unload() -> void override {} auto read(n16 address) -> n8 override { - if (address >= 0x7fc0) return bank = address & (bankCount - 1); - if (address >= 0x4000) return rom.read((bank << 14) + (address - 0x4000)); + if(address >= 0x7fc0) return bank = address & (bankCount - 1); + if(address >= 0x4000) return rom.read((bank << 14) + (address - 0x4000)); return rom.read((bankCount << 14) + (address - 0x4000)); } auto write(n16 address, n8 data) -> void override { - return; + return; } auto power() -> void override { diff --git a/ares/cv/cartridge/board/xin1.cpp b/ares/cv/cartridge/board/xin1.cpp index 1278800350..52cb4580d2 100644 --- a/ares/cv/cartridge/board/xin1.cpp +++ b/ares/cv/cartridge/board/xin1.cpp @@ -12,7 +12,7 @@ struct xin1 : Interface { auto unload() -> void override {} auto read(n16 address) -> n8 override { - if(address >= 0x7fc0) return bank = (address - 0x7fc0) % bankCount; + if(address >= 0x7fc0) return bank = (address - 0x7fc0) % bankCount; return rom.read(address + (bank * 0x8000)); }