Henrik Rydgård
7e2323d5e6
Android: Create .nomedia file in the PSP directory directly
...
This avoids media scanners better. Should fix issue #17711
2023-07-14 10:19:42 +02:00
Henrik Rydgård
86ee2253ee
Save/Load the icon cache to disk if RetroAchievements are enabled.
...
Should reduce the server load a bit.
2023-07-13 12:44:20 +02:00
Henrik Rydgård
19f4eadeb1
Call the sound effect mixer directly from Mix instead of pushing the samples from background audio.
2023-07-12 17:55:46 +02:00
Henrik Rydgård
d0b42705a0
Switch over to rc-client
2023-07-08 18:59:37 +02:00
Henrik Rydgård
84fffec4f3
Switch all NativeMessageReceived to System_PostUIMessage
2023-07-06 17:26:02 +02:00
Henrik Rydgård
ac4506e389
Stop "messages from java" to leak out to NativeMessageReceived except where explicitly allowed
2023-07-06 17:13:04 +02:00
Henrik Rydgård
a7c21b582e
Move UI/RetroAchievements.{cpp,h} to Core.
...
Necessary to avoid some dependency inversion.
Gotta figure out how this will interact with the libretro stuff..
2023-07-02 12:02:20 +02:00
Henrik Rydgård
eb21a2e6c9
Break out the OSD data holder from Common/System/System.h, into OSD.cpp/h
2023-06-30 17:15:49 +02:00
Henrik Rydgård
df8a745350
RetroAchievements: Add a tab for debug stats
2023-06-27 10:33:40 +02:00
Henrik Rydgård
81e1293693
Token name and path fix
2023-06-26 17:21:39 +02:00
Henrik Rydgård
d4239e7c98
Keeping it simple - putting the token in memstick/PSP/SYSTEM for now
2023-06-26 17:09:35 +02:00
Henrik Rydgård
4134acc492
Use the new "secret storage" to store the retroachievements token
2023-06-26 10:01:42 +02:00
Henrik Rydgård
87846c5fcb
Add simple facility for storing secret in app-private storage on Android (other platforms not so good)
2023-06-26 10:01:42 +02:00
Henrik Rydgård
66d9c24f72
More integration
2023-06-26 10:01:40 +02:00
Henrik Rydgård
84e9a85e0f
Things link now. Let's see if it works..
2023-06-26 10:01:40 +02:00
Henrik Rydgård
7cc8c6cea4
OSD: Add semantics, move the the OSD state to common (while keeping the renderer in the UI).
2023-06-20 14:40:46 +02:00
Henrik Rydgård
d6552a7673
Implement an "OverlayScreen" concept. OSD can now render on top of other screens than EmuScreen.
2023-06-20 10:44:47 +02:00
Unknown W. Brackets
f5f3afbeef
Android: Correct pad name tracking.
...
This is split up in two messages, a bit ugly...
2023-06-11 15:43:21 -07:00
Henrik Rydgård
2675d6ea43
Input event and device enums ( #17514 )
...
* Switch deviceID from int to enum InputDeviceID, globally
* Switch axisId to enum InputAxis
* Change int keycodes to InputKeyCode where it makes sense.
* SDL input buildfix
* SDL keycode buildfix
* Switch on enum warning fixes
* Qt keycode buildfix
* iOS keycode buildfix
* UWP keycode buildfix
* More iOS buildfix
* More iOS buildfix
* Update DinputDevice.cpp
2023-05-26 18:40:13 +02:00
Henrik Rydgård
4f1be34f24
Revert "Remove the Android display resolution selector"
...
This reverts commit ea0eaa31e6
.
2023-05-17 09:37:15 +02:00
Bashar Astifan
132a00ade3
Merge branch 'master' into master
2023-05-03 23:23:29 +04:00
Bashar Astifan
9b0577351f
Review's changes, more fixes and better structure
2023-05-02 00:09:22 +04:00
Henrik Rydgård
15a0474d40
NativeKey: Only update the HLEPlugins key map if any plugins are active.
2023-05-01 12:16:45 +02:00
Bashar Astifan
05776ee6af
Major update
2023-04-30 08:54:54 +04:00
Bashar Astifan
d0b6935592
UWP Improved Support
2023-04-28 23:22:17 +04:00
Henrik Rydgård
12bd0ed26d
Restore the shared_ptrs
2023-04-07 10:35:01 +02:00
Henrik Rydgård
ee6234ecb6
I18N: Switch to getting categories by index instead of by string lookup
...
Also gets rid of the shared_ptr usage, and generally makes things nicer.
Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
d5f131f6a7
Always tell Android we handled the BUTTON_MODE key
...
Otherwise, as seen in #17245 , some devies can decide to do something weird with it,
like exiting the app.
2023-04-06 12:34:40 +02:00
Henrik Rydgård
d00809ae53
Rename KeyDef to InputMapping and give it responsibility for Axis encoding
2023-03-29 11:59:31 +02:00
Unknown W. Brackets
441c940fa9
UI: Remove some unnecessary Host.h includes.
2023-03-25 17:19:21 -07:00
Henrik Rydgård
d586ec0d5e
Don't create Host objects except in headless/unittest
2023-03-25 10:47:01 +01:00
Henrik Rydgård
7d0eac730f
Remove WindowsHost
2023-03-25 10:43:00 +01:00
Henrik Rydgård
143f499d11
Remove a few of the Host implementations
2023-03-25 10:37:49 +01:00
Henrik Rydgård
9e125eeba7
Remove NotifyUserMessage from Host
2023-03-25 10:32:09 +01:00
Henrik Rydgård
adccc480a0
Another one bites the dust (SendUIMessage)
2023-03-24 21:39:02 +01:00
Henrik Rydgård
349b73acec
Move the resampler usage to a common file, AudioCommon. ( #17176 )
...
* Move the resampler usage to a common file, AudioCommon.
Ports that don't want to use the resampler can now simply exclude that
file and provide their own implementation. Next up, libretro will be
converted to do it that way.
* Android.mk typo
* libretro makefile fix
* libretro buildfix
* libretro: try a different approach for the temporary solution
* duh
* double duh
2023-03-24 17:19:57 +01:00
Henrik Rydgård
724f94f8e4
UWP buildfix
2023-03-24 15:32:48 +01:00
Henrik Rydgård
a5fdf3d05b
Add samplerate argument to NativeMix
2023-03-24 14:48:53 +01:00
Henrik Rydgård
8421c1e2a1
Move g_backgroundAudio.Play to NativeUpdate
2023-03-24 14:48:49 +01:00
Henrik Rydgård
21bd50dcb0
Remove polling requirement from DSound audio backend
...
Might as well sleep for a short period instead, same effect really.
2023-03-24 10:40:10 +01:00
Henrik Rydgård
5a55fd5fd3
And replace "graphics_restart", "toggle_fullscreen", etc
2023-03-22 23:52:15 +01:00
Henrik Rydgård
410b35fba3
Get rid of "finish" and "setclipboardtext" messages, replace with requests.
2023-03-22 22:17:26 +01:00
Henrik Rydgård
b7350f3cbf
Fix folder browser on Android and Windows
2023-03-22 19:25:35 +01:00
Henrik Rydgård
e9f5394f59
Move the Windows open file dialog to the new system, switch the background image selector over.
2023-03-22 14:53:07 +01:00
Henrik Rydgård
de064e210e
Replace the inputbox queue with a more generic RequestManager.
2023-03-22 12:41:11 +01:00
Henrik Rydgård
94debfbf36
Rename screenManager to g_screenManager, readme update
2023-03-22 09:44:44 +01:00
Henrik Rydgård
2786786c9f
Avoid Host in Windows graphics init
2023-03-21 14:07:27 +01:00
Henrik Rydgård
f5472ba0d8
Cleanup up unnecessary audio init functions
2023-03-21 13:39:02 +01:00
Henrik Rydgård
f60f5ccaea
Move SetDebugMode notification
2023-03-21 13:39:00 +01:00
Henrik Rydgård
53172eff63
Renaming and file splitting
2023-03-06 16:42:50 +01:00
Henrik Rydgård
3b39e9e068
Turn the VFS into a class, to be able to reuse it for other purposes.
2023-03-06 16:42:47 +01:00
Henrik Rydgård
4c45f8a4b0
Pass in draw directly in GPUCommon::DeviceRestore, instead of awkwardly fetching it
2023-02-25 23:04:27 +01:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct ( #16998 )
...
* Wrap the display globals in a struct
Makes it easier to search/replace these, for future refactorings.
* Some renaming
* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)
* Attempt at buildfixing ios
* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård
a288c59841
Simplify tilt, step 1
2023-02-16 10:33:47 +01:00
Henrik Rydgård
7d40ed6ba1
Tilt control: Split the deadzone parameter since it needs to be different for different types.
...
Can at least share the string without problems.
Also rearrange the settings a little bit.
2023-02-11 23:42:55 +01:00
Unknown W. Brackets
655797a846
iOS: Disable jit in DefaultCpuCore().
...
This means loading game-specific inis should properly auto-disable.
2023-02-06 21:07:32 -08:00
Henrik Rydgård
af8e4cd36b
Fixes for portrait mode. Move the haptic feedback setting where it belongs.
2023-02-02 11:59:56 +01:00
Henrik Rydgård
1f51a31544
Remove the separate deadzone-skip value.
2023-02-02 01:09:30 +01:00
Henrik Rydgård
4aeb1ef703
Better math, fix tilt calibration (was entirely broken)
2023-02-02 01:01:05 +01:00
Henrik Rydgård
738b7fc630
Merge pull request #16889 from hrydgard/tilt-improvements
...
Tilt improvements: Add visualizer, better defaults
2023-02-01 17:47:11 +01:00
Henrik Rydgård
ce40744cdd
Merge pull request #16874 from SerenaKit/serena/darwin-browse-button
...
Browse button on Darwin platforms, rename some classes/functions
2023-02-01 17:21:53 +01:00
Serena
482e989cd7
convert to System_SendMessage insanity
2023-02-01 19:03:12 +03:00
Henrik Rydgård
3b36a1bb66
TiltEventProcessor belongs in Core, not UI.
2023-02-01 15:04:32 +01:00
Henrik Rydgård
102607a6e8
Code style fixes, translation key fix, cleanup
2023-02-01 14:24:55 +01:00
Sergey P
bf2cabb82c
merge from upstream
2023-02-01 13:33:07 +03:00
Serena
230fb93766
Browse button on Darwin platforms, rename some classes/functions
2023-01-31 13:36:14 +03:00
Henrik Rydgård
0f52954eae
Minor log cleanups
2023-01-30 14:38:05 +01:00
Sergey P
6ed017ac89
fixes
2023-01-26 15:06:52 +03:00
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