summaryrefslogtreecommitdiff
path: root/gba_memory.h
AgeCommit message (Collapse)Author
2021-03-08Remove libcoDavid Guillen Fandos
This removes libco and all the usages of it (+pthreads). Rewired all dynarecs and interpreter to return after every frame so that libretro can process events. This required to make dynarec re-entrant. Dynarecs were updated to check for new frame on every update (IRQ, cycle exhaustion, I/O write, etc). The performance impact of doing so should be minimal (and definitely outweight the libco gains). While at it, fixed small issues to get a bit more perf: arm dynarec was not idling correctly, mips was using stack when not needed, etc. Tested on PSP (mips), OGA (armv7), Linux (x86 and interpreter). Not tested on Android though.
2021-03-06Fix x86 dynarec, broken by d10c4afeDavid Guillen Fandos
The dynarec expects function args to be located in registers instead of the stack, which is not the default calling convetion in GCC/clang.
2021-02-15More cleanups (mostly whitespace and unused stuff)David Guillen Fandos
2020-09-05Add optional battery save using libretro save apinegativeExponent
- Adds core option to allow battery saves using the libretro api (retro_get_memory_data/size) - Initial save size set at 128KB and actual size is automatically determined internally by gba. - This will always assume that a save file is supported since save size or type cannot be determined until gba tries to write to backup memory. - A 128KB block of memory is used as buffer, similar method to VBA Next/Beetle GBA workarounds. Fix https://github.com/libretro/gpsp/issues/72
2014-12-20Get rid of function_ccTwinaphex
2014-12-20Change load_gamepak signaturetwinaphex
2014-12-12increase savestate size, was smaller than what was required for 64-bitaliaspider
builds.
2014-12-10Style nitstwinaphex
2014-12-10use correct save directory.aliaspider
2014-12-10implement retro_serialize/unserializealiaspider
2014-12-10fix arm target compile errors.aliaspider