aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/main.h
Commit message (Collapse)AuthorAge
* a bit of refactoring around ScreenHandlerRSDuck2022-08-05
| | | | also gets rid of that annoying warning about const char* being converted to char*
* Add 3DS 16:10 aspect ratio and refactor GUI aspect ratio codeNadia Holmquist Pedersen2022-05-23
|
* Add support for changing the DS and DSi battery levelRayyan Ansari2022-03-07
| | | | | | The DS battery level is configured via the SPI Power Management Device, and the DSi's is configured via the I2C BPTWL. Add support for changing these registers and add the "Power Management" dialog in the UI.
* 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>
* update copyright headersArisotura2022-01-09
|
* Custom path support (#1333)Arisotura2022-01-07
| | | | | | | also including: * getting rid of shitty strings * all new, cleaner ROM handling code * base for DSi savestates * GBA slot addons (for now, memory cart)
* ScreenPanelNative: Don't try to render the framebuffer if the emulator is ↵Nadia Holmquist Pedersen2021-12-09
| | | | | | not actually active. This fixes an issue where the window draws with a gray background in macOS, and is see-through on Wayland-based desktops.
* Generate a simple non-bootable firmware when not provided. (v2) (#1175)Adrian Siekierka2021-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Generate a simple non-bootable firmware when not provided. * Expose Username and Language into settings dialog. * Add firmware overrides for more settings. Also make override optionals when a firmware is provided. * Refactor firmware settings into separate dialog. * use usernameLength instead of u16Username.length() (#3) * Fix curly braces code-style. * LoadUserSettingsFromConfig: convert from UTF-8 to UTF-16 via wstring_convert * Fix firmware username capitalization. * cleanup firmware backup logic * Put brace where it should be Co-authored-by: Rayyan Ansari <68647953+RayyanAnsari@users.noreply.github.com> Co-authored-by: Filippo Scognamiglio <flscogna@gmail.com> Co-authored-by: kyandora <71771686+kyandora@users.noreply.github.com> Co-authored-by: Filippo Scognamiglio <filippo.scognamiglio@felgo.com> Co-authored-by: RSDuck <RSDuck@users.noreply.github.com> Co-authored-by: Rayyan Ansari <68647953+RayyanAnsari@users.noreply.github.com>
* having fun with fatfs (#1189)Arisotura2021-08-24
| | | | * patch TSC coords in DSi mode * DSiware importer and shit
* macOS: Allow opening ROMs with melonDS from Finder.Nadia Holmquist Pedersen2021-08-23
|
* Audio interpolation (#1176)Arisotura2021-08-08
| | | add audio interpolation (emulation improvement)
* fix pause when inactiveRSDuck2021-08-02
|
* Add ROM Header struct and ROM info dialog (#1095)WaluigiWare642021-07-02
|
* UI: detect and save when window is maximized, and restore it as such. fixes ↵Arisotura2021-06-20
| | | | #1135
* Add "frame step" hotkey and function (#1119)cat2021-06-05
|
* frontend: handle tablet and touch eventsRSDuck2021-05-24
| | | | fixes #654 and #548
* update copyright year and add missing GPL headersRSDuck2021-03-12
|
* Remove unneeded OpenGL loading function code (#1006)WaluigiWare642021-02-17
|
* use syncs instead of glFinishRSDuck2021-02-16
|
* Remove code duplication in `onChangeScreenSize` (#968)gal202021-02-09
|
* prevent race condition around framebuffersRSDuck2021-02-02
|
* Add hybrid layout (#772)gal202021-01-25
|
* more screen modesRSDuck2021-01-24
| | | | | - add support for different aspect ratios - add support for displaying only one screen at once
* Add option to pause emulation when focus is lostWaluigiWare642021-01-22
| | | | Fixes #875
* Polish up archive support (#930)Madhav Kanbur2021-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix directory path when extracting from archive * Don't create new dir in execution dir of melonds * Create it beside the archive instead Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * ArchiveUtil : Use QT functions for I/O * Make it more platform independent, cleaner * Fixes permission related crash on linux Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * NDSCart : Abstract out common code in LoadROM() Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Extract nds roms to memory * Some stuff is still broken in the frontend Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * GBACart : Abstract out common code in LoadROM() Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Extract gba roms to memory Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Integrate archive support with recent files Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * onClickRecentFile : Pause emu thread conditionally * Don't pause at start of the function * If user opens an archive and hits cancel, it won't pause Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Handle Resets when loading from archives * Ask user to pick the rom(s) again (i.e. GBA & NDS) when there are multiple files in the archive(s) * Directly load if only 1 file Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Archive support for drag-n-drop * Also recent files support for drag-n-drop Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * main : Allocate rombuffer objects on stack * Less messy, decreases chances of memory leaks * Underlying implementation of qbytearray uses heap (hopefully?) Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * GetSavestateName : Archive support * Construct ssname from srampath (since rompath has archive name) NOTE: In general, archive name != rom file name !!!!!!!!!! Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Add srl and dsi as "direct-load" formats * Direct-load = anything not in an archive Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Don't use static functions Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Remove QT stuff from Util_ROM * Also, during reset, directly load file from archive (no rom picker) Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Remove QT includes from FrontendUtil.h Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Util_ROM/LoadROM() : Use SetupDSiNAND() Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Util_ROM/Reset() : Use strrchr() Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Util_ROM : Put Archive stuff behind ifdefs Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * main: Set parent widget for archive dialog boxes Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com> * Revert "Util_ROM/Reset() : Use strrchr()" This reverts commit c8af6f066f6aa15e5557e478417edb125cad0809.
* Add option to hide mouse on inactivity (#955)WaluigiWare642021-01-21
| | | Also allow user to specify how long to wait before hiding
* Add hotkey to swap screens (#953)gal202021-01-18
|
* implement swapping the position of both screensRSDuck2021-01-17
| | | | closes #855
* Add Open ROM inside Archive functionWaluigiWare642021-01-07
| | | | instead of using file extensions
* Add option to open recent filesMadhav Kanbur2020-12-30
| | | | | | | * Remember last 10 roms in config * Clear button for clearing list Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>
* add functionality to import savefilesRSDuck2020-09-11
|
* Add support for fullscreen hotkey (#748)WaluigiWare642020-09-06
|
* lay base for the actual dialogArisotura2020-08-11
| | | | also make EmuSettingsDialog properly modal
* fix some pause bugsArisotura2020-07-31
|
* reconcile DSi and JIT, fastmem for x64 and WindowsRSDuck2020-06-30
|
* finish the wifi dialogArisotura2020-05-28
| | | | also guess who the idiot is who forgot to add their files
* * rework GPU's settings interface, make it config-agnosticArisotura2020-05-28
| | | | | * make video settings dialog functional, sorta * fix dialogs that were resizable
* we don't need a GLShim.Arisotura2020-05-27
| | | | | | blarg. I don't understand this anymore.
* * use GL shim window instead of offscreen surfaceArisotura2020-05-27
| | | | * disable vsync by default (we'll take care of it later)
* get the OpenGL renderer going.Arisotura2020-05-25
| | | | | | sorta. (also make the blackmagic_II branch obsolete in the process)
* get the whole OpenGL shit goingArisotura2020-05-25
|
* get the GL shit goingArisotura2020-05-25
|
* separate screen handling shit to a specialized classArisotura2020-05-24
|
* * safer window updateArisotura2020-05-22
| | | | * only do auto screen sizing if needed
* add screen layout systemArisotura2020-05-21
|
* * add audio settings dialogArisotura2020-05-21
| | | | * attempt at betterer mic noise that doesn't work worth a damn
* hook up pause and reset, w/ relevant hotkeysArisotura2020-05-20
|
* finish fleshing out the menusArisotura2020-05-20
|
* add drag-drop supportArisotura2020-05-20
|
* basic touchscreen supportArisotura2020-05-19
|