diff --git a/InstructionSets/Disassembler.hpp b/InstructionSets/Disassembler.hpp index 1b3fece00..f590b3000 100644 --- a/InstructionSets/Disassembler.hpp +++ b/InstructionSets/Disassembler.hpp @@ -48,7 +48,7 @@ template < pending_entry_points_.pop_front(); if(next_entry_point >= location) { - parser.parse(*this, memory - location, next_entry_point % max_address, length + location); + parser.parse(*this, memory - location, next_entry_point & max_address, length + location); } } } diff --git a/Machines/Apple/AppleIIgs/ADB.cpp b/Machines/Apple/AppleIIgs/ADB.cpp index b632898c6..180a79d04 100644 --- a/Machines/Apple/AppleIIgs/ADB.cpp +++ b/Machines/Apple/AppleIIgs/ADB.cpp @@ -10,6 +10,7 @@ #include #include +#include // TEST. #include "../../../InstructionSets/M50740/Parser.hpp"