[core] use memcpy instead of hand rolling aligned cases #2639

Open
Lizzie wants to merge 2 commits from memory-use-memcpy-4rw into master

2 commits

Author SHA1 Message Date
acc93cb564 fix
All checks were successful
eden-license / license-header (pull_request) Successful in 27s
Signed-off-by: lizzie <lizzie@eden-emu.dev>
2025-10-07 19:02:23 +02:00
8d8a68dc6d [core] use memcpy instead of hand rolling aligned cases
Hand rolling memcpy like this is always frowned upon because the compiler has more insight on whats going on (plus the code resolves to a worse version of itself on assembly). This removes some branches that are just straight up redundant. May save stuff especially for systems without fastmem enabled.

Signed-off-by: lizzie <lizzie@eden-emu.dev>
2025-10-07 19:02:23 +02:00