summaryrefslogtreecommitdiff
path: root/libpcsxcore/sio.c
Commit message (Collapse)AuthorAgeFilesLines
* * Fix file and folder permissionsStelios Tsampas2018-03-191-0/+0
|
* * Revert parts of the per game memory card patch.Stelios Tsampas2017-07-301-30/+23
| | | | | | | | | | | | | The previous implementation was doing file paths manipulation deep inside sio.c, and it was hardcoding windows style paths. This was breaking on linux in more than one ways and it is incompatible with the dynamic apppath handling from codeplex branch. Moreover, SaveMcd and LoadMcd functions already take memory card file paths as arguments, making any such logic redundant. This patch rewrites the global Config.Mcd# variables during game startup, which makes it more compatible across all platforms. It also has the added benefit that it doesn't update the configuration file with the each game's memory cards, i.e. at PCSXR startup the default memory cards will be loaded.
* Added:Robert Krawczyk2016-04-011-15/+30
| | | | | | | | - per game memory card support (improved version) - save state pictures (F2) - Wipeout MemHack (improved version) Fixed LTCG build and set as default.
* Bring up to date with PCSX-R master (97809)iCatButler2016-03-301-3/+9
|
* Added option to not have memory card plugged. Chronicles of the Sword ↵SND\ckain_cp2013-11-281-5/+8
| | | | | | password screen can now be accessed. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88004 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Added MCD directory read bit to SIO which is used to detect memory card plug ↵SND\ckain_cp2013-11-281-8/+19
| | | | | | events. Games that use directory caching do not show old contents if card is changed during run like FM3. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88003 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Fix some minor warnings on SysPrintf and SysMessage use in libpcsxcore.SND\MaddTheSane_cp2013-07-091-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85929 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* ...SND\edgbla_cp2013-02-141-0/+4
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82903 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* sio;SND\edgbla_cp2013-02-141-2/+2
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82898 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Unix style EOL (thanks to darktjm);SND\edgbla_cp2012-11-181-1328/+1328
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81299 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Updated Free Software Foundation address (Jem256).SND\dario86_cp2012-02-191-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@75156 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Temporarily reverted r64524 until I (or someone else) find the time to sort ↵SND\weimingzhi_cp2011-03-131-1332/+1325
| | | | | | out the stuff. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64536 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64535 ↵SND\weimingzhi_cp2011-03-131-0/+4
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Commited patch in issue #8171 (by darktjm).SND\dario86_cp2011-03-121-109/+116
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64524 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Wipeout 3 - sio.cSND\shalma_cp2010-12-111-11/+50
| | | | | | | | - Fix NegCon commands - Adds device support git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61083 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* sio.cSND\shalma_cp2010-10-301-1/+15
| | | | | | | | - turn off rx,tx rdy when sio irq not hit - experimental idea: not in use git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@58932 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* SIO_CYCLES (BaudReg * 8).SND\edgbla_cp2010-10-131-505/+500
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@58374 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Joypad: sio.cSND\shalma_cp2010-10-121-3/+17
| | | | | | | - Remove RX,TX ready (unbreaks Twisted Metal 2 intro) - Need to examine this problem later git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@58346 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Joypad: sio.cSND\shalma_cp2010-10-121-2/+10
| | | | | | | | - revert to faster SIO cycles for now (breaks too many games with BaudReg * 8 - need to find out why) - Rhapsody should still work though git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@58345 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Rhapsody: sio.cSND\shalma_cp2010-10-111-2/+15
| | | | | | | | - Turn off Receive / Transmit ready until SIO ready - Fixes joypad problems with both dynarec / interpreter git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@58321 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* SIO - GameShark CDX Dongle (correct BG init value; thanks kevstah2004)SND\shalma_cp2010-09-111-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@57061 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* SIO - GameShark CDX dongle now supports memory card I/O (fixes CDX 3.3 BG ↵SND\shalma_cp2010-09-091-76/+181
| | | | | | and code list errors) git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56987 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* SIO: GameShark CDX - add extra keys, allows more rebooting (ex. Xenogears)SND\shalma_cp2010-09-071-8/+56
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56920 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* GameShark / Action Replay CDX - dongle partially supported. Goes in-game to ↵SND\shalma_cp2010-09-051-1/+312
| | | | | | CD swap points. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56825 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* refactored the interrupt scheduling code a bit to make it a little more ↵SND\weimingzhi_cp2010-08-071-18/+20
| | | | | | readable than using those "magic" numbers. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@55866 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@53302 ↵SND\weimingzhi_cp2010-06-231-1/+5
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@51149 ↵SND\weimingzhi_cp2010-06-061-1/+1
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* trim the spaces. should be safe as the 2nd byte in shiftjis starts from 0x3fSND\weimingzhi_cp2010-05-231-2/+5
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@48569 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* show japanese titles properly in memcard managerSND\weimingzhi_cp2010-05-231-11/+16
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@48556 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* revert the previous revert, and fixed the value in mdec1Interrupt().SND\weimingzhi_cp2010-05-211-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@48431 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Use SDL for sound plugin, reverted the change to BIAS in r48024. (and I'm ↵SND\weimingzhi_cp2010-05-191-7/+7
| | | | | | too lazy to hunt down the bug with x64 dynarec :( feel free to revert this revert if not preferred :P) git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@48308 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* BIAS was moved into rec/int.SND\edgbla_cp2010-05-141-2/+3
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@48024 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47866 ↵SND\weimingzhi_cp2010-05-121-0/+4
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* got rid of cdrfilename & cdOpenCase, windows broken for nowSND\weimingzhi_cp2010-05-101-58/+47
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47753 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* got rid of gzfreezel. things like gzfreezel(&int_variable) can be VERY wrong ↵SND\weimingzhi_cp2010-05-101-12/+12
| | | | | | on x64! git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47733 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47728 ↵SND\edgbla_cp2010-05-101-85/+142
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47725 ↵SND\weimingzhi_cp2010-05-101-4/+1
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* got rid of 0x80000000 flag in psxRegs.interrupt. such flag doesn't seem to ↵SND\weimingzhi_cp2010-05-081-2/+1
| | | | | | exist in other emus and not likely in real hardware either. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47625 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* preparing for refactor/cleanup, moved all definations into .c files, other ↵SND\weimingzhi_cp2010-05-071-4/+4
| | | | | | minor cleanups. (Breaks Mac OS X and maybe windows as well for now, will fix later.) git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47542 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Got rid of PAD_readPort1()/PAD_readPort2().SND\weimingzhi_cp2010-05-051-2/+0
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47359 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@46936 ↵SND\weimingzhi_cp2010-04-301-2/+1
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@35263 ↵SND\weimingzhi_cp2009-11-031-1/+47
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23061 ↵SND\weimingzhi_cp2009-04-161-0/+673
e17a0e51-4ae3-4d35-97c3-1a29b211df97