aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/main.cpp
Commit message (Collapse)AuthorAge
* 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>
* we prolly don't need to init SDL video, given we don't use itArisotura2022-03-06
|
* fix typo in enum for screen sizing (#1377)Brankale2022-02-25
|
* Use enum for screen sizingRSDuck2022-02-25
|
* Allowing Swap screens hotkey to swap between displaying only top screen and ↵ZackWeinstein2022-02-25
| | | | only bottom screen. (#1283)
* lower window update rate if rendering too fastRSDuck2022-02-14
|
* Merge branch 'master' of github.com:Arisotura/melonDSArisotura2022-01-09
|\
| * Make the message when SDL2 fails to init more descriptiveNadia Holmquist Pedersen2022-01-08
| |
* | 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.
* Manually center the window after setting its size on macOSNadia Holmquist Pedersen2021-12-09
| | | | | | Qt's default window positioning is somewhat unreliable, and since we don't currently remember the window position, let's at least make sure that it's properly centered on open.
* Treat SDL_INIT_JOYSTICK fail as non-critical (#1277)andrigamerita2021-12-01
| | | Treating the fail of SDL_INIT_JOYSTICK as non-critical, because on some systems that SDL feature can for some reason fail. This leads to the emulator closing with a critical error, even though it would work perfectly fine with just a keyboard.
* move 'randomize MAC' setting to firmware settings, and add setting for ↵Arisotura2021-11-19
| | | | | | changing the MAC. make things overall betterer.
* finally decouple Config from the core. baahhahahahahArisotura2021-11-18
|
* 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>
* Redesign the Input dialog (#1226)Rayyan Ansari2021-09-30
|
* having fun with fatfs (#1189)Arisotura2021-08-24
| | | | * patch TSC coords in DSi mode * DSiware importer and shit
* Call emuPause before loading a ROM so we don't crash if one is already loadedNadia Holmquist Pedersen2021-08-23
|
* macOS: Allow opening ROMs with melonDS from Finder.Nadia Holmquist Pedersen2021-08-23
|
* SPU: Emulate SOUNDBIAS and 10-bit degradeNadia Holmquist Pedersen2021-08-17
|
* tidbitsArisotura2021-08-08
|
* factor duplicate code in micLoadWav(). also add support for all sorts of WAV ↵Arisotura2021-08-08
| | | | formats SDL can support.
* fix pissfucking touchscreen (again)Arisotura2021-08-08
|
* Audio interpolation (#1176)Arisotura2021-08-08
| | | add audio interpolation (emulation improvement)
* only open microphone when actually needed. fixes #1165Arisotura2021-07-29
|
* Merge branch 'master' of https://github.com/Arisotura/melonDSArisotura2021-07-20
|\
| * enable undo savestate load in the guiRSDuck2021-07-17
| |
* | oopsiesArisotura2021-07-20
|/
* 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
|
* Explicitly set NoRole on the setup cheats option so Qt on mac will stop ↵Nadia Holmquist Pedersen2021-06-05
| | | | stealing it
* frontend: handle tablet and touch eventsRSDuck2021-05-24
| | | | fixes #654 and #548
* Remove outdated frontend solar sensor code (#1102)Raphaël Zumer2021-05-16
|
* ASSFUCKING STUPID SHITPILE.Arisotura2021-05-06
| | | | | | fixes #1044 (also add separator for cleaner menu)
* request repaint instead of update after each frameRSDuck2021-04-29
|
* macOS: Assign "Preferences..." to emu settings without also removing it from ↵Nadia Holmquist Pedersen2021-04-27
| | | | the config menu
* fix some more case sensitive shitoArisotura2021-04-26
|
* more of the same (actually fix the bug I was having)Arisotura2021-04-26
|
* Cart refactor (#1073)Arisotura2021-04-25
| | | complete cart-interface refactor, will make this code a lot easier to deal with
* Fix up menu roles a bitNadia Holmquist Pedersen2021-04-19
|
* keep recent filenames from being absurdly long in the menuArisotura2021-03-27
|
* update copyright year and add missing GPL headersRSDuck2021-03-12
|
* Fix OpenGL display scaling on high DPI (#1011)Nadia Holmquist Pedersen2021-02-22
| | | | | | | * Fix OpenGL display scaling on high DPI * Scale the OSD too * Fix indent
* fix #1010RSDuck2021-02-22
|
* 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
|
* Allow for a more modular renderer backends (#990)Wunk2021-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Draft GPU3D renderer modularization * Update sources C++ standard to C++17 The top-level `CMakeLists.txt` is already using the C++17 standard. * Move GLCompositor into class type Some other misc fixes to push towards better modularity * Make renderer-implementation types move-only These types are going to be holding onto handles of GPU-side resources and shouldn't ever be copied around. * Fix OSX: Remove 'register' storage class specifier `register` has been removed in C++17... But this keyword hasn't done anything in years anyways. OSX builds consider this "warning" an error and it stops the whole build. * Add RestartFrame to Renderer3D interface * Move Accelerated property to Renderer3D interface There are points in the code base where we do: `renderer != 0` to know if we are feeding an openGL renderer. Rather than that we can instead just have this be a property of the renderer itself. With this pattern a renderer can just say how it wants its data to come in rather than have everyone know that they're talking to an OpenGL renderer. * Remove Accelerated flag from GPU * Move 2D_Soft interface in separate header Also make the current 2D engine an "owned" unique_ptr. * Update alignment attribute to standard alignas Uses standardized `alignas` rather than compiler-specific attributes. https://en.cppreference.com/w/cpp/language/alignas * Fix Clang: alignas specifier Alignment must be specified before the array to align the entire array. https://en.cppreference.com/w/cpp/language/alignas * Converted Renderer3D Accelerated to variable This flag is checked a lot during scanline rasterization. So rather than having an expensive vtable-lookup call during mainline rendering code, it is now a public constant bool type that is written to only once during Renderer3D initialization.