aboutsummaryrefslogtreecommitdiff
path: root/src/ARMJIT_Memory.cpp
Commit message (Collapse)AuthorAge
* remove direct reference to Switch frontend headerRSDuck2021-03-03
|
* Define CONTEXT_PC and use instead for much cleaner code (#1017)WaluigiWare642021-02-25
| | | | | * Define CONTEXT_PC and use instead for much cleaner code Also include ways to get the Program Counter on ARM64 FreeBSD and NetBSD
* fix #994RSDuck2021-02-09
|
* wild shot into the darkRSDuck2021-02-09
|
* Add NetBSD support (#985)WaluigiWare642021-02-03
| | | | Note - This will require PaX MPROTECT to be disabled for melonDS by running: paxctl +m melonDS
* Add FreeBSD support (#939)WaluigiWare642021-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | * Add FreeBSD support * Fix indentation * Fix Linux not finding OpenGL * Link POSIX Realtime Extensions library * Link POSIX Realtime Extensions when OpenGL is enabled too * Fail if shm_open memory exists and also check for errors * fix the last commit * (try to) Setup FreeBSD CI * Fix some issues with FreeBSD CI * Make with all cores * Remove FreeBSD CI It doesn't want to work for some reason
* JIT A64: fixesRSDuck2021-01-05
| | | | also update Switch code for latest libnx
* Fix fastmem building on ARM64 Macs (#841)WaluigiWare642020-12-11
|
* aligned_alloc instead of memalignRSDuck2020-12-09
| | | | also carry over new Switch changes
* Use ashmem instead of memfd_create on Android. (#816)Filippo Scognamiglio2020-11-30
| | | | | | | | | * Use ashmem instead of memfd_create on Android. * Fix code styling issues. * fix small mistake in merge commit Co-authored-by: RSDuck <RSDuck@users.noreply.github.com>
* Add support for macOS (#771)WaluigiWare642020-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * use shm_open() instead of memfd_create() on macOS malloc.h isn't a header on macOS * Change OpenGL headers + create ifdef for DO_PROCLIST macOS seems to already have the OpenGL functions defined, without the ifdef, it gives "ambiguous references" errors. * macOS doesn't have ->gregs in uc_mcontext and it doesn't have REG_RIP either https://github.com/gperftools/gperftools/blob/master/m4/pc_from_ucontext.m4 * use getpid() to make memory file name unique * #ifndef __APPLE__ for AF_PACKET and linux/if_packet.h * Add include and link directories for macOS and link the OpenGL framework * Add macOS CI * Use newly added libslirp package from Homebrew https://github.com/Homebrew/homebrew-core/pull/63412 * Use Apple's Clang instead of GNU GCC on macOS * Add macOS build instructions to README * Try to fix macOS undefined symbol * snprintf doesn't take null terminator into account * Map new memory on macOS for JIT * Only use gcc-ar if using GNU Compiler * re-add fastmem code - whoops! * Fix style issue - use camelCase not snake_case * Set Minimum macOS version * Switch Minimum OS X version to 10.9 * Add macOS libpcap library name * fix memory leak * Fix binding keys in macOS * Allow getting MAC address on macOS melonDS on Linux uses AF_PACKET, which doesn't exist on macOS. Instead, this commit uses AF_LINK on macOS to get the MAC address. * Remove unneeded macOS CI dependencies * Build melonDS app bundle on macOS Now it is no longer required to install the libraries on macOS, they come with the app bundle. * fix macOS CI not being able to find macdeployqt * copy melonDS.app with recursive because it's a folder * Disable fastmem checkbox on macOS * Disable fastmem by default in config * forgot a semicolon * Don't bundle libraries, causes issues on macOS <10.15 * Update README + allow finding version in Finder on macOS * Make sure fastmem checkbox stays uncheckable
* make fastmem work againRSDuck2020-11-13
|
* fix WindowsRSDuck2020-11-09
|
* JIT fixesRSDuck2020-11-09
| | | | | | | | - fix fastmem problems on linux - small fix memory leak - SlowWrite functions always take in a 32-bit variable so that the C compiler knows that the values aren't necessary zero extended - a few other stylistic things - handle SIGBUS as well (for macos)
* fix build on SwitchRSDuck2020-09-11
|
* JIT fastmem: fix out of bounds readRSDuck2020-08-25
| | | | seems to fix #727
* use unordered map for JIT RestoreCandidatesRSDuck2020-08-14
| | | | also fix WifiRead32?
* fix JIT for code in VRAMRSDuck2020-08-09
| | | | | apparantely Pokemon B/W needs this fixes #708
* reset fastmem on DSi soft resetRSDuck2020-07-31
|
* fix unterminated string + remove some JIT loggingRSDuck2020-07-29
|
* for some reason tabs and spaces were mixedRSDuck2020-07-23
|
* attempt at fixing aarch64 linux yet againRSDuck2020-07-08
|
* fix for fastmem when pc is used as immediateRSDuck2020-07-08
| | | | and (hopefully) make SIGSEGV handler work for aarch64 linux
* misc JIT changesRSDuck2020-07-08
|
* make linux work and fix a few bugsRSDuck2020-07-04
|
* reconcile DSi and JIT, fastmem for x64 and WindowsRSDuck2020-06-30
|
* first steps in bringing over the JIT refactor/fastmemRSDuck2020-06-16