Commit graph

4 commits

Author SHA1 Message Date
Nebuleon Fumika
5e3426d0d2 Remove 320 KiB of memory allocations in APU emulation that were completely unused but constantly re-zeroed.
Frees up 320 KiB for other uses, and saves ~4 milliseconds at emulator startup, when resetting the APU and when loading a new game.
2013-02-06 19:07:39 -05:00
Nebuleon Fumika
f385752705 memcpy vs memmove: memmove correctly handles overlapping source and destination memory buffers, but is slower than memcpy in many implementations. When memory buffers don't overlap, memcpy may be more efficient.
The DS2 SDK is such an implementation, so change many memmoves into memcpys.
2013-02-01 00:33:30 -05:00
Nebuleon Fumika
e5869adc44 Merge Registers structures into their respective CPUs to avoid additional memory addresses being loaded every opcode. 2012-12-26 14:42:02 -05:00
Kitty Draper
d40ae99422 first commit 2011-03-05 21:39:25 -05:00