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
Henrik Rydgård
6147448719
Draw overlays at the proper time in the frame.
2017-05-30 09:36:17 +02:00
Henrik Rydgård
df6ce90c84
When what we need is a shared_ptr, we should just go ahead and use one.
...
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +02:00
Unknown W. Brackets
793178c106
Windows: Initialize WindowsHost in EmuThread.
...
This seems like a more appropriate place, and a more appropriate thread,
for it to be initialized on.
2017-05-05 06:53:48 -07:00
Henrik Rydgard
d3ff35b2c0
Fix to partial restarts (when switching backends), plus misc. Helps #9666
2017-05-05 12:31:06 +02:00
Henrik Rydgard
7d89e5d84c
Experiment ( #9647 ): Prevent NaN values from getting into the UI system through TouchInput
2017-05-04 00:30:04 +02:00
Unknown W. Brackets
ee68f09be5
Merge pull request #9653 from xiushudongfang/UI_background_android
...
UI: Allow choosing bgs (android)
2017-04-29 20:23:58 -04:00
Unknown W. Brackets
90f3ae14e0
Windows: Simplify host shutdown.
...
The whole nativeHost/oldHost thing is unnecessary.
This also fixes gl lost holder mismatches.
2017-04-29 12:04:54 -07:00
xiushu
93536997cd
UI: Allow choosing bgs (android)
2017-04-30 02:06:37 +08:00
Unknown W. Brackets
661b2a3aa8
UI: Make GPU events more consistent.
2017-04-27 20:03:50 -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