mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-23 16:19:44 +00:00
dual head support (SDL_VIDEO_FULLSCREEN_HEAD) for Qt and SDL2
This commit is contained in:
parent
9bcffc5b4d
commit
eb0ca946e9
@ -15,6 +15,8 @@
|
||||
#include "GPU/GPUInterface.h"
|
||||
#include "UI/GamepadEmu.h"
|
||||
|
||||
int getDisplayNumber(void);
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
currentLanguage("en"),
|
||||
@ -25,6 +27,11 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
memoryTexWindow(0),
|
||||
displaylistWindow(0)
|
||||
{
|
||||
|
||||
QDesktopWidget *desktop = QApplication::desktop();
|
||||
QRect rect = desktop->screenGeometry(getDisplayNumber());
|
||||
move(rect.topLeft());
|
||||
|
||||
SetGameTitle("");
|
||||
emugl = new MainUI(this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user