mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-21 22:55:11 +00:00
Cleaning up
This commit is contained in:
@@ -2,13 +2,11 @@
|
||||
// Created by cbihan on 1/30/20.
|
||||
//
|
||||
|
||||
#include "SNES.hpp"
|
||||
#include "SFRenderer.hpp"
|
||||
#include <SFML/Graphics.hpp>
|
||||
#include <SFML/Audio.hpp>
|
||||
#include <SFML/System.hpp>
|
||||
#include <SFML/Window.hpp>
|
||||
#include <SFML/Graphics/RenderWindow.hpp>
|
||||
#include "SNES.hpp"
|
||||
#include <iostream>
|
||||
|
||||
namespace ComSquare::Renderer
|
||||
@@ -29,7 +27,7 @@ namespace ComSquare::Renderer
|
||||
if (icon.loadFromFile("resources/Logo.png"))
|
||||
this->_window.setIcon(314, 314, icon.getPixelsPtr());
|
||||
this->_window.setFramerateLimit(maxFPS);
|
||||
this->setWindowName(snes.cartridge->header.gameName);
|
||||
this->setWindowName(snes.cartridge.header.gameName);
|
||||
|
||||
while (!this->shouldExit) {
|
||||
snes.update();
|
||||
|
||||
Reference in New Issue
Block a user