fixing compilation on windows and removing useless stufff

This commit is contained in:
Clément Le Bihan
2020-05-14 18:56:40 +02:00
parent cb488cf211
commit 7e33582e9c
3 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
#include "Background.hpp"
namespace PPU
namespace ComSquare::PPU
{
/*void PPU::renderBackground(int bgNumber, Vector2<int> characterSize, int bpp, bool priority)
{
+11 -8
View File
@@ -9,14 +9,17 @@
#include <array>
#include "../Models/Vector2.hpp"
class Background {
int width;
int height;
int bpp;
bool directColor;
bool highRes;
std::array<std::array<uint16_t, 1024>, 1024> buffer;
};
namespace ComSquare::PPU
{
class Background {
int width;
int height;
int bpp;
bool directColor;
bool highRes;
std::array<std::array<uint16_t, 1024>, 1024> buffer;
};
}
#endif //COMSQUARE_BACKGROUND_HPP
+1
View File
@@ -10,6 +10,7 @@
#include "../Exceptions/InvalidAddress.hpp"
#include "../Ram/Ram.hpp"
#include "../Models/Vector2.hpp"
#include <random>
namespace ComSquare::PPU
{