mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-07 01:26:20 +00:00
sdl window: Added game title (serial, title and app_ver)
This commit is contained in:
parent
f29293c9fb
commit
f35518d527
3 changed files with 17 additions and 9 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include "common/types.h"
|
||||
|
||||
struct SDL_Window;
|
||||
|
@ -40,7 +41,8 @@ struct WindowSystemInfo {
|
|||
|
||||
class WindowSDL {
|
||||
public:
|
||||
explicit WindowSDL(s32 width, s32 height, Input::GameController* controller);
|
||||
explicit WindowSDL(s32 width, s32 height, Input::GameController* controller,
|
||||
std::string game_title);
|
||||
~WindowSDL();
|
||||
|
||||
s32 getWidth() const {
|
||||
|
@ -68,6 +70,7 @@ private:
|
|||
private:
|
||||
s32 width;
|
||||
s32 height;
|
||||
std::string game_title;
|
||||
Input::GameController* controller;
|
||||
WindowSystemInfo window_info{};
|
||||
SDL_Window* window{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue