aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add support for macOS (#771)WaluigiWare642020-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * use shm_open() instead of memfd_create() on macOS malloc.h isn't a header on macOS * Change OpenGL headers + create ifdef for DO_PROCLIST macOS seems to already have the OpenGL functions defined, without the ifdef, it gives "ambiguous references" errors. * macOS doesn't have ->gregs in uc_mcontext and it doesn't have REG_RIP either https://github.com/gperftools/gperftools/blob/master/m4/pc_from_ucontext.m4 * use getpid() to make memory file name unique * #ifndef __APPLE__ for AF_PACKET and linux/if_packet.h * Add include and link directories for macOS and link the OpenGL framework * Add macOS CI * Use newly added libslirp package from Homebrew https://github.com/Homebrew/homebrew-core/pull/63412 * Use Apple's Clang instead of GNU GCC on macOS * Add macOS build instructions to README * Try to fix macOS undefined symbol * snprintf doesn't take null terminator into account * Map new memory on macOS for JIT * Only use gcc-ar if using GNU Compiler * re-add fastmem code - whoops! * Fix style issue - use camelCase not snake_case * Set Minimum macOS version * Switch Minimum OS X version to 10.9 * Add macOS libpcap library name * fix memory leak * Fix binding keys in macOS * Allow getting MAC address on macOS melonDS on Linux uses AF_PACKET, which doesn't exist on macOS. Instead, this commit uses AF_LINK on macOS to get the MAC address. * Remove unneeded macOS CI dependencies * Build melonDS app bundle on macOS Now it is no longer required to install the libraries on macOS, they come with the app bundle. * fix macOS CI not being able to find macdeployqt * copy melonDS.app with recursive because it's a folder * Disable fastmem checkbox on macOS * Disable fastmem by default in config * forgot a semicolon * Don't bundle libraries, causes issues on macOS <10.15 * Update README + allow finding version in Finder on macOS * Make sure fastmem checkbox stays uncheckable
* Override CMAKE_AR/CMAKE_RANLIB, fixes flatpak builds, also use lld with ↵Nadia Holmquist Pedersen2020-11-28
| | | | | | | clang if found (#828) * Override CMAKE_AR/CMAKE_RANLIB, fixes flatpak builds, also use lld with clang if found * Ensure we build with -fPIC/-pie for LTO builds
* fix DSi mode with interpreterRSDuck2020-11-26
| | | | I'm so stupid
* CMake build fixups (#825)Nadia Holmquist Pedersen2020-11-23
| | | | | | | | | | | | | | | * CMake build fixups * Correctly set C/C++ standard * Specify CXX in project() to get things set up right, also causes it to link using the C++ compiler which is necessary for LTO builds with Clang to work right * Remove Fedora/flatpak build workaround, no longer needed with C++ standard set * Link libm explicitly if we need to * Specify -fuse-linker-plugin when building with LTO just in case * Restore CMAKE_{C,CXX}_STANDRD, oops * Use C++17
* Add radio buttons to switch between Direct and Indirect Mode (#822)WaluigiWare642020-11-22
|
* Fix fullscreen toggle with joysticks (#821)WaluigiWare642020-11-22
|
* fix edge indices countRSDuck2020-11-19
|
* GPU2D: don't an indirect call in tight loopsRSDuck2020-11-16
|
* harmless DMA micro optimisationRSDuck2020-11-16
|
* prevent use after freeRSDuck2020-11-16
|
* use proper index buffersRSDuck2020-11-16
|
* Fix GBA file drag-and-drop when the system is off (#817)Raphaël Zumer2020-11-15
|
* make audio output thread safe(r?)RSDuck2020-11-15
|
* Fix LTO builds with Clang (#815)Nadia Holmquist Pedersen2020-11-14
|
* make fastmem work againRSDuck2020-11-13
|
* Fix Ubuntu AArch64 CI - round 3 (#811)WaluigiWare642020-11-11
|
* delay savefile flush to the end of the frameRSDuck2020-11-11
|
* make platform objects typesafer and add mutexRSDuck2020-11-09
|
* fix WindowsRSDuck2020-11-09
|
* do what Nadia saidRSDuck2020-11-09
|
* JIT fixesRSDuck2020-11-09
| | | | | | | | - fix fastmem problems on linux - small fix memory leak - SlowWrite functions always take in a 32-bit variable so that the C compiler knows that the values aren't necessary zero extended - a few other stylistic things - handle SIGBUS as well (for macos)
* Fix building the Qt frontend with LTO (#802)Nadia Holmquist Pedersen2020-11-06
| | | | | * Remove unnecessary -fno-pic/-no-pie, fixes LTO builds * restore -no-pie because GNOME is derpy
* better framelimiter for reference: ↵RSDuck2020-11-02
| | | | https://github.com/citra-emu/citra/blob/master/src/core/perf_stats.cpp#L129
* Fix a couple of wrong cpp function pointers. (#785)Filippo Scognamiglio2020-10-31
|
* Fix compilation issues on pedantic cpp compilers. (#783)Filippo Scognamiglio2020-10-31
| | | | | * Fix compilation issues on pedantic cpp compilers. * Avoid using fullblown static function.
* SPU: work with scalars instead of arraysRSDuck2020-10-31
|
* Remove unused gtk dependency from README (#788)WaluigiWare642020-10-30
|
* Merge pull request #798 from Hypnotron/masterArisotura2020-10-29
|\ | | | | Added 8/16-bit IPCFIFOSEND writes
| * Added 8/16-bit IPCFIFOSEND writesHypnotron2020-10-29
|/
* remove qt_sdl dependency from frontend utilRSDuck2020-10-28
|
* I2C: silence logging for devices A0/E0 (mysterious alternate cameras)Arisotura2020-10-26
|
* betterer battery levelArisotura2020-10-26
|
* make unlaunch'd NANDs workArisotura2020-10-25
|
* add a few missing 32bit I/O accesses (IPC, SPI)Arisotura2020-10-25
|
* change JIT branch optimisations default to 1RSDuck2020-10-15
| | | | branch linking is dead
* Merge pull request #789 from abcdjdj/numpad-fixArisotura2020-10-13
|\ | | | | Input : Treat numpad keys as keypresses
| * Input : Treat numpad keys as keypressesMadhav Kanbur2020-10-13
|/ | | | | | | | Typically, modifiers are masked out of keypresses to distinguish between hotkeys and keypresses. This patch prevents the numpad modifier from getting masked out in KeyPress() and KeyRelease(). Signed-off-by: Madhav Kanbur <abcdjdj@gmail.com>
* save microphone hotkeys (#781)kyandora2020-10-07
|
* flush to file after importing SRAMRSDuck2020-10-06
|
* Random minor fixes (#757)Valeri2020-10-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix incorrect/questionable assert() usage Originally reported by https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2159000700, but also includes a bunch of other fixes. * Fix some `printf` warnings Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2160310550 * Remove useless check It is never passed thanks to `if (num_in < 1) {...; return}` before Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2154840804 * Add missing header guard, rename other to avoid conflicts Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2163210746 * Make DSi_SDDevice destructor virtual Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2158670642 * Use thread-safe localtime_r, assign `time` result directly Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2154840805 * Fix MinGW build It needs _POSIX_THREAD_SAFE_FUNCTIONS to export `localtime_r`
* use fixed sized integers from stdint.hRSDuck2020-10-01
|
* make OpenGL renderer a build optionRSDuck2020-10-01
| | | | mostly meant for the Switch port
* Fix Ubuntu AArch64 CI - again (#767)WaluigiWare642020-09-24
| | | | | | | | | | | | | * Fix Ubuntu AArch64 CI - again * Update build-ubuntu-aarch64.yml * Update build-ubuntu-aarch64.yml * Update build-ubuntu-aarch64.yml * Update build-ubuntu-aarch64.yml * Update build-ubuntu-aarch64.yml
* Fix Ubuntu AArch64 CI (#764)WaluigiWare642020-09-19
|
* avoid out-of-bounds read in GPU2D. fixes #763Arisotura2020-09-18
|
* fix build on SwitchRSDuck2020-09-11
|
* add functionality to import savefilesRSDuck2020-09-11
|
* fix 8-bit ConsoleID address decoding typo (#749)PoroCYon2020-09-07
|
* Add support for fullscreen hotkey (#748)WaluigiWare642020-09-06
|
* Merge pull request #724 from rzumer/patch-2RSDuck2020-09-06
|\ | | | | Document CMake build dependency on Linux