fixing prototype of drawBgTile in PPU.hpp

This commit is contained in:
Clément Le Bihan
2020-05-13 13:08:31 +02:00
parent ffe1b8fc1b
commit e90db35c88
+2 -1
View File
@@ -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<int> pos, int bg, int bpp);
void drawBgTile(uint16_t data, Vector2<int> pos, int bg, int bpp);
};
}
#endif //COMSQUARE_PPU_HPP