Commit Graph

1181 Commits

Author SHA1 Message Date
arcum42 703fd0a597 Here's a better bug fix for the issue that was bugging me in r1608.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1610 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-07 01:55:59 +00:00
arcum42 0a28a945cf After thinking about it, I'm reverting one of the changes I made in r1608 for the moment, though I may rewrite the whole function in the future...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1609 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-07 01:12:16 +00:00
arcum42 b4dae04147 Worked for a bit on parseCommandLine in Elfheader.cpp.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1608 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-06 12:00:06 +00:00
mattmenke 3cbd298cff LilyPad: A number of small fixups.
DirectInput devices corresponding XInput devices should be listed as "[Detached]" when XInput is enabled.  No idea if this works, as it requires an XBox 360 controller to fully test.
FF Axes now sorted, rather than being displayed in the order MS returns them.
Small motor DirectInput binding now correctly displays "Square" effect type in list when first created.
Attempt to more accurately model "soft" vs "hard" presses.  Don't have a game where this matters, so no idea if it works.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1607 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-06 04:50:55 +00:00
cottonvibes 5025b3886e microVU: Removed the "Exiting from Possible Infinite Loop" logic from Release builds, should be a small speedup.
Its still there in debug/devel builds, so we can easily tell if a game is hanging on VU1.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1606 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-05 08:49:25 +00:00
cottonvibes 3f2f8571df microVU: some optimizations...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1605 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-05 04:03:24 +00:00
Jake.Stine 3544bcd118 wxgui: maintenance sync with trunk.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1604 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-04 13:34:52 +00:00
Jake.Stine 4775a4fc2d wxgui: minor cleanups; renamed Utilities folder to Tools, to alleviate confusion with the Common/Utilities.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1603 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-04 13:00:28 +00:00
Jake.Stine 4836aac1f5 wxgui: separated core emulation options from user interface options (mostly! some interdependencies remain), and stripped out some of the old framelimiting toggle/cycle code, which will be replaced with a better framelimiter system soon.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1602 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-04 08:21:10 +00:00
gabest11 a41f80cfca memcpy on PcsxConfig made pcsx2 crash upon exiting, when the string members were deallocated, I guess they were added later.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1601 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-03 11:05:24 +00:00
gabest11 3435ca8b74 GSdx: fixed the crash when booting through the bios
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1600 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-03 11:01:36 +00:00
cottonvibes a2c4aad28e microVU:
- Normal Clamp Mode clamps a few more stuff (Fixes Ice Age 3 falling through floor bug)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1599 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-03 00:43:14 +00:00
gabest11 570e4ce85e GSdx: fixed dx9 + msaa=0
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1598 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-03 00:17:35 +00:00
gabest11 cea0f395aa GSdx: experimenting with msaa, add msaa=N to gsdx.ini to activate it (N=2,4,8)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1597 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-02 23:07:30 +00:00
Jake.Stine 37b63f8a0c Zeropad/Win32: Make what appears to be a fairly significant bugfix, for what it's worth.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1596 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-02 18:46:39 +00:00
Jake.Stine bafd21140f wxgui:
* finished most of the new plugin system (branch is buildable and runnable again, but no significant functionality has been added yet).
 * Removed STGS code from the branch since I planned to kill it off anyway and it was more work to code proper support for it in wx than to remove it.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1595 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-02 16:48:03 +00:00
arcum42 3d87e4845a Add the changes from r1593 to Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1594 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-02 07:21:17 +00:00
gigaherz 4bb4bebd46 KiNGKiMO noticed a crash when specifying a iso filename in the cmdline, to make pcsx2 auto-boot that file. I fixed that, and while I was at it, change the bootmodes around.
The way it works now is:
 - Base mode: 0=normal (cdvd plugin), 1=load elf, 2=use iso loader, 3=emulate no disc
 - Bios flag: 65536+base = mode startup through bios boot process. Default is to skip bios.

So for example to load X.iso using the internal iso loader, and executing through the bios, you would now do: pcsx2.exe -bootmode 65538 X.iso

This needs implementing in linux side, and maybe changing it so it's nicer user-wise (for example, reading the number as HEX would make it 10002 instead of 65538).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1593 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-01 14:25:19 +00:00
cottonvibes 5c38811967 pcsx2: removed some msvc++ warnings from one of arcum42's cleanups
microVU: minor fixes.
The ps2's VUs (and FPU) pretty much always do sqrt(abs(x)) whenever doing sqrt's.
SSE's sqrt will give you a NaN if x is negative instead, so force abs(x) before doing sqrt (unless the value is known to be positive).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1592 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-01 02:44:22 +00:00
gabest11 3f4f3db3e6 GSdx: little code cleanup
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1591 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-31 23:59:06 +00:00
cottonvibes 8b288e8917 microVU: more optimizations
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1590 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-31 07:34:03 +00:00
cottonvibes dea6f1ced2 microVU: Optimizations, cleanup, and fixed a bug...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1589 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-31 02:30:32 +00:00
arcum42 a4e0009a7e Stub out some functions in the cache code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1588 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-30 23:50:39 +00:00
arcum42 d1f8bf4d71 Some cleanup around iCore.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1587 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-30 22:41:36 +00:00
cottonvibes 3d18ddf16b minor fix for broken compiling
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1586 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-30 01:50:18 +00:00
cottonvibes b470a9ae31 microVU:
Saw that SSE4.1 has ptest, and I wanted to try it out xD
untested though cuz I don't have an SSE4.1 cpu :)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1585 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-30 01:35:25 +00:00
ramapcsx2 a0828bc8f9 GSdx:
- Trippled the number of cached textures, many games constantly recreated them
- Don't clear some shaders at each drawcall (in dx10) , which is a nice speedup (but could potentially be bad, please check..)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1584 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-30 00:21:33 +00:00
cottonvibes 83081605b4 microVU: fixed a bug
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1583 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-30 00:05:42 +00:00
Jake.Stine 71490981bf wxgui: synced with trunk, and started work on an improved plugin initialization procedure. (branch currently does NOT compile, sorry)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1582 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-29 14:00:00 +00:00
Jake.Stine b93f5bf91a More new plugin api work.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1581 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-29 13:54:49 +00:00
cottonvibes e514d340b6 microVU: tweaked some regAlloc stuff; i think it should be faster.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1580 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-29 01:14:56 +00:00
Jake.Stine 16fb25c1ed NewPluginApi: Some tweaks as per Gabest suggestion; probably a tired disaster in need much review.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1579 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-28 07:34:49 +00:00
cottonvibes 2bcf704ff3 microVU: Improved microProgram management/searching.
Instead of just having live/dead programs, we now have young/old/dead programs.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1578 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-28 01:36:37 +00:00
Jake.Stine 3935927a99 Cleaned up some loose ends I left behind in my initial rough draft of PluginCallbacks.h, and added some eol-style:native properties to /common/include files that lacked them.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1577 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-28 01:25:51 +00:00
Jake.Stine 2cbb853535 Working on a brand new plugin interface, based on passing APIs via structure instead of individually binding each function (which is generally cumbersome and limited in a number of ways).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1576 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-27 23:51:52 +00:00
cottonvibes d190776639 microVU: fixed a bug in my clamping code from r1568. Fixes TOTA invisible characters when clamp-mode set to 'normal'
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1575 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-27 04:27:08 +00:00
cottonvibes f058728f09 microVU: tweaking/testing some stuff...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1574 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-27 02:55:25 +00:00
cottonvibes 37675b6c49 microVU:
- Finished implementing regAlloc. Sadly the speedgain wasn't great (0%~2% in the games I tried). I think the speedup should be bigger with a CPU that supports SSE4.1, but I don't have one to test :p


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1573 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-27 00:27:33 +00:00
Jake.Stine 6566f6a018 wxgui: Improved threading model used by the log window, plus a few minor fixes to main window startup/shutdown code.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1572 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-26 23:53:52 +00:00
gabest11 cc3130660a GSdx:
- Automatic texture filtering should be ok now, occasionally point filtering was used. Tested it on the ps2 and figured with no mip levels LoD and minification settings are just ignored altogether.
- Also run a few tests on the gather instruction with the reference rasterizer and found a fatal flaw with it. It returns the four samples for bilinear sampling (in a funny order, which isn't documented of course, x = bl, y = br, z = tr, w = tl), but there is no way to guess which four were selected exactly. Due to some hidden rounding error it might grab different texels than I would when calculating the position of the upper-left texel, of which the fractional part is be used for the interpolation. When the texel positions do not match it leaves annoying discontinuity errors. Oh well...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1571 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-26 15:30:25 +00:00
cottonvibes c595eab036 microVU: more regAlloc work...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1570 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-26 05:54:30 +00:00
arcum42 e768150a4b Quick fix for r1566.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1569 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-25 03:22:40 +00:00
cottonvibes aedf28726c microVU: Setting VU clamp mode to "normal" should fix sps/problems in alot of games now.
I'll list what I think should be fixed:
Dawn of Mana SPS <- Should be fixed, untested
ToTa Characters <- Should be fixed, untested
FFXII SPS in Barheim Passage <- Should be fixed, untested
KH1 floor bug <- Fixed for me, but theres still other sps on characters caused by something else

Most-likely SPS in some other games is fixed as well...
If anyone can confirm the games I listed are fixed, please leave a comment :D

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1568 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-25 02:38:09 +00:00
cottonvibes 829efedfb5 microVU:
- Re-implemented logical min/max code
- Re-implemented tri-ace gamefix
- Fixed some bugs...

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1567 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-25 01:56:27 +00:00
arcum42 93d6d5a2ac Fixed some bleedthrough on the colors on the console, took care of a typo I made earier, and did assorted cleanup.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1566 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-25 01:40:34 +00:00
gabest11 4eaa5265df Added vs2010 project files for xpad and CDVDolio, too.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1565 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-24 12:54:54 +00:00
gabest11 319782cf39 GSdx: just updating vs2010 project files
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1564 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-24 09:24:09 +00:00
arcum42 5abbb0c242 Unbreak FF X-2 with the new iso code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1563 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-24 05:33:02 +00:00
arcum42 56a98ca922 Converted a few of the file paths to strings, and moved the generic file manipulation functions in IsoFileFormats to their own file.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1562 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-24 03:08:14 +00:00
arcum42 90c2f8ebc6 Fixed up Linux after my previous changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1561 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-07-24 01:11:41 +00:00