Commit Graph

770 Commits

Author SHA1 Message Date
Unknown W. Brackets
eee529c6c9 UI: Cleanup Windows header in MainScreen.cpp.
Better to have this come from System, probably.  It's mainly for Windows
anyway, to alert people their save data isn't permanent.
2021-01-09 14:45:49 -08:00
Henrik Rydgård
1c753e4a22 Use hacky methods to retrieve SD card directory if available.
This will disappear in future Android versions but can be useful for
older devices.

Fixes (or at least tries to) #10199, at least for some devices.

Might help #13827 ?

Tested on Pocophone F1.
2021-01-07 00:55:35 +01:00
Henrik Rydgård
2c4a42a695 UWP: Make the home button say "Home" instead of "Browse...". 2020-12-20 01:47:49 +01:00
Henrik Rydgård
32c9728c0c Some cleanups in GL feature and shader language detection.
Gets rid of many wrong or bad checks for IsCoreContext.
2020-12-14 19:46:11 +01:00
iota97
6cf261a0f7 Fix off by one 2020-11-06 10:53:57 +01:00
shenweip
a0fe0e38c1 SwicthUMD:Only update Switch UMD item of Windows menu instead of entire UI. 2020-10-22 17:45:29 +08:00
iota97
4c0908ef44 Make Qt apply fullscreen change from UI as well 2020-10-10 16:26:07 +02:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
342ed97291 Move input utilities from native to Common/Input. 2020-10-01 09:42:32 +02:00
Henrik Rydgård
15382d5f94 Move threading utils from native to Common 2020-10-01 09:27:25 +02:00
shenweip
fbea8f438d Update symbol list of disassembly window when loadexec. 2020-09-12 19:45:25 +08:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård
80e0f85332 Getting really close to getting rid of base/logging.h now.
Qt buildfix
2020-08-15 19:09:01 +02:00
Henrik Rydgård
b43698a13d Remove most instances of base/logging.h from Common, Core, GPU, more 2020-08-15 19:08:44 +02:00
Henrik Rydgård
c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Henrik Rydgård
6560192d8e Support full VSync control in SDL OpenGL.
(Not yet Qt).

Forgot about iOS

SDL headless buildfix

Additional iOS buildfix
2020-07-19 12:07:16 +02:00
TotalCaesar659
5f073d24ba
Fix radio button in "Window size" menu 2020-07-03 21:03:14 +03:00
Jan Beich
cad7603ccd Qt: unbreak build without SDL
Qt/QtMain.cpp:51:1: error: unknown type name 'SDL_AudioSpec'
SDL_AudioSpec g_retFmt;
^
1 error generated.
2020-06-27 18:48:16 +00:00
Henrik Rydgård
3f74ffbdf5 Reduce the SDL audio buffer size, 2048 is a bit excessive. Port the changes to the Qt SDL code. 2020-05-17 11:50:34 +02:00
Henrik Rydgård
c4f1143adc Qt fix 2020-05-16 19:04:41 +02:00
Florin9doi
bc948b9b94 iOS/macOS : set bundle version 2020-05-01 21:36:55 +03:00
TotalCaesar659
bbc6337263 Add "Switch UMD" menu point to Linux version 2020-04-18 21:08:20 +03:00
TotalCaesar659
00684a4bb9 Improve code readability 2020-04-18 02:46:11 +03:00
TotalCaesar659
cd4dd73a8a Update more Linux version menu points to correspond to Windows ones 2020-04-16 19:49:18 +03:00
TotalCaesar659
9ec3ea8550 Remove leftovers 2020-04-16 17:17:18 +03:00
TotalCaesar659
40e8c9163a Add "Record" menu group to Linux version 2020-04-16 17:14:56 +03:00
TotalCaesar659
13f5d3f73f Add "Enable chat" menu point to Linux version 2020-04-15 18:16:14 +03:00
TotalCaesar659
bce7177520 Fixes (stage 3) 2020-04-14 04:24:30 +03:00
TotalCaesar659
90447a7fba Fixes (stage 2) 2020-04-13 14:40:47 +03:00
TotalCaesar659
7545d4456e Fixes (stage 1) 2020-04-13 01:48:19 +03:00
TotalCaesar659
b0dabc6a40 Update "File" menu to match Windows version 2020-04-12 20:12:42 +03:00
TotalCaesar659
c3dbd2b262 Update "Emulation" menu to match Windows version 2020-04-12 19:26:44 +03:00
TotalCaesar659
2bb7942b25 Update "Debug" menu to match Windows version 2020-04-12 18:49:10 +03:00
TotalCaesar659
fe5fe82676 Update "Options" menu to match Windows version 2020-04-12 18:17:36 +03:00
TotalCaesar659
8d8bc98e97 Update "Help" menu to match Windows version 2020-04-12 17:03:47 +03:00
Unknown W. Brackets
fd0bf21215 Windows: Prevent applying -1 as inset space. 2020-04-05 17:06:36 -07:00
Unknown W. Brackets
84981631ea Windows: Ensure we resize after hw transform swap. 2020-04-05 15:23:46 -07:00
iota97
ee0ebfe071 Mouse 4 as back in menu navigation 2020-04-02 18:26:31 +02:00
Unknown W. Brackets
998f95786a Android: Enable native keyboard for OSK.
And make Windows/Qt follow the same async behavior for input boxes.
2020-03-09 18:59:53 -07:00
Unknown W. Brackets
efceb031ce UI: Make System_InputBox API asynchronous.
Doing this as a precursor to cleaning up the Android madness.
2020-03-08 18:59:17 -07:00
Unknown W. Brackets
051a84e9bd GPU: Restart when changing inflight frames setting.
We need to keep the push and pull in step, so changing at runtime is
messy.
2020-03-02 19:21:15 -08:00
Florin9doi
3c359cfd29 macOS permissions 2020-02-10 08:47:59 +02:00
Florin9doi
58b04ef77b QT Api for Camera (Linux/macOS)
Allow the use of different resolutions (win/android/iOS)
2020-02-10 08:47:55 +02:00
Unknown W. Brackets
5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
李通洲
ace88bf473
Modify Info.plist automatically 2020-02-04 11:55:54 +08:00
李通洲
55bb58e13e
NativeApp: add System_GetPropertyFloat all the places 2020-02-04 09:20:34 +08:00
李通洲
0a2aa2c3af
Qt/macOS: enable HiDPI ( retina display ) support 2020-02-04 09:20:34 +08:00
Florin9doi
c824fabd53 Update macOS system name 2020-01-25 16:54:45 +02:00
iota97
19e03d7615 Add headbar icon to Qt 2020-01-05 12:21:19 +01:00
李通洲
039fba0344
Qt: don't return dangling pointer 2020-01-05 11:01:40 +08:00
Henrik Rydgård
56e2e0845e
Merge pull request #12327 from unknownbrackets/audio-device
Use SDL2 audio device API, switch on new device
2019-10-08 07:38:01 +02:00
Unknown W. Brackets
c30bc4ee7d SDL: Add UI to reset audio device at runtime. 2019-10-07 20:16:19 -07:00
Unknown W. Brackets
8751316051 SDL: Use a configurable output device. 2019-10-07 20:15:25 -07:00
Unknown W. Brackets
141258c366 SDL: Use SDL2 audio API for output. 2019-10-07 20:15:25 -07:00
TotalCaesar659
b014ecc335
Move window to center 2019-10-08 04:53:06 +03:00
KentuckyCompass
5955861865 configure QT to get a higher version for opengl 2019-08-17 21:15:29 -07:00
Cameron Cawley
ba7ea39a1c Move NKCodeFrom*.h into the relevant platform folders 2019-08-06 16:12:19 +01:00
Silent
bb2ba8086b
Improved Show in Folder:
- Not spawning cmd.exe anymore, rather using the same way Chromium does to spawn a shell window with a file focused
- Hid a nonfunctional "Show In Folder" button for UWP builds
2019-05-23 19:59:08 +02:00
Cameron Cawley
c648c790ac Qt: Implement clipboard support 2019-05-15 22:31:05 +01:00
Henrik Rydgård
d91f706206 Log why the config is being saved (we seem to do it a bit much at times) 2019-02-23 11:55:44 +01:00
Henrik Rydgård
24510b8187 SDL/Qt: At least quit properly when switching backends 2019-02-23 11:55:34 +01:00
Unknown W. Brackets
bba008f162 Qt: Cleanup indentation.
Also some NULL -> nullptr.  No actual code changes.
2019-02-18 05:00:28 -08:00
Unknown W. Brackets
8b40f1a814 Qt: Correct Browse... handling for multithreaded. 2019-02-17 07:48:32 -08:00
Unknown W. Brackets
67884d60b3 Qt: Re-enable Load button to browse for file. 2019-02-17 07:30:40 -08:00
Henrik Rydgard
7e9b889d01 Qt: Apply suggested keyboard shortcut fix. Fixes #11735. 2019-02-06 13:01:48 +01:00
Henrik Rydgard
e84c466532 Qt: Remove keyboard shortcut for buffered rendering. Mitigates #11725 although not a proper fix. 2019-02-06 12:23:59 +01:00
Henrik Rydgård
5362e675c4 Address feedback 2019-01-07 00:28:57 +01:00
Henrik Rydgård
5a1fa60087 Try to support Qt keyboard input directly. Partially fixes #11653 (nickname crash on mac) 2019-01-07 00:07:25 +01:00
Unknown W. Brackets
adeca2c3ba GLES: Move some vendor bug checks to Draw. 2018-12-23 20:27:22 -08:00
Henrik Rydgård
429a1fce01 Assert even in release mode if preset shaders fail to compile. This is just to help track down a Play crash. 2018-11-21 18:14:26 +01:00
root
c19d3fe06a MRFIXIT2001: This patch adds a second frameskip setting, one for setting the # of frames to skip, one for setting the % of frames to skip based off fps 2018-11-03 01:33:41 +00:00
Unknown W. Brackets
a004196d43 Qt: Buildfix with removed debugger methods. 2018-09-01 14:29:23 -07:00
Unknown W. Brackets
b4496f1975 Core: Move config enums to separate file.
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Henrik Rydgård
a9eb786811
Merge pull request #11181 from unknownbrackets/savestate
SaveState: Show warning on old / long use state
2018-06-16 17:45:58 +02:00
Unknown W. Brackets
a5efb85ab7 SaveState: Show warning on old / long use state.
Using save states instead of in game saves causes bugs in games, and
preserves bugs from bad settings and old PPSSPP versions.

This tells users when they might be affected.
2018-06-14 18:29:55 -07:00
Unknown W. Brackets
b3c21517b0 Qt: Allow for larger screen sizes. 2018-06-09 16:36:41 -07:00
Unknown W. Brackets
a448ef536b Qt: Toggle fullscreen like on all other platforms. 2018-06-09 16:36:41 -07:00
Unknown W. Brackets
82b6cda5ef Qt: Return correct refresh rate.
Although, should probably update it if the screen changes, meh.
2018-06-09 16:36:41 -07:00
Unknown W. Brackets
a676721683 Qt: Remove bundled assets reader.
It was no longer being used or linked, so it just meant the assets were missing.
With this removed, the assets (lang inis, shaders, etc.) are available again.

Fixes #9831 - likely broken since #9061, which stopped using the qrc.
2018-06-09 10:47:53 -07:00
Unknown W. Brackets
ec398cbb1f Qt Debugger: Remove texture viewer.
No longer worked anyway.  Being replaced by WebSocket debugger.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
cf33e852ef Qt Debugger: Remove memory viewer.
Being replaced by WebSocket based debugger.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
28cabd578a Qt Debugger: Remove display list debugger.
Being replaced with WebSocket based debugger.  Was disabled and not
working anyway, and hardcoded some GL so a barrier to Vulkan.
2018-06-06 05:58:10 -07:00
Unknown W. Brackets
c3213ade25 Qt Debugger: Remove disassembly.
Being replaced by WebSocket based debugger which is better maintained.
2018-06-06 05:58:09 -07:00
Unknown W. Brackets
18f0168b63 Qt Debugger: Remove VFPU dialog.
Being replaced by new WeBsocket based debugger with better maintenance.
2018-06-06 05:58:09 -07:00
vnctdj
9db485b98d Allow showing version only for Qt 2018-05-09 21:23:04 +02:00
Henrik Rydgård
80df926265 Qt: Set window title asynchronously. Should fix #10674 2018-03-03 08:56:56 +01:00
Henrik Rydgård
448e8fb49a Split out QtHost.h from HostTypes.h 2018-03-03 08:46:12 +01:00
Henrik Rydgård
ebb819b5cc Qt: Don't call SDL_PumpEvents from the emu thread. Fixes #10660 2018-03-01 08:46:22 +01:00
Henrik Rydgård
5f8118b82b Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases. 2018-02-25 10:27:59 +01:00
Unknown W. Brackets
4b8d8c875d Qt: Remove old texture debug API.
No one's testing it and it's not the best way.  We have a better
implemented API and should use it instead.
2018-02-19 09:09:35 -08:00
Unknown W. Brackets
cdf378d20c GLES: Prevent race condition on shutdown.
emuThreadState might become STOPPED before the last frame has been run,
which can cause WaitUntilQueueIdle to hang.

It's simpler just to wait until StopThread() is called, since it now is.
This will line up properly with run_.
2018-02-11 11:40:11 -08:00
Unknown W. Brackets
a85a88e112 SDL: Apply shutdown race condition fix. 2018-02-10 16:55:50 -08:00
Henrik Rydgård
20eb566665 Minor Qt cleanup, force OpenGL since we don't yet support Vulkan in Qt 2018-02-08 11:19:48 +01:00
Henrik Rydgård
87cc586c08 Qt: Fix emuthread management to exit cleanly without hanging 2018-02-07 16:43:49 +01:00
Henrik Rydgård
903abe8779 Qt: Prevent some race conditions on shutdown by deleting emugl. 2018-02-04 13:54:10 +01:00
Henrik Rydgård
583c20991f Qt: Some cleanup and fixes. Still not working correctly with gl-render-manager. 2018-02-04 13:42:04 +01:00
Henrik Rydgård
98cfaef6ec Rough fix for threaded GL for Qt. 2018-01-31 12:05:18 +01:00
Henrik Rydgård
51f467a7b3 Kill off the GL state cache 2018-01-27 15:10:17 +01:00
Unknown W. Brackets
56835fc017 Qt: Fix OpenGL init.
Needs to check extensions before creating thin3d, as others do.
2017-12-26 16:04:19 -08:00
Unknown W. Brackets
766b40aad8 GPU: Reset GPUBackend on graphics init.
This way, when using a port that doesn't support Vulkan, it doesn't just
silently use upside down GL, etc.
2017-12-26 16:02:55 -08:00
Unknown W. Brackets
ebce6da223 UI: Remove auto-download options.
See previous commit removing actual functionality.
2017-12-25 11:20:26 -08:00
Henrik Rydgård
740d0504ad Move QtMain.cpp and PCMain.cpp to more sensible locations. Native isn't standalone anymore... 2017-12-19 18:04:26 +01:00
Henrik Rydgård
7d0fc9ce65 Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc. 2017-12-07 15:05:59 +01:00
Henrik Rydgård
c12f17134b Links from the UI: Change from http:// to https:// wherever possible. 2017-11-14 12:53:36 +01:00
Unknown W. Brackets
661b2a3aa8 UI: Make GPU events more consistent. 2017-04-27 20:03:50 -07:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Ettore Atalan
e5462ad003 Update ppsspp_de.ts
Updated and almost completed German translation.
2017-03-11 23:52:06 +01:00
Henrik Rydgard
55aa879216 A lot of buildfixes 2017-02-06 16:16:43 +01:00
Henrik Rydgard
f1c96c056d Move all the GL/D3D9 FBO code into thin3d. 2017-02-06 11:40:16 +01:00
Henrik Rydgård
837ce9085c Merge pull request #9281 from zminhquanz/UIWindows
Add Github choose in help
2017-02-05 16:22:50 +01:00
zminhquanz
99ce8d343b Typo fix 2017-02-05 20:19:30 +07:00
zminhquanz
beaa03c0ad Add Github choose in help
Make more convenient if you contact github quickly
2017-02-05 20:16:22 +07:00
Henrik Rydgard
1a149ba02d Final tweak to the cleaned up FBO api before moving it to thin3d. Buildfixes. 2017-02-04 22:25:34 +01:00
Henrik Rydgard
bd4436c6eb Centralize EstimatePerVertexCost and Execute_BlockTransferStart 2017-01-23 17:22:17 +01:00
latot
cb1e01f380 clean double end statements 2016-12-03 12:25:05 -03:00
latot
7047ad2271 fix sscanf types 2016-12-02 22:46:52 -03:00
Florent Castelli
6ab5243101 qmake: Remove!
25% of the build systems have been removed.
2016-10-17 23:45:22 +02:00
Florent Castelli
cb4d0732df qt: Remove qrc files 2016-10-17 23:45:21 +02:00
Florent Castelli
a9da49a653 qt: Remove translations as a workaround 2016-10-17 23:45:21 +02:00
Florent Castelli
f02e2b59b0 qt: Build Qt frontend with CMake. Requires Qt5. 2016-10-17 23:45:21 +02:00
Henrik Rydgård
6cee9429cc Qt lang buildfix 2016-10-14 23:18:34 +02:00
Henrik Rydgard
486963487b Move unix-icons out of assets 2016-10-14 22:38:33 +02:00
Florent Castelli
94d57f4573 maemo: Remove! 2016-10-12 13:13:09 +02:00
Florent Castelli
70593d1004 android: Change preprocessor define to standard __ANDROID__
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Florent Castelli
4145b60a0e symbian: Remove! 2016-10-11 18:49:08 +02:00
Florent Castelli
373db56a16 blackberry: Remove! 2016-10-11 17:40:32 +02:00
Henrik Rydgard
6d0d36bf91 Update version to 1.3 2016-09-17 15:22:31 +02:00
Unknown W. Brackets
30e99206c9 UI: Add a generic word wrapper class. 2016-07-04 16:03:22 -07:00
Unknown W. Brackets
27d135d48a Decouple save states from UI.
It's the UI's job to decide how and what things are displayed, not Core's.
This also reduces reasons for linkage issues.
2016-05-27 21:25:05 -07:00
Unknown W. Brackets
7258f8cae3 Qt: Default to 2x PSP window size. 2016-05-21 10:43:24 -07:00
Unknown W. Brackets
ba908b7b1e Qt: Use new window size config settings.
It's no longer tied directly to render resolution.
2016-05-21 09:58:58 -07:00
Unknown W. Brackets
b7224e269c Qt: Remove CPU core option from menu.
We've removed on Windows too, and this fixes a build error.
2016-05-13 23:56:16 -07:00
Unknown W. Brackets
5dbac165f4 Qt, gcc, and Symbian buildfixes. 2016-05-08 14:10:07 -07:00
Unknown W. Brackets
9280bb3eda Merge pull request #8715 from unknownbrackets/tex-replace
Initial texture replacement support
2016-05-01 09:58:16 -07:00
Unknown W. Brackets
c30287c4e5 Another buildfix for Qt, linking issue.
This is a bit of a hack, but it resolves the linking issue that only
seems to happen in the Qt build system.
2016-05-01 09:17:55 -07:00
Henrik Rydgard
ffe4c266ef Add CodeBlockCommon base class to remove further arch-specificity in JitBlockCache
Remove unused ArmThunk.
2016-05-01 11:40:00 +02:00
Unknown W. Brackets
9039dd606f Move TextureReplacer to Core.
Probably makes more sense here after all.
2016-05-01 00:30:40 -07:00
Unknown W. Brackets
bf39e61458 Setup initial structure for texture replacements. 2016-04-30 13:44:31 -07:00
thesource
1cd89a019c Build fix for linux using Qt build tools. Corrects gcc version detection. Before patch some lines in g++ --vesrion output could be incorrectly recognized as version 4.6 and therefore keyword "override" would be declared as macro despite being known to compiler. This was leading to compile error. Should fix #8695. 2016-04-21 12:31:56 +03:00
Henrik Rydgard
7cb6192005 Rename the TransformPipeline files to DrawEngine, and GLES_GPU to GPU_GLES 2016-04-10 10:31:42 +02:00
Henrik Rydgard
96273c6616 Turn off Vulkan in CMake-based and Qt-based builds, for now 2016-03-20 19:30:39 +01:00
Henrik Rydgard
8c9f3b9509 Update version numbers to 1.2.2, more README fixes 2016-03-19 19:29:12 +01:00
Henrik Rydgard
52eca3d211 Update version to 1.2.1 2016-02-17 18:20:49 +01:00
Henrik Rydgard
09e558c74b Update version numbers to 1.2.0 2016-02-14 12:36:28 +01:00
zhyk
2151327999 Fix Qt building on MacOS X 10.10 and later. 2016-02-10 23:36:41 +08:00