aboutsummaryrefslogtreecommitdiff
path: root/frontend
AgeCommit message (Collapse)Author
2020-10-10[3DS] Enable threading for the SPUJustin Weiss
2020-10-06Add support for dual-gunconpjft
2020-08-23[3DS] Support latest libctruJustin Weiss
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-04Add header guardsnegativeExponent
2020-08-03Merge pull request #440 from negativeExponent/log_interfacehizzlekizzle
Log interface
2020-08-03unai: Change fast lighting default to 'disabled'negativeExponent
- Setting this option enabled can cause graphics issues.
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-23Silence some warningsnegativeExponent
Silences some [-Wformat-truncation=] and [-Wstringop-truncation]
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-26Merge pull request #407 from Exalm/wip/exalm/lightrechizzlekizzle
Automatically disable lightrec when no bios is present
2020-04-26Automatically disable lightrec when no bios is presentAlexander Mikhaylenko
Fixes https://github.com/libretro/pcsx_rearmed/issues/404
2020-04-26Fixed bug where MSB of a 15-bit BGR color could corrupt green value. Also ↵J-O-N
added documentation.
2020-03-03(3DS) Disable dithering by defaultMrHuu
Have dithering disabled by default on 3DS.
2020-02-25Add async CD accessJustin Weiss
2020-02-25Merge pull request #390 from justinweiss/ctr-fix-dynarec-crashesTwinaphex
Fix dynarec crashes on 3DS
2020-02-25Revert "(3DS) Set pthread stack size to 12MB - possible solution for crashes"twinaphex
This reverts commit dfcd7153048c2f6d479dfcd328ee2c0e1e0784ed.
2020-02-24Fix dynarec crashes on 3DSJustin Weiss
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.
2020-02-24Merge pull request #389 from notaz/masterTwinaphex
Merge upstream changes
2020-02-16(3DS) Set pthread stack size to 12MB - possible solution for crashesTwinaphex
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-08menu: fix a buffer overflownotaz
Reported by @wwhheerree, closes #152.
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-10-053DS: Switch from svc* to the thread* APIJustin Weiss
svcCreateThread doesn't fully set up thread vars, which causes svcBreaks / crashes when calling certain functions -- reentrant ones, for example. threadCreate, etc. are higher-level functions that do all the correct setup and cleanup. Since we're treating the thread structure as opaque, calling it an int_32t seems OK.
2019-10-023DS: Schedule threads on the default coreJustin Weiss
When creating a thread, pcsx was scheduling threads on core 1, which is the system core. This is usually prevented by the system. Instead, it should schedule threads on the default core, as suggested by 3dbrew: https://www.3dbrew.org/wiki/Multi-threading > Games usually create threads using -2. In the future, we may be able to schedule threads on core 2 on New 3DS only, if we find it gives better performance. This was preventing the CDDA thread from starting, which was preventing CD Audio from playing.