summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/MainNoGUI.cpp
AgeCommit message (Collapse)Author
2026-01-25Remove unused importsMartino Fontana
Yellow squiggly lines begone! Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes. If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed. The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports. Not everything is removed, but the cleanup should be substantial enough. Because this done on Linux, code that isn't used on it is mostly untouched. (Hopefully no open PR is depending on these imports...)
2025-11-16Merge pull request #13689 from JosJuice/lock-core-any-threadJosJuice
Core: Let any thread call previously host-thread-only functions
2025-11-10Core: Remove IsHostThreadJosJuice
The core no longer cares which thread is the host thread. Cleaning up Android's HostThreadLock is left for another PR, in part because the HostThreadLock in NativeConfig.cpp still serves a purpose, and in part to make any issues easier to bisect.
2025-11-09Core: Make AddOnStateChangedCallback use HookableEvent.Jordan Woyak
2025-09-19Main: Add SA_RESTART to signal handler sigaction sa_flags.Jordan Woyak
2025-08-03Host: Remove unnecessary functionsDentomologist
Remove Host_RefreshDSPDebuggerWindow (which hasn't done anything since DolphinWX was removed in 44b22c90) and DSP::Host::UpdateDebugger (which only called Host_RefreshDSPDebuggerWindow).
2025-08-03Host: Remove unnecessary functionDentomologist
Remove Host_UpdateMainFrame(). The only non-empty call happened in DolphinNoGUI which called s_update_main_frame_event.Set(), but DolphinNoGUI never waits on that event.
2025-06-04DolphinNoGUI: Make parameters constantDr. Dystopia
2025-06-04DolphinNoGUI: Make variables constantDr. Dystopia
2025-06-04DolphinNoGUI: Remove unused include directivesDr. Dystopia
2025-06-04DolphinNoGUI: Make variables constexprDr. Dystopia
2025-06-04DolphinNoGUI: Replace deprecated `signal.h` headerDr. Dystopia
2025-04-23linter: Apply clang-format 19.1 formattingJoshua Vandaële
find ./Source/ -name '*.cpp' -o -name '*.h' | xargs clang-format-19 -i
2024-11-15GDBStub: Signal Breakpoint Changes To Hostmitaclaw
2024-10-23Host: Rename `JitCacheInvalidation`mitaclaw
There are two hard problems in computer science...
2024-10-19DolphinQt: JIT Widget Refreshmitaclaw
Fulfilling a certain six-year-old todo.
2024-05-31TAS Input: Enable hotkeys and controller input when Input has focusDentomologist
Enable emulator hotkeys and controller input (when that option is enabled) when a TAS Input window has focus, as if it was the render window instead. This allows TASers to use frame advance and the like without having to switch the focused window or disabling Hotkeys Require Window Focus which also picks up keypresses while other apps are active. Cursor updates are disabled when the TAS Input window has focus, as otherwise the Wii IR widget (and anything else controlled by the mouse) becomes unusable. The cursor continues to work normally when the render window has focus.
2024-03-28DolphinQt: A Ubiquitous Signal For When Symbols Changemitaclaw
There were three distinct mechanisms for signaling symbol changes in DolphinQt: `Host::NotifyMapLoaded`, `MenuBar::NotifySymbolsUpdated`, and `CodeViewWidget::SymbolsChanged`. The behavior of these signals has been consolidated into the new `Host::PPCSymbolsUpdated` signal, which can be emitted from anywhere in DolphinQt to properly update symbols everywhere in DolphinQt.
2024-03-18Core: Avoid (Some) Global System Accessormitaclaw
2024-03-01BootManager: Avoid Global System Accessormitaclaw
2023-06-06Merge pull request #11873 from AdmiralCurtiss/pause-and-lock-hostJosJuice
Core: Assert that only the Host thread may call PauseAndLock().
2023-06-02Core: Assert that only the Host thread may call PauseAndLock().Admiral H. Curtiss
2023-06-01Add MacOS PlatformHibyehello
Use MacOS Standard Fullscreen hotkey
2023-05-16StringUtil: Move CommandLineToUtf8Argv() into Common namespaceLioncash
2023-02-09Cleanup headersScott Mansell
2022-08-06Add Discord presence ioctlv to /dev/dolphinInvoxiPlayGames
2022-07-17Require frontend to initialize controllersJosJuice
We currently have two different code paths for initializing controllers: Either the frontend (DolphinQt) can do it, or if the frontend doesn't do it, the core will do it automatically when booting. Having these two paths has caused problems in the past due to only one frontend being tested (see de7ef47548). I would like to get rid of the latter path to avoid further problems like this.
2022-03-10GCAdapter: Defer initialization until MainWindow::InitControllersPokechu22
If libusb fails to initialize, an assertion fails, but if that happens before the main window is created, then Dolphin just dies. Now, the panic alert is properly shown and the user can ignore it.
2022-03-07windows: wrap all main funcs with utf8 conversionsShawn Hoffman
fixes 12858
2021-11-22Core/Boot: Refactor storage of boot-to-savestate data into a separate class.Admiral H. Curtiss
2021-07-13Core: Add GBA host interfaceBonta
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2021-05-27Implement Cursor Locking and new input focus checks for itFiloppi
2021-05-07Merge pull request #9417 from Filoppi/input-1Léo Lam
Fix FPS counter and Game Window speed % breaking on pause/unpause
2021-05-06Fix FPS counter and Game Window speed % breaking on pause/unpauseFiloppi
-Add pause state to FPSCounter. -Add ability to have more than one "OnStateChanged" callback in core. -Add GetActualEmulationSpeed() to Core. Returns 1 by default. It's used by my input PRs.
2021-03-27Set console's default language/country/region based on computer settingsJosJuice
2021-01-27rename Core/Analytics to Core/DolphinAnalyticsShawn Hoffman
2020-05-06Core: Add support for specifying a command line option to boot the game into ↵iwubcode
a save-state
2020-04-03Remove unused function Host_UpdateProgressDialogJosJuice
2019-12-28Add a Win32 NoGUI platform and projectStenzek
2019-11-11Merge pull request #8456 from jordan-woyak/input-gate-race-fixConnor McLaughlin
InputCommon: Make the "input gate" not racy.
2019-11-06InputCommon: Make the "input gate" not racey.Jordan Woyak
2019-09-01DolphinNoGUI: Add a FBDev platformStenzek
And the associated GLContext bits
2019-06-23Make DolphinAnalytics a true singleton - static local variables are ↵Silent
initialized in a thread safe manner since C++11 Also works around a Visual Studio 2017 bug where static inline class fields are destructed multiple times
2019-05-24Update Discord rich presence when the title changesDavid Korth
This allows us to update the rich presence description if a channel is launched from the Wii Menu. It also handles other PPC title launches, e.g. Smash Bros. Masterpieces. Host.h: Added Host_TitleChanged(). DolphinNoGUI/MainNoGUI.cpp: Implemented Host_TitleChanged(). DolphinQt/Host.cpp: Implemented Host_TitleChanged(). Android/jni/MainAndroid.cpp: Stubbed Host_TitleChanged(). DSPTool/StubHost.cpp: Stubbed Host_TitleChanged(). UnitTests/StubHost.cpp: Stubbed Host_TitleChanged().
2019-03-21Core/Host: Allow frontends to block inputsspycrab
2019-02-15DolphinNoGUI: Runtime selection of platformStenzek
2019-01-04Automatic disc change for 2-disc gamesJosJuice
2018-10-20VideoBackends: Pass window system info from host on creationStenzek
2018-10-20Renderer: Pull dimensions from GLInterface/SwapchainStenzek