Henrik Rydgård
ae0c1e88c3
Move the menu frame-rate throttling to NativeFrame
...
Now needed on Android since we added the ability to turn off vsync,
which caused the menu to burn battery by rendering too fast.
2023-10-04 16:57:06 +02:00
Henrik Rydgård
19e4de5088
Change global UI messages to use an enum instead of strings.
...
Makes it easier to add new ones and delete outdated ones without missing
any uses.
2023-09-30 11:37:02 +02:00
Henrik Rydgård
b3a2b7a35c
Batch axis events coming into the ScreenManager
2023-09-29 11:10:32 +02:00
Henrik Rydgård
1a5d5452fe
Batch axis events to the VR code
2023-09-29 11:10:32 +02:00
Henrik Rydgård
c28dc9e4f2
Pass in accelerometer readings using NativeAccelerometer instead of NativeAxis
2023-09-27 11:34:31 +02:00
Henrik Rydgård
3264209772
Add some missing locking in KeyMap.cpp.
...
Plus minor assert change and java null check.
2023-09-24 12:33:01 +02:00
Henrik Rydgård
cd79d120d8
Don't log warnings on missing RA login secret. Also don't even check unless a username has been set.
2023-09-06 10:34:32 +02:00
Henrik Rydgård
80a99a67d9
Control: Change internal interfaces to batch-process input axis updates
...
These naturally come in bunches on many platforms like Android, so lay
some groundwork to also handle them in bunches to minimize locking in
the future.
Linux buildfix
2023-08-31 11:55:53 +02:00
Henrik Rydgård
4b89fab91c
NativeInitGraphics: Update core parameter pixel width/height (since we lose resized flag)
2023-08-30 23:42:13 +02:00
Henrik Rydgård
e40fbba02b
Log global messages processed
2023-08-30 23:30:49 +02:00
Bashar Astifan
19d79b0a6c
Merge branch 'master' into configs-loading
2023-08-26 12:19:44 +04:00
Henrik Rydgård
1025bbcf89
Log level/type: Use enum class instead of the awkward namespace trick.
...
Just a small cleanup I've wanted to do for a long time.
2023-08-25 11:48:59 +02:00
Bashar Astifan
4e2652bd4b
OSK support final update
...
- Renamed few functions to avoid confusion
- Now UI will report text (gotfocus, lostfocus), popup_closed to the frontend
- Both cases (DPad, Keyboard) covered
2023-08-24 06:33:36 +04:00
Henrik Rydgård
797f88bf31
Fix ordering problem with screenshots that was causing crashes.
...
Fixes #17781
2023-08-23 19:03:33 +02:00
Bashar Astifan
c6e7760283
Complete OSK function support
2023-08-23 21:01:00 +04:00
Bashar Astifan
04d72ebe54
UWP improvements 2
2023-08-23 02:25:57 +04:00
Unknown W. Brackets
622c69dbb9
x86jit: Expose option to select new IR based jit.
2023-08-20 22:28:54 -07:00
Henrik Rydgård
f3b2cb6fca
Remove outdated hack for vsync parameter on Android.
2023-08-18 15:07:10 +02:00
Henrik Rydgård
5b76615463
Cleanup and more sensible defaults for current directory
2023-08-18 15:04:20 +02:00
Henrik Rydgård
e3b243f9d2
Simplify current directory initialization, fix defaulting to home
2023-08-18 14:03:38 +02:00
Henrik Rydgård
7a4efb1a0a
Call CreateSysDirectories on all platforms.
2023-08-18 14:03:38 +02:00
Henrik Rydgård
b9b7342ffd
Merge pull request #17350 from basharast/master
...
UWP Improvements
2023-08-14 15:54:04 +02:00
Henrik Rydgård
ff6e118fff
Get rid of a lot of ifdefs around presentation mode. Instead, set things dynamically.
2023-08-14 11:02:29 +02:00
Bashar Astifan
07c119a80c
Merge branch 'master' of https://github.com/hrydgard/ppsspp
2023-08-14 02:45:28 +04:00
Henrik Rydgård
7bb1914fd3
Add FrameTiming.cpp/h (with no real contents)
2023-08-13 17:57:43 +02:00
Henrik Rydgård
ed9b033f7d
D3D9/11: Move away from using context->SwapBuffers(), instead move present to draw_->Present().
2023-08-11 01:57:02 +02:00
Henrik Rydgård
0deefb82a9
thin3d: Merge BeginFrame and SetDebugFlags (set them every frame anyway)
2023-08-10 17:15:54 +02:00
Henrik Rydgård
dec320de2d
Reorder some stuff to make more sense.
2023-08-10 16:12:50 +02:00
Henrik Rydgård
0fdb0e47a8
Revert "Move Present to the end of NativeFrame()"
...
This didn't work out too well, will look into it as it's a necessary
step.
This reverts commit 4e77c63b97
.
2023-08-10 13:51:35 +02:00
Henrik Rydgård
4e77c63b97
Move Present to the end of NativeFrame()
2023-08-10 10:00:12 +02:00
Henrik Rydgård
1b6d4df3a4
Move the EndFrame/Present split one level out, to NativeApp.cpp
2023-08-10 09:59:29 +02:00
Henrik Rydgård
0d4a2a7594
Call draw->Begin/EndFrame from outside the screen manager.
...
Just a very small refactoring that I want in a separate commit.
2023-08-09 23:24:28 +02:00
Henrik Rydgård
bcae36d8cb
Merge NativeUpdate and NativeRender, we always call them together.
2023-08-07 22:50:57 +02:00
Henrik Rydgård
a32249a3cf
Move DebugOverlay rendering to the overlay screen, allowing drawing it on top of the menu
2023-08-03 16:19:18 +02:00
Henrik Rydgård
fc6879674e
Refactor overlays into an enum
2023-08-02 13:03:04 +02:00
Bashar Astifan
401377818c
Merge branch 'master' into master
2023-08-01 05:29:56 +04:00
Henrik Rydgård
b54d5ab8e6
Cleanup the g_PortManager shutdown process
...
Following up comment by @ANR2ME in #17744 , to be merged before that one.
2023-07-20 23:55:35 +02:00
Bashar Astifan
a35c8425e6
Merge branch 'master' into master
2023-07-17 23:20:52 +04:00
Henrik Rydgård
ceb6085707
Move back to directory-specific .nomedia files.
2023-07-16 10:46:48 +02:00
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