Skip to content

Commit

Permalink
Cleaning up code
Browse files Browse the repository at this point in the history
  • Loading branch information
vitor251093 committed Jun 24, 2024
1 parent 18407c0 commit d43a6c2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
5 changes: 0 additions & 5 deletions src/ARCodeFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ using namespace Platform;
// TODO: more user-friendly error reporting


ARCodeFile::ARCodeFile()
{
Error = true;
}

ARCodeFile::ARCodeFile(const std::string& filename)
{
Filename = filename;
Expand Down
7 changes: 3 additions & 4 deletions src/ARCodeFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,17 @@ typedef std::list<ARCodeCat> ARCodeCatList;
class ARCodeFile
{
public:
ARCodeFile();
ARCodeFile(const std::string& filename);
~ARCodeFile();

bool Error;

virtual bool Load();
virtual bool Save();
bool Load();
bool Save();

ARCodeCatList Categories;

protected:
private:
std::string Filename;
};

Expand Down
2 changes: 0 additions & 2 deletions src/frontend/qt_sdl/ROMManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
#include "FreeBIOS.h"
#include "main.h"

#include "CartValidator.h"

using std::make_unique;
using std::pair;
using std::string;
Expand Down
1 change: 0 additions & 1 deletion src/frontend/qt_sdl/Screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
#include "GPU.h"
#include "GPU3D_Soft.h"
#include "GPU3D_OpenGL.h"
#include "GPU3D_Compute.h"
#include "Platform.h"
#include "Config.h"

Expand Down

0 comments on commit d43a6c2

Please sign in to comment.