Commit Graph

1559 Commits

Author SHA1 Message Date
ramapcsx2 f06998808a SPU2-X:
5.1 support is back!
Currently for XAudio2 only, and it's not doing much (Simple copy of the stereo source to the other speakers).
Gigaherz is already working on a nice, semi - prologic II upmixer though ;)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1738 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-04 22:15:02 +00:00
Jake.Stine 9d65993ac5 wxgui:
* Redid 'Run' menu as separate 'Boot' and 'Emulation' menus (implementation is still spotty as always)
 * Fixed some more bugs in config/settings Dialogs
 * Fixed a nasty bug in memory cards (no more magic memorycard deletion, yay!)
 * Renamed a lot of variables, because I just like refactoring code...
 * Fully implemented emulation commands: Pause, Close, Reset.

(no it still can't do anything more than boot the bios, yet >_<)

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1737 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-04 13:36:22 +00:00
arcum42 4df8e8e5ce Some more changes to use dmaRegs and gifRegs in various places.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1736 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-04 02:31:57 +00:00
arcum42 c1b584ed5d Patch r1734 for Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1735 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-04 01:56:33 +00:00
Jake.Stine be59d1c627 Added more logging to the plugin management process (init/open/close). Added SVN_REV info to the console log.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1734 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-04 01:42:16 +00:00
arcum42 dbeeca16a1 Might as well copy some register code from GSdx to GSnull, so I have a starting place on register handling in it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1733 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-03 23:57:59 +00:00
Jake.Stine 592781e7fc Minor changes to how the commandline auorun feature works, so that it initializes in the same general order/pattern as using the GUI. May fix some spotty problems.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1732 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-03 15:52:15 +00:00
ramapcsx2 ac58ea42e3 Relaxed loadstore cycles a bit on the EE.
This hopefully lets a few regressed games work again.
Also a speedup, specially in fmv..

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1731 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-03 15:02:38 +00:00
Jake.Stine 64e43a9086 wxgui:
* Fixed thread classing so that detached pthreeads are handled safely, and so that virtual functions in C++ destructors are explicitly specified.
 * Added some helper functions to Pcsx2App for safely executing menu commands form any thread in the emu.
 * Fixed several minor bugs in settings / config handling.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1730 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-03 11:59:05 +00:00
Jake.Stine ee97290cd2 pthreads: Added <excpt.h> to pthreads.h since SEH requires it; Added versioning to the project/output filename (currently V2, which is SEH-enabled)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1729 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-03 11:58:18 +00:00
Jake.Stine 1ebfee30e9 wxgui: better fix for universal message-level exception handling.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1728 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-02 12:12:04 +00:00
Jake.Stine f7a44a7af2 wxgui:
* Added /gui/AppRes.cpp : contains resource management code that used to be in /gui/App.cpp.
 * Redid disk/linux console logging to be both thread safe and crash-safe.
 * Cleaned up plugin init/open exception handlers
 * Was forced to implement a manual version of wxEventLoop because of a critical design flaw in wxWidgets' message loop exception handler.


git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1727 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-02 11:22:16 +00:00
cottonvibes 5494e9cd6f microVU/macroVU: When subtracting a reg by itself, its safer to just set the reg to 0, instead of actually doing the floating point subtraction.
This fixes the problems in FFX2 introduced in r1710.
Also thanks to rama who found out it was SUB that was breaking the game. (Saved me a lot of debugging to narrow down the problem ;p)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1726 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-02 04:48:42 +00:00
Jake.Stine 600f7b2207 wxgui:
* Improved thread safety of file logger (needs work yet)
 * Debug builds automatically open the console log during the first time wizard.
 * Added terminal logging to linux builds.
 * Linux: Bugfixed plugin configuration dialogs being unable to receive input.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1725 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-01 12:18:31 +00:00
Jake.Stine 646bf1bfac Issue 331 - let's also fix the "double initialization" issue when booting cdvd plugin from the commandline.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1724 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-01 10:00:57 +00:00
Jake.Stine 4307e18e71 Command line fixes (Issue 331):
* I had incorrectly documented -usecd as -usecdvd (oops)
 * Skipbios now defaults to OFF is was intended

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1723 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-01 09:34:51 +00:00
Jake.Stine 0a4b4e31bf Quick fix for GCC versions 4.2 and earlier, which lack the __COUNTER__ define.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1722 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-01 00:58:39 +00:00
cottonvibes fa7eae8edb microVU: Normal clamp mode clamps a little more stuff (fixes some very rare sps I found while playing kingdom hearts)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1721 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-01 00:57:53 +00:00
Jake.Stine 25a31e3a03 wxgui: retooled exception handling, should eliminate warnings in GCC and remove previous initialization ambiguities. (ended up being a nice code cleanup too, yay)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1720 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-09-01 00:43:28 +00:00
cottonvibes 536073957a microVU: minor changes...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1719 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-31 22:44:18 +00:00
sudonim1 455d0a4c87 Reset and recompile the current block on constant buffer overflow. (Some other checks should be changed to use this if this isn't immediately reverted.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1718 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-31 20:48:39 +00:00
Jake.Stine 808537da58 Added some diagnostic messages to a hackish part of the EE recompiler.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1717 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-31 19:50:19 +00:00
arcum42 b0f454ef28 wxGui: Get Linux compiling again.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1716 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-31 19:47:25 +00:00
Jake.Stine 5706a23ca2 Fixed Issue 384 - minor compilation error in linux when using local inis.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1715 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-31 17:31:29 +00:00
Jake.Stine 980afabc30 wxgui:
* Moved some files around in an attempt to improve CoreEmu and UI separation.
 * Major upgrade to the UI's handling of savestates
 * Maintenance work to the C++ exception handling
 * Some improved error handling and message popups here or there

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1714 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-31 03:47:05 +00:00
cottonvibes 297a8a97cf mVU macro: I forgot to enable some flag updating code I did in my last commit.
This probably fixes a lot of the games that were having problems.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1713 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-30 10:45:28 +00:00
arcum42 ea1b204bde wxgui: Enumerate all the plugins on the Linux side. (And expose a nasty segfault problem.)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1712 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-30 02:32:31 +00:00
Jake.Stine 635596c412 wxgui: another sync with trunk to pick up more of those cdvd fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1711 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-30 01:48:08 +00:00
cottonvibes 7c7dfa2f58 Finished mVU macro, and set it on by default.
Basically this means whenever COP2 recs are used, its calling mVU instructions instead of sVU instructions.

Note: Theres a very-minor incompatibility problem when using interpreters/sVU for VU0 with mVU Macro. But I'll fix it later (and it probably doesn't effect much).


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1710 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-29 23:07:03 +00:00
Jake.Stine e879890d2a Installer Improvements:
* installer will automatically version itself to the svn checkout
 * default installation folder, filenames, and links all contain the revision number now.
 * Plugins are optionally included into the package (details in txt)
 * VC++ Redist detection: the Redist installer is only extracted/invoked if it's not already installed.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1709 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-29 20:45:19 +00:00
cottonvibes fd480496c4 mVU Macro: Some changes for a more correct interlocking behavior again VU0 micro programs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1708 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-29 20:11:38 +00:00
cottonvibes 2c1397e559 mVU Macro: Implemented more stuff and did a big cleanup.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1707 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-29 05:00:03 +00:00
arcum42 4d7bfbb86e Fixed typo.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1706 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-29 00:37:34 +00:00
arcum42 2b57f23634 Changed the chcr stuff over to bitfields, and got various other bitfield stuff ready for later on.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1705 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-29 00:35:20 +00:00
cottonvibes 712a23b7d6 mVU Macro: Implemented more instructions...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1704 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-28 23:36:03 +00:00
cottonvibes 6ab6749a53 microVU: Removed the use of an offset-register for referencing VI regs.
It didn't make any noticeable difference speedwise, and removing it will make mVU macro code simpler.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1703 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-28 22:50:55 +00:00
cottonvibes c2eb41f637 More Macro VU work
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1702 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-28 21:24:37 +00:00
Jake.Stine b4b292d219 More CDVD fixes. I *think* this revision might provide some noticeable speedups when running games directly from cd drives. Also built-in CDVD blockdumps work now (DVD images only, legacy CdRom games still don't blockdump right unless you use the cdvdiso plugin).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1701 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-28 21:23:32 +00:00
cottonvibes 8393f828dd Fix a typo causing *.dump files not to appear in the "Run ISO" file browser.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1700 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-28 19:45:37 +00:00
Jake.Stine 8f6ce7751c It fixes the compilation error in Windows, or it gets the hose again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1699 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-28 16:30:57 +00:00
arcum42 a159d82f8b A quick fix to prevent creating dumps with the built in iso code from crashing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1698 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-28 16:12:05 +00:00
Jake.Stine 915d0c6953 More CDVD and cdvdiso bugfixes: cd-rom images should work now (ie, the old school non-DVD sort!), and improved the error and async read handling (possibly affects people running games from dvdrom)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1697 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-28 14:57:51 +00:00
Jake.Stine 396783957e wxgui:
* synched with trunk to pick up all new cdvdiso fixes.
 * configuration wizard now starts if pcsx2.ini is missing/deleted.
 * changed GetWindowChild (MSW specific?) to FindWindow.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1696 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-28 13:06:06 +00:00
Jake.Stine e6f8b4e8d0 wxgui: Connected up the CPU panel controls so that they do something, and fancied up the "Apply" button so that it ungrays only after changes to the config have been made. :)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1695 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-28 11:02:12 +00:00
cottonvibes 9adf6858c1 microVU: Made the flaghack safer by accounting for some problematic case.
It fixes the few games I have that were having problems with the flaghack (but the speedup the flaghack offered in those games has been lessened).
The speedup on games that weren't having problems before should be around the same as before; (in other words: games that were compatible with the hack should still be as fast as before, and games that had problems with the hack will probably be fixed but the speedhack won't do as-much)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1694 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-28 04:27:14 +00:00
arcum42 ab08bc730e wxgui: Correct r1692.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1693 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-28 01:25:37 +00:00
arcum42 282abf816d wxgui: A few Linux related changes.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1692 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-28 01:20:40 +00:00
Jake.Stine 4c39dd35a7 * Re-enabled PCH in release builds; fixes various mysterious crashes.
* Restored Run->Execute's old behavior when the emu is in a reset condition (plain jane bootup using CDVD plugin).
 * Fixed some CDVD init stuff on the Linux side of things.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1691 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-27 19:38:09 +00:00
arcum42 7265d33526 Fixed Windows.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1690 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-27 13:22:55 +00:00
arcum42 34760f7f3a Use a local variable for the elf name.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1689 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-27 12:19:03 +00:00