mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-28 08:33:34 +00:00
fixing compilation on windows and removing useless stufff
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "Background.hpp"
|
||||
|
||||
namespace PPU
|
||||
namespace ComSquare::PPU
|
||||
{
|
||||
/*void PPU::renderBackground(int bgNumber, Vector2<int> characterSize, int bpp, bool priority)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "../Exceptions/InvalidAddress.hpp"
|
||||
#include "../Ram/Ram.hpp"
|
||||
#include "../Models/Vector2.hpp"
|
||||
#include <random>
|
||||
|
||||
namespace ComSquare::PPU
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user