summaryrefslogtreecommitdiff
path: root/libpcsxcore/misc.c
Commit message (Collapse)AuthorAgeFilesLines
* * Fix file and folder permissionsStelios Tsampas2018-03-191-0/+0
|
* * Sync with codeplex branch (libpcsxcore, linux gui)Stelios Tsampas2017-07-311-2/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit reflects mostly changes that happened in upstream since the last sync. Commit messages in upstream are lacking information. Most important changes are commented below, the rest of them are either formating or just trivial stuff. Memory viewer, invalidate dynarec gui/DebugMemory.c libpcsxcore/cdrom.c libpcsxcore/gpu.c libpcsxcore/misc.c libpcsxcore/psxdma.c Load binary files and psx executables libpcsxcore/misc.c libpcsxcore/misc.h libpcsxcore/plugin.c libpcsxcore/plugin.h Support for psxida libpcsxcore/debug.c libpcsxcore/r3000a.c plugins/bladesio1/connection.c disable loading save states with digits gui/Plugin.c Fix psxDIV in interpreter libpcsxcore/psxinterpreter.c
* * Revert parts of the per game memory card patch.Stelios Tsampas2017-07-301-11/+20
| | | | | | | | | | | | | 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.
* Add support for arbitrary clock multipliersiCatButler2017-03-171-26/+1
| | | | Allows users to set an arbitrary floating point value to multiply CPU clock speed by. Drop box provides access to all the previous presets.
* Integrate SonofUgly's overclocking mechanismiCatButler2016-05-081-0/+35
| | | | | | https://github.com/SonofUgly/PCSX-Reloaded/commit/3f11d29f31ca02575aeedf073e87ffee933effb0 Integrated with a few small changes.
* Added:Robert Krawczyk2016-04-011-0/+6
| | | | | | | | - 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-6/+22
|
* Small fixes. 11833, 11834 (Lioncash);SND\edgbla_cp2014-08-191-5/+5
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@91261 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* windows compilation fix;SND\edgbla_cp2014-03-231-6/+6
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89535 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* - fixed region autodetection for some rare discs;SND\dario86_cp2014-02-261-4/+4
| | | | | | - fixed copy protection regression in r82129 by notaz from one year ago; I hope this won't break anything (issue #11594). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89219 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Optimized SaveStateGz: Core i5 2520M: from ~45ms to less than 5ms call avg. ↵SND\ckain_cp2014-02-161-29/+43
| | | | | | Now rewind feature should be usable even more lower end machines. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89136 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Rewind: states are now made after n vblanks and platform independ way. Also ↵SND\ckain_cp2014-02-041-5/+7
| | | | | | GTK GUI to configure values. By default this feature is disabled (0 vblanks and 0 states) git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88837 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* misc.c fix;SND\edgbla_cp2014-01-271-9/+13
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88505 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Fixed Win32 build (shm).SND\ckain_cp2014-01-271-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88501 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Added rewind feature. Currently only supported via GTK and needs SHM. Rewind ↵SND\ckain_cp2014-01-241-30/+147
| | | | | | save state depth is configured via RewindCount config param. Recommended value is 200 or so -> uses less than 1G of memory git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88433 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* CdromId fix;SND\edgbla_cp2013-08-251-11/+12
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@86908 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
* SaveState -> check returned SPU size.SND\ckain_cp2013-02-201-1/+3
| | | | | | | GtkGui.c -> use GTK_WIDGET macro. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@83029 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Invalidate ICache when loading files from CDROM. Both CPU implementations ↵SND\ckain_cp2013-02-171-0/+4
| | | | | | now run main menu of Casper & X-Files. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82966 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
* savestate compatibility lost, sorrySND\notaz_cp2013-01-091-1/+1
| | | | | | cdrom needed more data, mdec no longer saves pointers git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82134 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* ppf: accept optional filename argumentSND\notaz_cp2013-01-081-1/+1
| | | | | | | will allow to use .sbi files from redump.org without renaming with later patch git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82100 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Unix style EOL (thanks to darktjm);SND\edgbla_cp2012-11-181-749/+749
| | | | 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
* Added region autodetection for Net Yaroze Boot Disc (E) [DTL-S3035].SND\dario86_cp2011-11-261-1/+2
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72645 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Rebranding.SND\edgbla_cp2011-06-081-4/+4
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@67621 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@67247 ↵SND\edgbla_cp2011-06-011-1/+1
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Temporarily reverted r64524 until I (or someone else) find the time to sort ↵SND\weimingzhi_cp2011-03-131-782/+748
| | | | | | out the stuff. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64536 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Commited patch in issue #8171 (by darktjm).SND\dario86_cp2011-03-121-25/+59
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64524 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* - Added -slowboot parameter.SND\weimingzhi_cp2011-01-121-0/+1
| | | | | | | | | - Load SBI file from patches/SLUS_xxx.xx.sbi instead. - Inlined the I-cache code for performance improvement. - Fixed endianness issue (not tested). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62024 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* - slowboot (prelimiary).SND\weimingzhi_cp2010-12-311-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61650 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* * Removed unnecessary files.SND\weimingzhi_cp2010-12-271-9/+12
| | | | | | | | | | | * Clean up build system (Issue #7815, VoidMage). * properly init some variables on reset (Patch #7887, notaz). * dfxvideo: several fixes to FPS bar (Patch #7879, dario86). * Region autodetection for 3 PAL demos (Patch #7879, dario86). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61512 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* misc.cSND\shalma_cp2010-12-111-2/+1
| | | | | | - (dario86) Redo autodect again for PAL git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61081 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* misc.cSND\shalma_cp2010-12-101-1/+2
| | | | | | | - improved PAL auto-detection git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61069 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* coff binary support (experimental).SND\weimingzhi_cp2010-09-261-5/+26
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@57729 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* only load the net yaroze library when running EXE.SND\weimingzhi_cp2010-09-221-0/+17
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@57503 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Merged change from ↵SND\weimingzhi_cp2010-09-131-1/+1
| | | | | | | | | http://forums.ngemu.com/pcsx-discussion/116599-developers-wanted-pcsx-revival-9.html#post1902678 with minor amendments. GPU DMA chain timing (FF7 opening CG and maybe other games too - not tested with rebel assault 2 though). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@57139 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* refactored the interrupt scheduling code a bit to make it a little more ↵SND\weimingzhi_cp2010-08-071-1/+1
| | | | | | readable than using those "magic" numbers. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@55866 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* I was really stupid... just use libcdio and everything's fine, no need to ↵SND\weimingzhi_cp2010-07-101-2/+46
| | | | | | deal with different OSes at all. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54442 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@53626 ↵SND\weimingzhi_cp2010-06-261-12/+9
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@51475 ↵SND\weimingzhi_cp2010-06-081-1/+1
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* changed cdrom timing value so that it behaves the same as older revisions.SND\weimingzhi_cp2010-06-031-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@50743 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* use boolean for where it should.SND\weimingzhi_cp2010-05-121-5/+3
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47869 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* added missing include, silenced msvc warningSND\weimingzhi_cp2010-05-101-2/+2
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47761 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* added savestate versioningSND\weimingzhi_cp2010-05-101-15/+25
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47747 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* got rid of 0x80000000 flag in psxRegs.interrupt. such flag doesn't seem to ↵SND\weimingzhi_cp2010-05-081-21/+21
| | | | | | 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
* more cleanups.SND\weimingzhi_cp2010-05-081-20/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47580 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* more cleanupsSND\weimingzhi_cp2010-05-071-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47556 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* preparing for refactor/cleanup, moved all definations into .c files, other ↵SND\weimingzhi_cp2010-05-071-3/+3
| | | | | | 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
* Root counters code was written from scratch.SND\edgbla_cp2010-05-021-2/+2
| | | | | | | | | | | | | Final Fantasy 8/9, Vandal Hearts 1/2, Wipeout, Lifeforce Tenka work properly now. Parasite Eve 2 and InuYasha weren't fixed - it's impossible right now, an overall emulator's precision is too low. It's needed to count the proper CPU timing and to get rid of BIAS. Because of the same reason it's useless to set the vsync interrupt on vblank, even if it would fix some games - Pandemonium for example, but would also broke the others - Final Fantasy IX for example, I've chosen the last one. Savestate compatibility is lost. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47077 e17a0e51-4ae3-4d35-97c3-1a29b211df97