Henrik Rydgård
a4baed4c0c
Minor GLPushBuffer cleanup (now same API as the VK one)
2023-05-23 08:41:09 +02:00
Henrik Rydgård
05b6bbdc56
Add a trivial profiling tool to the OpenGL backend - meaasure the time it takes to run a frame of commands.
...
Accessed from the in-game dev menu just like the Vulkan frame profiler.
With this we can easily see that actually submitting the GL commands is often the bottleneck on old
devices like a Galaxy S3.
2023-05-17 14:38:11 +02:00
Henrik Rydgård
c037f6731d
Better (but not great) workaround for key bindings that pop up dialogs.
2023-05-02 21:36:17 +02:00
Henrik Rydgård
ab37b8dea9
Rename a couple of types to avoid clashes with a Mac header, sigh.
2023-04-28 13:38:16 +02:00
Henrik Rydgård
7594ae8785
Resurrect and refactor the AxisSwap feature. Fixes #17292
2023-04-20 10:53:11 +02:00
Henrik Rydgård
9612bff2ac
Properly fix the analog limiter feature ("lightly").
2023-04-15 19:56:27 +02:00
Henrik Rydgård
471941cca7
Fix the analog limiter deadzone setting.
2023-04-15 10:14:19 +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
92f6fcfb9d
Create the chat window even if the on-screen chat button is disabled.
2023-04-05 23:47:51 +02:00
Henrik Rydgård
3af24a5d9f
Fix issue where the chat-window key would feel stuck after closing the window (two presses needed)
2023-04-05 23:21:51 +02:00
Henrik Rydgård
0b574613b9
Address assorted feedback
2023-04-01 09:01:27 +02:00
Henrik Rydgård
04321284c0
Remove redundant callback
2023-04-01 08:57:42 +02:00
Henrik Rydgård
04d3d3111c
Clean up __Ctrl button functions.
2023-04-01 08:55:45 +02:00
Henrik Rydgård
9804a905c8
More tweaks (work around the old problem where lingering analog values biased the digital input)
2023-03-31 20:27:30 +02:00
Henrik Rydgård
48993f4f4b
Control: Add debug display, do assorted fixes.
2023-03-31 20:12:48 +02:00
Henrik Rydgård
025ec248e4
Don't need two SetCallback functions.
2023-03-31 11:11:46 +02:00
Henrik Rydgård
fa0fb6eee6
Rework and simplify VIRTKEY_SPEED_ANALOG
2023-03-31 11:05:33 +02:00
Henrik Rydgård
ca300a4dfd
More callback fixes
2023-03-31 11:05:33 +02:00
Henrik Rydgård
526b4f782d
Fixes, add callback for analog virtual keys
...
Some fixes
2023-03-31 11:05:33 +02:00
Henrik Rydgård
2814668cf5
Show a MIPS stack trace on crash screen ( #17211 )
...
* Print simple stack traces to log on crashes.
* Display stack traces on crash screen
* Show the in-function offset in the printed callstacks.
* Libretro buildfix attempt
2023-03-31 10:08:12 +02:00
Henrik Rydgård
26bf40c497
ControlMapper: Change the callbacks to be more suitable for the upcoming refactor. ( #17209 )
...
* ControlMapper: Change the callbacks to be more suitable for the upcoming refactor.
* SetAllButtons: Separate bits to set and bits to clear.
* Oops, missed committing some files somehow
2023-03-30 10:47:28 +02:00
Henrik Rydgård
534896d2ab
ControlMapper: Allow overriding PSP button event handling through a callback.
2023-03-28 00:23:18 +02:00
Unknown W. Brackets
921c4dccd9
UI: Avoid reloading PIC1 BG on game start.
...
We only need it if we start drawing it, which we only do if loading takes
time. Might as well skip some IO, even on a separate thread.
2023-03-26 14:32:30 -07:00
Unknown W. Brackets
76ef95a841
headless: Remove printfEmuLog, simplify output.
2023-03-26 10:17:34 -07:00
Unknown W. Brackets
441c940fa9
UI: Remove some unnecessary Host.h includes.
2023-03-25 17:19:21 -07:00
Henrik Rydgård
9e125eeba7
Remove NotifyUserMessage from Host
2023-03-25 10:32:09 +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
b440e28e38
Remove System_SendMessage!
...
iOS, Qt buildfixes
2023-03-22 23:52:51 +01:00
Henrik Rydgård
5a55fd5fd3
And replace "graphics_restart", "toggle_fullscreen", etc
2023-03-22 23:52:15 +01:00
Henrik Rydgård
dda8635c89
Move three notifications out of Host
2023-03-21 13:37:19 +01:00
Henrik Rydgård
06fcc9ccd7
Add System_Notify
2023-03-21 13:37:16 +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
49e5460c9c
Remove count parameter from SetViewports. No use foreseen.
2023-02-25 07:12:53 +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
Henrik Rydgård
b97749d623
Assorted initialization cleanup and similar, found by valgrind and warnings
2023-01-30 18:31:49 +01:00
Unknown W. Brackets
bfea9f38f7
UI: Show expected FPS if speed+FPS is on.
...
Same display as before, convenient to see this.
2023-01-29 10:50:44 -08:00
Henrik Rydgård
4287365411
Update URLs, fix feedback from #16851
2023-01-29 00:25:27 +01:00
Henrik Rydgård
415e3f1d9d
Merge pull request #16851 from SerenaKit/serena/battery-stuff
...
Ability to show battery % on Darwin platforms, transform FPS/Speed counter into a BitCheckbox
2023-01-28 11:39:48 +01:00
Serena
ca154879f0
Make changes requested by hygdrad
2023-01-27 18:16:50 +03:00
Serena
f250a54958
Support for showing % on Darwin platforms and some other changes
2023-01-27 11:19:29 +03:00
Henrik Rydgård
e03db2ee23
Display CRC on crash screen. Thanks sum2012 for the idea.
...
Fixes #16840
2023-01-25 00:43:17 +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
a3a949f5e6
Remove touch() return values from screen hierarchy
2023-01-10 10:12:37 +01:00
Henrik Rydgård
aa80659530
Memory exception: Add facility to track size
...
Might theoretically help in tracking some things down.
Not fully utilized yet, the fault handler needs to extract the
information from the faulting instruction. But we can use it for
GetPointerRange etc.
2023-01-01 20:30:29 +01:00
Henrik Rydgård
97fadbcecb
Show bluescreen properly on memory errors that we failed to ignore.
...
Previously we just wouldn't draw it but still would be in the error
state.
2022-12-30 12:29:23 +01:00
Henrik Rydgård
2ab7222d5b
Clear the extra assert info on game exit
2022-12-17 22:17:29 +01:00
Henrik Rydgård
800bc91a8a
Supply some extra info in asserts (currently game ID and name).
...
Google Play Console can now show this along with the assert stacktrace.
2022-12-17 22:14:47 +01:00
Henrik Rydgård
3f0e53e60a
Let the running game show through the background of all the PromptScreen dialogs.
2022-11-29 16:29:43 +01:00
Henrik Rydgård
cddf78c82a
Merge pull request #16419 from hrydgard/control-mapping-fixes
...
Stick input: Fix issue where deadzone noise from one device could drown out signal from another.
2022-11-23 14:23:43 +01:00
Henrik Rydgård
5230fc7c41
Joystick input: Ignore in-deadzone events from a different device than previous events
...
Fixes #15465
2022-11-23 12:22:59 +01:00