555 Commits

Author SHA1 Message Date
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