Commit Graph

1673 Commits

Author SHA1 Message Date
Jake.Stine ae64b98e6a Emitter code cleanups, and re-added GCC 4.4.x code I accidentally removed in a prev rev.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2148 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-07 15:46:09 +00:00
arcum42 7f610e46f6 Fix a few compiler warnings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2147 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-07 14:49:36 +00:00
Jake.Stine 5f26a90b36 Redid the structure packing macros a bit: added __packed, a bunch of comments, and removed a few ugly #ifdefs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2146 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-07 14:13:07 +00:00
Jake.Stine f716232ea8 Fix an unmapped character in the shift-JIS conversion table ( patch applied from Issue 467 )
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2145 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-07 02:32:40 +00:00
Jake.Stine e26fe5c4c9 Wee bit 'o cleanup to patch file checking.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2144 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-07 02:20:00 +00:00
Jake.Stine c2143a9b7a Linux: Compilation fixes / project file updates.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2143 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-06 21:51:39 +00:00
Jake.Stine 2b5964199c Emitter rewrite, part 4 of 5: De-templificated all x86 base integer operations.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2142 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-06 21:45:30 +00:00
Jake.Stine 285ead05ec Quick fix for TOTA crashing/freezing at startup; caused by a sign extension bug in the new Shift-JIS -> Unicode text converter.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2141 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-06 21:43:14 +00:00
ramapcsx2 35ec28eb48 GSdx:
- Bring back IncAge() for textures to avoid excessive memory usage by some games.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2140 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-06 17:13:36 +00:00
arcum42 5d5eac8c59 Convert the patches code over to use wxStrings.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2139 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-06 08:55:57 +00:00
arcum42 b687d4a10b More patch stuff. inifile_read gets passed a wxString now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2138 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-06 05:50:21 +00:00
arcum42 0d68166b65 A few more changes to the patch code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2137 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-06 04:45:21 +00:00
arcum42 6a7c617a65 Misc changes to Patches.cpp. Unconst xSHUF for the moment, so Linux compiles.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2136 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-06 01:50:11 +00:00
Jake.Stine fcdb429bb9 Emitter Rewrite, Part 3 of 5: Finished all SIMD instructions, except those embedded into base instruction groups (CMPSS/SD, DIVSS/SD, etc).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2135 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-05 23:39:45 +00:00
Jake.Stine 04c86ea6d3 Console logging performance tweaks, disable the unused GIFtag register log (it's been tested enough and documented), and add extra calls to GSchangeSaveState (affects zerogs/zzogl only).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2134 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-05 19:32:27 +00:00
Jake.Stine 0ed2093e5d Fix a few stability issues with on-the-fly plugin re-configuration and the F9 RenderSwitch. (all plugin settings should be changeable without having to reset emulation or anything now)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2133 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-05 13:13:02 +00:00
Jake.Stine 8102692d36 LilyPad: Fix for occasional loss of input when suspending/resuming emulation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2132 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-05 00:30:48 +00:00
Jake.Stine 36946c97b4 GSdx: Deleted a little too much in the last rev. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2131 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-05 00:29:39 +00:00
Jake.Stine 93798be614 GSdx: Remove a hack I put in when I introduced GSopen2 -- it's obsolete since adding Device deletion to GSclose (and was causing some bugs on the F9 render switcher).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2130 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-04 22:06:51 +00:00
ramapcsx2 3b4550cdc8 GSdx: Few more CRC's.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2129 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-04 10:56:38 +00:00
Jake.Stine 0591686c67 Misc bugfixes to plugin management and error handling.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2128 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-04 09:30:22 +00:00
Jake.Stine cccebfe454 Fix BIOS Selector bug: BIOS list wasn't cleared when changing search folder.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2127 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-04 02:10:35 +00:00
Jake.Stine 3aa13394da Fix for Issue 338 : Removed some HwRead spam that's generally not needed these days, as it's wrong way more often than it is helpful.
Details: Most hardware registers are supposed to be read from the hwRegs memory cache anyway, unknown or not..

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2126 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-04 01:28:28 +00:00
arcum42 839ac9017b Enable patches, and fix Linux compilation.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2125 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-03 21:29:45 +00:00
Jake.Stine 30584cb9f6 ToAscii() -> ToUFT8() [missed a few last time]
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2124 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-03 20:36:47 +00:00
Jake.Stine d868edc17c Recompiler Bugfix: for crashes in Ace Combat 4, and likely other games that use COP2 extensively.
Explanation: EBP was being used by mVU macro-mode (COP2), which violated the new EErec aligned stack setup.  ie, register/stack corruption resulted.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2123 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-03 20:35:40 +00:00
Jake.Stine b9e372ec75 Added drag&drop for the main window (supports isos and ELFs -- isos are automatically added to the Recent Iso menu), and fixed some minor bugs in managing/updating the recent iso menu.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2122 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-03 20:26:01 +00:00
arcum42 35aac70cd1 Cause the gui to remember if 'Enable Patches' is checked. (Still not used, though.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2121 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-03 13:31:45 +00:00
Jake.Stine 4fc93dded4 SPU2-X: Minor fix for very rare cases of hang-on-suspend when using the XA2 driver.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2120 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-02 21:07:22 +00:00
Jake.Stine 5b726f0b11 Cleanups and Linux compilation fixes. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2119 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-02 21:04:02 +00:00
Jake.Stine a98284c3e8 Minor fix for the new Shift-JIS console encoding. For some reason FFX sends it an invalid/reserved character. Ignoring invalid/reserved characters for now, pending possible discovery of a better handling of them.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2118 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-02 19:58:03 +00:00
Jake.Stine 24d6221141 * More MXCSR fixes (roundmode / DaZ / FtZ).
* Fixed a bug in the Full-mode FPU recompiler.
 * Added some better error handling to the BIOS Rom loader.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2117 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-02 19:56:38 +00:00
Jake.Stine 2468551994 More fixes to MXCSR code. (Warning: prev revisions may have corrupted your ini files badly -- if you have startup/boot crashing problems, wipe it)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2116 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-02 16:26:35 +00:00
Jake.Stine 71ba32f3b9 Fixes for more crash bugs introduced in the prev revision; potential fix for Linux/GTK errors.
Details:
 * Intel's FXSAVE requires an aligned buffer (wasn't explicitly documented in the programmer's guide).
 * I moved the wxMenu() objects in the wxApp constructor to OnInit(), which should be post-GTK initialization.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2115 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-02 13:42:28 +00:00
Jake.Stine 0bb589964f Fix Linux - __pagesize as a #define was bad mojo.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2114 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-02 07:43:51 +00:00
Jake.Stine 94222f4aaf Rewrote internal handling of SSE roundmodes and DAZ/FTZ (fixes major crash bugs of the prev revision).
* Added SSE_MXCSR union/struct with bitfields and methods for doing common actions.
 * Converted all existing MXCSR code to use the new union.
 * Added a __pagesize macro for use in conjunction with __pagealigned and dynarec functions.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2113 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-02 07:00:59 +00:00
Jake.Stine 629aad9944 Bind CPU Advanced Options; roundmode, clamp mode, DaZ/FtZ should all save/load/apply correctly now. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2112 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-01 16:49:20 +00:00
ramapcsx2 9ccc7b2465 GSdx: More work on the effects. Found out I need to handle depth stencils ><
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2111 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-01 11:42:12 +00:00
Jake.Stine 4adb0d1e8d Preliminary addition of Advanced Options (roundmode/clamping). They don't do anything yet -- implementation of functionality is pending on review of the layout. :)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2110 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-01 11:27:50 +00:00
Jake.Stine 376a2c94b1 Added some hourglass cursors for various things; renamed more Semaphore and Mutex APIs (I'm too indecisive >_<)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2109 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-01 09:27:16 +00:00
Jake.Stine 4e69680c81 GSnull: Update to GPLv3.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2108 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-01 06:47:32 +00:00
Jake.Stine e2131fb954 Minor fixes to ELF loading and suspend/resume stuff.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2105 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-31 20:42:51 +00:00
Jake.Stine 810d617411 wxWidgets/Win32: Disable tablet/inkpad support. Causes crashes on Vista/Win7 systems with tablets connected, and not needed for what we use RichEdit for (which is the read-only console).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2104 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-31 20:11:28 +00:00
Jake.Stine e92e3fb4bb I speal gewd. (Aquire -> Acquire)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2103 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-31 19:25:46 +00:00
Jake.Stine bc2aa38aa1 Implemented ELF loading! :D
Renamed a bunch of functions/methods in the Threading namespace that have been bugging me for a while.  (MutexLock is renamed to Mutex, Lock() is renamed to Aquire(), etc)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2102 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-31 19:18:29 +00:00
ramapcsx2 655038be45 GSdx:
- Fixed many flickering scene change transitions (FF12, Gust games, etc).
- Found more info on how games do some special effects. Preliminary code included, but disabled.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2101 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-31 10:56:10 +00:00
Jake.Stine 4cb8e21f94 Much work on menus, gui features. Partially-working recent-isos menu list. Bugfix for some of the new console stuff that could have caused some funny bunny business, or crashes, in a few games. Why dat wascaly wabbit! >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2100 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-31 10:03:07 +00:00
Jake.Stine c274d4e43c GSdx: Cleanups to the vsync framelimiter linkage. Ensures that the vsync settings are preserved across plugin shutdown/init, and removes a lot of function parameter mess trying to pass a single parameter across some 6-8 classes and 4 nested function calls.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2099 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-31 01:06:23 +00:00
Jake.Stine 5326ae7686 GSnull: remove obsolete makefiles, add eol-style:native property.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2098 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-30 22:34:27 +00:00
ramapcsx2 547c171d46 Savestate fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2097 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-10-30 22:28:56 +00:00