aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-30Merge pull request #322 from retro-wertz/fix_android_buildTwinaphex
Fix android build
2019-07-31Fix android buildretro-wertz
2019-07-30Merge pull request #321 from fpscan/masterhizzlekizzle
Turkish Language Support
2019-07-30Merge pull request #320 from retro-wertz/new_core_optionshizzlekizzle
target actual gpu plugin used for advance gpu core options
2019-07-30Turkish Language SupportÖmercan Kömür
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-29Update libretro_core_options.hTwinaphex
2019-07-29Merge pull request #319 from retro-wertz/new_core_optionshizzlekizzle
add new core options menu, add advance gpu options.
2019-07-29Add advanced gpu core optionsretro-wertz
- works for peops gpu plugin only
2019-07-29Merge pull request #318 from retro-wertz/psxbioshizzlekizzle
HLE BIOS improvements from upstream
2019-07-29Add enhanced core optionsretro-wertz
2019-07-29HLE: Merge HLE BIOS improvements from upstreamretro-wertz
- Merge update from https://github.com/libretro/pcsx_rearmed
2019-07-29Merge pull request #317 from retro-wertz/psxhle_logTwinaphex
psxhle.c: Silence logging when using HLE bios
2019-07-29psxhle.c: Silence logging when using HLE biosretro-wertz
- at least one game (Wild Arms) is continouos spamming the log window. Silence this in a way that its easy to enable when need to. - Remove unnecessary message in Makefile
2019-07-28add custom issue report templatehizzlekizzle
2019-07-24Merge pull request #137 from gameblabla/hlenotaz
HLE BIOS improvements (based on nocash doc, pcsx4all, upstream pcsxr etc...)
2019-07-22psxbios: Don't accept 400h as a valid sector.gameblabla
Notaz said this could corrupt the emulator (even though the console allowed this and it was a bug) so limit it to 0x3FF.
2019-07-22psxbios: Properly fix garbage area code.gameblabla
This should work as intended now.
2019-07-21psxbios: Fixup mistake in card_info function.gameblabla
This fixes Looney Tunes Sheep Raiders.
2019-07-21psxbios: Return value is always 1 for CloseTh and ChangeTh.gameblabla
According to nocash PSX doc, ChangeThread and CloseThread should always return 1. Fix it accordingly.
2019-07-21psxbios: Add checks for memchr.gameblabla
2019-07-21psxbios: Some games read from address 0, fix that.gameblabla
See Garbage Area at Address 00000000h in Nocash PSX Specifications for more inf> R-types will refuse to boot if psxM[0] is zero. Fade to Black can crash upon memory card access if psxM[5] is set to the wrong > Crash Team Racing will refuse to boot if psxM[2] and psxM[3] are not zero. (Previously, that region of memory would be overwritten above. No explanation why.) It's set as such according to nocash : [00000000h]=3C1A0000h ;<-- but overwritten by 00000003h after soon [00000004h]=275A0C80h ;<-- or 275A0C50h (in older BIOS) [00000008h]=03400008h [0000000Ch]=00000000h Note that setting 00000000h to 00000003h doesn't work for R-types.
2019-07-21psxbios: Implement get_cd_status stub according to nocash doc.gameblabla
2019-07-21psxbios: Make HLE bios start from block 1, not 2.gameblabla
I already fixed this for bufile : ptr = Mcd##mcd##Data + 128 * (nfile + 1); \ instead of ptr = Mcd##mcd##Data + 128 * nfile; \ But i forgot to also fix psxBios_firstfile accordingly. So nfile would still start from block 2 and it would cause all kinds of issues. This was the original comment on pcsxr codeplex as my patch was based on it : "The HLE-Bios start to read memory card blocks at block 2. You need to change ptr = Mcd##mcd##Data + 128 * nfile; \ to ptr = Mcd##mcd##Data + 128 * (nfile + 1); \ for #define bufile(mcd) { \ and changing nfile = 1; to nfile = 0; for psxBios_firstfile() { // 42 Starts numbering slots in the right position."
2019-07-21psxbios: Fix card_status function as to use card_active_chan.gameblabla
2019-07-21psxbios: Merge interrupt_r26 fix from PCSX4ALL.gameblabla
Thanks DmitrySmagin for the fix.
2019-07-21psxbios: Do the same for heap_size.gameblabla
2019-07-21psxbios : Use bfreezel for pad_stopped instead of setting it to 0.gameblabla
2019-07-21psxbios : Implement stub for wait_card.gameblabla
Pretty much identical to get_card_status except it's supposed to wait until a non-busy state occurs.
2019-07-21psxbios : Fix a few mistakes :gameblabla
- Remove extra ffile, pfile.. as it is declared elsewhere. - Remove extra condition as it's already being handled by pad_stopped. - Remove n variable from function (pcsx4all did this) as it's useless and documentation doesn't seem to specify it's needed.
2019-07-18psxbios: Add note and update copyright.gameblabla
2019-07-18psxbios: Merge heap fix from PCSX4ALL.gameblabla
2019-07-18psxbios: Init some vars just to be sure.gameblabla
2019-07-18psxbios: Merge PCSX4ALL pad_stopped fix.gameblabla
2019-07-18psxbios.cpp: Add psxBios_card_status(); doesn't seem to affect anythinggameblabla
2019-07-18psxbios: Fixes save issues on Parasite Eve II, Parasite Eve I and othersgameblabla
Merging never-merged fix by Solus for Parasite Eve. I also fixed some GCC warnings about dir->name going out of bounds too. We also make sure to only add '/0' if string is not full and right after the last character in the dir array. This fixes saving/loading in Parasite Eve II, Parasite Eve. It also fixed regressions for the LEGO Racers where other games would break, meaning this should be the proper fix for saves. We're also using our own strlen implementation to avoid any issues or relying on the libc's own strlen.
2019-07-18psxbios: Callback Events should not set event status to busy in TestEvent.gameblabla
We are already doing that in WaitEvent. According to nocash documentation, this also applies to TestEvent as well so let's implement it.
2019-07-18psxbios: Support other syscallsgameblabla
Since they don't do anything however, let's just add a default and break; instead. Interestingly, trying to implement SYS(04h+ can actually crash the HLE bios. Nocash documentation said that it should crash it but due to other reasons, it doesn't and returns to main program instead.
2019-07-18psxbios: Add checks for strlen.gameblabla
Per what Nocash documentation says.
2019-07-18psxbios: Add checks for strcpy & strncpy.gameblabla
This should be closer to documentation.
2019-07-18psxbios: Fixup free.gameblabla
This is needed for Burning Road. Fix comes from PCSX4ALL by dmitryssmagin.
2019-07-18psxbios: Add checks for strcmp & strncmp.gameblabla
Yes, it's supposed to have a lot of checks like these. Also merge some more fixes from PCSX4ALL. (upstream did not have these as far as i know)
2019-07-18psxbios: Stub for get_errorgameblabla
According to a user on PCSX-Reloaded codeplex (now dead), this fixed loading/saving in Final Fantasy Tactics.
2019-07-18psxbios : Several fixes to malloc.gameblabla
- Don't allow malloc to init memory if heap is invalid According to nocash documentation, malloc will not allocate if heap size is too small or invalid. - Also merge some fixes from PCSX4ALL fork by senquack in order to allow Burning Road to run.
2019-07-18psxbios: Add checks for memmove.gameblabla
Always returns dst per documentation.
2019-07-18psxbios : Add checks to memset.gameblabla
This now can be a tricky pony and an improper memset implementation means that you can't play Tomb Raider 4 properly. (Trying to put in the eye of horus will just result in Lara sidestepping) This should hopefully be fixed (and follows nocash doc).
2019-07-18psxbios: Add checks to memcpy.gameblabla
Always returns dst
2019-07-18psxbios: Add checks for bzero.gameblabla
Only return 0 if size is invalid. (0 or 0x7FFFFFFF), return dst if not.
2019-07-18psxbios: Add checks for bcopygameblabla
Nocash documentation say that function refuses to copy any data if dst is NULL or len greater than 0x7FFFFFFF. (In any cases, return value is always dst)