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
Arisotura
8d42b1c7d7
messin' around
2020-09-08 20:19:37 +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
qeeg
9bfaf8682d
Fix a typo
2020-08-31 16:37:42 -05:00
v1993
aed7a32243
Fix "Improved polygon splitting" option in GUI
2020-08-31 18:56:20 +03:00
Arisotura
02d51620e3
Merge pull request #731 from WaluigiWare64/WaluigiWare64-patch-2
...
Fix Ubuntu x86_64 CI
2020-08-26 15:36:47 +02:00
WaluigiWare64
ba0cbc53ca
Update build-ubuntu.yml
2020-08-26 14:21:34 +01:00
RSDuck
b12e1a1b6e
JIT fastmem: fix out of bounds read
...
seems to fix #727
2020-08-25 18:13:17 +02:00
Arisotura
4be68aafe0
make SD support actually be a thing
2020-08-25 00:34:57 +02:00
Arisotura
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
Arisotura
2ee6145fd7
Merge pull request #715 from WaluigiWare64/WaluigiWare64-patch-1
...
Add instructions for static builds
2020-08-24 21:37:27 +02:00
Arisotura
b36b3feb7f
support .dsi extension for dragdrop/cmdline launching
2020-08-24 21:25:10 +02:00
Arisotura
31e83b2bf3
fix config file lookup. fixes #717
2020-08-24 21:14:46 +02:00
RSDuck
30fc6bbc09
JIT: fix QDSUB/QSUB for interpreter run
2020-08-24 21:07:20 +02:00
Arisotura
f4427a89d0
disable savestate menu items in DSi mode
2020-08-24 20:13:58 +02:00
Arisotura
3685edeef2
make GL display also not default
2020-08-24 20:03:24 +02:00
Arisotura
39af95e869
make the AR engine use the correct bus funcs based on DS/DSi mode
2020-08-24 19:55:20 +02:00
Arisotura
13521211d2
make software renderer the default
2020-08-24 19:32:44 +02:00
Arisotura
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
Arisotura
abccc44eec
make MAC randomization optional
2020-08-24 19:19:41 +02:00
Arisotura
c29e630314
oops.
...
fixes #725
2020-08-24 12:00:13 +02:00
WaluigiWare64
7464e42ccd
Add instructions for static builds
...
Add instructions for static builds
fix
2020-08-22 15:25:37 +01:00
Raphaël Zumer
0151a666ef
Document CMake build dependency on Linux
2020-08-22 08:47:23 -04:00
Arisotura
b5f9278b3a
GL: hopefully finally fix the checkerboard issue
2020-08-20 03:01:05 +02:00
Arisotura
0688a15e47
blarg
2020-08-20 01:37:33 +02:00
Arisotura
959e7f568d
GL: be more careful with framebuffer mappings. might fix issues.
2020-08-20 01:19:09 +02:00
Arisotura
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
Arisotura
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
Arisotura
e1add6f3d7
3D: add a bunch of missing variables to savestates. oops.
...
fixes #716
2020-08-19 16:25:40 +02:00
Arisotura
00f33343e4
3D/GL: experimental attempt at reducing warping on quads, pentagons, etc...
2020-08-19 14:53:42 +02:00
Arisotura
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