Age | Commit message (Collapse) | Author |
|
|
|
- This PR fixes core options and moves them to the related dynarec modes where they are implemented.
LIGHTREC = relates to platforms that supports the new Lightrec mode
NEW_DYNAREC = relates to previous dynarec implementation that is still used for some 32bit devices
- Dynarec Recompiler core option, both dynarec implementation can be enabled or disabled
|
|
After the dynarec writes new instructions, it has to flush the
instruction and data caches. Some of these flush operations are
privileged on the 3DS, so the clear cache functions have to run
through svcBackdoor. The Nintendo implementation (and CFW
reimplementation) of svcBackdoor has a problem where interrupts and
context switches will cause crashes.
Even though we can disable interrupts in the flush function, there's
still a window of time between svcBackdoor being called and the
function being run where an interrupt will corrupt the stack.
Luma3DS implemements a svcCustomBackdoor call we can use that also
runs a function in supervisor mode, but uses an implementation that
avoids this problem.
|
|
|
|
|
|
|
|
|
|
|
|
Fixes: d148d265
|
|
|
|
|
|
|
|
codebase for both mupen64plus and pcsx rearmed - see libretro/ari64
|
|
|
|
|
|
|
|
See github issue #74 for details.
|
|
not tested, mostly just guesswork
|
|
it's almost never a good idea, it will override some other mapping
and make things crash
|
|
See github issue #74 for details.
|
|
This reverts commit d9e6b42f224f10d8b6f2454da1f5d80735f8e0d6.
See github issue #74 for details.
|
|
This reverts commit 1c2e3fc3baf93e7c17f678d0d187e9f424360bb2.
See github issue #74 for details.
|
|
untested...
|
|
should already be flushed or not matter at this point
|
|
these were kept for compat with Ari64's code, which is removed, see
previous commit messages
|
|
|
|
Because people send patches while using editors that strip blanks
and the patch becomes a mess.
|
|
|
|
I've kept it around to keep the code similar to Ari64's version,
so that it would be easier to merge back his fixes. However Mupen64plus
has long reformatted the code and it kind of went different direction
anyway, so there is no point to keep all this code now.
|
|
|
|
|
|
|
|
|
|
github issue #68
|
|
https://github.com/jsonn/pkgsrc/commit/9d0d89dbc3ab94147676f296c61f977ee5ce5e36
|
|
|
|
|
|
|
|
- use linearAlloc for vout_buf.
- use svcFlushProcessDataCache to flush only the required range,
invalidating icache doesn't seem to be required.
|
|
|
|
|
|
untested, but makes ff7 behave better with linked lists
(dither problem)
|
|
Replace HAVE_ARMv7 with HAVE_ARMv6 if the instructions are supported by ARMv6.
uxth, sxth and sxtb are present under ARMv6: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0473k/dom1361289925707.html
|
|
|
|
b6e87b2bc096 broke R-Type sound, try to recover..
also check PE2
|
|
should give better experience after savestate load
|
|
|
|
|
|
|
|
not all platforms have 1f800000 free
not all mmap implementations use the addr hint..
|