aboutsummaryrefslogtreecommitdiff
path: root/src/frontend
Commit message (Collapse)AuthorAge
* Actually use the new script...Nadia Holmquist Pedersen2021-04-25
|
* More 10.14 fixes also make the version check in cmakelists actually workNadia Holmquist Pedersen2021-04-25
|
* Cart refactor (#1073)Arisotura2021-04-25
| | | complete cart-interface refactor, will make this code a lot easier to deal with
* Add support for building with Qt6 (#865)Nadia Holmquist Pedersen2021-04-24
| | | Co-authored-by: WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com>
* Improve macOS bundling (#1067)Nadia Holmquist Pedersen2021-04-21
| | | | | | | * Improve macOS bundling * Bundle libs for macOS CI * Add MACOS_BUILD_DMG CMake option and make the CI upload the DMG so we don't lose executable permissions. * Manually copy plugins if macdeployqt doesn't * Ad-hoc codesign the app
* Fix up menu roles a bitNadia Holmquist Pedersen2021-04-19
|
* make path inputs support drag/dropping files onto them to add the path ↵Arisotura2021-03-29
| | | | quickly. fixes #1033
* keep recent filenames from being absurdly long in the menuArisotura2021-03-27
|
* Update copyright year and add missing GPL headers part 2WaluigiWare642021-03-21
| | | | | Looks like a lot of files were missed... Closes #1036
* Allow bundling libraries on macOS (#1013)WaluigiWare642021-03-21
|
* update copyright year and add missing GPL headersRSDuck2021-03-12
|
* Include winsock2.h before windows.hWaluigiWare642021-02-23
|
* 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
|
* use std::function in Thread_Create so we can revert back to using itRSDuck2021-02-11
|
* 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.
* Add NetBSD support (#985)WaluigiWare642021-02-03
| | | | Note - This will require PaX MPROTECT to be disabled for melonDS by running: paxctl +m melonDS
* prevent race condition around framebuffersRSDuck2021-02-02
|
* Initialise cursor hiding timer before potential deletion of ScreenPanelGLWaluigiWare642021-01-29
|
* call glFlush only onceRSDuck2021-01-29
| | | | | that seems to atleast get rid of the flicker the weird issue that clears don't work is still there
* Don't save the window size to the config if in full screen (#933)Nadia Holmquist Pedersen2021-01-27
|
* fix recent regression in screen layout calculationRSDuck2021-01-26
|
* Use libepoxy to load in OpenGL functions (#960)WaluigiWare642021-01-26
| | | | | | | | | | | * Use libepoxy to load in OpenGL functions Prevents having to load them in manually * Install libepoxy in the CI * Do not link OpenGL libraries, libepoxy opens them itself * Add libepoxy to build instructions
* Add hybrid layout (#772)gal202021-01-25
|
* Fix some compiler warningsWaluigiWare642021-01-25
|
* more screen modesRSDuck2021-01-24
| | | | | - add support for different aspect ratios - add support for displaying only one screen at once
* Fix crash if OpenGL version is lower than requirementsWaluigiWare642021-01-24
|
* Add FreeBSD support (#939)WaluigiWare642021-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | * Add FreeBSD support * Fix indentation * Fix Linux not finding OpenGL * Link POSIX Realtime Extensions library * Link POSIX Realtime Extensions when OpenGL is enabled too * Fail if shm_open memory exists and also check for errors * fix the last commit * (try to) Setup FreeBSD CI * Fix some issues with FreeBSD CI * Make with all cores * Remove FreeBSD CI It doesn't want to work for some reason
* fix againWaluigiWare642021-01-22
|
* fix last commitWaluigiWare642021-01-22
|
* 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
* Define melonDS version in CMakeWaluigiWare642021-01-19
| | | | Prevents having to update multiple files (melon.rc, melon.plist, version.h) when a new version is released.
* Add hotkey to swap screens (#953)gal202021-01-18
|
* implement swapping the position of both screensRSDuck2021-01-17
| | | | closes #855
* keep only one handle of the NAND file aroundRSDuck2021-01-17
|
* quit on sigint (#934)Ben Morris2021-01-10
| | | | | * quit on sigint * formatting
* Improved SRAM performance (#925)Kimmy Andersson2021-01-09
| | | | | | | | | * Offload NDS SRAM writing to separate thread, debounce writes to two seconds after last flush or DeInit. * Fixed printf messages. * Fixes after CR. * Fixed potential portability issue with time_t
* Merge pull request #926 from WaluigiWare64/fix/freebsd-include-aflinkArisotura2021-01-07
|\ | | | | Fix FreeBSD undefined identifier issues in Lan_PCap.cpp
| * Fix FreeBSD undefined identifier issues in Lan_PCap.cppWaluigiWare642021-01-05
| | | | | | | | FreeBSD requires net/if.h to be included as well.
* | Merge pull request #678 from WaluigiWare64/feature/zip-supportArisotura2021-01-07
|\ \ | |/ |/| Add support for loading ROMs from a variety of compressed files
| * Add Open ROM inside Archive functionWaluigiWare642021-01-07
| | | | | | | | instead of using file extensions
| * Properly fix macOS finding libarchiveWaluigiWare642021-01-05
| | | | | | (i hope)
| * Allow melonDS to write the fileWaluigiWare642021-01-05
| | | | | | | | The directory wasn't created, so the file was not being written
| * Fix libarchive being found on macOSWaluigiWare642021-01-04
| | | | | | properly this time
| * Fix mistake in merge commitWaluigiWare642021-01-03
| |