Commit graph

376 commits

Author SHA1 Message Date
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
Henrik Rydgård
785858dbf8 Basic Discord presence integration. 2018-08-13 00:20:09 +02: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
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
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
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
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
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
LunaMoo
e5e19554e6 Add "--pause-menu-exit" option. 2018-04-02 16:31:26 +02:00
Unknown W. Brackets
895de164ed Android: Fix initial start from shortcut.
Fixes #10855.  We have to wait for the permission request to complete.
2018-04-01 23:28:36 -07:00
Henrik Rydgård
8d0285dedd Android: Properly restore screenshots on the Pause screen on task switching away and back.
Basically plumbs through DeviceLost/DeviceRestored to view elements and
into ManagedTexture.
2018-03-27 23:11:10 +02: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
448e8fb49a Split out QtHost.h from HostTypes.h 2018-03-03 08:46:12 +01:00
Henrik Rydgård
18db8b0bd6 Fix custom UI backgrounds again by initializing lazily (turned out to be the cause of #10662) 2018-03-01 16:09:23 +01:00
Henrik Rydgård
14c93bdc2b Minor code/logging cleanups. 2018-02-27 19:44:11 +01:00
Henrik Rydgård
e1852321a0 Vulkan: Remove the old method of uploading images. 2018-02-25 12:15:29 +01:00
Henrik Rydgård
133bef575a Split Android graphics context implementations into their own files. 2018-01-20 21:47:16 +01: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
0039fa8c0a Logging: Use AndroidLogger for all mobile devices.
Noticed iOS wasn't logging, which seems non-ideal considering Android
does.  Might as well make them behave the same.
2018-01-01 08:37:26 -08:00
Unknown W. Brackets
c0f0bc88af UI: Trigger view recreate on static sized screens.
If a screen doesn't size via layout, it needs to recreate views on resize,
which is what the resized() method is for.
2017-12-27 01:13:47 -08:00
Unknown W. Brackets
79dc857527 Core: Refactor screenshot saving.
So we can reuse the actual saving.
2017-12-21 15:44:49 -08:00
Henrik Rydgård
e488227398 Just some log cleanup 2017-12-15 16:33:49 +01:00
LunaMoo
f06f9f7246 Update bounds in NativeResized as well to fix glitches on layout screens that use it. 2017-12-11 21:02:47 +01: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
27227f87fd Don't hold the lock when processing messages, only when taking them off the queue. Fixes #10383 2017-12-10 11:28:27 +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
Unknown W. Brackets
84f5f633df UI: Fix D3D9 half-pixel offset at 1x.
Since we scale by 0.5x for small window, we need to adjust the half pixel
offset to match real pixels.
2017-12-03 06:58:16 -08:00
Henrik Rydgård
6ea669368c Crash reports from 5% rollout of 1.5: Make some asserts dbg_asserts for now, try to fix an issue with framebuffers when postproc is enabled. 2017-11-29 18:53:52 +01:00
Henrik Rydgård
b1fce1c61a Android: Fix #9697 where we'd hang if we lacked permission and got a filename as a command. 2017-11-21 13:55:14 +01:00
Henrik Rydgård
5675e8a816 Minor cleanup, and more terrifying orientation hackery 2017-11-16 15:00:27 +01:00
Henrik Rydgård
3222af5f7a Make remoteiso_subdir and server editable on Android. Fixes #10142. Really need a better mechanism for these fields. 2017-11-16 13:33:10 +01:00
Henrik Rydgård
378e01625c Fix a few more device-loss bugs. 2017-11-10 15:10:36 +01:00
Henrik Rydgård
1c76d28843 Avoid double-initializing the Vulkan backbuffer on startup. 2017-11-10 13:13:56 +01:00
Florin9doi
892bc8617d Integrate sceUsbGps and sceUsbCam with Android 2017-08-27 17:19:11 +03:00
Henrik Rydgård
b35d0e00ec Oops, forgot to update NativeQueryConfig, thanks unknown 2017-08-16 10:23:27 +02:00
Henrik Rydgård
8ba5d7ec1e Strip spaces from pasted IP addresses. Helps #9795. Fix accidental typo 2017-08-08 16:34:46 +02:00
Henrik Rydgård
4b35e9e278 Reset the UI state properly in NativeInit. Fixes #9771 2017-08-08 15:58:25 +02:00
Unknown W. Brackets
41b485aa0a Core: Refactor repeating disc id homebrew code. 2017-06-03 15:29:08 -07:00
Unknown W. Brackets
79ae0f77d8 UI: Fix Take Screenshot support. 2017-06-01 20:40:21 -07:00
Henrik Rydgård
01635a5cd6 Android: Just like on Windows, prompt to restart when changing graphics backend. 2017-05-31 11:12:11 +02:00
LunaMoo
939b26475d Fix a bunch of emu features for Homebrew by better identification. 2017-05-30 12:20:29 +02:00