Commit Graph

3440 Commits

Author SHA1 Message Date
gregory.hainaut@gmail.com 81170a984d host mem: fix wrong allocation method on linux
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4059 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-27 16:47:43 +00:00
refraction 533bb0846b IPU: Gave IPU0/Internal IPU a sense of timing rather than the whole lot being dumped out instantly then interrupted later, fixes issues with data being left in the fifo (mana khemia) and the IPU outstripping the other dma's (FFX Mess/Tearing on Digital Devil Saga videos). Will remove the hack later and clean up once im totally happy its ok.
Note: This is technically still a hack, but it shouldnt break anything like the existing hack does, also it's closer to how it should be than anything we've done previous.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4058 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-27 00:11:52 +00:00
refraction 5f1ccc767e Fixed a bug in partial DIRECT/HL transfers, Fixes Ape Escape hang going ingame.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4057 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-26 20:50:28 +00:00
gregory.hainaut@gmail.com b9a3649df0 debian: * remove an useless patch (was properly fix with latest branch merge)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4056 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-26 18:00:40 +00:00
ramapcsx2 0c87450816 SPU2-X:
Fix ADMA not getting read when in spdif bitstream mode (which some games offer for FMVs).
This option would cause them to hang indefinitely.
There's something wrong with the read audio but at least it doesn't die ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4055 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-25 15:59:33 +00:00
refraction 3d4c0f6158 Workaround for Ape Escape Million Monkey's. SIGNAL causes issues with Path1, this should avoid it for now until someone has a better idea :P Explination given in both XG_KICK's
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4054 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-24 22:23:57 +00:00
refraction 9e4041a8e3 Took out the code i accidently put back in from testing
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4053 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-24 20:37:37 +00:00
refraction e37d6b2905 Fix for Sonic Mega Collection, amazing how missing one small little detail can change things!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4052 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-24 20:36:33 +00:00
arcum42 c09df50a58 zzogl-pg: Fix a compilation error when not building a Release build.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4051 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-24 04:45:24 +00:00
arcum42 bd7fee3be3 Merge the changes in the GregsMisc branch back into trunk.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4049 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-24 02:49:23 +00:00
Jake.Stine 21f75b58db * Added code to detect amount of physical ram installed on the host computer.
* Added logging of host operating system and physical ram to startup.
 * Removed "PhysicalCores" stuff from both x86emitter and startup logs -- physical cores is losing its relevance with all the new AMD and Intel chip designs.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4048 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-23 21:32:52 +00:00
arcum42 17514af0e2 GregsMisc: Just a bit of cleanup.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4047 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-23 08:39:12 +00:00
arcum42 b3e7bea66e GregsMisc: zzogl-pg: Rename ZZKick.{cpp,h} to ZZoglDrawing.{cpp,h}, to make syncing with zzogl easier.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4046 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-23 03:35:01 +00:00
arcum42 5e73b1ca7e GregsMisc: Sync with trunk (r3983-r4044)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4045 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-23 03:11:08 +00:00
refraction 9f52e30c06 Fix for what i hope is the last Tekken Tag bug i find! I'd actually already done this on the VIF side due to another game, but didn't do this side. Fixes it tho ;p Happy smashing of each others faces in..
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4044 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-22 19:52:11 +00:00
ramapcsx2 f99ca6f4f6 New option to backup the old, existing savestate when creating a new one.
Hopefully not too buggy :p

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4042 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-21 12:35:59 +00:00
ramapcsx2 941bc36f24 Game Database Editor not needed yet.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4041 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-21 09:11:42 +00:00
refraction d8e80ff5fd Fixed bug in Vif Unpack Recompiler causing Guitar Hero 3 to crash on the memorycard screen.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4040 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-19 21:33:21 +00:00
refraction 86fab4e955 *Insert Profanity here*
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4039 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-19 20:37:11 +00:00
refraction 71142dfd7f Take 3 and done *i hope!* comments for r4035-r4038 in here please!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4038 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-19 20:07:57 +00:00
refraction 9979fe30e3 Fixed monumental cockup from my big commit, it shows, product placement really does work!! FFXII now works again, at normal speed.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4037 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-19 19:47:06 +00:00
refraction 80663917b1 This is part of r4035, you just "Thought" you saw a new revision..
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4036 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-19 16:32:48 +00:00
refraction 96ef86f560 - Standardized DMA Source chains, all DMA's now act exactly the same (within reason) Explanation for this in Hw.cpp. Consequently this fixed a hack id done for FFX videos (Not the one there is a game fix for)
- Slight tweak to Path3 masking, an overlooked situation where Path3 can wait between GIFTags.
- Improved the stability of MFIFO on both sides greatly for games such at Tekken Tag (which boots again) Gran Turismo 4 and FF7 Dirge of Cerberus.

I'm expecting *Something* to break, so please report it here if something does, please make sure it is THIS revision.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4035 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-19 16:29:28 +00:00
Jake.Stine 55084dfc1a Repository maintenance: removed several obsolete and glitchy instances of svn:mergeinfo (some generated by buggy versions of tortoisesvn over a year ago). This should fix the sloppy merge diff logs when I do trunk syncs. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4031 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-17 06:06:14 +00:00
Jake.Stine 2ee6b7abc6 Merge newHostVM branch. Feature overview:
* PCSX2 uses significantly less memory when starting.
 * Overall memory use reduced (mildly for some games, significantly for most).
 * EE and IOP main memory are now fixed at 0x20000000 and 0x24000000 -- useful when using external cheat apps.
 * Properly implemented the 'Shutdown' menu option -- Shutdown now unloads the entire PS2 virtual machine and reduced PCSX2's memory footprint to bare minimums.
 * Some more meaningful errors for when memory is a problem (out of memory, low virtual memory, etc).
 * Bugfix for pxsFmt when formatting long/large strings (over 1k)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4029 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-17 05:49:11 +00:00
Jake.Stine b10a6d5271 newHostVM: MSVC compilation fix.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@4028 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-17 04:58:35 +00:00
Jake.Stine a9d7f24884 Internal Iso: Only search for dual layer once.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4027 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-17 04:57:45 +00:00
Jake.Stine 0692ab1bc5 newHostVM: Linux fixes.
* Removed some missing / obsolete files from codeblocks projects.
 * Fixed a segfault on exit
 * Implemented a platform-consistent pointer value string formatter (%p has no defined standard)

git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@4026 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-17 03:18:36 +00:00
Jake.Stine 63b254c8bd newHostVM:
* Applied the new RecompiledCodeReserve to the VIF recompilers (saves another 4-8mb of memory, depending on game).
 * Fixed a bug in pxsFmt / FastFormatUnicode (string formatting).
 * Final round of error handling cleanups.

(branch is basically ready for re-integration -- needs some testin for obvious/show stopping bugs, thanks!)

git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@4025 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-16 15:58:42 +00:00
Jake.Stine 127ca00492 newHostVM: Sync with trunk (r4010-4019)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@4024 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-16 12:02:38 +00:00
Jake.Stine 2ca8278c65 newHostVM: Some Linux compilation fixes, warning removals.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@4023 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-16 05:32:31 +00:00
Jake.Stine 9a0a89aa13 newHostVM: Cleanups, improved error messages.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@4022 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-16 04:53:52 +00:00
Jake.Stine 239c9f83d8 newHostVM: (Restored booting) -
* Added some bounds checking to debug builds for VTLB mappings.
 * Fixed a VU mapping bug that caused boot crashing
 * Fixed some startup, shutdown, and reset resource management.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@4021 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-16 00:22:18 +00:00
Jake.Stine be1a590464 newHostVM: (WIP, may not run!) -- Applied host virtual memory mapping to the EE/IOP/VU main and on-chip memory banks. Added a new OO-based system allocator object for handling said virtual memory resources. Plus many code cleanups, and some added mess that needs to be cleaned up.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@4020 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-15 14:05:02 +00:00
refraction 2b0f47260a Fixed the bug i made on my killzone commit, all games appear to work now that were broken, sorry about that!
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4019 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-14 12:25:02 +00:00
arcum42 21d90150ab GregMiscellaneous: zzogl-pg: Quick fix to the last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4018 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-14 02:21:18 +00:00
arcum42 951d45677f GregMiscellaneous: zzogl-pg: Work on the GLWin functions a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4017 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-14 01:38:10 +00:00
refraction d87d13e155 -Fix for killzone.
-Did same code for VIF0 just to standardize things a little.

If this breaks anything let me know, and make sure it is this revision please.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4013 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-11 21:48:55 +00:00
refraction 0bf97480b7 Fix/Bodge for Clock Tower 3 black screens. GT4 now boots again. Explanation for bodge in the edit :) I am still alive here, just :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4012 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-10 22:38:09 +00:00
arcum42 0779f7bc32 GregMiscellaneous: zzogl-pg: Rework CreateFillExtensionsMap to be less depreciated (and so it writes the extension list to the log, but doesn't print it except in debug mode). Fix a few minor potential bugs. Other minor changes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4011 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-10 11:15:48 +00:00
Jake.Stine bd31411a4c Bugfix for CDVDiso memory corruption, which caused random problems when loading specific types of iso images (most commonly MDF types, but could have been a problem on others as well).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4010 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-09 13:36:12 +00:00
arcum42 3aabab685a GregMiscellaneous: zzogl-pg: Get rid of an extraneous function or two, straighten up some includes, and move some things around to appropriate places.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4009 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-09 12:04:07 +00:00
gregory.hainaut@gmail.com 9f5abc9953 GregMiscellaneous: zzogl-pg:
* Clean the mem swizzle interface


git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4008 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-07 10:27:27 +00:00
arcum42 b8e88c4b69 GregMiscellaneous: zzogl-pg: Fix Windows compilation issues.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4007 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-07 09:14:48 +00:00
arcum42 38c229a350 GregMiscellaneous: zzogl-pg: Use some of the routines in the Utilities library instead of the copies in ZZOgl. (Which were basically older versions of the same code.)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4006 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-07 05:51:54 +00:00
arcum42 5c4512c5a9 GregMiscellaneous: zzogl-pg: Start gathering the hack code in one place.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4005 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-07 04:45:10 +00:00
Jake.Stine f1024dad91 newHostVM: Fix for savestates!
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@4004 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-07 00:04:53 +00:00
Jake.Stine d6de2e3942 newHostVM: Made use of the new SpatialArrayReserve for the EE/R5900 recompiler. Reduces the recompiler's lookup tables from ~40mb to a mere 1-3mb.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/newHostVM@4003 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-06 16:25:40 +00:00
arcum42 031a3cb7a0 GregMiscellaneous: zzogl-pg: Fix up NewRegs.cpp so it compiles again.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4002 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-06 07:00:48 +00:00
arcum42 fb7e2fad1a GregMiscellaneous: zzogl-pg: Have the Windows version use the Utilities version of memcpy_amd like the Linux version does, and get rid of the redundant file...
git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@4001 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-06 06:41:56 +00:00