Commit Graph

2474 Commits

Author SHA1 Message Date
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
e21867315b Fix browsing for Cheat DB files. Easy now after the refactor! 2023-03-23 10:18:21 +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
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
70f0ac04af Port the file browser spawned by the Load button to the new request stuff 2023-03-22 15:36:14 +01:00
Henrik Rydgård
47ae31e293 Minor cleanups, drive-by fix for folder browser on iOS 2023-03-22 15:36:14 +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
3852d4f698 Make a little system to replace the InputBox message queue with something more generic 2023-03-22 11:35:57 +01:00
Henrik Rydgård
94debfbf36 Rename screenManager to g_screenManager, readme update 2023-03-22 09:44:44 +01:00
Henrik Rydgård
47f063550a Remove InitGraphics/ShutdownGraphics from Host, except for headless 2023-03-21 22:47:20 +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
fc1732cc22 Move NotifySwitchUMDUpdated 2023-03-21 13:37:19 +01:00
Henrik Rydgård
c92a4acb40 Move NotifySymbolMapUpdated to System_Notify 2023-03-21 13:37:19 +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
ac5855cdf8 Remove CanCreateShortcut function 2023-03-21 12:23:01 +01:00
Henrik Rydgård
d3955b42bb Rename some system functions, merge the Launch* ones.
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Henrik Rydgård
a9eaa4fdc8 Get rid of an ifdef 2023-03-21 10:24:36 +01:00
Unknown W. Brackets
6bf5827407 Windows: Fix small atom leak. 2023-03-15 22:02:36 -07: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
82097b4a3b Implement NopInstruction feature in debugger
See #16975
2023-03-02 14:30:53 +01:00
Henrik Rydgård
f55782558c Debugger: Copy Address will now copy addresses for the whole selection 2023-03-02 13:59:07 +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
Nemoumbra
aab4a3034c Added new MainWindow menu item "copy PSP memory base pointer" 2023-02-24 23:54:45 +03:00
Nemoumbra
c6b44cd5d7 Update gitignore 2023-02-24 23:44:32 +03:00
Unknown W. Brackets
cbc1ed4bfe Debugger: Lock memory during stack walk.
In case of shutdown during it.
2023-02-22 21:14:33 -08:00
Henrik Rydgård
d65dae7185 Depth scale functions: Clean up the naming, add a failing test 2023-02-10 14:57:45 +01:00
Henrik Rydgård
6f9d6c6c5f New version of WM_USER_GET_BASE_POINTER 2023-02-06 13:49:00 +01:00
Sergey P
bf2cabb82c merge from upstream 2023-02-01 13:33:07 +03:00
Henrik Rydgård
e0db28899c Windows: Correct menu bar when dark mode is off 2023-02-01 00:05:40 +01:00
Henrik Rydgård
599bfed1b8
Merge pull request #16878 from hrydgard/selective-restore-to-default
Restore settings to default - let you choose what to reset
2023-01-31 23:10:00 +01:00
Henrik Rydgård
79e4a3d345 Windows: Clamp the reported refresh rate to 60, experiment for problem from #16725 2023-01-31 20:41:12 +01:00
Henrik Rydgård
c554f4e2b6 Allow restoring only settings, recents or controls to defaults.
Fixes #16381 , though could make even more granular later.

The only translation change was deleting one sentence from a longer
string - used Google Translate to assist me in removing the correct part
for a few of them, most were obvious. Hope they're all right.
2023-01-31 18:56:18 +01:00
Henrik Rydgård
c8dce81ff0
Merge pull request #16156 from hrydgard/opengl-thread-refactor
OpenGL threading refactor
2023-01-31 11:14:01 +01:00
Henrik Rydgård
b04dd81cba
Merge pull request #16704 from hrydgard/darkmode
Windows Dark Mode: initial support
2023-01-31 10:45:07 +01:00
Henrik Rydgård
cb16f193ec Fix the problem. Still need to leave the loop with SDL even if we supply a swap function. 2023-01-30 15:45:05 +01:00
Henrik Rydgård
436a3e0d61 Cleaner exit from emuthread, as used by OpenGL. Don't know how it worked before... 2023-01-30 11:49:31 +01:00
Henrik Rydgård
b62572a78f Refactor the framedata/GPU thread management. 2023-01-30 11:49:31 +01:00
Unknown W. Brackets
489411359e Common: Add cpu_features library. 2023-01-29 14:35:58 -08:00
Henrik Rydgård
4287365411 Update URLs, fix feedback from #16851 2023-01-29 00:25:27 +01:00
Serena
30f6296767 Remove some Windows + Qt stuff + meow 2023-01-27 19:12:41 +03:00
Sergey P
91aa6ad608 merge from upstream 2023-01-26 14:50:09 +03:00
Henrik Rydgård
b4a91dbce5 Disable dark mode in disasm window, and the scrollbar hack 2023-01-12 01:05:06 +01:00
Henrik Rydgård
3c0a5e4c4c Fix the white line 2023-01-12 01:01:03 +01:00