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
Henrik Rydgård
575560f679
Enable game backgrounds on more screens
2022-11-22 22:53:54 +01:00
Henrik Rydgård
b80df6c360
Add transparent background to the existing Display Layout Editor.
2022-11-22 14:16:24 +01:00
Henrik Rydgård
d551d2a3ed
Pause menu background: Remove complicated transparency tricks, instead draw game as part of background.
2022-11-22 12:11:20 +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
c3604428b9
Only check for display resized in emuscreen-under-pause-screen, not the other changes.
2022-11-21 17:59:56 +01:00
Henrik Rydgård
d73196c7d6
Split up the GPU config change notifications
2022-11-21 15:14:20 +01:00
Henrik Rydgård
e654f6937a
Forgot to commit this in PR #16404
2022-11-21 14:29:26 +01:00
Henrik Rydgård
37ec31dedd
Fix resizing issue. Took some refactoring.
2022-11-20 12:57:32 +01:00
Henrik Rydgård
63cbd9c79b
Make the pause screen "transparent"
...
When paused (ESC or back), you now see the paused game below, darkened,
instead of the usual menu background.
Not enabled in VR mode for now because it could get weird.
Also not trivial in skip-buffered mode (would require taking a screenshot) so
disabled in that case too.
2022-11-20 12:24:17 +01:00
Lubos
f92990a002
OpenXR - Better dialog support
2022-11-17 15:25:35 +01:00