summaryrefslogtreecommitdiff
path: root/gba_memory.c
AgeCommit message (Collapse)Author
2021-03-16Rewrite of the MIPS dynarec stubsDavid Guillen Fandos
This allows us to emit the handlers directly in a more efficient manner. At the same time it allows for an easy fix to emit PIC code, which is necessary for libretro. This also enables more platform specific optimizations and variations, perhaps even run-time multiplatform support.
2021-03-15Move palettes around to simplify MIPS dynarecDavid Guillen Fandos
Will move also OAM structures to gain a few cycles per load/store. Loads can also be optimized for an extra instruction per access.
2021-03-11Fix fd checkDavid Guillen Fandos
2021-03-10Remove PSP-specific stuff from MIPS backendDavid Guillen Fandos
This is unnecessary since newlib supports all file I/O. This is needed for other mips ports
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-23Small fixes to division by zeroDavid Guillen Fandos
This causes crashes in PSP quite often in many games. Other CPUs might (depending on the processor state) silently return zero or some undefined value. The fix is borrowed from ReGBA's codebase
2021-02-15More cleanups (mostly whitespace and unused stuff)David Guillen Fandos
2020-10-28Use correct path separatornegativeExponent
2020-10-09Update RTC emulationnegativeExponent
- Based on notes, gpSP's RTC does was based on vba. - I've updated relevant sections of it based on latest vba. reference issue: https://github.com/libretro/gpsp/issues/79
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
2019-11-15Fix flash 64K games not saving (Fix https://github.com/libretro/gpsp/issues/59)negativeExponent
2019-10-03Reenable native file IO on PSPbmaupin
2015-09-20fix sram not saving on some platforms.aliaspider
2015-04-06show the gbaover details for the current gamepak only.aliaspider
2014-12-22Split up gba_over entries into separate header filetwinaphex
2014-12-22Add entries to gbaovertwinaphex
2014-12-22Add more gbaover entriestwinaphex
2014-12-22Add entries to gbaovertwinaphex
2014-12-22Add more entries to gbaovertwinaphex
2014-12-22Add more entries to gbaovertwinaphex
2014-12-22Add more entries to gbaovertwinaphex
2014-12-21Remove patching of two BIOS ROM locationstwinaphex
2014-12-21Update gbaovertwinaphex
2014-12-21Add more entries to gbaovertwinaphex
2014-12-21More changestwinaphex
2014-12-21Add some more vbaover entriestwinaphex
2014-12-21Start adding gbaover - unfinishedtwinaphex
2014-12-20Get rid of function_ccTwinaphex
2014-12-20Change load_gamepak signaturetwinaphex
2014-12-20gba_memory.c - some cleanupstwinaphex
2014-12-20Make functions static in gba_memory.ctwinaphex
2014-12-13Remove more case rangestwinaphex
2014-12-12dma_transfer - change dest_ptr to type uintptr_t - fixes 64bit interpretertwinaphex
according to aliaspider
2014-12-11Demacro-ize dma_transfer_expandtwinaphex
2014-12-11gba_memory.c - Turn trigger_dma into functiontwinaphex
2014-12-11(gba_memory.c) Turn trigger_timer into real functiontwinaphex
2014-12-11Turn some sound macro functions in gba_memory.c into real functionstwinaphex
2014-12-11cleanupstwinaphex
2014-12-10load_game_config - print config_pathtwinaphex
2014-12-10We don't need to get rid of idle loop patching for non-dynarectwinaphex
core
2014-12-10non-HAVE_DYNAREC codepath compiles and links nowtwinaphex
2014-12-10Add HAVE_DYNAREC ifdef to gba_memory.ctwinaphex
2014-12-10Add HAVE_DYNAREC ifdeftwinaphex
2014-12-10Style nitstwinaphex
2014-12-10Convert enum to sram_type_size to avoid warningtwinaphex
2014-12-10Fix one warning in Clangtwinaphex
2014-12-10cleanupsaliaspider
2014-12-10use correct save directory.aliaspider
2014-12-10implement retro_serialize/unserializealiaspider
2014-12-10Rename memory.c to gba_memory.ctwinaphex