Commit Graph

2813 Commits

Author SHA1 Message Date
RSDuck 9ad3d42252 hopefully fix macos 2024-11-18 21:31:56 +01:00
RSDuck f0503a6a28 fix 4kb page check
oops
2024-11-18 21:21:02 +01:00
Kemal Afzal 99ce959913
Multiinstance jit (#2201)
* works on Linux x64
still needs to be fixed for everything else

* use lots of PROT_NONE memory to reliably reserve virtual address space

* multi instance fastmem on Linux

* Windows

* blarg

* disable fastmem if the page size is not 4kb

* fix fast mem dialog option

* make aarch64 work as well

* fastmem 16kb pages support
2024-11-18 20:43:05 +01:00
RSDuck cb7af652f5 aarch64 lto broken GPU2D workaround 2024-11-18 20:08:49 +01:00
RSDuck c01b2bf7a0 prevent out of bounds access for microphone data 2024-11-18 18:58:39 +01:00
Arisotura 0ea0af3abf make it possible to change gdb stub settings without destroying/recreating a NDS 2024-11-17 20:00:52 +01:00
Arisotura 99aa5676db actually remove NDS/GBA ROM args from NDSArgs, since we won't be using them 2024-11-17 19:38:36 +01:00
Arisotura 5e3d2d07c3 fix Key1 code to source the DS-mode key data from the ARM9i BIOS, so it works even if no DS BIOSes are provided
(had to rework the loading code to make it work -- if carts are passed to the DSi constructor, they get initialized before the DSi stuff is initialized, and can't read the DSi BIOSes)
2024-11-17 19:04:13 +01:00
Arisotura f0a023b572 Merge remote-tracking branch 'origin/master' 2024-11-17 18:18:00 +01:00
Arisotura 5f8255bc90 allow DSi mode to run with internal DS BIOS 2024-11-17 18:17:43 +01:00
fincs 584508230f
Assortment of fixes related to libnds v2/calico (#2197)
* Support 8-bit writes to REG_IPCSYNC

* Support CP15 Trace Process ID register

* NWifi: expose correct manfid information in CIS0/CIS1 area

* NWifi: basic support for WMI_SET_PROBED_SSID

# Conflicts:
#	src/DSi_NWifi.cpp

* DSi_NAND: fix incorrect CTR IV calculation code
2024-11-17 15:57:00 +01:00
Arisotura 023dc0c446 avoid reopening the microphone if it was already opened 2024-11-17 15:47:55 +01:00
Arisotura 871a167d8b also fix crashes when inserting/ejecting a NDS cart while nothing is loaded 2024-11-17 15:43:22 +01:00
Arisotura 0a4287c6ad fix crashes when inserting/ejecting GBA carts/addons with nothing loaded 2024-11-17 15:23:25 +01:00
Jaklyy 172a79cda8 hacky stall for cache streaming+wb during dmas 2024-11-17 09:12:32 -05:00
Jaklyy 16efe8e5e4 improvements to dma 2024-11-17 08:55:39 -05:00
Jaklyy 4db465e60d some fixes to write buffer and icache prefetch 2024-11-13 20:57:00 -05:00
Jaklyy ac82cda48b Merge remote-tracking branch 'upstream/master' into chemical-x 2024-11-13 10:20:39 -05:00
Nadia Holmquist Pedersen 5e8beb3ab7 fix a typo 2024-11-13 15:23:59 +01:00
Jaklyy 4099823af7 more write buffer work 2024-11-12 16:58:10 -05:00
Jaklyy 28d788f26d fix build 2024-11-12 10:56:54 -05:00
Nadia Holmquist Pedersen 7c1d2a64f4 Set WIN32_LEAN_AND_MEAN, gets rid of the winsock2 warnings and probably
speeds up compilation a tiny bit

oh and NOMINMAX too for good measure while we're at it
2024-11-11 14:18:05 +01:00
Nadia Holmquist Pedersen b2f6fab6f4 cmake: use interface include directories properly
and fix an indent I guess
2024-11-11 12:06:12 +01:00
Jaklyy 514b4375a8 Merge branch 'interpreter-fixes' into chemical-x 2024-11-10 11:00:23 -05:00
Jaklyy 9d92b8708a r15 writeback is very weird with ldr/str 2024-11-10 02:56:16 -05:00
Jaklyy fce0555a09 slightly fix error in writeback handling 2024-11-09 22:07:17 -05:00
Jaklyy ec241a8224 im smrat :D 2024-11-09 16:18:48 -05:00
Jaklyy bdc315198f T_LDR_SPREL does ROR + misc cleanup 2024-11-09 16:12:19 -05:00
Jaklyy e4dd913ba3 arm7 RORs unaligned ldr(s)h
ty mgba discord
2024-11-09 15:38:08 -05:00
Jaklyy 9f8cf8dad2 ldm base writeback fails with r15 2024-11-09 14:49:34 -05:00
RSDuck 4528441c74 for OGL renderer W buffer rendering avoid undefined vertex z
see https://github.com/melonDS-emu/melonDS/issues/2017
2024-11-09 14:19:02 +01:00
Nadia Holmquist Pedersen 8e3f6cc519 add missing qtbase-private-devel for Fedora 2024-11-09 08:32:34 +01:00
Rayyan Ansari 7041b52ebc
Remove extra backtick in Windows build instructions 2024-11-08 21:41:27 +00:00
Rayyan Ansari adf143a38d
Fix link to contributors in About dialog
Add openExternalLinks property to the label to allow the hyperlink to
open in the user's web browser.
2024-11-08 21:32:45 +00:00
RSDuck 8d4f419546 correct assert in gdb stub 2024-11-08 18:57:44 +01:00
Jaklyy 676f471ebe fix edge case with thumb prefetch aborts 2024-11-08 01:36:14 -05:00
Jaklyy 3fe73f764f Merge branch 'interpreter-fixes' into chemical-x 2024-11-08 01:06:12 -05:00
Jaklyy 60a819c1ed correct handling of T bit changes w/o pipeline flush on arm9 2024-11-08 01:02:36 -05:00
Jaklyy 5091061a39 improve accuracy of prefetch abort handling slightly
prefetch aborts should be handled on executing an instruction by a flag set when the instruction is fetched
2024-11-07 20:16:19 -05:00
Jaklyy b3dec0b66a Merge branch 'interpreter-fixes' into chemical-x 2024-11-07 13:20:34 -05:00
Jaklyy ef5de6091b t blx long with bit 0 set should raise an exception
fixes a bug with gbarunner3
2024-11-07 13:16:39 -05:00
Jaklyy 0d68cc05b6 Merge branch 'interpreter-fixes' into chemical-x 2024-11-06 08:32:05 -05:00
Jaklyy 3bd6274477 Merge remote-tracking branch 'upstream/master' into interpreter-fixes 2024-11-06 08:27:50 -05:00
Jaklyy 3d49f5f256 arm7 muls carry flag emulation. 2024-11-06 00:18:29 -05:00
Jaklyy 3c7db9b21f correct thumb multiply timings 2024-11-05 21:57:11 -05:00
Nadia Holmquist Pedersen 5959009ebd
Use Qt 6 by default on all platforms and update build instructions (#2187) 2024-11-05 17:03:07 +01:00
Nadia Holmquist Pedersen d8f1d106f0 flake: remove workaround no longer needed with Darwin SDK changes
also add the Qt tools to the dev shell since they're needed for Qt
Designer and such
2024-11-05 07:58:31 +01:00
Jaklyy 24ed8832a9 fix resetting under certain circumstances
cache streaming could use a stale value for setting the main ram timestamp under certain circumstances, which ofc games triggered.......
2024-11-04 12:16:56 -05:00
Jaklyy 604b21c85a this fixes stuff 2024-11-04 09:23:58 -05:00
Jaklyy 09cdec70a6 improve interlock timings
still imperfect.
using the same reg for multiple inputs can result in incorrect timings
2024-11-03 16:35:24 -05:00