Solving some tests

This commit is contained in:
AnonymusRaccoon
2020-02-06 18:30:30 +01:00
parent dc204600df
commit 6cc5cd5c3a
3 changed files with 24 additions and 19 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ namespace ComSquare::Memory
//! @brief Memory to shadow from.
std::shared_ptr<IRectangleMemory> _initial;
//! @brief The number of banks to add to the memory before accessing it from the initial data.
uint8_t _bankOffset;
uint8_t _bankOffset = 0;
public:
//! @brief Create a shadow for the memory given as parameter.
explicit RectangleShadow(std::shared_ptr<IRectangleMemory> initial, uint8_t startBank, uint8_t endBank, uint16_t startPage, uint16_t endPage);