Commit Graph

1561 Commits

Author SHA1 Message Date
RSDuck
1085cc14a4 prevent use after free 2020-11-16 17:03:24 +01:00
RSDuck
21dbca9543 use proper index buffers 2020-11-16 15:58:23 +01:00
Raphaël Zumer
550241dbad
Fix GBA file drag-and-drop when the system is off (#817) 2020-11-15 16:15:09 +01:00
RSDuck
05b94eff66 make audio output thread safe(r?) 2020-11-15 15:29:38 +01:00
Nadia Holmquist Pedersen
1b0a24a9bd
Fix LTO builds with Clang (#815) 2020-11-14 13:29:47 +01:00
RSDuck
d697f9e0d2 make fastmem work again 2020-11-13 15:20:53 +01:00
WaluigiWare64
fbc7648d1a
Fix Ubuntu AArch64 CI - round 3 (#811) 2020-11-11 18:29:25 +01:00
RSDuck
62e3f41f20 delay savefile flush to the end of the frame 2020-11-11 13:38:05 +01:00
RSDuck
2720df9650 make platform objects typesafer and add mutex 2020-11-09 21:52:35 +01:00
RSDuck
052079afeb fix Windows 2020-11-09 20:56:31 +01:00
RSDuck
ae9694ef8b do what Nadia said 2020-11-09 20:50:29 +01:00
RSDuck
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
Nadia Holmquist Pedersen
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
RSDuck
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
Filippo Scognamiglio
fbca47381b
Fix a couple of wrong cpp function pointers. (#785) 2020-10-31 17:53:01 +01:00
Filippo Scognamiglio
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
RSDuck
9ac60a840a SPU: work with scalars instead of arrays 2020-10-31 13:48:02 +01:00
WaluigiWare64
e46a408972
Remove unused gtk dependency from README (#788) 2020-10-30 21:42:09 +01:00
Arisotura
93664e7611
Merge pull request #798 from Hypnotron/master
Added 8/16-bit IPCFIFOSEND writes
2020-10-29 21:25:41 +01:00
Hypnotron
05e274a1f6 Added 8/16-bit IPCFIFOSEND writes 2020-10-29 16:09:25 -04:00
RSDuck
c03d83b7be remove qt_sdl dependency from frontend util 2020-10-28 19:45:50 +01:00
Arisotura
49a96f41da I2C: silence logging for devices A0/E0 (mysterious alternate cameras) 2020-10-26 20:34:54 +01:00
Arisotura
2f15bcf93b betterer battery level 2020-10-26 17:55:25 +01:00
Arisotura
af0a9e92c4 make unlaunch'd NANDs work 2020-10-25 18:25:09 +01:00
Arisotura
9fdc1de6fe add a few missing 32bit I/O accesses (IPC, SPI) 2020-10-25 18:14:40 +01:00
RSDuck
65be1840f0 change JIT branch optimisations default to 1
branch linking is dead
2020-10-15 05:59:45 +02:00
Arisotura
3a17ae478e
Merge pull request #789 from abcdjdj/numpad-fix
Input : Treat numpad keys as keypresses
2020-10-13 13:49:23 +02:00
Madhav Kanbur
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
kyandora
f8c4bf6db1
save microphone hotkeys (#781) 2020-10-07 01:33:11 +02:00
RSDuck
ef4215e172 flush to file after importing SRAM 2020-10-06 00:49:16 +02:00
Valeri
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
RSDuck
9d5791f8e5 use fixed sized integers from stdint.h 2020-10-01 13:32:06 +02:00
RSDuck
6977302403 make OpenGL renderer a build option
mostly meant for the Switch port
2020-10-01 00:01:05 +02:00
WaluigiWare64
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
WaluigiWare64
2850dfed15
Fix Ubuntu AArch64 CI (#764) 2020-09-19 18:10:03 +02:00
Arisotura
a88df19708 avoid out-of-bounds read in GPU2D. fixes #763 2020-09-18 00:29:08 +02:00
RSDuck
edf4c66724 fix build on Switch 2020-09-11 19:29:06 +02:00
RSDuck
f2fa52f26c add functionality to import savefiles 2020-09-11 03:08:06 +02:00
PoroCYon
00e2ec3faf
fix 8-bit ConsoleID address decoding typo (#749) 2020-09-07 04:09:03 +02:00
WaluigiWare64
ea640398f9
Add support for fullscreen hotkey (#748) 2020-09-06 22:59:35 +02:00
RSDuck
7d20988b78
Merge pull request #724 from rzumer/patch-2
Document CMake build dependency on Linux
2020-09-06 22:50:10 +02:00
RSDuck
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
Arisotura
94d12c68b3 heh 2020-09-04 13:41:51 +02:00
Arisotura
3739e4dd67 muhhahahahahh 2020-09-04 10:36:50 +02:00
Arisotura
5431c469c3 actually add DLDI. bahahahhh 2020-09-03 20:28:07 +02:00
Arisotura
81eda0f19c bahahahhh 2020-09-03 19:05:13 +02:00
Arisotura
0ee5bb7a3b
Merge pull request #734 from v1993/master
Fix "Improved polygon splitting" option in GUI
2020-09-03 13:12:38 +02:00
Arisotura
1f634ed157 Merge branch 'master' of https://github.com/Arisotura/melonDS 2020-09-03 11:52:41 +02:00
Arisotura
aa94cbaeb0 DSi: add support for 8-bit VRAM writes when enabled in SCFG_EXT. fixes #733 2020-09-03 11:51:50 +02:00
RSDuck
910050a898
Merge pull request #735 from qeeg/master
Fix a typo in NDS.cpp
2020-09-01 00:16:41 +02:00