From e985c72ce87ed0bef7e18c8b1ee7a6f272e00e74 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 19 Aug 2016 12:23:06 -0400 Subject: [PATCH] Removed a dead special case. --- Machines/Commodore/Vic-20/Vic20.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Machines/Commodore/Vic-20/Vic20.cpp b/Machines/Commodore/Vic-20/Vic20.cpp index 93edde52d..cbe58f3f4 100644 --- a/Machines/Commodore/Vic-20/Vic20.cpp +++ b/Machines/Commodore/Vic-20/Vic20.cpp @@ -307,15 +307,6 @@ int Machine::get_typer_frequency() bool Machine::typer_set_next_character(::Utility::Typer *typer, char character, int phase) { - // If there's a 'ROM' installed that can never be accessed, assume that this typing was scheduled because - // it should be in RAM. So copy it there. - if(_rom && _rom_address >= 0x1000 && _rom_address+_rom_length < 0x2000) - { - memcpy(&_screenMemory[_rom_address - 0x1000], _rom, _rom_length); - delete[] _rom; - _rom = nullptr; - } - if(!phase) clear_all_keys(); // The following table is arranged in ASCII order