aboutsummaryrefslogtreecommitdiff
path: root/frontend/libretro.c
AgeCommit message (Collapse)Author
2020-10-22Add a threaded rendererJustin Weiss
This change adds a gpulib implementation that accepts GPU commands and runs them through a real gpulib implementation on a thread. Depending on a setting, it can either force a sync every frame, or continue to work until the next frame arrives.
2020-10-21[3DS] Set default CPU rate to the usual 57Justin Weiss
3DS handles it fine, and 50 makes Metal Gear Solid feel very sluggish.
2020-10-06Add support for dual-gunconpjft
2020-08-13Merge pull request #444 from justinweiss/hires-downscalehizzlekizzle
Add an option to downscale hi-res views
2020-08-13Add an option to downscale hi-res viewsJustin Weiss
Some older devices that use gpu_unai don't have a high enough resolution to display all of the pixels in high-res mode. There's a setting in unai to skip rendering of these pixels, but it's not connected to the libretro frontend, and does not appear to be used in the gpulib implementation at all. This commit adds a gpu_unai setting, Enable Hi-Res Downscaling, that will enable pixel skipping and blit only the pixels actually rendered into a buffer no larger than 384x240. This buffer is then treated as the actual framebuffer by gpulib and the libretro frontend.
2020-08-03Add debug-level log functionnegativeExponent
2020-06-08Update mouse device support, add mouse sensitivity optionnegativeExponent
- Remove unnecessary accumulator, cleanup and comments - Add "Emulated Mouse Sensitivity" core option with range from 0.05 to 2.00, with 1.00 as normal mouse movement.
2020-06-07Add Sony Mouse Controller supportnegativeExponent
- Tested with Final Doom. Worked great.
2020-05-26Merge pull request #423 from jdgleaver/set-message-extAutechre
Add support for frontend message interface v1
2020-05-26Add support for frontend message interface v1jdgleaver
2020-05-25Fix interpreter-only build (DYNAREC=0)negativeExponent
- For systems that can only run in interpreter mode for whatever reasons.
2020-05-18Minimize logs when loading a cheevos-compatible contentnegativeExponent
- Using retro_memory_descriptors[] for memmap creates a list of address for a game. At the moment, its quite long and can cover up the log window. Since there is only 1 pointer used, using the traditional retro_get_memory_map/data works enough for this purpose. - Move the use of memory descriptors to debug build.
2020-05-14Cleanup retro_run()negativeExponent
- move input query into separate functions - move internal fps display to separate function
2020-05-13Update libretro.cnegativeExponent
- Apply style nits
2020-05-12Hide other inputs from core optionsnegativeExponent
- This adds a core option to hide some input options like multitaps, player ports 3-8 and analog-related fine-tuning options. - also combine dynarec-only options in one #define directive
2020-05-12libretro.c: Change indents from tabs to spacesnegativeExponent
2020-05-10More core option fixesnegativeExponent
- 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
2020-05-08Move guncon options to update_variablesnegativeExponent
- This should stop unnecessary RETRO_ENVIRONMENT_GET_VARIABLE callback and log spamming
2020-05-08Fixup update_variablesnegativeExponent
2020-05-07Fix some edge case where core can freeze upon loading contentnegativeExponent
- Core sometime freeze while loading content during the loading of the core options. Moving update_variables() from retro_init to retro_load_game() fixes the problem, on my case at least. - Also apply fix as suggested in this issue page: https://github.com/libretro/pcsx_rearmed/issues/373
2020-04-30Automatically disable lightrec when no bios is present, take 2Alexander Mikhaylenko
Make sure to only do it with lightrec and not ARM dynarec.
2020-04-28Revert "Automatically disable lightrec when no bios is present"twinaphex
This reverts commit cf98d473a9ddaa6a77bed1cb5af706a4cd50b8b0.
2020-04-26Automatically disable lightrec when no bios is presentAlexander Mikhaylenko
Fixes https://github.com/libretro/pcsx_rearmed/issues/404
2020-02-25Add async CD accessJustin Weiss
2020-02-12Silence some unused variable warningstwinaphex
2020-02-09(Android) Aarch64/x86/x64 now has lightrec supporttwinaphex
2020-02-08(NEON GPU) Don't hide this for non-ARMtwinaphex
2020-02-01Add input analog axis range modifierStuart Kenny
Add core option to change axis saturation. Square bounds allow controllers that struggle to fully register diagonal deflections . Very helpful with switch joycons and some android controllers.
2020-01-23Add disk control interface v1 supportjdgleaver
2019-12-16Merge pull request #369 from negativeExponent/switchTwinaphex
Update
2019-12-17UpdatenegativeExponent
2019-12-14Merge pull request #368 from negativeExponent/memmapTwinaphex
Access psx main memory using retro_memory_map
2019-12-15Access psx main memory using retro_memory_mapnegativeExponent
2019-10-27Add "Spu Irq" core optionnegativeExponent
2019-10-24Merge pull request #351 from SindenLightgun/masterTwinaphex
Basic Guncon support
2019-09-25Merge branch 'gpu_unai_plugin_update'negativeExponent
2019-09-15Adding Guncon support for mouse based lightgunsSindenLightgun
2019-09-14Adding Guncon support for mouse based lightgunsSindenLightgun
2019-08-21Added support for PSXONPSP660.bin and psx* named BIOS filesdankcushions
2019-08-17Backport GPU Unai plugin from PCSX4ALLnegativeExponent
- backports gpu unai plugin from PCSX4ALL - sync necessary files with notaz/master to allow building standalone app
2019-08-05Merge pull request #328 from retro-wertz/sanitize_gpu_adv_optionsTwinaphex
Sanitize gpu adv options and close plugins upon exiting core
2019-08-05Close plugins when exiting coreretro-wertz
2019-08-05Update advanced peops gpu core optionsretro-wertz
2019-08-05Fix main RAM size in retro_get_memory_sizeretro-wertz
PSX Main RAM should only by 2048KB
2019-08-03Silence a few more warningsretro-wertz
- silence a few more truncated warnings - change "disable" to "disabled" in core options
2019-08-02Use retro_log for SysPrintfretro-wertz
2019-07-30Silence this log messageretro-wertz
- Removing this log message since RETRO_ENVIRONMENT_SET_GEOMETRY will show width and height when there is a change from last callback.
2019-07-30Make advanced gpu options target actual gpu plugin usedretro-wertz
- In the case of IOS, the core uses UNAI but can be built with dynarec or interpreter. Other platform does as well. So gpu-specific defines are added for actual gpu plugin used and compiled and then the specific gpu-only core options are shown or hidden based on this #define
2019-07-29Add advanced gpu core optionsretro-wertz
- works for peops gpu plugin only
2019-07-29Add enhanced core optionsretro-wertz