From e90db35c8871658f88dda23a813fbf4a4336c2d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Le=20Bihan?= Date: Wed, 13 May 2020 13:08:31 +0200 Subject: [PATCH] fixing prototype of drawBgTile in PPU.hpp --- sources/PPU/PPU.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/PPU/PPU.hpp b/sources/PPU/PPU.hpp index 9cb04e3..c567aa2 100644 --- a/sources/PPU/PPU.hpp +++ b/sources/PPU/PPU.hpp @@ -11,6 +11,7 @@ #include "../Renderer/IRenderer.hpp" //#include "../Ram/ExtendedRam.hpp" #include "../Ram/Ram.hpp" +#include "../Models/Vector2.hpp" //#define max2BitTiles 4096 //#define max4BitTiles 2048 @@ -592,7 +593,7 @@ namespace ComSquare::PPU //! @brief Get the correct Vram address for a gien x and y uint16_t getGraphicVramAddress(int x, int y, int bg, int bpp); //! @brief Draw a tile on the screen at x y pos - void drawBgTile(uint16_t data, std::vector pos, int bg, int bpp); + void drawBgTile(uint16_t data, Vector2 pos, int bg, int bpp); }; } #endif //COMSQUARE_PPU_HPP