sudonim1
11c526e94f
IPU: Typo in threshold alpha for YUV->RGBA conversion. Don't know what games use this.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3105 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 20:58:44 +00:00
Jake.Stine
15ac11b82e
... do the same thing for File_Reader.h as I did for Database_Loader.h in r3101 (translation: added semi-important C++ redtape syntax).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3104 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 17:03:35 +00:00
Jake.Stine
81c35c9fcc
Many small memoryleak fixes in PCSX2 (mostly related to newVIF's recompiler) and one memoryleak fixed in USBnull. Had to juggle around the initialization/reset code for VIF a bit to get it happy. This also removes quite a bit of redundant memory allocations and clears when starting/resetting the emulator; expect a small speedup on slower machines.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3103 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 16:54:42 +00:00
Jake.Stine
9e7394afff
* Set the PCSX2 event handler queues to use the wxObject allocator (reduces heap fragmentation, multithread performance, etc) [MSW/Win32 only]
...
* SafeFree() macro changed: Remove null check on calls to free(); should be 100% safe as according to wx gurus.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3102 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 16:50:49 +00:00
Jake.Stine
6282570b9c
Database Loader code cleanups: added proper use of "const string&" to the class APIs (improves compiler code generation, protects against unwanted or unexpected modification of parameter contents). As a result, fixed a potential bug in toLower; it was modifying the input string.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3101 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 16:46:51 +00:00
Jake.Stine
6ec36fa37d
wxWidgets/MSW: Applied my custom string/object heap allocators to several more wxWidgets containers and types (helps reduce fragmentation and multi-threaded contention on the main heap).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3100 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 16:24:53 +00:00
sudonim1
4a2c5737c0
Fix decision memory for a few dialogs including disc swapping and drag and drop loading.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3099 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 15:55:32 +00:00
sudonim1
bed2664465
I was sure I'd already done this. ELF loading now working in release builds.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3098 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 14:53:24 +00:00
ramapcsx2
d03b93bfca
Changed how the turbo key works. Now it'll always go to turbo mode, even when global frame limit is off.
...
(When global frame limit is off, it'll enable it and go to turbo mode then.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3097 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 13:47:13 +00:00
arcum42
5cc918b9dd
The usual Linux things.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3096 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 12:15:21 +00:00
sudonim1
2c4101b78b
Reload disc info as needed, gets some "codebreaker" ELF which switches to the normal boot sequence after a while closer to working.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3095 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 12:13:51 +00:00
sudonim1
3adb826607
Remove the last traces of the hostfs iop module loader.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3094 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 11:02:59 +00:00
sudonim1
276a78b14b
Oops, games should boot again now.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3093 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 10:52:04 +00:00
sudonim1
0fa3303be3
IOP: HLE ioman functions for paths starting with host[0-9]*:
...
Only open, close, read and lseek implemented for now. Directories are not supported for now because of the need to match the dirent structure to the loaded ioman version.
To allow access the host filesystem from homebrew and games, enable the new option on the main menu.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3092 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 10:33:15 +00:00
cottonvibes
1addaf5c69
microVU: If the vi reg is modified directly before the branch, then the value read by the branch is always the result of the 5th or greater instruction...
...
Thanks to genter for helping me figure this out.
See this:
http://forums.pcsx2.net/Thread-blog-PS2-VU-Vector-Unit-Documentation-Part-1?pid=103928#pid103928
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3091 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 02:25:56 +00:00
ramapcsx2
de13bdf8d7
Fix a few copypaste errors that crept into the installer.
...
They prevented the uninstall script to register the main files.
Also added pcsx2hostfs_ldr.elf, as it's enabled and working correctly now.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3090 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-27 19:10:06 +00:00
Jake.Stine
8f16901181
NSIS Installer: updated web installer links for Googlecode mirrors on the VC++ CRT redistributables.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3089 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-27 12:44:11 +00:00
Jake.Stine
3f75082889
NSIS Installer: Finished the web installer, and fixed some errors int he full installer.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3088 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-27 12:13:51 +00:00
Jake.Stine
d3c98dd02a
Fix bug in multitap memorycard filenames (all multitap cards on each port pointed to the same file, woops!), and fix some NTFS redundant re-compression silliness during startup when using very large memorycards.
...
Note: For the multitap to work, you'll need to remove the existing multitap filenames in your pcsx2.ini (or delete the ini completely).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3087 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-27 00:42:38 +00:00
Jake.Stine
d75664e1b2
Fixed a couple bugs in memorycard ejection logic, and a nasty crash bug for anyone who had the old CWD mode enabled.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3086 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-26 23:06:31 +00:00
Jake.Stine
c1d8a3e94c
NSIS Installer: Preliminary addition of the web installer (needs work, generates some errors yet)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3085 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-26 19:46:37 +00:00
Jake.Stine
74a4ecd559
Completed support for various MemoryCard sizes (16, 32, 64 megs cards).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3084 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-26 19:45:33 +00:00
arcum42
2a5a0b36c8
spu2-x: rearrange the dialog box a bit.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3083 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-26 11:19:28 +00:00
arcum42
651f75f625
spu2-x: fix up a gtk implementation of the sync modes.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3082 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-26 11:09:10 +00:00
Jake.Stine
24e70bd524
* Re-implemented memorycard ejection (yay!) -- helps avoid memorycard corruption when using savestates on many games (due to them caching memorycard contents).
...
* Memorycard settings are now applied on-the-fly (can add/remove/disable memory cards in the BIOS browser and it'll act just as if you plugged or unplugged cards on a real PS2)
* Bugfixed memorycard creation dialog; which wasn't creating the memorycards in the right place (oops).
* Removed the CWD option from the first time wizard (was redundant since adding the custom location option).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3081 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-26 01:57:08 +00:00
sudonim1
9708f279e0
DECI2: correct NUL writing for logging to remove garbage
...
IOP: Fix return value on ioman.write(1, str) (stdout)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3080 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 22:12:14 +00:00
ramapcsx2
d7468b7d20
The "Open window settings" button isn't needed anymore.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3079 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 18:21:11 +00:00
Jake.Stine
04043586da
Console log defaults to open/on now in all build types (not just devel/debug).
...
Better fix for the bios selector thingie.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3078 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 14:22:15 +00:00
ramapcsx2
e6580d4b82
SPU2-X:
...
Added the Async Mix mode to the configuration dialog.
Users can select between Timestretch, Async Mix or no sync now.
There's a warning for the Async mode, as it breaks games that can't cope
with a variable speed SPU2.
SVN revision users:
Please remember to delete your SPU2-X.ini when switching to this revision (to clear the Sync mode setting).
Linux:
It's missing GTK implementation yes (global vars are already changed though), sorry :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3077 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 12:33:51 +00:00
sudonim1
3e81a87c90
Changed MulShr32 to a naive implementation, the generated code is fine already.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3076 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 08:24:04 +00:00
arcum42
774f56297a
spu2-x: Fix another bug in my ini changes, and change MulShr32 again.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3075 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 07:26:55 +00:00
arcum42
321b341030
Only complain about not having a bios if we don't have a bios.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3074 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 07:04:57 +00:00
arcum42
ef8039ed1d
spu2-x: Fix a bug in my last commit.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3073 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 05:33:21 +00:00
arcum42
94ae54d6c0
spu2-x: Some changes to how the ini file writing works in Linux. (still buggy)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3072 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 05:26:39 +00:00
arcum42
65facf6958
Linux fix.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3071 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 03:56:19 +00:00
Jake.Stine
56170870eb
More user interface work. Moved some of the configuration panels around; just to confuse you all. ;)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3070 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-25 02:08:17 +00:00
ramapcsx2
6a24e30e78
Changed some descriptions.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3069 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-24 12:41:56 +00:00
sudonim1
4a427059d8
Reverted r3063 as the last revision obsoleted it and it was causing suspend/resume issues with the software renderer, removed an unnecessary GSclose() and ResetDevice() call each
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3068 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 17:26:37 +00:00
sudonim1
ab77eb4646
GSDx: Free textures that have been in the unused texture pool for a few frames.
...
GSDx: Reset device on save state load.
GSDx: Made GSRenderer::ResetDevice() actually do the main function in its name and implemented InvalidateTextureCache(). If anything breaks, it's because of this change.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3067 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 15:33:50 +00:00
Jake.Stine
d8ba646de2
Even more memorycard work! Dialog box is mostly functional now (still missing a couple options and refinements) -- WARNING: settings/ini storage has changed. If you're using non-default memorycard settings, you'll need to go and edit your ini again.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3066 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 15:20:52 +00:00
Jake.Stine
0b7bbdc723
Add <> to zlib and bzip includes (matters on Linux)
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3065 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 15:10:49 +00:00
ramapcsx2
d09c269d17
GSdx:
...
Fix the worst memory leaks on emulator suspends.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3063 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 13:56:44 +00:00
arcum42
ef5124e6d3
cmake: Remove a few unneccessary defines.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3062 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 08:10:32 +00:00
arcum42
58786f8218
cmake: commit some cleanup work (done by gregory).
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3061 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 07:51:43 +00:00
arcum42
a0d7e4a1b8
cmake: Fix the default build type. Add some CMakeList files.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3060 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 07:30:36 +00:00
sudonim1
6dd30213c9
More fixes for my own mess
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3059 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-22 16:02:55 +00:00
sudonim1
e5bbb0f956
I feel empty now.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3058 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-22 13:17:03 +00:00
sudonim1
e272080354
R5900 recompiler: more compact code generation for QFSRV and PADDSW, removed a little redundant code. Big difference in the opening fatal frame fmv for me, but this is probably cache related. Don't expect anything.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3057 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-22 11:46:59 +00:00
arcum42
460728393a
cmake: Update some missing files. Compile Devel by default.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3056 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-22 05:07:07 +00:00
arcum42
d7ac8fd81c
zeropad: patch the ini settings as well.
...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3055 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-22 03:02:37 +00:00