Commit Graph

929 Commits

Author SHA1 Message Date
Arisotura
78ff4165ed GPU2D:
* implement reserved mode for bitmap sprites (not too interesting)
* mask out DISPCNT bits that don't apply to the sub GPU
2019-07-24 04:29:19 +02:00
Arisotura
a8886d5949 GPU2D: add 'prohibited' large BG sizes 2019-07-24 03:30:09 +02:00
Arisotura
3c006fd361 GPU2D: fill gaps in BG modes
* mode6 actually works on the sub GPU, albeit limited to 1/4 the full bitmap size due to having only 128K of VRAM
* mode7 draws BG0, BG1 and sprites. no BG2/BG3.
2019-07-24 02:46:30 +02:00
Arisotura
c1fa5d8283 GPU2D: forced-blank only disables BG/OBJ compositing (VRAM/FIFO display, capture, master brightness still run)
fixes #491
2019-07-24 00:27:08 +02:00
Arisotura
22f3cae067 fix potential out-of-bounds write 2019-07-13 02:54:14 +02:00
Arisotura
ff27036b35 start botching the FPS limiter
results in shitty audio because it's overflowing the buffer
2019-07-12 22:04:55 +02:00
Arisotura
504ccb7044 don't allow modifier mappings in input config dialog, either 2019-07-09 18:41:44 +02:00
Arisotura
592e493a7a input: don't check modifiers for regular input 2019-07-09 18:39:50 +02:00
Arisotura
36f1e6f475 remove glBindImageTexture (4.2) 2019-06-30 16:57:30 +02:00
Arisotura
1b98a3e3a0 fix 'shift by register' operands: always only take the lower 8 bits of the register, fix handling for LSL/LSR >32
fixes #479
2019-06-27 14:05:51 +02:00
Arisotura
204b5d8700 HARK HARK HARK 2019-06-25 19:29:21 +02:00
Arisotura
4d775dcf85 fix OpenGL deinit when closing emu 2019-06-25 17:37:32 +02:00
Arisotura
1d8902c631 remove stupid hack that caused more problems than it fixed 2019-06-25 13:09:06 +02:00
Arisotura
58575f82b7 libui/windows: backport fix for #471 2019-06-25 12:29:56 +02:00
Arisotura
49b2f8d969 raise kMaxIterationCycles to 64 2019-06-25 02:05:48 +02:00
Arisotura
e2dc98d144 fix bug when mapping a joystick axis control but no button 2019-06-20 16:31:28 +02:00
Arisotura
f59094e033 OpenGL: disable vsync, atleast under Windows 2019-06-20 16:00:12 +02:00
Arisotura
77bf92a272 Merge branch 'master' of https://github.com/Arisotura/melonDS 2019-06-20 13:57:34 +02:00
Arisotura
6d01677a57 add 32bit writes to some IO ports. fixes #313 2019-06-20 13:57:14 +02:00
Arisotura
8363a0256f
Merge pull request #456 from RSDuck/ogl-fb-fix
fix OGL renderer not working at all on some GPUs
2019-06-17 13:46:27 +02:00
RSDuck
dac9ccc577 fix OGL renderer not working at all on some GPUs 2019-06-17 13:14:52 +02:00
StapleButter
c4182b5ad3 BAHAHHAHAHAHH 2019-06-12 14:03:06 +02:00
Arisotura
34c60eaca4 fix bugs with line polygons 2019-06-12 13:14:11 +02:00
Arisotura
886bf6bc10 prevent loading savestates that are too recent 2019-06-12 12:49:52 +02:00
Arisotura
27f758d353 hack so that the GL renderer can render lines 2019-06-12 03:55:40 +02:00
Arisotura
4553da720c add setting for showing/hiding OSD 2019-06-12 03:32:25 +02:00
Arisotura
ea5dc39e83 cheapass fix for texture positions, atleast effective at 1xIR 2019-06-12 02:55:38 +02:00
Arisotura
a3fed77da3 somewhat better edge marking 2019-06-12 02:23:40 +02:00
Arisotura
711fda469e stop fast-forward hotkeys from getting lost every damn time 2019-06-12 01:39:12 +02:00
Arisotura
4abf0473c2 add pause/reset hotkeys 2019-06-12 01:12:49 +02:00
Arisotura
1cb8f3c8b2 rework input/hotkey code to suck less, implement the new features 2019-06-12 00:59:51 +02:00
Arisotura
82f4f4fdcb fix bugs, make it more responsive 2019-06-11 23:48:49 +02:00
Arisotura
bfc12a038e add ability to map joystick axes, too
and add support for multiple hats
2019-06-11 23:41:48 +02:00
Arisotura
1ea25ac6f1 add ability to map keys with modifiers, only in config UI for now 2019-06-11 23:16:15 +02:00
Arisotura
4447e010d7 actually save the current joystick ID 2019-06-11 18:57:22 +02:00
Arisotura
b9183b8818 begin work on multiple joystick support 2019-06-11 18:55:04 +02:00
Arisotura
543a40c7cb add some OSD messages. prepare shit. 2019-06-11 04:04:49 +02:00
Arisotura
3c70015da7 software renderer: fix rendering of line polygons. fixes #350 2019-06-11 03:10:32 +02:00
Arisotura
09cfdc6e76 pft 2019-06-10 18:24:38 +02:00
Arisotura
fd28391160 fix ass-stupid bug in CP15 PU region setup 2019-06-10 15:29:40 +02:00
Arisotura
d28035674a GPU2D: hardware renders sprites one scanline in advance.
fixes #375 (midframe OAM update)
2019-06-10 03:05:26 +02:00
Arisotura
9ab331c6dd fix more stupid shit. askzjkdsf 2019-06-09 20:44:35 +02:00
Arisotura
c056dfe509 fix fog alpha 2019-06-09 19:53:28 +02:00
Arisotura
086354a420 miserable, feeble little attempt at edge marking 2019-06-09 19:32:02 +02:00
Arisotura
434a3007e2 fasterer BG/OBJ VRAM reads 2019-06-09 16:06:01 +02:00
Arisotura
10df601023
Merge pull request #442 from tgsm/bump-cmake-version
cmake: bump minimum version
2019-06-09 13:54:44 +02:00
tgsm
5f4f1408b3 cmake: bump minimum version
add_link_options() only exists on cmake >=3.13.
2019-06-09 04:57:36 -04:00
Arisotura
00a5576492 fasterer IRQ check. clean up code. 2019-06-08 22:16:51 +02:00
Arisotura
8fc30d69c5 fix last bugs when changing video settings with no game loaded 2019-06-08 13:06:36 +02:00
Arisotura
bc53ff35a9 this is the same thing, but, for the sake of consistency 2019-06-08 12:39:52 +02:00