Commit Graph

716 Commits

Author SHA1 Message Date
Henrik Rydgård
7196d6ac7e Default to Vulkan on Android Pie or later. Fixes #12228. 2019-08-23 17:14:11 +02:00
Henrik Rydgård
78e849bff1 Decided to end the practice of #ifdefs in Config.h. Led to bizarre miscompilations when reading config with inconsistent ifdefs set. 2019-08-21 10:17:33 +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
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
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
Unknown W. Brackets
b4d9d038b4 Replacement: Allow region-specific settings.
This makes it easier to reuse one pack for multiple game ids.
2019-07-14 16:01:37 -07:00
Unknown W. Brackets
ecf509c362 Config: Add game name to game-specific inis. 2019-07-14 15:07:03 -07:00
Henrik Rydgård
e284d9f00d Remove Google Cardboard support. Fixes #11668 2019-07-01 14:47:42 +02:00
Unknown W. Brackets
e4e0cdd0f7 Audio: Add volume for alternate speed.
Fixes #11605.
2019-06-23 13:34:08 -07:00
Unknown W. Brackets
3e07b02226 Core: Keep number on setting for translated.
This way it will keep working in old versions for bisecting.
2019-06-22 12:49:19 -07:00
Unknown W. Brackets
7ff88d4bed Core: Save GPU backend as identifier.
Still reads in old number values.  This way it's easier for someone to
follow instructions to fix the backend if necessary due to driver crashes.
2019-06-22 12:49:01 -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
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
a59099e1bf Oops, fix the D3D9 fallback 2019-05-11 06:36:28 +02:00
Henrik Rydgård
2f26297062 Clean up some more ifdefs 2019-05-10 23:25:57 +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
LunaMoo
0a4dc1f883 Remove "sound speed hack". 2019-04-25 04:15:31 +02:00
Henrik Rydgård
e3d7ca67a0 Rename the lag sync config ini setting to reset it for all users. See #10195. 2019-02-25 15:50:28 +01:00
Henrik Rydgård
172bcbbf47 Android: Default screen rotation to auto landscape for new users. Fixes #11832 2019-02-23 17:17:40 +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
Unknown W. Brackets
a29fe3f46e Core: Remove some now unused variables.
From removed settings.
2019-02-18 09:14:05 -08: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
Unknown W. Brackets
46649a218e Core: Add flags to disable jit features.
Not actually disabling yet, just setup.
2019-02-03 13:58:24 -08:00
Unknown W. Brackets
ebdecb6583
Merge pull request #11656 from hrydgard/disable-vendor-checks
VK: Add INI options to disable some vendor checks
2018-12-15 07:39:08 -08:00
Henrik Rydgård
d82ec339ee Remove the DisableShaderCache setting, rename the other 2018-12-15 10:44:05 +01:00
Henrik Rydgård
749163beca
Merge pull request #11667 from hrydgard/remove-truecolor
Remove outdated TrueColor setting.
2018-12-14 18:58:24 +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
56bc7b1d52 Remove outdated TrueColor setting. 2018-12-14 16:13:44 +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
Henrik Rydgård
25b2ba013b VK: Add INI options to disable some vendor checks, and to disable the shader cache. 2018-12-11 00:36:15 +01:00
Unknown W. Brackets
8b6221e852 Vulkan: Avoid using Vulkan by default.
Bugs on Adreno, some issues on Intel and AMD.
Let's instead prefer Direct3D 11 or GLES for now.
2018-12-01 14:57:18 -08:00
Henrik Rydgård
a30da4b674 Coldbird server moved, so change the default.
Should look into doing this automatically, maybe storing the coldbird
server in a config file on ppsspp.org.
2018-11-20 09:09:19 +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
83bf001a31 Disable Android HW scale on TV type devices. 2018-10-06 13:43:11 +02:00
Unknown W. Brackets
efc6510569 Replacement: Show a warning for bad texture names. 2018-09-30 17:55:51 -07:00
Henrik Rydgård
3f849bb946 Android: Don't use "hw scaling" on modern devices by default.
It seems to cause more problems than it's worth, see #11151
2018-09-16 21:05:13 +02: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
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
8a154dab70 Windows: Correctly buildfix Windows XP.
Should run properly now - dumb mistake.
2018-08-18 10:22:55 -07:00
Henrik Rydgård
75827004e1 Properly fix the iterator bug, oops. 2018-08-14 21:26:42 +02:00
Henrik Rydgård
404594da57 Fix crash bug when cleaning duplicates of recent files 2018-08-14 20:40:42 +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
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
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
ecdc4bbd17 Savedata: Upgrade secureVersion by default.
This may help fix save data made incorrectly, but may also break save data
last saved in PPSSPP v0.9.8 or lower.  Can be toggled off otherwise.
2018-06-24 15:46:41 -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
Leo
3090360692 Make HideSaveWarnings global (#11196) 2018-06-19 16:12:33 +02:00
Unknown W. Brackets
006ef96b19 SaveState: Add a setting to ignore warnings.
In case you like to collect old and obscure bugs - everyone's got a hobby.
2018-06-14 18:29:55 -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
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
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
36fd2711d6 Revert "Remove further remains of hardware skinning."
This reverts commit 40db61a680.
2018-04-10 12:22:41 +02:00
Henrik Rydgård
188ed07d77 Android: Have haptic feedback ignore the global setting, but default to off. 2018-03-25 13:42:57 +02:00
Henrik Rydgård
8fe5223dd0
Merge pull request #10781 from hrydgard/preserve-config
Android: Reload the config after getting storage permission, and ask immediately.
2018-03-24 14:18:37 +01:00
Henrik Rydgård
fb15208777 Android: Reload the config after getting storage permission, and ask immediately. Should help #10670 2018-03-24 12:52:51 +01:00
Henrik Rydgård
198d921a9b
Merge pull request #10737 from unknownbrackets/savestate
SaveState: Keep an undo for each slot by default
2018-03-24 10:18:18 +01:00
Henrik Rydgård
f76e5e70a7 Enable FlushInstructionCache on UWP, it's been allowed finally.
Minor warning fixes, UWP buildfix

Retarget UWP project to latest SDK.
2018-03-20 20:30:33 +01:00
Unknown W. Brackets
5020182660 SaveState: Default undo slots off on mobile.
It's still a pretty useful feature on mobile (considering mistaps), but
it also eats a bunch of storage so it can always be turned back on.
2018-03-17 23:18:26 -07:00
Unknown W. Brackets
2ee8dd7752 SaveState: Keep an undo for each slot by default. 2018-03-17 23:18:25 -07:00
Henrik Rydgård
40db61a680 Remove further remains of hardware skinning. Fixes #10661 2018-03-05 00:03:47 +01:00
Henrik Rydgård
c60c8ed68a Debug visualization for the Vulkan memory allocator. Shows some interesting behaviour. 2018-01-29 19:38:10 +01:00
Unknown W. Brackets
6149ac584f jit: Add interface to precompile functions.
This doesn't actually do any preloading yet, it just adds an API.
2018-01-06 16:43:38 -08:00
Kentucky Compass
20794081ea iOS: Nix iosCanUseJit and targetIsJailbroken. Move NativeInit call to main so it can take cmd line args. 2018-01-01 19:10:44 -08:00
Unknown W. Brackets
d6da758ed3 GPU: Remove duplicate BACKEND constants. 2017-12-26 15:55:24 -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
5c1dad9909 Remove more obsolete ifdefs 2017-12-19 17:59:00 +01:00
Henrik Rydgård
7c03d69f91
Merge pull request #10389 from unknownbrackets/remoteiso
http: Allow sharing automatically on PPSSPP start
2017-12-11 15:00:19 +01:00
Unknown W. Brackets
fcdf512ee8 GPU: Rename GPUBackend setting to apply default. 2017-12-11 00:02:18 -08:00
Unknown W. Brackets
522447dca8 GPU: Default to Vulkan if possible.
Fall back to Direct3D 11 on Windows 8+ to target Windows 10 most
especially.

Default vertex cache off everyone except OpenGL where it helps the most.
2017-12-10 23:46:36 -08:00
Unknown W. Brackets
721f5877eb http: Allow sharing automatically on PPSSPP start.
Since that might always be something you want, on your desktop.
2017-12-10 18:30:28 -08:00
Henrik Rydgård
d0d2675645 Android: Warn if PPSSPP fails to save the config file. 2017-12-04 18:37:03 +01:00
Henrik Rydgård
f8b6a965e7 Coldbird's up and running again, restore the proAdhoc default. See issue #9984 2017-11-27 17:32:45 +01:00
Henrik Rydgård
a763fe4b95 Android: Call setDisplayParameters early with the display w/h in pixels. Without this, was defaulting to 1x rendering on S8 which is silly. 2017-11-26 14:49:00 +01:00
Henrik Rydgård
b6911d2764 Add a hidden debug option [Graphics]GfxDebugSplitSubmit to try to narrow down some Vulkan issues, see #10163. Also improve some asserts. 2017-11-22 10:47:04 +01:00
LunaMoo
e698414f9b Add an option to allow resetting video/audio dump on save/load state. 2017-11-14 05:12:27 +01:00
Henrik Rydgård
be2ba4ffb3 Remove the setting to run the display list interpreter on a separate thread. 2017-11-05 23:21:26 +01:00
LunaMoo
8826c031a6 Add ini-only "Savedata Upgrade" setting. 2017-10-04 17:16:21 +02:00
Henrik Rydgård
9b9f382b0b Don't default to coldbird adhoc server, it doesn't run anymore (?) 2017-09-27 13:25:48 +02:00
Henrik Rydgård
d94351ef90 Initial work on supporting sustained perf mode 2017-08-15 16:41:13 +02:00
Gde Made Novan Priambhada
4420719a86 Bug fix 2017-08-09 03:50:31 +08:00
Gde Made Novan Priambhada
f5d56872ce Quick Chat 2017-08-09 03:49:52 +08:00
Unknown W. Brackets
cc88435b48 Windows: Support multi-display full screen.
For when you have an ultrawide monitor, or I guess even multiple.
2017-07-30 09:14:36 -07:00
Ade Novan
624d1cd82f chat screen & chat button position and hide ui on show chat 2017-07-02 01:28:38 +08:00
sum2012
bd2342ad59 Enable chat box 2017-07-02 01:28:38 +08:00
Unknown W. Brackets
708a54d60b Merge pull request #9726 from hrydgard/remove-always-depth-write
Remove "Always Depth Write" setting. One step forward for #8171
2017-05-26 11:17:40 -04:00
Henrik Rydgård
1d96ead852 Remove "Always Depth Write" setting. One step forward for #8171 2017-05-26 10:23:45 +02:00
Henrik Rydgård
1b05a54800 Remove the Mipmap setting. One step forward for #8171 2017-05-26 10:21:20 +02:00
Henrik Rydgård
6bccc06628 Reset (through renaming) and hide the software rendering setting on Android. Only show it if it's already enabled. 2017-05-24 20:53:00 +02:00
Henrik Rydgard
a1e3be445a Don't use partial-restart unless debugger is present.
Works around #9666 for most practical purposes.
2017-05-21 17:25:00 +02:00
Henrik Rydgård
75fa53e63b Make sure the analog sensitivity defaults correctly on non-Windows 2017-05-18 15:16:32 +02:00
Unknown W. Brackets
9ea7281b3c Core: Cleanup MAC address handling.
No need to make it leak, even if it doesn't matter much on shutdown.
Better to have the leak listing empty.
2017-04-29 12:48:06 -07:00
LunaMoo
26006e9d80 Add an option to trap mouse within window/display area. 2017-04-27 16:29:08 +02:00
LunaMoo
26c02478af Mouse Control(Windows only for now) 2017-04-26 18:03:48 +02:00
Unknown W. Brackets
960ffd2e85 Core: Remove bRestartRequired config hack. 2017-04-15 16:34:25 -07:00
Unknown W. Brackets
638a015ced Add a restarting flag to NativeInit/NativeShutdown.
Will be used externally.  Also cleanup some LogManager init/shutdown in
case these are called multiple times on Windows.
2017-04-15 16:30:37 -07:00
LunaMoo
372cbaac15 Disable pause button when not using touch.
Remove per-game status from some settings which shouldn't be per-game.
2017-04-14 17:11:16 +02:00
Unknown W. Brackets
989f19f83f UI: Respect the pause button display setting.
As of 22782b6, the setting stopped working.  It can be useful for Windows
touch devices.  Fixes #9609.
2017-04-12 22:09:05 -07:00
Henrik Rydgard
7230a8b427 Remove the "Disable alpha test" setting. It breaks too many things.
The  performance benefits in a few games on older hardware are not worth it.
We are able to automatically remove redundant alpha test in many cases now.
2017-04-01 11:36:35 +02:00
Unknown W. Brackets
c9a5c00bf7 UI: Allow overriding colors in the ini. 2017-03-26 09:51:33 -07:00
Unknown W. Brackets
01703f7ffc Core: Add UI option to enable frame drop logging. 2017-03-23 19:27:16 -07:00
Unknown W. Brackets
a1f59deafe Fix some type narrowing warnings and typos. 2017-03-19 07:44:31 -07:00
Henrik Rydgard
525df21751 Unbreak version check on Windows 2017-03-12 17:24:46 +01:00
Henrik Rydgård
cfb93a707c Merge pull request #9370 from fireballwayne/remoteiso
Remoteiso
2017-03-12 12:39:45 +01:00
Unknown W. Brackets
ad8a0e6cc0 Add an ini setting to hide performance warnings. 2017-03-11 19:31:00 -08:00
Fireball Wayne
6dd0f7a152 Remoteiso Manual Mode Backend 2017-03-11 00:46:48 -05:00
Henrik Rydgård
7590a44fc4 Enable "FrameskipUnthrottle" on Windows UWP as we don't control VSync (yet) 2017-03-10 00:11:00 +01:00
Henrik Rydgård
cfe2621604 LogManager: Hook up save/load, remove "long names" 2017-03-06 11:44:35 +01:00
Henrik Rydgard
d68953c18c Buildfixes 2017-03-02 13:29:51 +01:00
Henrik Rydgard
b9b3a022fb Switch another enum to enum class 2017-03-02 12:36:54 +01:00
Henrik Rydgard
fcbc20f240 Small changes to make Common and Core build under my preliminary UWP setup. 2017-02-24 18:59:41 +01:00
Henrik Rydgard
31dd8fdc39 When adding filenames to recent list, convert slashes to /. See #9335
Note that this doesn't fix existing backslashes but solves it in the
long run.
2017-02-21 11:22:28 +01:00
Fireball Wayne
a404138f82 Remember Last Remote ISO server 2017-02-14 19:16:51 -05:00
xebra
192d8f3601 [spline/bezier]Add an option for hardware tessellation. 2017-01-23 14:12:02 +01:00
Henrik Rydgard
9d7983eee8 Remove the ability to turn off prescaleUV entirely. It's simply better to do it in the vertex decoder. 2016-12-20 13:27:44 +01:00
Henrik Rydgard
dee686b9d4 Add a setting to make the audio buffer sizes bluetooth-friendly on Android.
Replaces #8846
2016-12-01 21:36:44 +01:00
Florent Castelli
f02e2b59b0 qt: Build Qt frontend with CMake. Requires Qt5. 2016-10-17 23:45:21 +02:00
Florent Castelli
94d57f4573 maemo: Remove! 2016-10-12 13:13:09 +02:00
Henrik Rydgård
705627d6d3 Merge pull request #9053 from Orphis/android_define
android: Change preprocessor define to standard __ANDROID__
2016-10-12 13:12:14 +02:00
Florent Castelli
e0ff68b3f6 c++11: Remove compat header base/functional.h
We want a proper C++11, not tr1. We don't target those compilers anyway.
2016-10-12 11:32:45 +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
Chris Burgener
645cb4d69e Add Audio Dumping to File 2016-09-03 14:05:38 -04:00
Chris Burgener
1fc6191c85 Add Frame Dumping for Windows 2016-09-02 12:52:52 -04:00
Unknown W. Brackets
980d4194c0 Io: Add a config setting for memstick status. 2016-08-05 21:27:53 -07:00
Unknown W. Brackets
33b392821c Stop reporting FrameRate.
This is just a speed setting, it doesn't affect emulation.
2016-07-04 12:12:42 -07:00
Unknown W. Brackets
429346bb94 http: Make sure we don't hang checking existence.
It's not great to delay loading when the server is down - we'll do a
proper check when we display the games.

This also fixes shutdown being slow.
2016-07-04 00:46:42 -07:00
Unknown W. Brackets
c3e70c11f8 http: Save last-used port.
This is necessary for better caching, in case you share often.
2016-07-03 22:13:54 -07:00
Henrik Rydgard
ce8aae5ed1 Make the IRJit core selectable in developer tools 2016-05-08 01:43:27 +02:00
Henrik Rydgard
d399c4a470 Initial commit for IRJit 2016-05-07 13:58:29 +02:00
Unknown W. Brackets
c4e98433b8 Add config to save or load replaced textures. 2016-04-30 14:05:03 -07:00
Henrik Rydgard
774539dea8 Add more error checking in net resolve. 2016-04-09 18:27:35 +02:00
Henrik Rydgård
2b46ae59a0 Merge pull request #8601 from hrydgard/vulkan
Vulkan rendering backend. Early Work-In-Progress
2016-03-20 21:08:58 +01:00
Unknown W. Brackets
add506a0d3 Cleanup differences in aniso handling.
Some places were not handling it as a power of two.
2016-03-20 19:31:02 +01:00
Henrik Rydgård
b3402ef1fb Merge pull request #8560 from unknownbrackets/prescale-uv
Enable UV prescaling by default
2016-03-20 18:10:19 +01:00
Henrik Rydgard
92c6810954 Not using a GL config chooser seems to be the way to go, really, and was the way we used before the EGL attempt. 2016-03-17 22:22:57 +01:00