Introduce game db + fallback to stem of filename + volume control

This commit is contained in:
CocoSimone
2022-09-18 16:12:50 +02:00
parent bef4705ffa
commit 708dde5b6c
20 changed files with 3295 additions and 73 deletions

View File

@@ -15,8 +15,13 @@ struct Window {
[[nodiscard]] bool gotClosed(SDL_Event event);
ImFont *uiFont, *codeFont;
u32 windowID;
float volumeL = 0.5, volumeR = 0.5;
void LoadROM(n64::Core& core, const std::string& path);
private:
bool lockVolume = true;
bool showSettings = false;
SDL_Window* window;
std::string windowTitle;
void InitSDL();
void InitImgui();
void Render(n64::Core& core);