aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Update CI badges in readme (#1602)patata2023-01-19
| | | | - See https://github.com/badges/shields/issues/8671 - Change Azure Pipelines macOS badges to the current GitHub Actions
* Rebase: Make archive detection more robust and add it to the CLI (#1560)Janfel2023-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rebase/recreate my changes and add MIME support This commit recreates the changes proposed in #1394 on top of the current master (b069a2acf10e58579d82500fb057f275647507c0). This also adds support for determining filetypes using the MIME database provided by `QMimeDatabase`. * Move member syntax warning to a more appropriate place * Deduplicate member syntax warning * Change warning from "vertical bars" to "|" * Conform brace placement to coding style * Fix QFileDialog filter when ArchiveExtensions is empty * Final cleanup and fixes - Changes the NDS and GBA ROM MIME-Type constants to QStrings. - Removes a leftover warning message. - Uses Type() syntax instead of Type{} syntax for temporaries. * Explain the origin of the supported archive list Co-authored-by: Jan Felix Langenbach <insert-penguin@protonmail.com>
* fix window aspect ratioRSDuck2023-01-17
|
* ehhh got that one wrong, now it should be rightRSDuck2023-01-06
|
* hopefully correct overflow flag for ADC and SBCRSDuck2023-01-06
| | | | also use inline functions instead of macros to make things more neat
* fix #1593RSDuck2023-01-03
|
* Wifi: -Wformat warning caused by missing printf argument (#1532)Rupert Carmichael2022-12-30
|
* fix #1551RSDuck2022-11-25
|
* fix #1556RSDuck2022-11-14
|
* prevent screensaver (#1485)pepper-jelly2022-11-11
|
* Added LEGO Batman 2 - DC Super Heroes (Canada) (En,Fr) [B6FL] to ROMList (#1422)mariomadproductions2022-11-11
|
* Fix nocash Char Out debug register (#1500)Quinn Painter2022-11-11
| | | To match no$gba, this register should output any ASCII character written to it, not print the number as it currently does.
* Clean Windows build instructionsNadia Holmquist Pedersen2022-11-09
| | | | | | | | | * CMake in MSYS2 now depends on Ninja and uses it by default, use it instead of Make as it has much easier to read output when doing parallel builds and doesn't need an extra program * Ninja uses the maximum number of cores by default, so we don't have to run nproc --all * We don't need mesa for its headers anymore
* Explicitly include the build/res directory so windres will find it whenNadia Holmquist Pedersen2022-11-09
| | | | using the CMake Makefile generator
* For some reason this didn't get renamedNadia Holmquist Pedersen2022-11-09
|
* Allow import/export of .pub/.prv/.bnr saves (#1558)Pk112022-11-07
|
* Windows resource/manifest fixesNadia Holmquist Pedersen2022-11-06
| | | | | | | | * Report correct Windows architecture for the build in the manifest * Output processed .rc/.manifest in the CMake binary dir to prevent potential issues with the files conflicting if cross compiling melonDS on the same Windows machine * Make the original file name actually make sense
* Use WGL for GL context creation on Windows ARM64 as well.Nadia Holmquist Pedersen2022-11-05
| | | | | | | This may not work, as I'm not sure why the code originally did as it did. But this at least lets it compile, we'll need someone with a real Windows ARM device to test this as I only have a VM with no GPU acceleration.
* JIT: Add bits for Windows ARM64 supportNadia Holmquist Pedersen2022-11-05
|
* mainWindow may be nullptr when audioMute() is called.Nadia Holmquist Pedersen2022-11-05
| | | | Fixes potential crash on launch when multiplayer audio output is set to only the current window.
* BAHAHAHAHAHAJSKASLASJISFS--+|*~+-.Arisotura2022-11-03
|
* fix a tidbit with GXFIFO NDMA, I thinkArisotura2022-11-03
|
* fix up DSi direct bootArisotura2022-10-28
|
* CLI 2.0: Electric Boogaloo (#1546)patata2022-10-28
| | | | | | | | | | | | | | | | | | * CLI: begin QT reimplementation * Add first batch of parameters * ROM loading (no archives yet) * --fullscreen * --boot (non-functional???) * fix --boot * archives! * Add disclaimer that a.zip|b.nds is kind of fucky * remove shit7 debugging * Apply requested changes
* comment out semaphore shit in teakraArisotura2022-10-25
|
* Make clang shut up about -Wno-error=maybe-uninitialized in teakraNadia Holmquist Pedersen2022-10-23
|
* fatfs: Fix -Wstrict-prototypes + -Wimplicit-function-declaration warningsorbea2022-10-23
| | | | | | This will be required for upcoming gcc and clang versions. Reference: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
* force-align all read/write accesses. fixes #1540 (unaligned DMA address)Arisotura2022-10-22
|
* getWindowInfo: handle if the Wayland window handle is nullNadia Holmquist Pedersen2022-10-19
|
* No more context mess (#1531)RSDuck2022-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP: use Duckstation's context code to directly render into QT Widget from separate thread without two OpenGL contexts currently only works on Windows * reenable gay OSD * add back vsync * make it atleast a little more thread safe * linux support * don't segfault on closing * reorganise and cleanup build system it's still not good, but better than before * macos? * try to get it working on Ubuntu CI also update instructions * let's try this * ok how about this * try creating an OGL 4.3 context first (https://i.kym-cdn.com/photos/images/original/001/264/842/220.png) * fix Ubuntu * hm * try again for Windows * let's try this * make the OpenGL renderer work again that was stupid * do OGL surface resizing from the mainthread * Fix small mistake in GL context creation on macOS causing version 3.2 to be considered invalid * C stupidness * cleanup * don't let the emuthread deinit OGL if there's no OGL * reset lastScreenWidth/Height when deiniting OpenGL * disable stencil test while drawing framebuffers * macOS: Link Cocoa framework explicitly when not building with Qt6 Seems to be needed for the classes used by DuckStation's GL context code. * Set ScreenPanelGL's minimum size immediately Fixes GL context creation for OpenGL display on macOS using the wrong size as the underlying window was not resized to the correct size by Qt yet. * don't emit window updates when OGL display is used * stuff Arisotura said Co-authored-by: Nadia Holmquist Pedersen <nadia@nhp.sh>
* more fun DSP fixesArisotura2022-10-17
| | | | | | * aac.a thinks it is funny to start DMA by writing to 8184 directly * implement retd (gross hack!!) * remove another unimplemented exception (wat)
* I don't think NWRAMMask is relevant hereArisotura2022-10-14
|
* more DSP unfucking: make Teakra directly use melonDS's NWRAM banks instead ↵Arisotura2022-10-14
| | | | of trying to translate to a flat buffer, fixes bugs with the way the memory banks are ordered etc
* Merge branch 'master' of github.com:Arisotura/melonDSArisotura2022-10-13
|\
| * Work around a really strange issue when building teakra with -O0 on WindowsNadia Holmquist Pedersen2022-10-12
| |
* | revert half of the change to build flags. it makes Teakra linking shit ↵Arisotura2022-10-12
|/ | | | | | itself in a pretty bad and weird way. sorry Nadia
* unfuck the DSP enough that it will actually run codeArisotura2022-10-11
| | | | (don't get your hopes up, it's still pretty much a trainwreck)
* Merge pull request #1528 from Phosphorus-M/patch-1Nadia Holmquist Pedersen2022-10-10
|\ | | | | Update the README.md to add the missing dependency on qt5-multimedia needed by the camera support.
| * Change Qt dependencies for Windows dynamic builds as wellNadia Holmquist Pedersen2022-10-10
| | | | | | no reason to install the full huge Qt framework when there are individual packages.
| * Update README.mdPhosphorus Moscu2022-10-09
|/ | | Add the missing dependencies to solve the errors when you run cmake
* unfuck the DSP code someArisotura2022-10-10
| | | | (still doesn't work)
* Clean up optimization flagsNadia Holmquist Pedersen2022-10-09
| | | | | | | * The way -O3 was set for release builds was accidentally removing -DNDEBUG * -Og seems to mess with debugging with lldb, even though the GCC manual page says to use it for debug builds, so remove it
* macOS: Add NSPrincipalClass value to the Info.plistNadia Holmquist Pedersen2022-10-08
| | | | | | According to the Qt documentation we should have this for proper high-DPI support on macOS. Whether or not it's still relevant I'm not sure, but if it isn't it might at least help on older macOS or Qt.
* Merge pull request #1282 from gal20/scale_fixNadia Holmquist Pedersen2022-10-04
|\ | | | | Fix screen scaling error
| * Fix screen scalinggal202022-01-05
| | | | | | | | | | The screen gap wasn't multiplied by the scaling factor, causing the result to be too low Additionally, results of division should be rounded up
* | this was prolly badArisotura2022-10-04
| |
* | properly stop any started cameras upon reset/shutdownArisotura2022-10-02
| |
* | add support for UYVY format (FaceTime camera)Arisotura2022-10-02
| |
* | camera: fix x-flip crustinessArisotura2022-10-02
| |
* | actual DSi camera support (#1520)Arisotura2022-10-02
| | | | | | basically feeding something that isn't a fixed stripe pattern, and emulating enough of the camera hardware to make this work