Commit Graph

743 Commits

Author SHA1 Message Date
Sergey P
91aa6ad608 merge from upstream 2023-01-26 14:50:09 +03:00
Serena
13122ddd12 Make changes requested by unknown 2023-01-23 00:23:07 +03:00
Serena
d9ad0e36d3 Indentation fixes 2023-01-22 20:44:18 +03:00
Serena
2f3959cc52 Memory stick customization for Darwin 2023-01-22 20:32:58 +03:00
iota97
5ebf683589 Allow to append some configs 2023-01-12 15:39:51 +01:00
Henrik Rydgård
ea0eaa31e6 Remove the Android display resolution selector
I think its benefit is absolutely tiny if any, and causes a lot more
problems than it's worth. Bye.

Note that this isn't the rendering resolution selector, that will of
course still be there, but it's the "hardware scaler" resolution.
2023-01-11 22:53:42 +01:00
Henrik Rydgård
07114c6aaf Remove return value from axis functions in API 2023-01-10 10:12:37 +01:00
Henrik Rydgård
fdfc4cbe40 Android: Remove return value from touch event functions 2023-01-10 10:12:33 +01:00
Henrik Rydgård
7fbb0c4d41 Another null check in NativeShutdown 2023-01-03 11:14:31 +01:00
Henrik Rydgård
397846c0fc Just add a sanity check in NativeInitGraphics. 2023-01-02 17:38:38 +01:00
Henrik Rydgård
ebaef49516 NativeShutdownGraphics: Check screenManager for nullptr. 2022-12-31 11:53:16 +01:00
Unknown W. Brackets
4f216c941e Vulkan: Fix reverse dependency on config. 2022-12-27 15:32:35 -08:00
Unknown W. Brackets
68fb7a477d UI: Fix tiny reverse dependency. 2022-12-27 15:18:35 -08:00
Henrik Rydgård
f65a8aa743 Oops, deleted a few lines too much in #16634
See #16634
2022-12-22 09:59:03 +01:00
Henrik Rydgård
e209227be1 Delete dead code path (initialize EGL from C++ on Android) 2022-12-20 23:17:51 +01:00
Henrik Rydgård
6922ee7e52 Add some asserts in the hope of gathering some more info (and consolidating some crashes). 2022-12-18 21:58:20 +01:00
Unknown W. Brackets
fb96d79895
UI: Avoid crash on axis input during shutdown. (#16564) 2022-12-13 07:31:46 +01:00
Henrik Rydgård
39b627c0c1 Fix layout issues, misc cleanup and comments 2022-12-07 10:27:02 +01:00
ThirteenAG
5e5bffc808 remade into GET_AXIS/GET_VKEY apis 2022-12-05 14:46:00 +03:00
ThirteenAG
37dc8c3e49 compilation workaround 2022-12-05 02:10:27 +03:00
ThirteenAG
0b77babfab merged triggers api 2022-12-05 00:08:50 +03:00
ThirteenAG
6e03de35cf more stuff for plugins 2022-12-04 23:46:01 +03:00
Henrik Rydgård
575560f679 Enable game backgrounds on more screens 2022-11-22 22:53:54 +01:00
Henrik Rydgård
ddd2c6e343
Merge pull request #16409 from hrydgard/preserve-framebuffers
Preserve framebuffer on pause screen even if render resolution is changed
2022-11-22 10:03:47 +01:00
Henrik Rydgård
ec6d330ae4 Move AsyncImageFileView to Common, which required some more shuffling around of stuff. 2022-11-21 20:38:20 +01:00
Henrik Rydgård
d73196c7d6 Split up the GPU config change notifications 2022-11-21 15:14:20 +01:00
Lubos
0ae1d75daf OpenXR - Support camera adjust using joystick 2022-11-17 10:22:01 +01:00
Unknown W. Brackets
305aae3e50
Merge pull request #16363 from hrydgard/android-shader-assert
OpenGL ES: Bail as early as possible if things are bad
2022-11-08 06:01:41 -08:00
Henrik Rydgård
dd0409d68c OpenGL ES: Crash as early as possible if things are bad
There's a huge variety of crash report in the Play Console of various
opengl failures. Try to concentrate them to early points in
initialization
2022-11-08 10:43:38 +01:00
Lubos
cd49dc6627 OpenXR - Camera adjustment using PSP keys 2022-11-07 17:13:08 +01:00
Henrik Rydgård
b4507cd5cc Make a lot more code VR build for all platforms 2022-11-06 14:36:51 +01:00
Lubos
96f89f4bd7 OpenXR - Allow updating camera in realtime 2022-10-28 15:50:00 +02:00
Henrik Rydgård
aa51bfd1ef Use GPU "use" flags to replace IsVRBuild in the renderer. It remains elsewhere. 2022-10-17 19:57:11 +02:00
Henrik Rydgård
347f7c4e5a Vulkan: Improve tagging of pipelines for debugging purposes 2022-09-08 00:47:22 +02:00
Lubos
3a0e6c7232 Merge branch 'master' into feature_openxr_stereo 2022-09-05 19:11:52 +02:00
Henrik Rydgård
ed8c4e8758 Remove the assembly implementation of 4x4 matrix mul, in favor of intrinsics. 2022-09-05 10:33:05 +02:00
Lubos
c2c0561be2 OpenXR - OPENXR ifdef removal 2022-08-27 17:33:37 +02:00
Lubos
428145c4b9 OpenXR - 2D mode hack mappable (using screen keycode) 2022-08-15 16:53:00 +02:00
Unknown W. Brackets
536c050943 Core: Track names of connected pad devices.
Rather than just that it's a pad.  This tries to get the identifier if
possible.
2022-07-04 19:14:04 -07:00
iota97
8587fbf8ed Log missing lines on shutdown, update lang files 2022-06-01 18:37:46 +02:00
Halo-Michael
a709e8eaa8 Fix CpuCore select 2022-05-30 06:32:18 +08:00
Unknown W. Brackets
3edf6ab0fa Config: Don't save --fullscreen unless changed.
This makes --fullscreen and --windowed temporary by using a separate
setting.  If the setting is changed explicitly, it begins saving it again.
2022-05-28 15:47:12 -07:00
Henrik Rydgård
13fcff328c
Merge pull request #15464 from iota97/theme-atlas
Allow to change atlas per theme
2022-04-24 00:45:15 +02:00
Henrik Rydgård
584e94f01e ARM32: Remove a lot of non-NEON fallback paths 2022-04-13 11:44:55 +02:00
Henrik Rydgård
a68ddd0a8d Merge separate NEON functions into the normal functions.
We no longer support non-NEON ARM.

It's nice also to have the NEON and SSE implementations "close" to each
other, easier to port optimizations back and forth etc.
2022-04-12 23:43:21 +02:00
iota97
53fe6940df Allow to change atlas per theme 2022-04-01 09:59:40 +02:00
iota97
5e1062678f Allow custom UI themes 2022-02-11 12:42:38 +01:00
Unknown W. Brackets
8418287a87 Vulkan: Avoid crash on double DeviceLost.
This caused Android to crash when switching to OpenGL, because the
destructor would try to deinit again.  There weren't any objects, but
draw_ was no longer valid.
2022-02-06 23:34:44 -08:00
Henrik Rydgård
d4237fd542 Split the atlas into three, well two, but two different cases for the fonts.
Platforms that can use OS fonts don't need font_atlas.zim but they do
need ascii font for debug, so does use asciifont_atlas.zim.
2021-12-10 23:22:08 +01:00
Henrik Rydgård
98cd023cf9 On desktop, change an empty current directory to "/" on startup.
Just avoids some confusion.
2021-11-20 14:48:51 +01:00
Henrik Rydgård
161a32b4a2 On Android 11 and later, let's not fallback to OpenGL at all.
Not meaningful since Vulkan is stable and widely used now and we really
don't do anything crazy when drawing the menu.

See #15079
2021-11-09 23:06:10 +01:00
Henrik Rydgård
4161b500ab
Merge pull request #15021 from unknownbrackets/ui-font-atlas
UI: Support a second texture for just fonts
2021-11-09 22:51:09 +01:00
vit9696
1066224b6f SDL: Read assets from Resources on macOS like on iOS
closes #15041
2021-11-06 09:22:08 +03:00
Unknown W. Brackets
eb81d5b30b UI: Support a second texture for just fonts.
Will still allow using fonts between both.
2021-10-19 10:01:17 -07:00
Unknown W. Brackets
f5ee1af309 Android: Create default folders in custom path.
If scoped storage is off and the memstick directory was customized, load
it before pre-creating default folders.
2021-09-25 20:40:34 -07:00
Henrik Rydgård
76df060349 Show the logo screen before the memstick screen on first boot with scoped storage 2021-09-19 20:23:46 +02:00
vit9696
fc18a171a7 Handle Xcode-specific debug arguments on startup 2021-09-19 11:54:53 +03:00
Unknown W. Brackets
bcc4c3d8fa Io: Assume a write may have happened on resume.
This way if they switch away to delete files, it will have more free
space.
2021-09-11 07:36:02 -07:00
Henrik Rydgård
c9bcbf326f More shortcut fixes 2021-09-09 00:00:54 +02:00
Unknown W. Brackets
82087ccbb7 Common: Reduce some log levels.
Take off a few messages during startup and shutdown.
2021-08-28 09:14:53 -07:00
Henrik Rydgård
7733d8a500
Merge pull request #12530 from iota97/tilt
Allow tilt input on Z instead of X
2021-08-21 13:55:18 +02:00
Henrik Rydgård
e93dc8f231 Fix append mode through OpenCFile, fixing cheat import on scoped storage. 2021-08-14 16:57:33 +02:00
Henrik Rydgård
64dbd97731 Address feedback 2021-08-04 23:22:43 +02:00
Henrik Rydgård
3be1ff6ce4 Get the new setup flow going, with a confirmation dialog etc.
Moving the folder while already installed still crashes.
2021-08-04 23:22:43 +02:00
Henrik Rydgård
87bcdb7b88 Work on the new experience 2021-08-04 23:22:43 +02:00
Henrik Rydgård
828036f87b WASAPI: Survive switching to a mono device. Fixes #14591
It's a little flaky whether it tries to switch or not, but you can at
least use Windows' device selector to switch back and forth.

Should maybe also add an option to not follow the default device... Not
sure.
2021-07-10 01:22:34 +02:00
Henrik Rydgård
7eaa687140 Move the joystick deadzone processing until after all the mapping. 2021-07-09 00:07:55 +02:00
Henrik Rydgård
98372c465f Break out EmuScreen's key/axis inputs to ControlMapper.cpp/h
Additionally, break out the analog stick mapping to the same file.

This will make more sense soon when I change where the analog mapping
is called from, but want this refactor in separately for testing.
2021-07-08 22:24:00 +02:00
Yifan Gu
dea13f7197
Disable analog stick deduplication (#14590)
* Refactor and unify analog input settings

* Disable analog stick deduplication
2021-07-08 17:47:38 +02:00
Henrik Rydgård
6e76a22461 Avoid crash on early input events.
Not elegant, really should use a mutex or something...
2021-07-05 12:38:46 +02:00
Yifan Gu
633a6f612b Refactor and unify analog input settings 2021-07-05 12:38:46 +02:00
Henrik Rydgård
0fa27ff9d7 Autodetect number of threads (remove setting). Fix some bugs. 2021-06-12 21:06:59 +02:00
Henrik Rydgård
73871b9b7e Implement new thread manager, port stuff to it. 2021-06-12 13:03:53 +02:00
Henrik Rydgård
8ac06eed12 iOS: don't add a slash to the save path.
Might help #14524, but kinda doube it.

It works here.
2021-06-12 12:21:39 +02:00
Henrik Rydgård
86948a4df7 Default to something for now. 2021-06-07 22:49:53 +02:00
Henrik Rydgård
308c7d693c Address more feedback 2021-06-07 00:49:31 +02:00
Henrik Rydgård
468f3d8b3f wip
More work towards moving PSP directory
2021-06-07 00:24:52 +02:00
Henrik Rydgård
5df471577f Cleanup. Add a way to get very early log output on Android.
Cleanup in FileUtil
2021-06-07 00:24:52 +02:00
Henrik Rydgård
1f018d33c5 Start work on supporting Android Content URIs in the FileUtil API.
Add tentative Android Content URI support to much of FileUtil.h.

Buildfix

Fix some issues with the file browser in storage URIs.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
b397e5c455 Assorted plumbing.
wip

Buildfix
2021-06-07 00:24:51 +02:00
Henrik Rydgård
87a25fd230 Start experimenting with DocumentsContract (the thing DocumentFile wraps)
wip

Some progress towards making the file browser work with DOCUMENT_TREE

More directory browsing progress

More Scoped Storage hackery. Can now browse to a folder and use PPSSPP's game browser to load ISOs from it.

Remove the defunct fdopendir approach. Buildfixes.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
5030f1f719 Android: Get things playable on scoped storage. Things work except the built-in file browser. 2021-06-07 00:24:51 +02:00
Unknown W. Brackets
59322d3063
UI: Correct screenshot paths.
This was preventing screenshots from saving properly.
2021-05-30 10:29:16 -07:00
Henrik Rydgård
239838b6c3 Remove the ability to have multiple search paths for config. 2021-05-30 12:45:12 +02:00
Unknown W. Brackets
ec35e3c116
iOS: Correct Path assignment on init. 2021-05-29 17:32:22 -07:00
Henrik Rydgård
0328816870 Rename g_Config.externalDirectory to defaultCurrentDirectory - since that's what it was.
Also make currentDirectory a Path, and add support for Path config
parameters.

Buildfixes

More Qt buildfixes

Oops, didn't mean to change zstd ver
2021-05-30 00:49:47 +02:00
Unknown W. Brackets
f2b2f26e8e Common: Use Path for GetExeDirectory(). 2021-05-15 11:12:54 -07:00
Unknown W. Brackets
7b175627b3 VFS: Use Path for DirectoryAssetReader. 2021-05-15 11:12:04 -07:00
Unknown W. Brackets
2558022afe Config: Move data path settings to Paths. 2021-05-15 11:11:37 -07:00
Unknown W. Brackets
d376e67f87 Common: Cleanup some Path constructions. 2021-05-14 22:48:04 -07:00
Henrik Rydgård
2e16e83159 It never ends... 2021-05-13 10:39:16 +02:00
Henrik Rydgård
a40b1dec5f Use Path for fullName in dirlisting. Bugfixes.
Buildfixes

UWP: Buildfix.

headless: Buildfix.

Common: Buildfix.

iOS: Buildfixes.

libretro: Buildfix.

Qt: Buildfix.
2021-05-13 10:39:16 +02:00
Henrik Rydgård
ae06499a0c Change Copy, Rename to use Path. Remove std::string version of Exists().
Buildfixes

Buildfix
2021-05-13 10:39:16 +02:00
Henrik Rydgård
b7fe72bfc9 Load IniFile from Path
Buildfixing
2021-05-13 10:39:16 +02:00
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård
a2a0551a83 Buildfix, and more renaming while we're at it. 2021-04-25 22:25:29 +02:00
Henrik Rydgård
d8583cd0d6 Buildfixes 2021-04-25 21:13:25 +02:00
Henrik Rydgård
1b13badeb4 Move remaining FileUtil functions into the File namespace. 2021-04-25 20:38:22 +02:00
Unknown W. Brackets
5f59495756 UI: Load BG image properly on init.
Also fix the update on Vulkan.
2021-04-16 20:49:46 -07:00
Unknown W. Brackets
b5d21b4f9b UI: Remove extern global for UI message. 2021-04-10 18:42:40 -07:00
Unknown W. Brackets
5119d79082 Build: Remove IOS define. 2021-03-02 21:04:03 -08:00
Henrik Rydgård
26eab06886 Add a Storage tab to System Information.
Add a system property that we can later query to see if we should use
scoped storage adaptations or not.
2021-02-27 11:49:38 +01:00
Henrik Rydgård
bd7b283399 Add iOS version detection, turn off JIT on bootup if >= 14.3. 2021-02-22 09:16:51 +01:00
Unknown W. Brackets
f32f89dd90 Global: Remove some unused variables. 2021-02-15 11:59:45 -08:00
Unknown W. Brackets
fb7e4acb06 Android: Ensure shutdown waits for render.
We apparently have a case where render is busy during shutdown, based on
crash reports.
2021-02-13 12:49:48 -08:00
Gleb Mazovetskiy
892ab51585 Only force the log level if it set via an argv
Follow-up to #14019
2021-01-30 19:54:07 +00:00
Gleb Mazovetskiy
f372a2112b Fix logging flags
1. The logging flags were being ignored (-v, -d)
2. Adds a `--loglevel` argument. Useful when using the debug build for
   ASAN/UBSAN to hide extremely noisy debug messages.
2021-01-30 16:10:27 +00:00
Henrik Rydgård
3f01cbb98c Initialize/Deinitialize the shader translation system once globally.
Fixes #13839.
2021-01-04 23:51:34 +01:00
Unknown W. Brackets
c66d5dcac1 Windows: Prevent hang on shutdown.
Which may occur on ARM64 or perhaps lower thread processors?  Let's avoid
spinloops.
2021-01-02 22:49:06 -08:00
Unknown W. Brackets
83644ec1b8 Android: Remove old NDK profiler.
Pretty sure this no longer works.
2021-01-01 08:42:23 -08:00
Unknown W. Brackets
f57c642f0b Common: Fix logging shutdown race condition.
Got a crash during logging on another thread during shutdown.
2021-01-01 08:38:27 -08:00
orbea
96b061bd1c cmake: Add an install target. 2020-12-05 20:42:35 -08:00
iota97
cd42f8b3a6 Make --windowed available on all platform and make sure to trigger resize 2020-10-10 15:52:30 +02:00
Henrik Rydgård
8761bf2bc9 Move text rendering to Common. 2020-10-05 00:05:28 +02:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
821817e6d4 Move the profiler to Common 2020-10-04 11:42:16 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
342ed97291 Move input utilities from native to Common/Input. 2020-10-01 09:42:32 +02:00
Henrik Rydgård
ed88761ecc Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h. 2020-09-29 15:51:51 +02:00
iota97
0c885db052 User chain support 2020-09-13 21:48:00 +02:00
Unknown W. Brackets
e383b0279f Plugins: Support for loading game-specific plugins. 2020-09-08 09:12:19 -07:00
Unknown W. Brackets
6b8f7294b3 Global: Remove ARM64 define.
Was barely used anymore, and some users are specifying it when it's not
the case, so better to detect consistently.
2020-08-29 08:45:50 -07:00
Henrik Rydgård
479dedf0ba Some logging improvements. Show more coordinates for block transfers, etc. 2020-08-16 22:27:21 +02:00
Unknown W. Brackets
20eef073b4
Global: Unbreak build. 2020-08-16 10:54:47 -07:00
Henrik Rydgård
0bf6bd9175 More Log.h cleanup. 2020-08-16 14:48:54 +02:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård
99a5a9aac5 Address feedback 2020-08-15 20:02:07 +02:00
Henrik Rydgård
f0d2f24658 Finally delete base/logging.cpp/h. Carefully preserve behaviour on Android.
There's more cleanup to do ...
2020-08-15 19:09:09 +02:00
Henrik Rydgård
3c412ea21e Fix build of ZimTool/AtlasTool. Had to break the ugly backwards dependency from LogManager to g_Config. 2020-08-15 19:09:09 +02:00
Henrik Rydgård
80e0f85332 Getting really close to getting rid of base/logging.h now.
Qt buildfix
2020-08-15 19:09:01 +02:00
Henrik Rydgård
6f1915110f Remove base/logging from UI and more 2020-08-15 19:08:54 +02:00
Unknown W. Brackets
e59951382a Global: Make stringutil includes more explicit. 2020-08-10 07:05:22 -07:00
iota97
c392d95c63 UI sound fix 2020-08-04 23:36:35 +02:00
Henrik Rydgård
3fd8f3d86d Add a setting. Various tweaks to sound triggering. 2020-08-03 12:08:11 +02:00
Henrik Rydgård
b30be913c0 Read in WAV files for UI sounds 2020-08-03 12:08:11 +02:00
Henrik Rydgård
6f02844b5b Consolidate BackgroundAudio.cpp into a class 2020-08-03 10:43:26 +02:00
Henrik Rydgård
45b05b386b
Merge pull request #13229 from shenweip/UsbMic
Add basic Microphone support on Windows.
2020-08-01 19:26:35 +02:00
shenweip
c7e2eba231 Add basic Microphone support on Windows. 2020-07-31 10:24:17 +08:00
Henrik Rydgård
73166def93 Android: Reduce asserts during startup. 2020-07-28 19:06:29 +02:00
Henrik Rydgård
06d57b1656 GL: Add some paranoid checks. Remove a useless option. 2020-07-28 14:24:36 +02:00
Henrik Rydgård
c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Henrik Rydgård
f9cef5b6b2 Partly clean up SDL resize code, should help #11974 2020-06-24 01:06:01 +02:00
Henrik Rydgård
8b98047502 Finish the Linux part of this change 2020-06-22 00:54:51 +02:00
Henrik Rydgård
cd1d73436d Vulkan: Recreate the swapchain if we get too many "out of date" frames.
Should help an issue on my Linux laptop with Intel GPU.
2020-06-22 00:45:05 +02:00
iota97
ba98e540f1 Code style fix 2020-06-04 19:21:52 +02:00
iota97
a56e56cf53 Auto switch option 2020-06-04 19:16:25 +02:00
iota97
d79b451188 Allow tilt input on Z instead of X 2020-06-04 19:16:25 +02:00
Henrik Rydgård
5e7a837ff9 Display the savestate slot number when saving and loading state through shortcuts. 2020-05-16 15:20:22 +02:00
Unknown W. Brackets
03fc86a147 UI: Return to game settings after restart.
This is more convenient.  Also restarts the game if needed.

Added a way to pass args to Android here as well, and fixed displaying an
error if the shortcut file doesn't exist on Android (like if you deleted
it after creating the shortcut.)
2020-05-09 13:53:42 -07:00
Henrik Rydgård
2a44d3f797
Merge pull request #12770 from unknownbrackets/gpu-failed
Windows: Show a message when failing over backend
2020-03-28 14:28:42 +01:00
Unknown W. Brackets
de7aa5b64e Windows: Show a message when failing over backend.
Best that we make sure people know when this has happened, probably.

Also, fix the fallback to OpenGL, which was broken on Windows.
2020-03-28 06:19:11 -07:00
Henrik Rydgård
01179c2d90 Remove outdated code that reset the logenabled flags on non-Windows. Fixes #12291 2020-03-28 13:24:48 +01:00
Unknown W. Brackets
c65bfdffc6 UI: Avoid crash when atlas metadata is missing.
See #12722.
2020-03-21 21:10:20 -07:00
orbea
39576814ac Add more assets directory paths. 2020-03-18 09:59:20 -07:00
Henrik Rydgård
4501045224
Merge pull request #12691 from unknownbrackets/inputbox
Android: Process input prompts more clearly
2020-03-09 20:28:25 +01:00
Unknown W. Brackets
a3e12f4242 Android: Process input prompts more clearly.
This way, the processing is generally inline or explicitly a callback.
There's also less parsing issues since all the parsing is centralized.
2020-03-08 20:45:01 -07:00
Unknown W. Brackets
9d7dc97c3e Android: Reload game config on storage permission.
Before, we were saving out the global values on top of the game config
while loading them.

We seem to get the storage permission event twice sometimes, which is what
causes this to happen after we've already loaded the game config.
2020-03-08 15:26:44 -07:00
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
8f2a52ccab Merge branch 'rechat' of https://github.com/ANR2ME/ppsspp into ANR2ME-rechat 2020-03-08 14:28:10 +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
ANR2ME
142e60974c Merge branch 'rechat' of https://github.com/adenovan/amultios-ppsspp into rechat 2020-03-02 22:25:18 +07: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
76e0d02059
Merge pull request #12657 from unknownbrackets/debugger
Debugger: Stop remote server in full shutdown
2020-03-01 09:16:16 +01: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
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
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
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
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
cb8c57f8e3
Merge pull request #12370 from unknownbrackets/switch
Pull some base parts of the Switch PR
2019-10-07 20:01:36 +02:00
Henrik Rydgård
f342d8d856 Logging improvements 2019-10-06 13:21:57 +02: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
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
a461dbeecb Fix crash in Zip UI. Make another crash happen earlier. 2019-09-27 22:56:37 +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
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
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
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
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
Unknown W. Brackets
03bec46b93 UI: Make the screenshot key configurable.
Affects #10825.
2019-04-30 19:01:20 -07:00
LunaMoo
53daa0d844 Remove some unused code. 2019-04-28 13:17:08 +02: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
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
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 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