Optimizations (are they?)

This commit is contained in:
CocoSimone
2023-02-17 17:16:56 +01:00
parent 2bc2227b84
commit 55f792d995
18 changed files with 430 additions and 449 deletions

View File

@@ -7,7 +7,6 @@
#include <backend/Core.hpp>
#include <vector>
#include <frontend/imgui/Settings.hpp>
#include <frontend/imgui/GameList.hpp>
struct Window {
explicit Window(n64::Core& core);
@@ -17,12 +16,9 @@ struct Window {
[[nodiscard]] bool gotClosed(SDL_Event event);
ImFont *uiFont{};
Settings settings;
GameList gameList;
void LoadROM(n64::Core& core, const std::string& path);
private:
bool renderGameList = true;
bool showSettings = false;
float mainMenuBarHeight = 0;
SDL_Window* window{};
std::string windowTitle{"Gadolinium"};
std::string shadowWindowTitle{windowTitle};