aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/debugger
Commit message (Collapse)AuthorAgeFilesLines
* [desktop] More qt_common reorganization (#3916)crueter2026-05-201-1/+0
| | | | | | | | | | | | Ported from QML branch. Main "big" change is that EmuThread is now a shared state in QtCommon, not individually managed/passed around by GRenderWindow and MainWindow. Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3916 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
* [common/logging] Simplify logging logic and fix issues when logging before ↵lizzie2026-03-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | system is created (#3688) - our logging code was bigger than spdlog itself, why???? just keep it simple - fix issues when logging before logging system is even started - removes the "initialized logging twice" issue - removes uneeded indirection in file logging - uses direct formatting instead of jumping hoopla-around the fmt::format() ressult - code duplication and dead code removal as usual I did explore dup2() but I think it's not worth the hassle I did try `fwopen()` but it's better if things are just kept as-is. there is a lot of noise because I removed a bunch of redundant files on logging and just put everything in one file now normally this wouldn't be a good idea, however consider: the complexity of logging; it's less than 500 lines... does it really need a whole subsystem?!?!?! ITS JUST LOGGING Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3688 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: DraVee <chimera@dravee.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [meta] clang-format literally all of the Qt code (#3706)crueter2026-03-101-2/+2
| | | | | | | | I'm tired of dealing with this tbh Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3706 Reviewed-by: Lizzie <lizzie@eden-emu.dev>
* [frontend] Remove QDockWidget Wait Tree (#2949)unknown2025-11-082-622/+0
| | | | | | | | | | | No one uses it and knows how to use it. So, remove it and replace it later with something more useful :) Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2949 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Co-authored-by: unknown <sahyno1996@gmail.com> Co-committed-by: unknown <sahyno1996@gmail.com>
* [qt_common] reorg + checkstate abstraction (#2735)crueter2025-10-152-2/+2
| | | | | | | | no diff. in functionality, just confirm builds on ubuntu 24.04/debian 12 Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2735
* [qt] refactor: qt_common lib (#94)crueter2025-09-152-2/+8
| | | | | | | | | | | | | | | | | This is part of a series of PRs made in preparation for the QML rewrite. this PR specifically moves a bunch of utility functions from main.cpp into qt_common, with the biggest benefit being that QML can reuse the exact same code through ctx passthrough. Also, QtCommon::Frontend is an abstraction layer over several previously Widgets-specific stuff like QMessageBox that gets used everywhere. The idea is that once QML is implemented, these functions can have a Quick version implemented for systems that don't work well with Widgets (sun) or for those on Plasma 6+ (reduces memory usage w/o Widgets linkage) although Quick from C++ is actually anal, but whatever. Other than that this should also just kinda reduce the size of main.cpp which is a 6000-line behemoth rn, and clangd straight up gives up with it for me (likely caused by the massive amount of headers, which this DOES reduce). In the future, I probably want to create a common strings lookup table that both Qt and QML can reference--though I'm not sure how much linguist likes that--which should give us a way to keep language consistent (use frozen-map). TODO: Docs for Qt stuff Co-authored-by: MaranBr <maranbr@outlook.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/94 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
* [desktop] fix random qt annoyances (#226)crueter2025-08-081-1/+3
| | | | | | | | | | | | Removes that silly QLayout message and improves consistency thereof for other QLayouts Still work to be done but this is all that's needed rn Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/226 Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
* [meta] remove MicroProfile (#185)crueter2025-08-062-260/+0
| | | | | | Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/185 Reviewed-by: Lizzie <lizzie@eden-emu.dev>
* Add cmake option to enable microprofile (#179)Gamer642025-08-022-8/+12
| | | | | | | | | | | | Backported from https://github.com/azahar-emu/azahar/commit/dd9c743041308112c8dc349c5c237c04b2c4c75f. Co-authored-by: PabloMK7 <hackyglitch2@gmail.com> Co-authored-by: Shinmegumi <shinmegumi@eden-emu.dev> Co-authored-by: Gamer64 <76565986+Gamer64ytb@users.noreply.github.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/179 Co-authored-by: Gamer64 <gamer64@eden-emu.dev> Co-committed-by: Gamer64 <gamer64@eden-emu.dev>
* Update fmt to allow for v11crueter2025-04-101-1/+1
| | | Signed-off-by: swurl <swurl@swurl.xyz>
* Rework time service to fix time passing offline.Kelebek12024-01-241-1/+1
|
* hid_core: Move hid to it's own subprojectNarr the Reg2024-01-051-2/+2
|
* core: refactor emulated cpu core activationLiam2023-12-041-4/+4
|
* config: Unify config handling under frontend_commont8952023-11-211-4/+2
| | | | | | Replaces every way of handling config for each frontend with SimpleIni. frontend_common's Config class is at the center where it saves and loads all of the cross-platform settings and provides a set of pure virtual functions for platform specific settings. As a result of making config handling platform specific, several parts had to be moved to each platform's own config class or to other parts. Default keys were put in platform specific config classes and translatable strings for Qt were moved to shared_translation. Default hotkeys, default_theme, window geometry, and qt metatypes were moved to uisettings. Additionally, to reduce dependence on Qt, QStrings were converted to std::strings where applicable.
* kernel: update KProcessLiam2023-10-211-1/+1
|
* kernel: convert KThread to new styleLiam2023-03-122-102/+1
|
* kernel: convert KPort, KSessionLiam2023-03-121-3/+2
|
* main: Globally disable the "?" button on dialogsMorph2023-01-252-6/+4
| | | | Sets the AA_DisableWindowContextHelpButton attribute to disable this useless button globally.
* TAS: Record sanitized instead of raw stick inputsMonsterDruide12023-01-011-5/+5
| | | | Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
* chore: make yuzu REUSE compliantAndrea Pappacoda2022-07-276-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to b2eb10382941bef0914f4a0a4685b9033440aa9f
* wait_tree: Eliminate variable shadowingMorph2022-06-142-12/+12
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-232-6/+4
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* yuzu: Reduce unused includesameerj2022-03-202-3/+0
|
* debugger: console: Set console output codepage to UTF-8Morph2022-02-131-0/+1
| | | | This allows the console to display multi-byte encoded characters.
* hle: kernel: KThread: Rename thread_type_for_debugging -> thread_type.bunnei2022-01-201-2/+2
| | | | - This will be used to ensure that we do not schedule dummy threads.
* profiler: Use QWheelEvent position().toPoint()Morph2021-12-081-1/+1
| | | | QWheelEvent::pos() is deprecated. Make use of position().toPoint() instead.
* service/hid: Remove includes of core.h and settings.hgerman772021-11-242-11/+8
|
* second commit lion reviewgerman772021-11-241-1/+2
|
* input_common: Revert deleted TAS functionsgerman772021-11-242-7/+79
|
* settings: Fix mouse and keyboard mappingsgerman772021-11-241-2/+1
|
* kraken: Fix errors from rebase and format filesgerman772021-11-242-3/+15
|
* debugger/controller: Remove TASgerman772021-11-242-46/+5
|
* input_common: Rewrite keyboardgerman772021-11-241-2/+1
|
* bootmanager: Fix screenshot resolution factor usageameerj2021-11-161-1/+1
| | | | Fixes screenshots at non integer scaling
* Merge pull request #6774 from lat9nq/remove-global-yuzuMorph2021-10-142-47/+79
|\ | | | | yuzu qt: Remove global system instances
| * yuzu qt: Remove global system instances from config, WaitTree, mainlat9nq2021-10-072-47/+79
| |
* | Create local variables for mouse and wheel positionsRomain Failliot2021-10-111-5/+9
| |
* | Fix a few warningsRomain Failliot2021-10-111-2/+2
|/ | | | | | | | | | - configure_input_player_widget.cpp: always better to use `const auto &` whenever possible - profiler.cpp: `ev->pos()` is deprecated, replace with `ev->position()`, which returns floats, thus the addition of `.toPoint()` (same as what's happening in `pos()`) - game_list.cpp: `QString::SplitBehavior` is deprecate, use `Qt::` namespace instead
* UI: Relocate tas menu and add brief descriptiongerman772021-09-181-1/+1
|
* input_common/tas: new update methodgerman772021-09-182-11/+1
|
* input_common/tas: Fallback to simple updateMonsterDruide12021-09-182-7/+12
|
* config: Move TAS options to it's own menugerman772021-09-181-1/+0
|
* input_common/tas: Base playback & recording systemMonsterDruide12021-09-182-2/+44
| | | | | | | | | The base playback system supports up to 8 controllers (specified by `PLAYER_NUMBER` in `tas_input.h`), which all change their inputs simulataneously when `TAS::UpdateThread` is called. The recording system uses the controller debugger to read the state of the first controller and forwards that data to the TASing system for recording. Currently, this process sadly is not frame-perfect and pixel-accurate. Co-authored-by: Naii-the-Baf <sfabian200@gmail.com> Co-authored-by: Narr-the-Reg <juangerman-13@hotmail.com>
* logging: Simplify and make thread-safeyzct123452021-08-131-7/+4
| | | | | | | | | This simplifies the logging system. This also fixes some lost messages on startup. The simplification is simple. I removed unused functions and moved most things in the .h to the .cpp. I replaced the unnecessary linked list with its contents laid out as three member variables. Anything that went through the linked list now directly accesses the backends. Generic functions are replaced with those for each specific use case and there aren't many. This change increases coupling but we gain back more KISS and encapsulation. With those changes it was easy to make it thread-safe. I just removed the mutex and turned a boolean atomic. I was planning to use this thread-safety in my next PR about stacktraces. It was actually async-signal-safety at first but I ended up using a different approach. Anyway getting rid of the linked list is important for that because have the list of backends constantly changing complicates things.
* Merge pull request #6539 from lat9nq/default-settingAmeer J2021-07-081-2/+2
|\ | | | | general: Move most settings' defaults and labels into their definition
| * yuzu qt: Make most UISettings a BasicSettinglat9nq2021-06-281-2/+2
| | | | | | | | | | | | | | | | | | For simple primitive settings, moves their defaults and labels to definition time. Also fixes typo and clang-format yuzu qt: config: Fix rng_seed
* | profiler: Fix deprecated functionsgerman772021-07-051-4/+5
|/
* settings: Disable controller preview if controller is not activegerman772021-05-301-2/+4
|
* settings: Forbid docked mode on handheldgerman772021-05-231-0/+1
|
* hle: kernel: Migrate to KHandleTable.bunnei2021-05-052-4/+5
|