Commit Graph

1551 Commits

Author SHA1 Message Date
ae9694ef8b do what Nadia said 2020-11-09 20:50:29 +01:00
78839f862e JIT fixes
- 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)
2020-11-09 20:43:31 +01:00
ec232a9365 Fix building the Qt frontend with LTO (#802)
* Remove unnecessary -fno-pic/-no-pie, fixes LTO builds

* restore -no-pie because GNOME is derpy
2020-11-06 12:03:02 +01:00
ad7791f726 better framelimiter for reference: https://github.com/citra-emu/citra/blob/master/src/core/perf_stats.cpp#L129 2020-11-02 20:13:22 +01:00
fbca47381b Fix a couple of wrong cpp function pointers. (#785) 2020-10-31 17:53:01 +01:00
45ea1fa990 Fix compilation issues on pedantic cpp compilers. (#783)
* Fix compilation issues on pedantic cpp compilers.

* Avoid using fullblown static function.
2020-10-31 17:40:05 +01:00
9ac60a840a SPU: work with scalars instead of arrays 2020-10-31 13:48:02 +01:00
e46a408972 Remove unused gtk dependency from README (#788) 2020-10-30 21:42:09 +01:00
93664e7611 Merge pull request #798 from Hypnotron/master
Added 8/16-bit IPCFIFOSEND writes
2020-10-29 21:25:41 +01:00
05e274a1f6 Added 8/16-bit IPCFIFOSEND writes 2020-10-29 16:09:25 -04:00
c03d83b7be remove qt_sdl dependency from frontend util 2020-10-28 19:45:50 +01:00
49a96f41da I2C: silence logging for devices A0/E0 (mysterious alternate cameras) 2020-10-26 20:34:54 +01:00
2f15bcf93b betterer battery level 2020-10-26 17:55:25 +01:00
af0a9e92c4 make unlaunch'd NANDs work 2020-10-25 18:25:09 +01:00
9fdc1de6fe add a few missing 32bit I/O accesses (IPC, SPI) 2020-10-25 18:14:40 +01:00
65be1840f0 change JIT branch optimisations default to 1
branch linking is dead
2020-10-15 05:59:45 +02:00
3a17ae478e Merge pull request #789 from abcdjdj/numpad-fix
Input : Treat numpad keys as keypresses
2020-10-13 13:49:23 +02:00
dc46da0e24 Input : Treat numpad keys as keypresses
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>
2020-10-13 11:02:58 +05:30
f8c4bf6db1 save microphone hotkeys (#781) 2020-10-07 01:33:11 +02:00
ef4215e172 flush to file after importing SRAM 2020-10-06 00:49:16 +02:00
0d845c9e69 Random minor fixes (#757)
* 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`
2020-10-01 13:44:09 +02:00
9d5791f8e5 use fixed sized integers from stdint.h 2020-10-01 13:32:06 +02:00
6977302403 make OpenGL renderer a build option
mostly meant for the Switch port
2020-10-01 00:01:05 +02:00
4b705556bc Fix Ubuntu AArch64 CI - again (#767)
* 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
2020-09-24 19:17:39 +02:00
2850dfed15 Fix Ubuntu AArch64 CI (#764) 2020-09-19 18:10:03 +02:00
a88df19708 avoid out-of-bounds read in GPU2D. fixes #763 2020-09-18 00:29:08 +02:00
edf4c66724 fix build on Switch 2020-09-11 19:29:06 +02:00
f2fa52f26c add functionality to import savefiles 2020-09-11 03:08:06 +02:00
00e2ec3faf fix 8-bit ConsoleID address decoding typo (#749) 2020-09-07 04:09:03 +02:00
ea640398f9 Add support for fullscreen hotkey (#748) 2020-09-06 22:59:35 +02:00
7d20988b78 Merge pull request #724 from rzumer/patch-2
Document CMake build dependency on Linux
2020-09-06 22:50:10 +02:00
9772201345 remove some UB
- savestates used to read a four bytes from a single byte value
- a few unassigned variables
- some other things
- also make the ROR macro an inline function
2020-09-04 20:37:14 +02:00
94d12c68b3 heh 0.9 2020-09-04 13:41:51 +02:00
3739e4dd67 muhhahahahahh 2020-09-04 10:36:50 +02:00
5431c469c3 actually add DLDI. bahahahhh 2020-09-03 20:28:07 +02:00
81eda0f19c bahahahhh 2020-09-03 19:05:13 +02:00
0ee5bb7a3b Merge pull request #734 from v1993/master
Fix "Improved polygon splitting" option in GUI
2020-09-03 13:12:38 +02:00
1f634ed157 Merge branch 'master' of https://github.com/Arisotura/melonDS 2020-09-03 11:52:41 +02:00
aa94cbaeb0 DSi: add support for 8-bit VRAM writes when enabled in SCFG_EXT. fixes #733 2020-09-03 11:51:50 +02:00
910050a898 Merge pull request #735 from qeeg/master
Fix a typo in NDS.cpp
2020-09-01 00:16:41 +02:00
9bfaf8682d Fix a typo 2020-08-31 16:37:42 -05:00
aed7a32243 Fix "Improved polygon splitting" option in GUI 2020-08-31 18:56:20 +03:00
02d51620e3 Merge pull request #731 from WaluigiWare64/WaluigiWare64-patch-2
Fix Ubuntu x86_64 CI
2020-08-26 15:36:47 +02:00
ba0cbc53ca Update build-ubuntu.yml 2020-08-26 14:21:34 +01:00
b12e1a1b6e JIT fastmem: fix out of bounds read
seems to fix #727
2020-08-25 18:13:17 +02:00
4be68aafe0 make SD support actually be a thing 2020-08-25 00:34:57 +02:00
e5dd692d32 AES: fix bug where CCM-encrypt MAC could be obliterated, by attempting to write it while the output FIFO was full 2020-08-25 00:17:22 +02:00
2ee6145fd7 Merge pull request #715 from WaluigiWare64/WaluigiWare64-patch-1
Add instructions for static builds
2020-08-24 21:37:27 +02:00
b36b3feb7f support .dsi extension for dragdrop/cmdline launching 2020-08-24 21:25:10 +02:00
31e83b2bf3 fix config file lookup. fixes #717 2020-08-24 21:14:46 +02:00