Jaklyy
bb20a0b1d2
try to avoid some memcpys in fast mode
2024-04-24 08:04:41 -04:00
Jaklyy
635bfa0c29
even more cleanup!
2024-04-24 07:59:38 -04:00
Jaklyy
57e590269f
cleanup more misc stuff
2024-04-24 00:27:50 -04:00
Jaklyy
896df08c5c
clean up
2024-04-23 22:05:45 -04:00
Jaklyy
1aa86967b5
small fix
2024-04-21 14:49:27 -04:00
Jaklyy
424c5755ea
nvm ill just shove it into hblank
2024-04-21 11:53:27 -04:00
Jaklyy
36f555db33
approximate time of dispcnt underflow bit update
2024-04-20 12:13:26 -04:00
Jaklyy
1c24fe03c2
improve when 3d dispcnt underflow flag updates
2024-04-19 13:03:04 -04:00
Jaklyy
520f7a0f3a
small optimization
2024-04-19 10:41:01 -04:00
Jaklyy
39a569bd35
Revert "temp hack cuz lazyy"
...
This reverts commit 668c493bf4
.
2024-04-19 08:00:29 -04:00
Jaklyy
663e72fe3a
Merge remote-tracking branch 'upstream/master' into RDLines
2024-04-19 06:30:04 -04:00
Jaklyy
668c493bf4
temp hack cuz lazyy
2024-04-19 06:29:46 -04:00
Jaklyy
95faca402a
accuracy toggle + some attempt at understanding slopes
2024-04-19 06:16:32 -04:00
Nadia Holmquist Pedersen
ba8d547dfa
Windows: Work around CMake not finding libarchive's include directory because MSYS2 CMake doesn't like UNIX paths.
2024-04-18 12:25:41 +02:00
RealAstolfo
84474105e2
ssize_t is not defined in stddef.h ( #1999 )
...
i had to add sys/types.h and patch my gentoo ebuilds for a successful compilation.
2024-04-18 13:40:38 +02:00
Jaklyy
ae1890a8db
Merge remote-tracking branch 'upstream/master' into RDLines
2024-04-17 13:04:08 -04:00
Rayyan Ansari
5a852cb00d
ROMManager: optimise ROMIcon function
...
Precompute all 16 5-bit RGB palette colours into 8-bit RGBA to avoid
repeated and superfluous calculation within the nested loop at the
point of index lookup.
A speedup was observed, from ~7ms, to a consistent 1ms
(i.e. now practically instantaneous) through timing with
std::chrono::high_resolution_clock.
Also improve comprehensibility, by using meaningful names, where
appropriate, for loop counter variables.
2024-04-16 23:39:22 +01:00
Jaklyy
cdc7b01701
fix up a few more things
2024-04-15 10:02:32 -04:00
Arisotura
95adc87f6d
wifi: try ignoring MP frames if not engaging in MP comm
2024-04-13 12:17:16 +02:00
Arisotura
8feeee6103
Input: only check joystick input if a joystick actually exists
2024-04-12 20:02:16 +02:00
Arisotura
d99c571f94
FATStorage: make sure to always properly unmount the volume (fixes evil bug)
2024-04-12 19:43:02 +02:00
Arisotura
111dc7a563
wifi improvements:
...
* implement channels
* rework power-down support, fixing bugs
* fix bug when W_BeaconInterval is zero
* fix potential missing IRQs when writing to W_IE
2024-04-12 17:28:51 +02:00
Arisotura
0b87dd5fa6
fix touchscreen bug on Wayland
2024-04-09 12:54:31 +02:00
Arisotura
968bd26d85
fix generation of instance-unique MAC address when using an external firmware
2024-04-09 11:38:38 +02:00
Jaklyy
a51747b253
fix a bug i introduced, also fix one i didn't
2024-04-05 12:46:57 -04:00
Jaklyy
75956b43c4
better implement when the line count reg is/isnt updated
2024-04-04 19:36:27 -04:00
Jaklyy
e1cbadbe60
attempt at some cleanup
2024-04-03 15:18:25 -04:00
Nadia Holmquist Pedersen
6e26559cd2
ci: fix macOS build
...
GitHub Actions' macOS runners have Python from homebrew installed and it's used by default instead of the Python that ships with macOS. Apparently Homebrew decided you shouldn't be able to install stuff with `pip3` anymore so our build broke since `setuptools` is no longer included by default and `glib` from vcpkg needs it to build.
Additionally,, the whole liblzma mess ended up breaking our builds too because libarchive (and its dependency libxml2) depends on it and the download is no longer available. The build option changes here should be reverted once this is sorted out because this is probably partially breaking archive support.
PS: Fuck you Jia Tan.
2024-04-03 14:49:27 +02:00
Jesse Talavera
31a7f53282
Fix a crash when using DSi mode in debug builds on macOS ( #1976 )
...
Store the BIOS images in `NDSArgs`/`DSiArgs` through pointers, not directly
- This will make it easier to keep such objects on the stack
2024-03-13 14:55:20 +01:00
RSDuck
ea1755bed0
call Start again NDS object after Reset
...
fixes issue where game doesn't properly start after changing settings
2024-03-12 09:23:20 +01:00
RSDuck
5fdd285c9a
fix aarch64 build
2024-03-12 08:41:42 +01:00
RSDuck
18d1df606f
fix #1959
...
Use QT again for opening file so that we don't depend on locale
2024-03-12 08:35:56 +01:00
Nadia Holmquist Pedersen
b117bb8f58
that should be 0x8000
2024-03-08 16:59:31 +01:00
Nadia Holmquist Pedersen
faf3c0f2e0
Add Gaussian (SNES) audio interpolation
...
Probably not a good choice for most DS games unless you really want a
very soft sound, but it could be fun if you wanted to run lolSnes in
melonDS :p
2024-03-08 16:36:00 +01:00
Jaklyy
b32f519c5a
more cleanup + "fix" RDLines_Count
...
fix feels wrong, but i can't prove it either way yet.
2024-03-06 08:42:53 -05:00
Jaklyy
246fa18ab6
return false if underflowed
...
misc cleanup
2024-03-06 07:41:36 -05:00
Jaklyy
7f73dc35f9
minor cleanup
2024-03-05 21:22:51 -05:00
Jaklyy
52e097d97c
Improve(?) edge marking check
...
fixes a bug
makes the code 200% uglier to look at though
2024-03-05 19:28:20 -05:00
Jaklyy
bbbd56877d
minor tweaks to edge marking bug handling
...
for some reason it does not check against the depth bitmap when enabled?
2024-03-05 17:46:13 -05:00
Nadia Holmquist Pedersen
e227902cec
Util_Audio: use basic linear interpolation
...
Should remove the artifacts caused by the previous nearest
resampling. May be worth replacing with something better in the
future, but this is an improvement for now.
2024-03-03 16:58:59 +01:00
Jaklyy
56e506ef9a
misc cleanup
2024-02-26 12:25:49 -05:00
Jaklyy
9ffa04dfbc
approximate rdlines_count; implement underflow flag
2024-02-25 22:41:33 -05:00
Jaklyy
9219a084c4
improve edge marking bug accuracy
...
also begin groundwork for rdlines_count register emulation
2024-02-25 16:45:22 -05:00
Nadia Holmquist Pedersen
67ca4997e2
Release all keyboard keys on focus loss ( fixes #1987 )
2024-02-25 14:25:50 +01:00
Jaklyy
f2cf447fc1
Merge branch 'rastertiming-mk4' into RDLines
2024-02-24 14:20:31 -05:00
Jaklyy
403674ebf4
Merge remote-tracking branch 'upstream/master' into RDLines
2024-02-24 14:20:25 -05:00
Jaklyy
249687a2ce
rework 4: now with proper edge marking bug emulation!
2024-02-24 14:18:45 -05:00
Nadia Holmquist Pedersen
21e2a876ec
build teakra's test_generator.cpp only if building its unit tests is
...
enabled
speeds up builds a bit
2024-02-24 01:47:04 +01:00
Jaklyy
3256e054fa
wip
2024-02-23 09:55:34 -05:00
λP.(P izzy)
9430502b16
fix malloc on OpenBSD targets ( #1979 )
2024-02-20 03:33:39 +01:00