apply patch #3534136 to fix lua's readbyterange function

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4288 5577840e-afb3-4e59-9ef3-2b7f898b1952
gpu-remove endian swapping struct balderdash from sprite rendering

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4289 5577840e-afb3-4e59-9ef3-2b7f898b1952
gpu-ahhhhhhhhh purge more old crud

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4290 5577840e-afb3-4e59-9ef3-2b7f898b1952
- fix GPU init (fix compiling builds);

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4292 5577840e-afb3-4e59-9ef3-2b7f898b1952
spu-run reads through full memory mapping system. fixes some buggy homebrew experiments which were playing sounds from LCD memory, as well as other potential (unlikely) lurking bugs which wouldve been hard to find.

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4293 5577840e-afb3-4e59-9ef3-2b7f898b1952
change vram bank A-D conflict priorities, since we found a test case where they were wrong.

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4294 5577840e-afb3-4e59-9ef3-2b7f898b1952
block writes under 0x02000000 on arm7 to eliminate chance of mirrored bios getting clobbered; fix arm7 dma of 0 bytes to actually be 0 bytes (instead of 0x200000 bytes as on arm9)

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4295 5577840e-afb3-4e59-9ef3-2b7f898b1952
gpu-fix catastrophic sprite rendering regression from r4289

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4296 5577840e-afb3-4e59-9ef3-2b7f898b1952
spu-fix 8bit data to be signed

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4297 5577840e-afb3-4e59-9ef3-2b7f898b1952
improve (very coarsely; it isnt perfect) timing of swapbuffers process to at least sequence it correctly with regards to vblank. fixes #3538901 DBZ Kai Butouden 3d on character select

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4298 5577840e-afb3-4e59-9ef3-2b7f898b1952
refine timing of swapbuffers more. fixes 098 regression in devil survivor 2.

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4299 5577840e-afb3-4e59-9ef3-2b7f898b1952
Cocoa Port:
- Fix thread-safety issue when changing the execution speed.

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4300 5577840e-afb3-4e59-9ef3-2b7f898b1952
win32-apply patch #3540789 (Rotation Hotkey(s))

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4302 5577840e-afb3-4e59-9ef3-2b7f898b1952
Cocoa Port:
- Clean up some #include stuff in ringbuffer.cpp/.h
- Add/fix some comments in ringbuffer.cpp/.h
- Add accessor for _bufferFillSize

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4304 5577840e-afb3-4e59-9ef3-2b7f898b1952
SPU:
- In SPU_Emulate_core(), allow custom sound cores to use their own sample fetch logic.
- In SPU_Emulate_user(), allow custom sound cores to use their own sound post-process logic.
- Refactor existing fetch/post-process logic into SPU_DefaultFetchSamples() and SPU_DefaultPostProcessSamples(), respectively.

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4306 5577840e-afb3-4e59-9ef3-2b7f898b1952
Cocoa Port:
- Make sound processing thread-safe. Fixes bug #3538263. < http://sourceforge.net/tracker/?func=detail&aid=3538263&group_id=164579&atid=832291 >

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4307 5577840e-afb3-4e59-9ef3-2b7f898b1952
- merge JIT branch into trunk;
- remove JIT branch;

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4311 5577840e-afb3-4e59-9ef3-2b7f898b1952


git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4312 5577840e-afb3-4e59-9ef3-2b7f898b1952
fix linux build

regression from r4291, which accidentally reverted a hunk of configure


git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4313 5577840e-afb3-4e59-9ef3-2b7f898b1952
win32-describe jit option in more detail in emulation options dialog

git-svn-id: https://desmume.svn.sourceforge.net/svnroot/desmume/trunk@4314 5577840e-afb3-4e59-9ef3-2b7f898b1952