aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/RAMInfoDialog.cpp
Commit message (Collapse)AuthorAge
* Refactor `NDS` and `DSi` to be objects (#1893)Jesse Talavera-Greenberg2023-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First crack at refactoring NDS and DSi into objects - Remove all global/`static` variables in `NDS` and related classes - Rely more on virtual dispatch when we need to pick methods at runtime - Pass `NDS&` or `DSi&` to its constituent components where necessary - Introduce some headers or move some definitions to break `#include` cycles * Refactor the frontend to accommodate the core's changes * Move up `SchedList`'s declaration - Move it to before the components are initialized so the `map`s inside are initialized - Fields in C++ are initialized in the order they're declared * Fix a crash when allocating memory * Fix JIT-free builds * Fix GDB-free builds * Fix Linux builds - Explicitly qualify some member types in NDS, since they share the same name as their classes * Remove an unnecessary template argument - This was causing the build to fail on macOS * Fix ARM and Android builds * Rename `Constants.h` to `MemConstants.h` * Add `NDS::IsRunning()` * Use an `#include` guard instead of `#pragma once`
* Move all core types into namespaces (#1886)Jesse Talavera-Greenberg2023-11-25
| | | | | | | | * Reorganize namespaces - Most types are now moved into the `melonDS` namespace - Only good chance to do this for a while, since a big refactor is next * Fix the build
* Implement MainRAM management dialog😁 (#1248)2jun02022-03-06
* Implement MainRAM management dialog * Modify RAMInfoDialog - use emuThread to avoid a race condition. - replace RAMUpdateThread to QTimer Co-Authored-By: RSDuck <RSDuck@users.noreply.github.com> * Update src/frontend/qt_sdl/RAMInfoDialog.cpp small typo Co-authored-by: Rayyan Ansari <68647953+RayyanAnsari@users.noreply.github.com> * Update src/frontend/qt_sdl/RAMInfoDialog.h small typo Co-authored-by: Rayyan Ansari <68647953+RayyanAnsari@users.noreply.github.com> * typo errors in RAMInfoDialog Rrevious->Previous * add new line to the end of the file Co-authored-by: Rayyan Ansari <rayyan@ansari.sh> * enable raminfo when cart is inserted * Modify that only the 'value' item can be edited in RAMinfoDialog * fix: function name incorrect error * fix: function name incorrect error2 * fix: wrong way to get ram value Co-authored-by: RSDuck <RSDuck@users.noreply.github.com> Co-authored-by: Rayyan Ansari <68647953+RayyanAnsari@users.noreply.github.com> Co-authored-by: Rayyan Ansari <rayyan@ansari.sh>