Commit Graph

2871 Commits

Author SHA1 Message Date
Unknown W. Brackets
fc8306dde1 Android: Ensure we forget the shortcut on next run.
Prevents an issue where we would use the shortcut param again when
starting the app directly.
2020-03-08 14:58:42 -07:00
Henrik Rydgård
c7abea6146 UI: Temporary solution to the layout issue: Remove the gear button from the recent screen.
Can always use it from the other screens.
2020-03-08 22:23:39 +01:00
Henrik Rydgård
6fc073ffa7 UI: Simple joystick navigation. Fixes #10996. 2020-03-08 16:52:15 +01:00
Henrik Rydgård
c176c6c114 Also move out the global stuff from view.cpp/h to root.cpp/h 2020-03-08 15:16:32 +01:00
Henrik Rydgård
271f79ea63 UI: Break out the hierarchy functions into ui/root.cpp/h 2020-03-08 14:49:29 +01:00
Henrik Rydgård
3e6050beac Minor cleanups 2020-03-08 14:35:25 +01:00
Henrik Rydgård
8f2a52ccab Merge branch 'rechat' of https://github.com/ANR2ME/ppsspp into ANR2ME-rechat 2020-03-08 14:28:10 +01:00
Unknown W. Brackets
a3c5c6e1c2 UI: Ignore invalid PBPs in game browser.
This should reduce confusion when it comes to PS1 support.
2020-03-07 20:30:55 -08:00
iota97
f460151f39 u8_clamp clean up 2020-03-05 18:29:35 +01:00
Henrik Rydgård
875d53a485
Merge pull request #12612 from iota97/sdl-mouse
SDL analog mouse input
2020-03-05 17:23:08 +01:00
Henrik Rydgård
8f623be3ea
Merge pull request #12674 from hrydgard/upgrade-glslang
Update the glslang submodule, fix the build afterwards.
2020-03-05 07:49:35 +01:00
Henrik Rydgård
bf7ed398a5
Merge pull request #12676 from unknownbrackets/switch-minor
Core: Bring over some file IO related Switch changes
2020-03-04 09:56:22 +01:00
Unknown W. Brackets
cb1b7b1e43 Core: Bring over some file related Switch changes.
Reducing the distance from the Switch port code.
2020-03-03 22:53:03 -08:00
Henrik Rydgård
f8a0ba3b86 Update the glslang submodule, fix the build afterwards. 2020-03-03 22:19:32 +01:00
iota97
987281516a Fix excessive scroll 2020-03-03 15:58:19 +01:00
shenweip
140cb43c8b Warning fix.
Fixes warning C4305 in VS.
2020-03-03 17:45:23 +08:00
iota97
3f4692266b UI fix 2020-03-03 08:47:14 +01:00
Henrik Rydgård
358e1cb361
Merge pull request #12668 from unknownbrackets/frame-latency
GPU: Restart when changing inflight frames setting
2020-03-03 07:57:07 +01: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
Henrik Rydgård
777facded3
Merge pull request #12646 from iota97/grid-scale
Resizable game icons
2020-03-03 00:38:09 +01:00
ANR2ME
dc4df7d769 Tweaked chatbox a little bit 2020-03-03 01:52:31 +07:00
ANR2ME
394194f400 Fix chat color formatting 2020-03-03 00:59:20 +07:00
ANR2ME
93b59afed5 Fix building errors 2020-03-03 00:23:12 +07:00
ANR2ME
142e60974c Merge branch 'rechat' of https://github.com/adenovan/amultios-ppsspp into rechat 2020-03-02 22:25:18 +07:00
iota97
9d26c3a7c9 Fix weight 2020-03-02 12:03:01 +01:00
iota97
d8405b6f5b Move clear game list to new menu 2020-03-02 08:34:26 +01:00
Henrik Rydgård
fa8968f5c6
Merge pull request #12660 from unknownbrackets/frame-latency
GPU: Add setting to control inflight frame usage
2020-03-02 00:16:48 +01:00
Henrik Rydgård
c363c16af9
Merge pull request #12665 from unknownbrackets/frameskip
GPU: Use old frame when presenting a skip
2020-03-01 23:35:01 +01:00
Unknown W. Brackets
cebcfb1bbd GPU: Use old frame when presenting a skip.
If we flip using a skipped frame, we may show an even older frame causing
weird flickering.
2020-03-01 13:55:28 -08:00
iota97
1cc5022b19 Fix toggle 2020-03-01 18:17:16 +01:00
Unknown W. Brackets
98df4bbec3 GPU: Allow choosing number of inflight frames. 2020-03-01 08:53:46 -08:00
iota97
7836776337 Squash commit 2020-03-01 17:13:55 +01:00
iota97
e3c130d238 Rebase on master 2020-03-01 15:34:35 +01:00
Unknown W. Brackets
a91e206926 GPU: Add setting to control inflight frame usage. 2020-03-01 06:21:27 -08:00
Henrik Rydgård
45d94c4877 Switch all images to dynamic lookup in the atlas by string ID.
SLN fix

It works, but with the wrong images and the wrong characters!

Fix another bug in atlastool's binary output

Get Android building again.

Oops, didn't mean to disable this permanently.

Error checking

Minor cleanup

Gotta tweak my git ignores...

Regenerate metadata
2020-03-01 12:06:47 +01:00
Henrik Rydgård
7e9578e49d Get rid of atlas tables. 2020-03-01 12:04:51 +01:00
Henrik Rydgård
b1e83df521
Merge pull request #12623 from iota97/sticky-combo
Add toggle flag to combo button
2020-03-01 11:50:14 +01:00
Henrik Rydgård
2ec82951a0
Merge pull request #12659 from unknownbrackets/vsync
Support vsync in all hardware backends, support runtime update
2020-03-01 09:52:14 +01:00
Henrik Rydgård
76e0d02059
Merge pull request #12657 from unknownbrackets/debugger
Debugger: Stop remote server in full shutdown
2020-03-01 09:16:16 +01:00
Henrik Rydgård
07cf86a0dd
Merge pull request #12658 from unknownbrackets/sdl-resize
UI: Respect resize flag during graphics init
2020-03-01 09:14:27 +01:00
Unknown W. Brackets
2a3fd05651 Vulkan: Present using FIFO for vsync.
This allows the setting to be changed at runtime in Vulkan too.

Should help #10105.
2020-02-29 22:48:59 -08:00
Unknown W. Brackets
8afcb2416d UI: Respect resize flag during graphics init. 2020-02-29 19:31:58 -08:00
Unknown W. Brackets
b37a906649 Debugger: Stop remote server in full shutdown.
Hopefully helps #12630, we shouldn't have tied it to graphics.
2020-02-29 18:45:14 -08:00
Henrik Rydgård
aea3cf74f0 Remove support for "lowmem" UI atlas. Had to regenerate unfortunately. 2020-02-29 19:00:52 +01:00
Henrik Rydgård
d35fd5040d Delete unused support for ETC1 texture compression 2020-02-29 17:50:35 +01:00
Henrik Rydgård
c51793ee63
Merge pull request #12633 from vnctdj/rapidFire
Rename rapid fire touch control
2020-02-29 11:21:03 +01:00
Henrik Rydgård
3af63b6b8f
Merge pull request #12637 from iota97/region
Region flag and game ID on game selection screen
2020-02-26 09:38:19 +01:00
iota97
407d5df9f4 Better align and spacing of UI element 2020-02-25 19:29:41 +01:00
iota97
35ceafe833 Better UI for game version in list view 2020-02-25 17:59:24 +01:00
iota97
f47ac2ee2c Toggle mute button 2020-02-25 12:26:23 +01:00
iota97
3e6bab2c72 Go for Abbanon approach 2020-02-24 13:53:06 +01:00
iota97
4c96a11425 Scale font down a bit 2020-02-24 13:11:53 +01:00
iota97
f26cac3aca Add a option for game ID+version as well 2020-02-23 14:01:15 +01:00
iota97
592d6f902e Show region on game selection screen 2020-02-23 12:00:26 +01:00
vnctdj
15fe162676 Rename rapid fire touch control
It already exists for control mapping, let's reuse the translation.
2020-02-20 00:04:28 +01:00
Unknown W. Brackets
ce694da5ff UI: Separate sleep time in frame time graph.
It's useful to know how much of the frame time is active vs inactive.
2020-02-17 11:29:32 -08:00
Unknown W. Brackets
373ff6061f UI: Show refresh rate on more platforms.
It's detected on SDL/Qt, so we should show it there.
2020-02-15 17:47:10 -08:00
Unknown W. Brackets
e8f018179d UI: Correct refresh rate display.
It's a float now, not a premultiplied int.
2020-02-15 17:41:56 -08:00
iota97
e5c647ccbb Add toggle flag to combo button 2020-02-12 15:48:49 +01:00
iota97
be2eed1801 Add some reference line 2020-02-11 10:28:49 +01:00
iota97
90ff68e6c9 Framegraph in devmenu 2020-02-11 08:19:30 +01: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
iota97
4b28482479 SDL analog mouse input 2020-02-04 05:11:07 +01:00
iota97
f42e6a984f Rapid fire touch control 2020-01-28 08:52:18 +01:00
Henrik Rydgård
8203c79e43
Merge pull request #12567 from iota97/snap2
Use snap grid on resize as well
2020-01-26 11:36:28 +01:00
Henrik Rydgård
9394f0f7e0
Merge pull request #12592 from Florin9doi/iosCam
Camera updates (iOS/Android)
2020-01-26 10:58:48 +01:00
Florin9doi
2b57d2365f Android satellites info 2020-01-26 09:22:24 +02:00
Florin9doi
5fbf2d7713 Add camera/location support for iOS
Add front camera support for Android
Allow to change the active camera in-game
2020-01-25 16:54:45 +02:00
shenweip
3f585782f1 Don't shut down camera when exiting games,also re-enumerating devices if
received WM_DEVICECHANGE.
2020-01-24 16:05:28 +08:00
Florin9doi
09e32223c2 Add camera support for linux (V4L2) 2020-01-16 23:25:34 +02:00
Henrik Rydgård
41af4eb221
Merge pull request #12578 from iota97/grid-render
Attempt to render snap grid
2020-01-16 21:46:01 +01:00
iota97
1332e3c1cc Flush other UI element draw before changing to noTex 2020-01-16 06:16:46 +01:00
Henrik Rydgård
96e7281b20
Merge pull request #12572 from shenweip/Capture_Win
Add camera support for windows.
2020-01-15 20:03:10 +01:00
iota97
b69cdea29e Fix line rendering in texmode 2020-01-15 18:48:43 +01:00
iota97
4395da7c7e Render grid 2020-01-14 19:18:27 +01:00
shenweip
d1e354ce04 Improve compatibility.
Don't implemente on vista and UWP,they don't have a full support for this.
2020-01-14 17:15:11 +08:00
shenweip
5c4a1e00fc BuildFix 2020-01-14 08:19:44 +08:00
shenweip
034a257baf Add camera support for windows. 2020-01-13 15:06:02 +08:00
iota97
53ba31aef8 Avoid divison by 0 2020-01-12 14:28:51 +01:00
iota97
f8632b9142 Remove extra newline 2020-01-12 11:54:06 +01:00
iota97
28ce721ff5 Snap resize 2020-01-12 11:52:49 +01:00
Unknown W. Brackets
dc26fb8ef7 Windows: Make TEMP dir detection long path aware. 2020-01-04 11:06:12 -08:00
Unknown W. Brackets
5b5ded058c Windows: Support long My Documents paths. 2020-01-04 10:57:23 -08:00
iota97
e53895f687 Hide "Control" label on top 2019-12-19 11:56:42 +01:00
iota97
7a8c39d7bf Disabled grid size if snap is disabled 2019-12-19 09:05:08 +01:00
iota97
d7be4f883e Fix 2019-12-19 01:26:23 +01:00
iota97
f99a651c6a Touch controll grid snap 2019-12-19 00:41:32 +01:00
Silent
c754da6491
Do not assert in Discord::Shutdown
Discord::Shutdown runs on app exit unconditionally,
and thus it's valid to try to call it even when Discord RPC
is not running.
2019-11-18 21:46:51 +01:00
Henrik Rydgård
168c6b6995
Merge pull request #12471 from vnctdj/consistentStyle
Make style more consistent
2019-11-08 09:37:57 +01:00
Henrik Rydgård
9c40381db0 Remove the I/O on Thread option - treat it as always on. 2019-11-04 22:21:20 +01:00
Henrik Rydgård
19a1fa8430 Add a compat.ini flag for software rendering, use it to force on in Darkstalkers 2019-10-27 20:54:36 +01:00
Henrik Rydgård
0d76906b39 Buildfix 2019-10-25 16:03:00 +02:00
Henrik Rydgård
3924e457be Also rename the config setting to make sure it starts out off. 2019-10-25 16:03:00 +02:00
Henrik Rydgård
5dc9acf839 Cardboard VR: Add an on-screen VR OFF button. Enable Cardboard on iOS. 2019-10-25 16:03:00 +02:00
Henrik Rydgård
9b8533c936 Revert "Remove Google Cardboard support. Fixes #11668"
This reverts commit e284d9f00d.
2019-10-25 16:03:00 +02:00
Unknown W. Brackets
913121cf2b Io: Consistently use error codes with OpenFile().
This gets rid of OpenWithError(), and just always returns a negative value
on error for OpenFile().  Also fixed the sequence rollover, which could've
returned 0.

0 should be considered a valid handle ideally, but left it never returning
0 to simplify cleanup in some areas.
2019-10-20 11:03:37 -07:00
Henrik Rydgård
1f742fd07a UI: Better way of showing game/savedata images. Fixes #12408 2019-10-11 17:34:38 +02:00
Unknown W. Brackets
a1ee226c39 SDL: Switch audio device when plugged in. 2019-10-07 20:16:20 -07:00
Unknown W. Brackets
c30bc4ee7d SDL: Add UI to reset audio device at runtime. 2019-10-07 20:16:19 -07:00
Henrik Rydgård
1c8ac05b06 MainScreen: Prevent grid game buttons from becoming too wide if the png has the wrong dimensions.
Happens with Doom Legacy homebrew.
2019-10-07 23:58:23 +02:00
Henrik Rydgård
13f87301cf
Merge pull request #12371 from unknownbrackets/thread-detach
Avoid thread.detach(), join when needed instead
2019-10-07 20:27:42 +02:00
Henrik Rydgård
8e44230d70
Merge pull request #12394 from unknownbrackets/remote-iso
Allow pinning URLs to game browser
2019-10-07 20:04:40 +02:00
Henrik Rydgård
cb8c57f8e3
Merge pull request #12370 from unknownbrackets/switch
Pull some base parts of the Switch PR
2019-10-07 20:01:36 +02:00
Unknown W. Brackets
d00eff7137 UI: Allow pinning remote ISO paths. 2019-10-06 12:40:00 -07:00
Unknown W. Brackets
e5eb849e8b UI: Handle remote browsing asynchronously. 2019-10-06 12:06:57 -07:00
Unknown W. Brackets
8d3da2ce88 UI: Cleanup browse button check. 2019-10-06 09:34:23 -07:00
Unknown W. Brackets
2d7ce0afa3 UI: Allow remote paths to be pinned.
Currently, the listing request is synchronous, but it works fine
otherwise.
2019-10-06 09:31:06 -07:00
Unknown W. Brackets
3e12734b80 http: Use relative paths for remote isos. 2019-10-06 08:50:35 -07:00
Unknown W. Brackets
78571b8e37 http: Don't treat http:// as a relative path. 2019-10-06 08:30:39 -07:00
Henrik Rydgård
f342d8d856 Logging improvements 2019-10-06 13:21:57 +02:00
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