Commit Graph

3461 Commits

Author SHA1 Message Date
Jake.Stine fe5212696d GCC compilation fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4085 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-11 11:01:27 +00:00
cottonvibes 835127b69e microVU: Implemented indirect jump address caching (speedup)
Indirect jumps (JR/JALR) get a table which stores the previously jumped-to x86 code entry points, and this table is indexed by the jump-to PC address.
If current jump is jumping to a previously jumped-to address, the table will have an entry-point, but before it is returned, the microProgram for which the entry point belongs to must be validated to see if it matches the current contents of VU memory.
The program validation check is remembered and doesn't need to be performed again until after a micro memory clear (which happens when vif writes to vu micro memory).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4083 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-11 04:44:25 +00:00
Jake.Stine 6f289bedaf i18n:
* Fixed command line help display for non-english (invoked via --help)
 * Startup/wizard now uses default operating system language when possible.
 * Added a language 'Apply' button to the first time wizard, which applies new translations immediately.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4082 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-11 01:03:10 +00:00
refraction 41fc6feaf7 Fixes for Ikusa, Kinetica and Need for Speed Underground, should all be working again (or as good as before r3274)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4081 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-11 00:29:20 +00:00
Jake.Stine 2b9e609529 i18n: more minor bugfixes to handling of Chinese dialects/sub-languages, and some bug fixes to language enumeration and language settings ini stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4080 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-10 01:28:43 +00:00
Jake.Stine d9fdecd176 i18n: Remove some redundant/legacy wxWidgets language codes, in particular regarding Traditional/Taiwan Chinese.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4079 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-08 03:56:08 +00:00
refraction fa76cfdeca Hack for Midway (Thanks guys!) games, as to show their muppetry in coding, i have left big dev warnings everytime it hits their cockup. On a more serious note, Solves the issue of a failing COP Condition they are trying to achieve.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4077 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-06 21:40:36 +00:00
Jake.Stine 5c54b8279e i18n:
* fixed a bug that caused certain confirmation dialogs to not remember their choices, when user had non-english language.
 * Added wxWidgets-provided strings for a few things, such as Next, Back, and OK / Apply / Cancel.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4076 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-04 15:23:15 +00:00
refraction 0478382cb1 missed DMVector in last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4075 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-03 23:41:03 +00:00
refraction a7676a2b26 IPU hack removal - Well, still one bit i'm not sure on, but everything else should be correct. Hack was due to differences between IPU and the MPEG standard.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4074 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-03 23:36:51 +00:00
Jake.Stine f2c0ff23a9 PCSX2, GSdx (patch from avih): Fix broken backward/forward compatibility regarding GSgetTitleInfo
* PCSX2: Added GSgetTileinfo2 and deprecated=removed GSgetTitleInfo
 * GSdx: moved to the new GSgetTitleInfo2
 * New PCSX2 with new GSdx will have the new functionality, all other combos remain with old functionality.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4073 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-03 21:18:29 +00:00
Jake.Stine 49527d952c Plugin API for GS: Changed the new GSgetTitleInfo callback to use a more sensible parameter passing system.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4072 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-03 03:45:34 +00:00
Jake.Stine aaaa71e13b Minor fixes for the earlier GSdx titlebar feature.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4071 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-03 03:04:55 +00:00
ramapcsx2 1b1f112533 Avih (of Firefox plugin "Smoothwheel" fame ;) ) worked on bringing back that extended GSdx information we lost in the merge to the new WX Gui.
Here's his changelog:

GSdx, PCSX2: Fixed broken GS info at the title bar
* If the plugin doesn't support the API, PCSX2 will display only the image mode (progressive/interlaced field/frame), NON i18n!
* If the plugin does support the API, PCSX2 will not display the image mode, and instead display the info from the plugin
* GSdx now properly sends title info: resolution, image mode, deinterlace mode (weave - bff, etc)
* To enable the full GSdx title info as it used to work before it got broken: uncomment //#define GSTITLEINFO_API_FORCE_VERBOSE at GS.h of GSdx.
NOTE: When using an older pcsx2.exe with newer GS plugin, the title would contain duplicate image mode info. All other combos work fine.
* PCSX2 still displays the performance info, etc in the title bar.

Thanks a bunch for bringing this information back, Avih! :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4070 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-02 22:48:56 +00:00
Jake.Stine cc9461471b i18n: fixes for po filenames (they didn't match the ones in the wiki)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4068 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-02 19:38:18 +00:00
arcum42 5f1d99188d zzogl-pg: Mess around a bit with FlushReGetTarget.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4067 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-02 11:12:42 +00:00
arcum42 f1c05a7f65 Fix up Linux after the latest commits.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4066 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-02 10:41:20 +00:00
Jake.Stine 9bcff9f3d5 Internationalization fix-ups. PCSX2 0.9.7 should *finally* be ready for translations. Whew.
* Also did some work on re-introducing the game database dialog.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4063 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-02 08:15:11 +00:00
gregory.hainaut@gmail.com 8d974015d5 zzogl:
* Create a nice FORCE_TEXDESTROY_THRESH define
* do not call GetMemoryTarget twice in a row. There is already a check in the core function.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4062 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-12-01 14:17:12 +00:00
refraction d5e60af439 DMA: Disallow MADR/QWC/TADR writes while the DMA is busy, solves the Mana Khemia voodooness
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4061 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-29 20:33:22 +00:00
arcum42 5da2f7cecd Correct an assertion. and remove an unused variable.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4060 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-11-28 07:23:24 +00:00
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