diff --git a/Components/9918/Implementation/YamahaCommands.hpp b/Components/9918/Implementation/YamahaCommands.hpp index f3e7349af..6e27d67bf 100644 --- a/Components/9918/Implementation/YamahaCommands.hpp +++ b/Components/9918/Implementation/YamahaCommands.hpp @@ -338,9 +338,9 @@ enum class MoveType { template struct Move: public Rectangle { static constexpr bool is_logical = type == MoveType::Logical; static constexpr bool is_y_only = type == MoveType::YOnly; - using Rectangle = Rectangle; + using RectangleBase = Rectangle; - Move(CommandContext &context) : Rectangle(context) { + Move(CommandContext &context) : RectangleBase(context) { Command::access = is_logical ? Command::AccessType::CopyPoint : Command::AccessType::CopyByte; Command::cycles = is_y_only ? 0 : 64; Command::y_only = is_y_only; @@ -348,7 +348,7 @@ template struct Move: public Rectangle