65be1840f0
change JIT branch optimisations default to 1
...
branch linking is dead
2020-10-15 05:59:45 +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
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
8d42b1c7d7
messin' around
2020-09-08 20:19:37 +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
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
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
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
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
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
30fc6bbc09
JIT: fix QDSUB/QSUB for interpreter run
2020-08-24 21:07:20 +02:00
f4427a89d0
disable savestate menu items in DSi mode
2020-08-24 20:13:58 +02:00
3685edeef2
make GL display also not default
2020-08-24 20:03:24 +02:00
39af95e869
make the AR engine use the correct bus funcs based on DS/DSi mode
2020-08-24 19:55:20 +02:00
13521211d2
make software renderer the default
2020-08-24 19:32:44 +02:00
e7025abcdc
* fix build error
...
* make betterer polygon splitting an option
* add GL_LEQUAL depth test for 'equal' mode, might help
2020-08-24 19:32:07 +02:00
abccc44eec
make MAC randomization optional
2020-08-24 19:19:41 +02:00
c29e630314
oops.
...
fixes #725
2020-08-24 12:00:13 +02:00
b5f9278b3a
GL: hopefully finally fix the checkerboard issue
2020-08-20 03:01:05 +02:00
0688a15e47
blarg
2020-08-20 01:37:33 +02:00
959e7f568d
GL: be more careful with framebuffer mappings. might fix issues.
2020-08-20 01:19:09 +02:00
660792d64b
wifi:
...
* don't receive packets if the RX buffer is zero-sized
* avoid potential out-of-bound writes
2020-08-19 19:16:09 +02:00
c9447935ff
NWifi: correctly determine ROM/chip/etc IDs based on hardware version (as specified in firmware).
...
fixes #700
2020-08-19 17:53:31 +02:00
e1add6f3d7
3D: add a bunch of missing variables to savestates. oops.
...
fixes #716
2020-08-19 16:25:40 +02:00
00f33343e4
3D/GL: experimental attempt at reducing warping on quads, pentagons, etc...
2020-08-19 14:53:42 +02:00
de19ce6250
3D/GL: make polygon generation code cleaner, add quicker codepath for triangles (also laying ground for some evil experiment)
...
also fix stupid bug with line polygons
2020-08-19 13:02:54 +02:00
a32d997e1c
SPU: don't process channels with len<4
2020-08-19 04:18:17 +02:00
6f4e7c60b2
GPU2D: allow writes to DISPCNT, master brightness, capture, dispFIFO regardless of POWCNT.
...
fixes #665
2020-08-19 00:46:16 +02:00
ba373ca72a
DSi: make ARM9-clock-selector actually work
2020-08-17 19:15:45 +02:00
e27d55505f
blarg
2020-08-15 01:11:18 +02:00
f8d1d08e9c
(finally) build the goddamn cheat interface
2020-08-15 00:14:05 +02:00
4299ef5f06
use unordered map for JIT RestoreCandidates
...
also fix WifiRead32?
2020-08-14 23:38:47 +02:00