mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
21 lines
391 B
C++
21 lines
391 B
C++
// Qt5.2+ frontend implementation for rpcs3. Known to work on Windows, Linux, Mac
|
|
// by Sacha Refshauge
|
|
|
|
#include <QApplication>
|
|
#include <QDebug>
|
|
#include <QDesktopWidget>
|
|
#include "rpcs3_app.h"
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
#ifdef _WIN32
|
|
SetProcessDPIAware();
|
|
#else
|
|
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
|
|
#endif
|
|
|
|
rpcs3_app app(argc, argv);
|
|
app.Init();
|
|
return app.exec();
|
|
}
|