Commit Graph

2641 Commits

Author SHA1 Message Date
Jake.Stine b562e8aa0f Better seeking for IsoFile; using s64 to allow for a full 4gb of addressable file positions in either direction.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2166 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 17:46:56 +00:00
Jake.Stine c6b14bd7f0 IsoFile/IsoFS code conformance stuffs:
* Converted new code to use PCSX2/wxWidgets types and utility/helpers.
 * use u32 where appropriate (as defined by ISO 9660), and removed s64 stuff since it's not supported by the file format anyway.
 * general fixups to conform better to general C++ style error and object handling.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2165 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 17:29:12 +00:00
cottonvibes e0f455a57a fixed a compile warning from mVU
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2164 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 17:19:59 +00:00
Jake.Stine d92f756cdf Patch parsing code cleanups, using some parser helper classes and properly const-qualified wxString parameters; also improved error handling slightly.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2163 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 17:18:34 +00:00
Jake.Stine 921f91d826 Minor SVN Maintenence; added eol-style:native property to some files missing it.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2162 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 17:15:52 +00:00
Jake.Stine a06803d263 Avoid use of wxString in globals, unless really necessary (C++ global/static object initializers on "complex" objects that do resource management can lead to wonky inter-dependency nightmares, plus this more efficient anyways ;)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2161 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 05:00:28 +00:00
arcum42 0ade7b5bd0 Minor fix for my last commit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2160 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 04:42:24 +00:00
arcum42 190f66186f Change the console functions so that the terminal actually has colored text in Linux. (And doesn't have blue underlined text for most of FFX...)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2159 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 04:32:15 +00:00
cottonvibes 61b2ab7583 - Added microVU_Flags.inl to the project file (somewhere along the lines it went missing)
- Fixed sVU COP2 to compile correctly (when disabling mVU Macro)
- Fixed minor mVU debug/logging bugs
- Made mVU0 exit execution every ~768 cycles which fixes Rachet and Clank hanging (mVU0 already did this before when the m-bit was set, but now it does it all the time even when the m-bit isn't set; other games might be effected by this change...)


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2158 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 03:13:31 +00:00
gigaherz 3c54e2ba75 WIP work towards adding support for non-trivial image files (multitrack cue+bin, ccd, nrg, ...).
This is only refactoring, there shouldn't be any behavior change.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2157 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 02:45:09 +00:00
Jake.Stine 115d2b6f05 * Added word wrapping to tooltips! (Windows only)
* Minor cleanups to iFPU roundmode recompilation.
 * Changed AsciiFile from wxFile (slow!) to wxFFile (fast!)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2156 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 01:56:24 +00:00
gigaherz 909714d08e Since pcsx2 itself can now identify the specific disk type based on the base media type, cdvdGigaherz does not need to replicate the same work anymore.
This means cdvdGigaherz builds will no longer work on older versions of pcsx2 from before I integrated the detection code into the emu.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2155 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 01:42:27 +00:00
arcum42 8bed2e5ff3 Get Linux working again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2154 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-08 00:30:52 +00:00
gigaherz 7732c7b46e This file wasn't necessary. Forgot to delete before committing.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2153 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-07 23:08:13 +00:00
gigaherz f598fb8362 Replaced the old isofs code with a new simpler and cleaner isofs handler.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2152 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-07 23:03:03 +00:00
gigaherz 3b0f524417 Seems when I made the internal iso reader I changed some code that shouldn't have been changed. This should make dual layer stuff work "as well" as in cdvdiso.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2151 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-07 19:28:47 +00:00
Jake.Stine 34f30969bf GSdx: likely fix for the infamous DX10 memleak and resume/loadstate instabilities. Likely because I don't have DX10 capabilities, so I'm coding blindly as usual. ;)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2150 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-07 17:50:48 +00:00
Jake.Stine d114d698a2 svnrev.h fixes for when TortoiseSVN isn't available (fixes compilation errors in SPU2-X and cdvdGigaherz).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2149 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-11-07 17:15:37 +00:00
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