Commit Graph

1315 Commits

Author SHA1 Message Date
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
arcum42 973282bd6c Fixed Elves in Linux, and implemented two out of three menu items.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1688 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-27 11:58:18 +00:00
arcum42 6ee99d7cbb Corrected an issue when closing plugins, and fixed up Linux to compile (Though I haven't made the gui changes yet).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1687 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-27 10:15:42 +00:00
Jake.Stine 670def4974 Linux only: Preliminary fixups for supporting the new improved commandline and g_Startup implementation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1686 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-27 08:48:00 +00:00
Jake.Stine 62591d04d8 * Added the missing cd image types to the iso browser (img, bin, nrg, etc)
* Minor fix when using cdvdiso in browser mode (keeps the browser from being obscured by the GS window).

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1685 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-27 03:09:38 +00:00
Jake.Stine d77ac4786d Major Fixes!
* Fixed like a gazillion bugs in the new CDVD system; memory corruption, memory leaks, failed resets, and who knows what else.
 * New commandline parameters!!  Added -skipbios/-nodisc/-usecdvd/-elf [file] options, intended replacements for the now obsolete -bootmode (bootmode should still work as it used to).
 * fixed a bug that kept -help from working, and updated -help to display all the new command lines.
 * -nogui command line now causes PCSX2 to close on escape, instead of escaping back to the GUI.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1684 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-27 02:00:25 +00:00
Jake.Stine f39c52f5d1 wxgui:
* fixed console log position/size saving settings
 * Configure buttons in plugin selector work as they should now
 * fixed devel/release builds broken in the prev rev

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1683 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-26 14:27:54 +00:00
Jake.Stine c73375366f wxgui: Redid a bunch of the wxWidgets assertion handlers so that they're thread-safe, and fixed the wxLogError stuff to pipe through to the PCSX2 console (better than it spamming popup errors, and also makes it thread safe as well).
.. oh, and it successfully boots the BIOS now, suing the 'Boot Without Disc' menu option. :D

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1682 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-26 08:57:52 +00:00
mattmenke b5264ca7c9 LilyPad: Added setupapi.lib to release build. Was already correctly linked in debug.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1681 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-26 01:49:43 +00:00
Jake.Stine 9303bc5bf2 wxgui: Prepped the R5900 recompiler for the new wxWidgets-enhanced dedicated emulation thread design, and removed the old boolean-based re-entrant event checking mess.
Note: Nearly have a successfully booting branch! (bios crashes when it reaches CDVD api callbacks, should be a simple fix but it'll have to wait until later >_<)

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1680 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-25 15:38:48 +00:00
mattmenke 143b2f63d3 LilyPad: bugfix that should (hopefully) make it more difficult to accidentally bind an entire axis. May make issues with devices incorrectly reporting initial state worse.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1679 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-25 12:05:08 +00:00
arcum42 487775dea9 Added what should be the correct padding to gifRegs...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1678 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-25 11:54:19 +00:00
arcum42 485b7c17bd Fixed up the bitfield code in Gif.h to the point where it will compile. Positioning in memory may still be off, so it isn't used yet.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1677 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-25 11:24:38 +00:00
arcum42 be6c314e27 Various changes that were accumulating. Broke off Gif.h from GS.h. Changed some defines to enums. A few other minor things.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1676 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-25 09:19:45 +00:00
cottonvibes a3f0ba5315 microVU:
- Started implementing VU macro mode (code off by default)
- Disabled Constant Propagation for Jump Addresses (this rarely was a speedup, and it slowed down recompilation time a lot in some games causing bad slowdowns (GoW))

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1675 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-24 02:48:50 +00:00
cottonvibes 3734a30c55 microVU: minor change...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1674 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-23 11:28:28 +00:00
mattmenke 5558ceafb3 Some preliminary HID code that I may or may not build off of.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1673 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-23 03:15:42 +00:00
arcum42 33d64faa5e Lets use the Gif stat enums, too. And set some of the dmac irqs to have more accurate names, and misc other things.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1672 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-22 21:03:02 +00:00
cottonvibes b00c60c7e6 Changed some more stuff to use the vif stat enum's; and some other minor changes...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1671 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-22 19:34:59 +00:00
arcum42 44bb5cdbb5 Odds and ends. Various defines involving vif->stat are now enums, and are now used in various places. Added a new file to GSnull. Moved the new Vif functions to Vif.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1670 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-22 09:52:00 +00:00
cottonvibes 21fed6e90c microVU: Cleanup of opcode lookup tables. (Removed the macros since multiple instances of the tables aren't needed anymore)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1669 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-22 06:12:53 +00:00
cottonvibes a5884b6577 microVU: Finally fixed the Kingdom Hearts missing poly bug =D
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1668 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-22 03:13:50 +00:00
Jake.Stine 307346e19e wxgui: More bugfixes to configuration saving/loading.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1667 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-21 14:29:02 +00:00
arcum42 643e884b03 Added Vif Error flags to Tags.h.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1666 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-21 07:00:59 +00:00
Jake.Stine 68188a1fe2 wxgui: Changed the method of usermode storage so that it doesn't violate /program files permissions; plus some minor bugfixes/cleanups.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1665 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-21 04:44:47 +00:00
Jake.Stine 12eea0fc5a wxgui: Additional fixups to linux behavior.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1664 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-21 01:44:55 +00:00
cottonvibes 75c41d0c62 microVU: minor change...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1663 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-21 00:29:40 +00:00
cottonvibes 75a688a530 microVU: Changed some VU0 syncing stuff. mVU0 will only exit out early from recompilation for syncing whenever mBit has been set, instead of all the time.
This is a nice speedup in Nanobreaker, as well as fixes the constant recompilation problem.

If anything breaks with this let me know :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1662 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-21 00:07:08 +00:00
Jake.Stine db3e81504e wxgui: The Linux side compiles and runs again. Note: Removed "Open in Explorer" buttons for folders since there seems no reliable way to do that in Linux.
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1661 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-20 23:05:26 +00:00
Jake.Stine e25db2a0ba wxgui: sync with trunk (boooring)
git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1660 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-20 16:19:33 +00:00
Jake.Stine cd5934fb57 Correct fix for thread affinity in CpuDetect, and fixed commenting in clean_msvc.cmd
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1659 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-20 15:53:17 +00:00
Jake.Stine 4b320294fc wxgui: Fixed most of the trivial bugs from the prev commit.
* Removed NoncopyableObject class and replaced it with a DeclareNoncopyableObject() macro -- which reports saner C++ compilation errors when the object copy is attempted.
 * Improved first run wizard and several configuration panels.
 * Moved the BIOS selector to its own menu item and dialog box, separate of the Settings panel.
 * Fixed various bugs preventing configuration changes from being saved.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1658 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-20 14:34:48 +00:00
arcum42 4ce901c47b Tags.h: 0x8000000 != 0x80000000.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1657 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-20 12:27:32 +00:00
cottonvibes 685ceb245c Disabled precompiled headers for release builds. This fixes the random crash introduced 2 revisions ago (caused by some crappy IPU code we need to eventually get rid of)
Since the IPU code randomly works/breaks with different changes to pcsx2, eventually we'll be able to re-enable PCH.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1656 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-20 04:02:39 +00:00
cottonvibes 90b89dfc2d pcsx2: removed some warnings from the new dma tag code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1655 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-20 01:13:42 +00:00
cottonvibes 3c458affad microVU: Finished properly supporting branch in branch delay slots.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1654 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-20 00:49:13 +00:00
arcum42 490d996abc Tags.h meets SPR.cpp. Plus some more work on Tags.h and Misc...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1653 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-19 12:08:50 +00:00
cottonvibes 0587cdc210 microVU: 70% implemented Branch in Branch Delay Slots. Hopefully I'll finish tomorrow.
Compare Star Ocean 3 intro with mVU vs sVU, and you can see mVU now correctly renders the title menu/new game startup screen =)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1652 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-19 07:48:20 +00:00
cottonvibes 614cc7e55d microVU: minor changes...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1651 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-19 04:00:53 +00:00
ramapcsx2 dc4f05d7c2 GSdx:
Initial pixel offsetting support via gsdx.ini.
Use pixoff_x = somevalue and pixoff_y = somevalue.
This can be used as a workaround for the various upscaling errors :)

Try these values for Takes of the Abyss for example:
pixoff_x=-8
pixoff_y=-8

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1650 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-19 01:08:40 +00:00
Jake.Stine 3c4b1afb49 wxgui: All kinds of mess, but still not up to running games yet.
* Borrowed wxScopedPtr from wxWidgets 2.9
 * Fixed up first-time startup procedures and folder selection
 * Implemented most of the rest of the missing configuration options, and cleaned up some ambiguities regarding bool types and bitfields.

git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1649 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-18 19:47:00 +00:00
arcum42 a1f45eab3c And we can add Gif.cpp to the list of files now using Tags.h
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1648 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-18 11:15:10 +00:00
cottonvibes 9da4a53929 microVU: Now properly supports E-bit set on branch delay slot instructions.
(Gets rid of "Unknown Micro VU opcode called" errors in Dark Cloud 2, and possibly fixes some other games)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1647 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-18 00:17:09 +00:00
arcum42 4509e085c6 Convert Sif.cpp & Vif.cpp to use the Tags.h code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1646 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-17 20:41:32 +00:00
arcum42 9714a50dc5 Changed the MFIFO test and message because it spams too much now that it actually does what it said it did before. Fixes the FFXII opening.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1645 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-08-17 12:34:27 +00:00