aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/drivers/mouse.cpp
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2025-12-19 03:58:20 +0100
committercrueter <crueter@eden-emu.dev>2025-12-19 03:58:20 +0100
commit557876b222738209657d9d6949fc84159692bce9 (patch)
tree9f7a94fdd8534414cd11abacc124d9154f85598f /src/input_common/drivers/mouse.cpp
parent22dfc560e0c817f240ba81496ca3955e5c61bab9 (diff)
[core] use memcpy instead of hand rolling aligned cases (#2639)
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> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2639 Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'src/input_common/drivers/mouse.cpp')
0 files changed, 0 insertions, 0 deletions