Commit Graph

2861 Commits

Author SHA1 Message Date
Henrik Rydgård
349e64fe31 Improve the touchscreen test screen with some numbers.
Getting closer to finding out what's wrong on the MOQI I7S when
using the system fullscreen button...
2019-10-03 18:31:20 +02:00
Henrik Rydgård
0b9353b1dc Touchscreen: Apply weihouya's fix, add a touchscreen test screen. See #12381. 2019-10-02 22:05:34 +02:00
Henrik Rydgård
6a1676413e Don't assert if Discord not shut down properly. Possible workaround for #12140. 2019-09-30 09:57:32 +02:00
Unknown W. Brackets
5871ab0538 UI: Stop caching the draw context in coreParam.
This is possibly getting outdated in some paths of graphics reinit, and
then causing crashes.  Let's just always get it from the graphicsContext.
2019-09-28 21:58:15 -07:00
Unknown W. Brackets
029dd07c8e UI: Minor assert fix. 2019-09-28 21:10:26 -07:00
Unknown W. Brackets
e639dc801f http: Ensure webserver shutdown on exit. 2019-09-28 11:12:12 -07:00
Unknown W. Brackets
2db8c89607 http: Avoid detaching threads, join instead. 2019-09-28 10:48:07 -07:00
M4xw
30fc4c7869 Switch: Configure base paths. 2019-09-28 09:23:18 -07:00
Henrik Rydgård
22ee875ffc Fix nasty race condition with menu background audio. Fixes #12365 2019-09-27 23:53:31 +02:00
Henrik Rydgård
701d740207 Add a comment. See issue #12365 2019-09-27 23:34:36 +02:00
Henrik Rydgård
9c4649d3ac Assorted cleanup 2019-09-27 23:25:30 +02:00
Henrik Rydgård
a461dbeecb Fix crash in Zip UI. Make another crash happen earlier. 2019-09-27 22:56:37 +02:00
Henrik Rydgård
87ee8029a3 Another fix for AnalogTestScreen rendering (it broke again somehow?) 2019-09-22 10:31:20 +02:00
Henrik Rydgård
4cebea6a14 Don't let a delayed config load mess with the GPU backend option. Fixes #12284. 2019-09-17 10:50:25 +02:00
vnctdj
faeffef693 Make style more consistent 2019-09-16 22:53:30 +02:00
Henrik Rydgård
90de634d1e Analog test screen: Fix drawing of the X marks 2019-09-03 00:05:18 +02:00
Henrik Rydgård
c8730c933d Remove deleted GE dumps from Recent. Fixes a part of #11904 (the recent list wasn't updated properly). 2019-08-26 23:56:42 +02:00
Henrik Rydgård
653afeb7ab Vulkan: Implement basic integrated GPU profiling.
Currently simply measures the total GPU time of the frame. Will later be
extended to get the execution time of individual render passes.
2019-08-21 00:03:00 +02:00
Unknown W. Brackets
30dcc2a13a UI: Validate address entered in settings. 2019-08-18 10:12:22 -07:00
Unknown W. Brackets
3bc2cad31b IO: Use TextEdit for hostnames on more platforms. 2019-08-17 17:38:29 -07:00
Unknown W. Brackets
f52afb48ac UI: Cleanup hostname entry to use a dialog. 2019-08-17 17:18:43 -07:00
Bigpet
8e59343c40 UI: Make IP/hostname dialog more generic. 2019-08-17 16:42:58 -07:00
Unknown W. Brackets
fdc28b16fb UI: Respect loop info for menu music.
A good example for this is Wipeout Pure, which sounds much better when it
loops using the sample looping data.
2019-08-17 13:39:11 -07:00
Henrik Rydgård
7811b596b2 Rename "Immersive Mode" to Full Screen. We can reuse the FullScreen translation from desktop. Fixes #12229 2019-08-14 10:10:01 +02:00
Henrik Rydgård
96a15cf525 Fix the indirect postprocessing path. Fixes #12133 (but see the issue for a secondary bug). 2019-08-04 18:01:36 +02:00
Henrik Rydgård
734658b80c
Merge pull request #12182 from LunaMoo/touchRA
Add right analog for touch controls.
2019-07-25 10:58:47 +02:00
LunaMoo
8bb267727e Make things clear for people that never saw real PSP. 2019-07-18 15:27:59 +02:00
Unknown W. Brackets
5e2b4d9f1d Config: Specify/save game title on load too.
Needed when we load and then save, of course.
2019-07-17 21:28:21 -07:00
LunaMoo
5e09d57b6c Add right analog for touch controls. 2019-07-18 03:18:15 +02:00
Henrik Rydgård
3f134606e4
Merge pull request #12175 from unknownbrackets/texreplace-install
UI: Allow installing texture packs from zips
2019-07-15 22:03:31 +02:00
Henrik Rydgård
eeb3491214
Merge pull request #12176 from LunaMoo/mouseImprovements
Mouse improvements
2019-07-15 22:01:12 +02:00
Henrik Rydgård
82930ff3e4
Merge pull request #12174 from unknownbrackets/ini-comment
Config: Add game name to game-specific inis
2019-07-15 22:00:13 +02:00
Henrik Rydgård
80b6d88bfb
Merge pull request #12173 from LunaMoo/mouseUIworkaround
Ignore mapped mouse input for UI
2019-07-15 21:56:22 +02:00
LunaMoo
b87e958693 Replace mouse control with device ID mouse check for threshold. 2019-07-15 03:47:19 +02:00
LunaMoo
3f77bb1da5 Reduce in-game axis bind threshold for mouse control. 2019-07-15 03:30:53 +02:00
Unknown W. Brackets
8aed212952 UI: Allow installing texture packs from zips.
Requires the textures.ini to have a [games] section.
2019-07-14 17:43:51 -07:00
Unknown W. Brackets
ecf509c362 Config: Add game name to game-specific inis. 2019-07-14 15:07:03 -07:00
LunaMoo
b7a49be184 Ignore mouse mappings for UI 2019-07-14 21:32:44 +02:00
Henrik Rydgård
66c3f31ff9 More GameManager improvements. 2019-07-13 18:19:44 +02:00
Henrik Rydgård
0e978ba2e3 Pre-check the contents of ZIP files before allowing install. 2019-07-13 18:19:43 +02:00
Unknown W. Brackets
c3ae97e237 Travis: Build Windows on Travis too. 2019-07-06 14:56:29 -07:00
Henrik Rydgård
e284d9f00d Remove Google Cardboard support. Fixes #11668 2019-07-01 14:47:42 +02:00
Henrik Rydgård
6cf97c4cee
Merge pull request #12123 from unknownbrackets/http-redirect
Support HTTP redirects in downloads
2019-06-24 12:28:09 +02:00
Unknown W. Brackets
fb2ce46eca UI: Add a note for HTML link parsing.
It's a bit messy but should probably do this eventually.
2019-06-23 13:34:54 -07:00
Unknown W. Brackets
e4e0cdd0f7 Audio: Add volume for alternate speed.
Fixes #11605.
2019-06-23 13:34:08 -07:00
Henrik Rydgård
22b7349a70
Merge pull request #12119 from hrydgard/travis-mac
Fix macOS Travis builds
2019-06-23 06:54:02 +02:00
Unknown W. Brackets
732d344328 Common: Fix some unused ident and case warnings. 2019-06-22 13:22:12 -07:00
Unknown W. Brackets
504acf15de Core: Allow for disabling graphics backends.
Mainly for Vulkan, since sometimes even mobile drivers crash when we ask.
This at least provides options.

Also centralizes support checks.
2019-06-22 12:49:01 -07:00
Unknown W. Brackets
df6c5f38dc Core: Use readable names for failed backends. 2019-06-22 12:48:56 -07:00
driver1998
8fab38ecdd TextDrawerUWP based on DirectWrite 2019-06-07 05:20:21 +08:00
Henrik Rydgård
3769e8bf5c
Merge pull request #12069 from LunaMoo/aviDumpFix
Fix avi dump feature by using render buffer with option to use output buffer.
2019-06-04 11:07:21 +02:00
LunaMoo
7230271612
Add space to new setting name 2019-06-04 10:30:47 +02:00
LunaMoo
da031ebbdb Fix avi dump via render buffer instead,
with an option to use output buffer since recording with
post process effects will often be desirable.
2019-06-04 07:54:17 +02:00
Henrik Rydgård
7853c90abb JIT: Split VFPU_MTX disable options. To help with #9843 2019-06-03 23:28:15 +02:00
Henrik Rydgård
6fd40332fd JitDisable: Add option to disable regalloc across instructions (flush after every instruction) 2019-06-02 16:06:10 +02:00
LunaMoo
57bd3c63f4 Block savestates OSM when video frames are dumped.
Also make the dump messages shorter,
especially dump start since it will be recorded.
2019-05-27 23:43:39 +02: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
Henrik Rydgård
efa1406d8f VS2017: Add hack to automatically select the newest installed Windows 10 SDK. VS2019 already does this by default if you specify 10.0.
Should hopefully fix the buildbot.
2019-05-19 15:23:25 +02:00
driver1998
21d2008676 Use D3DCompiler_47.dll for D3D9 context. 2019-05-12 11:17:10 +08:00
Henrik Rydgård
2f26297062 Clean up some more ifdefs 2019-05-10 23:25:57 +02:00
Henrik Rydgård
20d666ff55 Remove DbgNew.h forced include in ARM debug builds, doesn't work for some reason. 2019-05-10 23:18:31 +02:00
Henrik Rydgård
1f40aa4828 Add WindowsSDKDesktopARM64Support to vcxproj files 2019-05-10 22:44:12 +02:00
Henrik Rydgård
c3fab33354 Revert "Remove default SDK version from project files"
Seems to have been the wrong thing to do, see:
https://developercommunity.visualstudio.com/content/problem/140294/windowstargetplatformversion-makes-it-impossible-t.html

Though due to the bug described there, there's no perfect solution, just
some ugly ones (which I might try later). Anyway, I guess most people
will move on to VS 2019 anyway..

This reverts commit 056494522e.
2019-05-09 23:58:23 +02:00
Henrik Rydgård
83039f3f90 Remote ISO: Fix bugs from issue #12018 and probably #12019 2019-05-07 23:26:13 +02:00
driver1998
0aa33d53c0 Disable features not available on Windows ARM32/ARM64
ARM32: OpenGL & DirectInput
ARM64: OpenGL
2019-05-04 22:45:16 +08:00
driver1998
763b85d723 Update Visual Studio project files for Windows ARM32/ARM64 2019-05-04 22:45:15 +08:00
vnctdj
6cbf4cfea2 Enable PNG screenshots for all platforms 2019-05-02 22:56:25 +02:00
Unknown W. Brackets
03bec46b93 UI: Make the screenshot key configurable.
Affects #10825.
2019-04-30 19:01:20 -07:00
Unknown W. Brackets
df9c922198
Merge pull request #10783 from LunaMoo/fillSoundBuffer
Remove "sound speed hack"
2019-04-28 06:20:13 -07:00
LunaMoo
53daa0d844 Remove some unused code. 2019-04-28 13:17:08 +02:00
LunaMoo
056494522e Remove default SDK version from project files 2019-04-27 23:01:41 +02:00
LunaMoo
280f7fec39 Fix VS2019 builds and remove _xp dependency
(drops Win XP support, allows latest SDK etc.)
2019-04-25 23:56:55 +02:00
LunaMoo
0a4dc1f883 Remove "sound speed hack". 2019-04-25 04:15:31 +02:00
LunaMoo
1fa7bbc816 Add texture dump/replace hotkeys. 2019-03-26 06:13:05 +01:00
Unknown W. Brackets
926b9e66da UI: Allow deletion of GE dumps from UI. 2019-03-21 19:49:32 -07:00
Henrik Rydgård
7790e61b12
Merge pull request #11866 from unknownbrackets/keyup
UI: Pass touch/button releases to all screens
2019-03-18 11:16:35 +01:00
Unknown W. Brackets
a99549c451 UI: Avoid using game info cache in savedata sort.
It can change mid-sort causing the sorting results to be inconsistent,
which will crash many implementations of std::stable_sort.

Also, fix an issue where it kept resorting after it didn't need to and
make it strictly ordered for equal dates/sizes.

Fixes #11892.
2019-03-17 06:34:21 -07:00
Henrik Rydgård
55ccc4ed81 On game load error screens, print the filename. May help diagnose issues from screenshots of the error (commonly sent by end-users) 2019-03-13 11:24:23 +01:00
Unknown W. Brackets
f2206158b2 UI: Update more browser links to https://. 2019-03-03 21:39:21 -08:00
Unknown W. Brackets
1205753289 UI: Pass touch/button releases to all screens.
This way, if you go into a menu and release a button, it still gets
noticed.  This also goes for axis centering (and therefore vkeys.)

Also, move TOUCH_RELEASE_ALL to all screen switches.
2019-03-03 17:50:54 -08:00
Henrik Rydgård
e90328d03c UWP: Restore the Load button. Fixes #11855. 2019-03-01 08:20:42 +01:00
Henrik Rydgård
e49c488c6f Silence a compiler warning, fix an uninitialized variable 2019-02-27 10:33:27 +01:00
Henrik Rydgård
0cd3ac06d0 Avoid trying to create a FileLoader for empty filenames
Assorted cleanup
2019-02-25 21:35:51 +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
9b1d10063d Linux: Draw the graphics API on the splash screen, like most other platforms. 2019-02-23 10:49:27 +01:00
Henrik Rydgård
5865c574ac
Merge pull request #11812 from unknownbrackets/android-memstick
Android: Allow using a custom Memory Stick storage path
2019-02-20 00:02:19 +01:00
Unknown W. Brackets
1e943549c2 Android: Allow using custom storage paths.
This allows a user to keep their save data on an insertable card, or
otherwise.  Currently, the UI isn't great - errors are easy to miss,
and the path must be typed manually.
2019-02-18 09:15:15 -08:00
Unknown W. Brackets
a29fe3f46e Core: Remove some now unused variables.
From removed settings.
2019-02-18 09:14:05 -08:00
Henrik Rydgård
4d8f3c48ad
Merge pull request #11809 from unknownbrackets/ui-minor
Windows: Hide accelerators when they are disabled
2019-02-17 22:58:55 +01:00
Unknown W. Brackets
6bc596d3a7 Windows: Hide accelerators when they are disabled.
Currently, mapping something to load state / save state / etc. causes the
default accelerators to become disabled.  In this case, it can be
confusing when the menu still shows them.

Fixes #11395.
2019-02-17 12:17:41 -08:00
Unknown W. Brackets
d19e59dde7 Windows: Browse for folder like Qt.
Better to separate out the platform specific stuff.
2019-02-17 08:03:10 -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 Rydgård
cbf735e2e2 CwCheat warning fixes 2019-02-12 21:00:20 +01:00
Henrik Rydgård
259cb0f128 Fix issue where too long filenames could wreck the Install Zip dialog layout.
Well, technically just shortens the path to avoid the issue.
2019-02-10 15:55:00 +01:00
Henrik Rydgard
47a9145355 Remove iForceMaxEmulatedFPS and replace with a compat setting for the two games that really need it.
Takes care of one setting listed in #8171 "Options to remove"
2019-02-06 15:03:15 +01:00
Henrik Rydgard
58db029f7e Android .nomedia: Don't hide everything under PSP, too harsh. 2019-02-05 16:40:10 +01:00
Henrik Rydgard
217205e433 To avoid strange images in Android gallery, pre-create TEXTURES with a .nomedia, and add .nomedia to the PSP directory. 2019-02-05 15:57:43 +01:00
Henrik Rydgard
a802adb1f6 Add simple UI for JIT feature disable flags 2019-02-04 13:00:08 +01:00
Henrik Rydgård
cb63df2a34 Qt: Temporary workaround for #11721 - simply remove the load button (you can still load games from the Games tab) 2019-01-08 12:17:03 +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
581cb1a069 UI: Check for step debugging on unthrottle.
Fixes #11704.
2018-12-30 12:16:33 -08:00
Unknown W. Brackets
1428684d1d http: Check for available discs before connecting.
This prevents trying to connect to a device serving only a debugger.
2018-12-21 22:41:02 -08:00
Henrik Rydgård
5f58caf4dd Minor tweak to the test 2018-12-20 13:13:09 +01:00
Henrik Rydgård
0f28b66a70 Don't leak the new pipelines 2018-12-20 11:14:50 +01:00
Henrik Rydgård
d047955686 This should finally repro one of the Adreno bugs 2018-12-20 11:00:15 +01:00
Henrik Rydgård
352bafde7c GPU driver test: Add a third test with depth completely disabled, and rename the others to match. 2018-12-19 20:21:07 +01:00
Henrik Rydgård
a8ff94e30b Display some important information on GPU test screen to make screenshots more useful 2018-12-19 14:41:07 +01:00
Henrik Rydgård
2c83574377 Finish up the test 2018-12-19 13:48:58 +01:00
Henrik Rydgård
c2319cd6d1 thin3d: Make the stencil ref value dynamic state (all APIs support this directly). 2018-12-19 13:48:58 +01:00
Henrik Rydgård
df98721e73 Write rough framework for GPU discard test screen 2018-12-19 13:48:54 +01:00
Henrik Rydgård
260fd3c9ee ActivateTopScissor doesn't belong in UIContext::Begin. 2018-12-18 10:37:39 +01:00
Henrik Rydgård
2d01db805e Remove no-op DrawBuffer::End() 2018-12-18 10:10:53 +01:00
Henrik Rydgård
f94beb5185
Merge pull request #11652 from pent0/master
Update UWP port
2018-12-14 19:02:30 +01:00
Henrik Rydgård
d7d1a5fc63
Merge pull request #11666 from hrydgard/remove-timer-hack
Remove "Timer Hack" setting.
2018-12-14 18:58:01 +01:00
Henrik Rydgard
0fdea30ac3 Remove "Timer Hack" setting. Untested, probably low usage and unclear utility. 2018-12-14 13:56:42 +01:00
Henrik Rydgard
3f8aec5147 Remove the "Disable stencil test" hack. Doesn't seem to serve much purpose anymore. 2018-12-14 13:54:03 +01:00
Unknown W. Brackets
ba7c8bee5b Merge remote-tracking branch 'upstream/1.7-hotfixes' into tag 2018-12-10 23:13:32 -08:00
pent0
4a53853f79 Update UWP port 2018-12-10 20:55:07 +07:00
Abbanon
c17a211320
Attempt to improve Discord Rich Presence 2018-12-09 08:29:58 -05:00
xebra
070e29d921 Disable "Edit & Continue" with VS debug mode. 2018-12-07 13:01:16 +09:00
Unknown W. Brackets
38461ed821 UI: Allow sorting saves by date too. 2018-11-25 08:21:31 -08:00
Henrik Rydgård
fedc72eff5 Revert "Android: Fix Vulkan immersive startup."
This reverts commit 5a5483ca93.
2018-11-23 09:51:16 +01:00
Henrik Rydgård
d6b8d9bfe5 VK: Fix sometimes-missing images in GameScreen. Can't load textures from update(). (should probably make that possible though.. later). 2018-11-22 23:55:43 +01:00
Henrik Rydgård
3d20ddecc5 VK: Fix sometimes-missing images in GameScreen. Can't load textures from update(). (should probably make that possible though.. later). 2018-11-22 23:53:58 +01:00
Henrik Rydgård
442b57033f Attempt to fix the last very common issue of #11493 by being paranoid 2018-11-21 22:40:54 +01:00
Henrik Rydgård
0fd5d10ab8 Attempt to fix the last very common issue of #11493 by being paranoid 2018-11-21 22:15:01 +01:00
Henrik Rydgård
7adb04f773 ManagedTexture: CreateTextureFromFileData should not return a ManagedTexture object if it fails.
Alternatively, we should add even more checks around the code for empty
ManagedTextures...
2018-11-21 17:07:10 +01:00
Henrik Rydgård
0bf44827b7 ManagedTexture: CreateTextureFromFileData should not return a ManagedTexture object if it fails.
Alternatively, we should add even more checks around the code for empty
ManagedTextures...
2018-11-19 08:27:46 +01:00
Unknown W. Brackets
ca8681f59c UI: Fix incorrect 3D API.
If the string doesn't exist (e.g. OpenGL ES), the std::string goes out of
scope, and we end up with a bad string.  Oops.
2018-11-10 09:49:08 -08:00
Unknown W. Brackets
c96748f0e2 Discord: Attempt to explicitly cleanup on exit. 2018-11-10 09:49:08 -08:00
Unknown W. Brackets
6bd6b86c05 Discord: Add cmake option to disable. 2018-11-10 09:49:08 -08:00
Henrik Rydgård
7561af3735
Merge pull request #11523 from mrfixit2001/master
Add frameskip setting by percent of current FPS
2018-11-04 19:35:03 +01:00
Henrik Rydgård
22c066515e
Merge pull request #11425 from xebra/refactor_spline_bezier
[Refactoring] Improve spline/bezier.
2018-11-04 17:04:29 +01:00
Henrik Rydgård
640973ff47 Comply with new Google Play policy that is not happy with "Support PPSSPP" leading to the PPSSPP Gold app in Play 2018-11-03 17:37:30 +01:00
Henrik Rydgård
6bc9a96e38 Comply with new Google Play policy that is not happy with "Support PPSSPP" leading to the PPSSPP Gold app in Play 2018-11-03 17:35:21 +01:00
LunaMoo
9929eedbc9 Fix database comments ending the cheat import. 2018-11-03 08:48:38 +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
Henrik Rydgård
f8e946d8e5
Merge pull request #11518 from unknownbrackets/init-shutdown
Core: Wait for background CPU load on exit
2018-11-02 11:09:56 +01:00
Unknown W. Brackets
670e207c57 Core: Wait for background CPU load on exit.
This prevents crashes when exiting a game while loading is still in
progress.  See #11516.
2018-11-01 21:29:34 -07:00
Henrik Rydgård
9cd8911d0d Update README for 1.7.1
And add some disabled debug code.
2018-11-01 14:45:07 +01:00
vnctdj
61be3785d3 Make more lines translatable in credits
Fixes https://github.com/hrydgard/ppsspp/issues/11499
2018-10-28 15:58:13 +01:00
Henrik Rydgård
842290b6dd Workaround for bad int behaviour on Adreno / GLES. (no problems in
Vulkan).

See #11480, should help #11479.
2018-10-20 13:22:14 +02:00
Henrik Rydgard
5a224d7a2b Disable CheckFailedGPUBackends() in debug builds, for convenience 2018-10-08 13:34:41 +02:00
Henrik Rydgård
1b8bf31e89
Merge pull request #11454 from unknownbrackets/remote-iso
http: Allow pbp and ppdmp files too
2018-10-08 07:53:10 +02:00
Henrik Rydgård
a0b019d473
Merge pull request #11455 from unknownbrackets/android-resize
Android: Fix Vulkan immersive startup
2018-10-08 07:52:47 +02:00
Unknown W. Brackets
5a5483ca93 Android: Fix Vulkan immersive startup.
Would commonly not actually start with immersive resolution due to race
conditions in setting the resolution and ui visibility.
2018-10-07 16:15:23 -07:00
Unknown W. Brackets
02b418e711 http: Allow pbp and ppdmp files too.
Also cleanup a bit.
2018-10-07 14:53:38 -07:00
xebra
89786b943d [spline/bezier]Instanced rendering for B-Spline is very slow when using weak GPU, so disabled it and simplify the shaders.
Add changing the quality of HW tessellation.
2018-10-07 23:54:22 +09:00
Henrik Rydgård
83bf001a31 Disable Android HW scale on TV type devices. 2018-10-06 13:43:11 +02:00
Henrik Rydgård
7b34eaa1fb
Merge pull request #11435 from unknownbrackets/ui-buttons
UI: Implement a glowing border touch control style
2018-10-04 07:57:40 +02:00
Henrik Rydgård
7f38ff783a
Merge pull request #11436 from unknownbrackets/tex-ini
Replacement: Show a warning for bad texture names
2018-10-04 07:47:42 +02:00
Henrik Rydgård
669079454a
Merge pull request #11438 from unknownbrackets/wasapi-switch
Allow WASAPI device switching
2018-10-01 09:15:36 +02:00
Henrik Rydgård
f8ea364371 Cleanup: Split out the WASAPI code into its own file. 2018-09-30 20:29:39 -07:00
Unknown W. Brackets
13375e2b95 Replacement: Refactor ini template generation. 2018-09-30 17:00:05 -07:00
Unknown W. Brackets
4aded5c11f UI: Implement a glowing border touch control style.
It barely glows, though.
2018-09-30 16:48:02 -07:00
Unknown W. Brackets
7ee4d2d5a1 UI: Ask for restart when changing graphics device.
Only for D3D11 and Vulkan.

Also, makes Vulkan follow D3D11 in not changing the setting if the device
is not found on startup.
2018-09-30 00:53:21 -07:00
Henrik Rydgård
68b005c79b Patch up small UI bug on credits screen.
thanks benjamin
2018-09-24 23:23:51 +02:00
Unknown W. Brackets
d1c9da6a9a UI: Maintain aspect better on screenshots.
In case they are on a thin screen or something.
2018-09-21 23:27:28 -07:00
Unknown W. Brackets
3bba9df133 UI: Keep report image at right aspect ratio. 2018-09-21 23:24:36 -07:00
Henrik Rydgård
3f34c7a213
Merge pull request #11400 from unknownbrackets/ui-minor
UI: Fix occassional issue starting second game
2018-09-18 09:52:06 +02:00
Unknown W. Brackets
ed90ab4fa6 UI: Fix occassional issue starting second game.
Sometimes render() would be called before update() after creating
EmuScreen, and we'd exit out instead of starting the game.
2018-09-17 22:45:09 -07:00
Henrik Rydgård
5d64107b0f Add some links to Discord where appropriate. 2018-09-16 20:04:10 +02:00
Henrik Rydgård
fd6c3145d5
Merge pull request #11364 from unknownbrackets/gpu-failed
Core: Reset working graphics backend on restart
2018-09-07 07:13:23 +02:00
Unknown W. Brackets
120cf59237 Core: Reset working graphics backend on restart. 2018-09-06 18:31:09 -07:00
Henrik Rydgård
d7bf2841d1
Merge pull request #11362 from unknownbrackets/gpu-failed
Core: Don't consider graphics failed on shutdown
2018-09-06 22:00:39 +02:00
Unknown W. Brackets
fb8f408db0 Core: Don't consider graphics failed on shutdown.
On some devices, we'll lose context or get a resize mid-startup, so make
sure we don't detect that as a graphics crash.
2018-09-06 07:31:15 -07:00
Henrik Rydgård
8ac50b232d
Merge pull request #11360 from unknownbrackets/gpu-failed
Core: Log more on graphics backend failures
2018-09-06 09:18:46 +02:00
Unknown W. Brackets
db93a08fc9 Core: Log more on graphics backend failures.
Just so we can tell for sure in logs what's happening.
2018-09-05 23:13:15 -07:00
Unknown W. Brackets
246234b0b7 UI: Automatically forget pinned deleted paths.
Also, resolve the paths in case of symlinks.
2018-09-04 21:53:20 -07:00
Henrik Rydgård
562c5f6485
Merge pull request #11346 from unknownbrackets/startup-fail
Core: Track graphics startup failures and cycle
2018-09-04 21:14:15 +02:00
Henrik Rydgård
18a6fac915
Merge pull request #11348 from unknownbrackets/ui-minor
UI: Fix state screenshot size on pause screen
2018-09-02 21:33:18 +02:00
Unknown W. Brackets
d715ed8fba Core: More consistently use directory constants. 2018-09-02 10:27:11 -07:00
Unknown W. Brackets
d1c5668612 Android: Add .nomedia files to system and textures.
Due it on all platforms when saving textures to encourage including
.nomedia in texture packs.
2018-09-02 10:19:08 -07:00
Unknown W. Brackets
e246a946c3 Core: Add flag to prevent graphics cycling.
For debugging graphics crashes.
2018-09-01 19:59:13 -07:00
Unknown W. Brackets
f906fbed35 Core: Track graphics startup failures and cycle.
If the graphics driver segfaults, or some plugin segfaults, let's try a
different one next time.  This gives better hope of starting up next time.
2018-09-01 19:59:13 -07:00
Unknown W. Brackets
65bf285e41 UI: Fix state screenshot size on pause screen.
Was stretched wide here, but fine in save data manager.
2018-09-01 14:56:56 -07:00
Unknown W. Brackets
360862617a UI: Move debugger checkbox outside texture area.
Oops, didn't mean for it to be there.
2018-09-01 11:00:05 -07:00
Unknown W. Brackets
2704b09dfd UI: Load post shader names on non-Windows early.
This way the ini "name" is used, rather than the stored code for it.

Fixes #11015.
2018-08-30 21:19:19 -07:00
Unknown W. Brackets
22a536fb0c
Merge pull request #11307 from hrydgard/discord-mac-linux
Enable Discord integration for Mac and Linux.
2018-08-26 23:04:49 -04:00
Unknown W. Brackets
3fc845a265 UI: Delay game config/discord until game info load.
This avoids a race condition where the info is not always available,
causing game-specific config and Discord presence to set incorrectly.
2018-08-22 18:27:20 -07:00
Henrik Rydgård
e34378a1c1 Enable Discord integration for Mac and Linux. 2018-08-18 10:11:15 +02:00
Henrik Rydgård
6f173b9134 Harmonize some VS project settings. 2018-08-14 22:41:39 +02:00
Henrik Rydgård
0684068c81
Merge pull request #11296 from hrydgard/discord-presence
Discord presence - show the current game
2018-08-14 08:40:09 +02:00
Henrik Rydgård
35e1d0c841 Discord: Translated some messages 2018-08-13 20:14:34 +02:00
Henrik Rydgård
9c22f6ed55 Don't forget to update the other build systems and try to fix the
builds.
2018-08-13 00:28:12 +02:00
Henrik Rydgård
785858dbf8 Basic Discord presence integration. 2018-08-13 00:20:09 +02:00
Henrik Rydgård
eddaf97938 Add submodules, namespace json to prepare for the addition of rapidjson (sigh) 2018-08-13 00:18:54 +02:00
Unknown W. Brackets
048afb6d24 UI: Resolve symlinks when adding things to recent.
See #11131.  This also normalizes paths, captialization, etc. as
necessary.
2018-08-12 08:25:10 -07:00
Henrik Rydgård
e51ea85615 Be extra careful about never ever binding null textures when drawing backgrounds. See #11243 2018-07-21 22:48:39 +02:00
hissingshark
64e432e12d Moved from using enum to enum class 2018-06-26 07:52:02 +01:00
hissingshark
7fd7afeba9 Added "oldest save" and "slots 1-5" as options for "auto load savestate" 2018-06-25 21:45:51 +01:00
Unknown W. Brackets
ca8677d262 UI: Keep rendering UI even while stepping.
This makes it possible to "get out" on mobile.
2018-06-24 06:24:08 -07:00
Henrik Rydgård
4cfc6ee272
Merge pull request #11187 from unknownbrackets/alt-speed
Add second alternate speed and buttons for alt speed
2018-06-24 13:41:12 +02:00
Unknown W. Brackets
0564e9e3ec UI: Disable stepping on unthrottle touch button. 2018-06-23 11:06:56 -07:00
Unknown W. Brackets
c50f5cc3db UI: Fix leak in control visibility screen. 2018-06-23 10:59:19 -07:00
Unknown W. Brackets
0b0d4c1edf UI: Make touch control visibility more consistent.
Now it looks more like other screens.
2018-06-23 10:59:19 -07:00
Unknown W. Brackets
70e5ae4fad UI: Sort touch control visibility better. 2018-06-23 10:59:18 -07:00
Unknown W. Brackets
f2956a1c1a UI: Show custom speed toggle buttons.
This allows more flexibility if unthrottle is too fast or too uneven.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
69dd59d9b9 UI: Refactor touch control config handling.
Much cleaner this way, less repetition.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
95f270778e Core: Allow toggle between 2 custom speeds.
In addition to virtual keys for each speed separately.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
e2c217ab29 Core: More consistently use config enums. 2018-06-23 10:59:18 -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
Unknown W. Brackets
dc840c077d UI: Add a virtkey for holding alt speed.
Can be used for slow motion or fast motion (esp. if unthrottle is too
fast.)
2018-06-23 10:59:17 -07:00
Unknown W. Brackets
0d4bd341e9 Windows: Separate Pause and Break actions.
It was confusing that "Pause" made PPSSPP appear to hang.

This has the side effect of making "Break on Load" work outside Windows.
2018-06-23 10:14:36 -07:00
Unknown W. Brackets
2f2c561b03 UI: Interpret "unthrottle" to mean leave stepping. 2018-06-22 21:33:12 -07:00
Unknown W. Brackets
e4127890ec Vulkan: Fix some missing switch warnings.
Might as well prefer a virtual GPU over a CPU maybe...
2018-06-17 11:30:22 -07:00
Henrik Rydgård
c7baed26db
Merge pull request #11124 from unknownbrackets/temp-warning
Show warning when PPSSPP is saving to a temp directory
2018-06-16 17:46:42 +02: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
a448ef536b Qt: Toggle fullscreen like on all other platforms. 2018-06-09 16:36:41 -07:00
Unknown W. Brackets
9d96e6579c
Merge pull request #10909 from unknownbrackets/debugger
WebSocket based debugger interface
2018-06-09 15:37:06 -04:00
Unknown W. Brackets
cc1fa20afb Qt: Use Roboto Condensed like on other platforms.
May improve font fallback issues in #7581.
2018-06-09 11:36:00 -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
a2d82cb654 Debugger: Add checkbox to enable remote debugger.
It's not a setting though, so maybe a button would be better.  Or, it
could be the startup setting...
2018-06-08 06:59:16 -07:00
Unknown W. Brackets
f81fa27abe Debugger: Add config for remote debugger on start. 2018-06-08 06:59:16 -07:00
Unknown W. Brackets
3a8a2ff933 http: Move web server to core and use flags.
This way we can independently control the debugger and disc sharing, since
debugger could have security impact.
2018-06-07 16:28:01 -07:00
Unknown W. Brackets
640eadb0f7 UI: Show warning when in a temporary dir.
In case PPSSPP is opened from a compressed folder, or otherwise from a
temporary dir, warn users that the saves won't be permanent.
2018-06-07 14:14:20 -07:00
Unknown W. Brackets
2e2d8f2989 Core: Process stepping on other platforms.
This includes Android.
2018-06-06 17:31:56 -07:00
Henrik Rydgård
a08fb8bd22
Merge pull request #11004 from unknownbrackets/ipv6
Enable IPv6 for reporting / sharing / etc.
2018-06-06 21:24:04 +02:00
Henrik Rydgård
df699c67b2
Merge pull request #10960 from unknownbrackets/debugger-json
Switch json to gason, include json writer in build
2018-06-06 21:19:13 +02:00
Henrik Rydgård
f9cfb05895
Merge pull request #10987 from unknownbrackets/debugger-core
Improve debugger threadsafety and consistency
2018-06-06 21:10:14 +02:00
Henrik Rydgård
3d12f9acc2
Merge pull request #11132 from unknownbrackets/reporting
Reporting: Provide suggestions on negative compat reports
2018-06-06 20:14:58 +02:00
Unknown W. Brackets
f0be2d5f88 UI: Quit sorting when done.
This will prevent keeping the gameInfo objects alive unnecessarily.
2018-06-06 18:39:21 +02:00
Unknown W. Brackets
4fb606839c UI: Add option to sort saves by size.
It may be slow with many saves, but it's also very useful.  It doesn't
seem too bad as an option.
2018-06-06 18:39:21 +02:00
Unknown W. Brackets
082ddf5120 json: Switch to gason instead of vjson.
From the same author.  Most importantly, reads numbers as doubles rather
than as signed ints and floats.  This allows us to actually read 32 bit
unsigned int parameters.

Moved all the native customization to a separate json_reader.cpp.
2018-06-06 05:59:35 -07:00
Unknown W. Brackets
5b95de663e net: Listen on ipv6 and ipv4.
Hurray, no longer "part of the problem" for ipv4.
2018-06-06 05:59:07 -07:00
Unknown W. Brackets
ca4340b9e0 net: Support ipv6 lookups.
We try to connect() to both, so should still be safe in environments where
ipv6 is broken.
2018-06-06 05:59:07 -07:00
Unknown W. Brackets
6e02771591 UI: Use UISTATE_PAUSEMENU while game still running. 2018-06-06 05:58:50 -07:00
Unknown W. Brackets
cb0838f86f Reporting: Fix typo. 2018-06-06 05:55:31 -07:00
Unknown W. Brackets
4cbfb4aa98 Reporting: Provide suggestions on negative reports.
Based on other reports, try suggesting settings to change or actions to
take.  Fairly rudimentary currently.
2018-06-06 05:55:31 -07:00
Unknown W. Brackets
890dfa4682 UI: Show compat rating radios next to each other.
When there's space, let's show them horizontally.  It's easier to see them
all.  See #11129.
2018-06-06 05:55:31 -07:00
Henrik Rydgård
238521a297 Rename device choice config options as requested. 2018-06-06 10:24:16 +02:00
Henrik Rydgård
8ee3cd52e8 D3D11: Allow the user to select rendering device. 2018-06-06 10:20:12 +02:00
Henrik Rydgård
b037efdb55 If there are multiple Vulkan devices, show a setting to allow the user to choose. 2018-06-06 10:20:12 +02:00
Henrik Rydgård
ad1b75292f
Merge pull request #11121 from unknownbrackets/ui-texture-crash
UI: Reinit UI texture during game when used
2018-06-02 07:16:37 +02:00
Unknown W. Brackets
18bfff5f75 UI: Reinit UI texture during game when used.
Otherwise we may try to use it when it doesn't exist.  This should only
happen on graphics restart.

Potentially related to first crash in #11116.
2018-06-01 21:07:09 -07:00
Henrik Rydgård
c1d113e0e9 When creating temp framebuffers for download, size them using bufferWidth/Height instead of width/height.
Or maybe we should make sure to only download within the width/height by
adding more clamps at the beginning of ReadFramebufferToMemory but seems
more dangerous.

Plus some minor things.

Should help #11113
2018-06-01 21:16:07 +02:00
Henrik Rydgård
4f59ebad05 sprintf->snprintf. Don't think any of these are likely overflows though. 2018-05-29 23:42:54 +02:00
Henrik Rydgård
b730d187e8 Add some paranoid checks guided by stack traces from Google Play 2018-05-27 22:12:59 +02:00
Henrik Rydgård
d35de81a76 Check for a valid screen manager in NativeIsAtTopLevel 2018-05-26 17:50:37 +02:00
Henrik Rydgård
775a25e530 Another directory, plus no need to use c_str 2018-05-10 20:52:21 +02:00
Henrik Rydgård
3976b03bcd Create vital directories on Android storage permission grant. Should help #11020 2018-05-10 19:32:28 +02:00
Henrik Rydgård
3c066de158 Win32: Not really appropriate to call exit() on a bad filename. Fixes #11030 2018-05-10 00:59:21 +02:00
Henrik Rydgård
bed6d19a4b
Merge pull request #10986 from unknownbrackets/ui-loading
UI: Cleaning loading handling and use tags
2018-04-30 00:25:50 +02:00
Unknown W. Brackets
21468ce1e4 UI: Cleaning loading handling and use tags.
The tags should let the tweens persist correctly.  See #10974.
2018-04-29 14:44:00 -07:00
Unknown W. Brackets
074f52b819 Android: Properly reset home on config reload.
We reload the config once we know we have permission to read it, but that
means we have to run any cleanup logic on it again.
2018-04-29 11:45:32 -07:00
Henrik Rydgård
1f73d78cc8 Oops, meant to commit this. 2018-04-20 11:43:27 +02:00
Henrik Rydgård
68611e85ba Disable the loading state string display, creates too much translation work for 1.6 2018-04-20 11:02:13 +02:00