mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-03 10:26:36 +00:00
fixing compilation error and some warnings
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <array>
|
||||
#include <vector>
|
||||
#include "../Models/Vector2.hpp"
|
||||
#include "../Ram/Ram.hpp"
|
||||
|
||||
namespace ComSquare::PPU
|
||||
{
|
||||
@@ -24,6 +25,8 @@ namespace ComSquare::PPU
|
||||
uint16_t _graphicVramAddress;
|
||||
std::array<std::array<uint32_t, 1024>, 1024> _buffer;
|
||||
|
||||
std::shared_ptr<Ram::Ram> vram;
|
||||
std::shared_ptr<Ram::Ram> cgram;
|
||||
//! @brief Draw a tile on the screen at x y pos
|
||||
void drawBgTile(uint16_t data, Vector2<int> pos);
|
||||
//! @brief Get a palette from the number of the palette (0 - 7)
|
||||
|
||||
Reference in New Issue
Block a user