Commit Graph

3565 Commits

Author SHA1 Message Date
luigi2us 734daf362b FileIO: update m_FileLength upon writes, so that MKWii doesn't end up seeking in rksys.dat at incredibly huge offsets.
MKWii still fails to create a new save file.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4704 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-17 19:11:40 +00:00
ayuanx 7d1fdb85f3 Implemented Nunchuck Roll/Pitch
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4702 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-17 14:15:56 +00:00
ayuanx b0ef811786 Disabled thread synchronization check so the speed should be back, and theoretically should be even faster than r4698.
Hope it is safe to do so.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4701 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-17 04:01:34 +00:00
ayuanx 0ae7be2c1c Since we have been employing the FIFO BP hack for so long time, at least let's make it a decent hack.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4699 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-16 17:05:30 +00:00
Shawn Hoffman f2c060d8cb Implement some previously unknown gekko/flipper cpuid-type regs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4698 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-16 08:59:18 +00:00
nakeee 5a417fe76c Linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4697 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-15 14:40:03 +00:00
Rodolfo Osvaldo Bogado 9c930f0825 nice little hack to make efb copies scaled with the efb so everything will look a more HD, for now there is no GUI i'm with a lot of work at home. if everyone likes this change will add it to the GUI. for now just use the config file.
it brakes sms goop so in that game avoid this . test and let me know.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4696 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-15 01:40:54 +00:00
Shawn Hoffman 19f3ed11c7 Small fix for loading wii dol/elfs with no disc present. Now EmulatedBS2() returns true only if apploader has run (since if it hasn't, we need to load the code ourselves)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4695 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-14 19:24:55 +00:00
ayuanx 66b1eb1f08 Does anyone know any game that requires the "Clear FIFO BP on Rising Edge"?
Because commenting out this behavior fixes Silent Hill Shattered Memories.

If this commit breaks any game, please report.

PS: There is a EnterCriticalSection in fifo.cpp, which performs the Read Access, but there is no EnterCriticalSection in CommandProcessor.cpp which performs the Write Access, so how can we guarantee the Write Access is atomic?


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4694 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-14 15:50:31 +00:00
Shawn Hoffman c46b289b2e VolumeDirectory: fix issues with Read() that broke non-apploader mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4693 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-14 05:27:29 +00:00
ayuanx 6f1efd4873 Rearranged EmuWiimote & nJoy. Wow they can share one pad at the same time, and they also can be enabled/disabled separately.
So as long as the game supports, you can toggle controller input between them on the fly.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4691 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-14 02:23:14 +00:00
Shawn Hoffman 2d10a47c2b fix issue where loading wii game then loading gc game would cause garbage audio
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4690 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-14 01:20:56 +00:00
Shawn Hoffman fffc4e7fe3 re-add enough of the wierdo audio buffer from MEM1 hackish-thing for wii sports to work...someone needs to convince me that this is actual behavior ;p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4689 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-13 18:16:16 +00:00
ayuanx afef9fb5f0 Code cleanup, removed extern declaration in sound streams
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4688 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-13 11:51:29 +00:00
Shawn Hoffman 4fe3e46725 Add the mixer change from issue 1479 (use sleep(1) instead of cpu yield)
Fix aram handling in wii mode - was doing strange things with aram AND mem2 space - only mem2 exists on wii. Let me know if this breaks anything...
Fix Wii BS2 HLE - don't zero out bytes 6 and 7
Thanks to skidau for finding the ssbb error cause :)
Fixes issue 303
Fixes issue 1479

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4687 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-13 07:42:15 +00:00
ayuanx fad1fa4e3d Improved XTra.KrazzY's Mute-On-Pause a bit, so it won't cost any CPU time when it is not used.
Revert old Zelda-TP hack, though it really shouldn't be there...



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4684 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-12 22:30:53 +00:00
ayuanx 7be17e6531 An attempt to fix Issue 1749.
Whoever has "Zelda - Twilight Princess" please also test this revision.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4683 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-12 17:02:43 +00:00
Shawn Hoffman 57d2f39cb0 fs/fileIO: add enum for open mode, and struct for NANDStat.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4682 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-11 21:36:26 +00:00
ayuanx a751efcc6e Trying to constrain the seek position when file is empty doesn't work out either, sorry.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4680 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-11 10:32:33 +00:00
ayuanx 0e5dc5b2ce Oops, a quick bug.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4679 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-11 09:57:18 +00:00
ayuanx 2b7d1d294b Cleanup FS and FILEIO a bit.
PS: Mario Kart Wii cannot create a new savedata because it tries to seek position in file "rksys.dat" with a very huge number even though it already knows the file is newly created, and then write to that file with 2MB data of all zeros (wrong mem addr?).
Can't find a reason yet.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4678 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-11 09:47:30 +00:00
sl1nk3.s 7c481d179c Fix a crash reported in r4671, plus a fix related to issue 1523 i forgot a month ago >.>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4677 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-11 00:03:56 +00:00
XTra.KrazzY 6bea0a2f53 Fixed annoying sound when pausing/shutting down (please test for ALL backends) (couldn't do this for CoreAudio and PulseAudio too)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4676 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-10 21:00:52 +00:00
ayuanx d901fd2e38 [Regression] Fixed the loading of some WADs that were broken (again! :() since r4646.
Added /dev/usb/hid into hardware device list.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4675 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-10 20:24:27 +00:00
ayuanx 9f06dd9a0a An attempt to resolve the issue roused by r4660, it needs tests though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4672 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-10 16:44:42 +00:00
Shawn Hoffman cf55a09e08 some cleanup in IPC_HLE_Device_usb. Add /dev/usb/hid as a null device. Just nag me if i've messed up /dev/usb/oh1/57e/305, so much moving around o_o
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4670 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-10 09:16:34 +00:00
Shawn Hoffman eb2c52f55f Fix a crash when dumping memory
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4669 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-10 09:16:21 +00:00
Shawn Hoffman 805bd8ec28 VolumeDirectory: allow loading of arbitrary apploader and dol. Code cleaning around the bootup logic.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4668 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-10 09:16:10 +00:00
ayuanx 0fa1f968c7 I think this should fix the "Wiimote sudden death after 15 min" issue, actually I announced this was a test in the log message of r4647, but it seems no one has noticed.
Added the missing file in last rev.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4664 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-09 15:29:39 +00:00
Rodolfo Osvaldo Bogado 0bc7fa7bf5 Small fix for the last commit, and a little fix for disable fog to really disable it :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4662 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-09 13:51:28 +00:00
Marko Pusljar f4bca6e21c DSPLLE stuff (2 new opcodes)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4660 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-08 22:44:11 +00:00
ayuanx 48896c7de2 1. Fixed a silly bug that prevented IR rotation in last rev from working, now IR rotation works fine, verified.
2. Added Roll Left/Right key mappings for keyboard.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4659 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-08 19:58:19 +00:00
Rodolfo Osvaldo Bogado d02426a8e9 mixed commit:
in D3D and Opengl:
fixed one nasty bug in texture loading where if a dynamic texture keeps his format but the tlut format is changed, the try or reloading the texture in the same texture could cause a hang if the size of the resulting texture is different than the original (size in bytes)
Applied a ugly temporal hack to the texture conversor to solve efb to ram misalignments and effect distortions.
in D3D:
Pseudo implementation of logic ops using basic blending: the first 8 operations are "good approximations", the remaining 8 are bullshit :) if someone have a better approximation to emulate this logic please let me know.
please test if i don't break anything in the process and test Mario kart wee you will get a nice surprise.:)
 

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4656 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-07 18:48:31 +00:00
ayuanx 85a9b3dc2c 1. Make the domains of EmuWiimote & RealWiimote clearly separated, so I won't get tons of "Negative" and complaints about RealWiimote when I'm committing updates for EmuWiimote that has nothing to do with RealWiimote.
2. Change the frequency of WiiMote report sending to 100Hz which complies with real Wiimote hardware.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4655 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-07 12:48:39 +00:00
ayuanx db98709de0 Implemented Pad Rumble for Emu WiiMote, Currently this function is still quite basic and rough.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4649 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-06 01:15:13 +00:00
ayuanx d117b438ae 1) Added current core button status for all REPORT_IN, so now you can hold a tire and walk in "Mad World".
2) Commented out "SendEventNumberOfCompletedPackets()", I intend to have wider tests on this, if **this revision** causes frequent wiimote de-sync, please report.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4647 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-05 20:01:48 +00:00
ayuanx 6a5a90b9db Fixed Issue 1697, this also makes usb_kbd enabled again.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4646 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-05 17:34:32 +00:00
hrydgard 0f0c77c299 minor code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4645 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-05 14:01:29 +00:00
hrydgard f0bba97070 Delete the misnamed GlobalControl.cpp/h, move the (ugly) projection hack code that was there into VertexShaderManager where it belongs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4644 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-05 13:56:23 +00:00
ayuanx 07cd58ebc0 Fixed the "usb_kbd is not able to run Close()" issue.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4639 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-04 12:13:39 +00:00
donkopunchstania e6d51e8ff4 Fixed 24 bit depth copies to RAM. 24 and 16 bit depth copies are now more accurate. Added an offset to DX copies to RAM and made half sized copies to a texture linearly filtered.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4635 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-02 04:17:18 +00:00
hrydgard 6e56ea80f7 Don't disable option dialogs at runtime.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4634 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-01 21:43:54 +00:00
Marko Pusljar aa2f2dc95c DSPLLE - cleaning, small fixes (2 shift opcodes are more correct now (lsr,asr) + some 0x3... opcodes are working better in case they are extended)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4633 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-01 20:38:42 +00:00
ayuanx 4d512ecba7 1. Fixed the unbearable noise in "Resident Evil: Umbrella Chronicles", "Resident Evil: Dark Chronicles", and many other games.
No need to use "Sound Loop Hack", so I just removed it.

2. Fixed the WAD game loading issue. What can I say, I have to go though and patch all the WII_IPC_HLE devices to take care of this.

3. Applied tomman's Linux keyboard patch, but I can't test here, no suitable environment.

4. Disabled configuration dialogs when game is running, you have to pause game first to be able to change any configuration. (Which prevents some accidental crash to happen.)

5. Other trivial fixes, no need to mention.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4632 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-01 15:39:37 +00:00
luisr142004 9e17ee5155 fix a linux wiimote compile error and apply some little changes to the dx plugin :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4631 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-30 03:48:59 +00:00
ayuanx 5ef159a971 Now WiiMote button mapping supports both Keyboard & Joypad, or even mixed, no need to bother Xpadder. :)
But I've only tested on Win32 SDL, don't know about Linux or 360pad.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4630 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-29 17:58:52 +00:00
nakeee 8eb821722f Unconsting an iterator passed to erase
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4629 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-29 17:10:57 +00:00
ayuanx 4ce110e841 Thanks to godisgovernment's sharp eyes, now the Reset() bug in WII_IPC_HLE is fixed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4628 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-29 06:14:28 +00:00
ayuanx ff23c02795 Now "Wiimote/Nunchunk Shake" on Keyboard works(for Win only).
Just press the "Shake" key.

The shake involves all the three axes: X, Y, Z.
So when you press the shake key, you are actually shaking not only up-down, left-right, and forward-backward at the same time.
I did this becuse different games may require different directional shake, no need to seperate them to 3 keys I think.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4624 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-28 18:00:07 +00:00
ayuanx 0f7b1a2f95 Added an option "Enable Loop Audio Hack" in DSP config.
I know hack is not good but before we find a better way to detect different games, at least this option allows some games to output normal sound without breaking other games.

Besides, this commit will hopefully fix the "Unknown device: /dev/usb/hid" issue, but not sure as I have no game to test on this issue.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4623 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-28 11:40:04 +00:00
luisr142004 60352d92eb Wiimote: reapply the Upright wiimote option
D3D: add the EFB Copy option to complete Rodolfo's commit plus add the Overlay FPS and the Disable Fog options
also change the config dialog's behaviour a bit

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4622 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-28 05:59:46 +00:00
ayuanx bf6f40efbf An attempt to fix Monster Hunter Tri, verification needed yet.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4620 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-27 20:48:54 +00:00
ayuanx ea732db998 Thanks to Wagnard28 and other lots of people's test, now this will hopefully solve the troubling regression problems between r4616 and r4617.
Sorry about such frequent commits in a short time

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4619 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-27 20:21:12 +00:00
Rodolfo Osvaldo Bogado 5e31f22e50 small code reorganization.
Now efb to ram display correctly but still is misaligned by one pixel
please test and give me feedback

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4618 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-27 19:42:27 +00:00
ayuanx f69184b887 This should fix the No Sound Problem in GC & Non-AX games.
Besides, this should also fix the WAD game loading issue.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4617 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-27 17:39:37 +00:00
ayuanx 155719dc36 Very small but very COOL fix.
This commit fixed the Hang-up in many games, like "New Super Mario Bros. Wii", "Resident Evil: The Darkside Chronicles", "Fatal Frame 4: Tsukihami no Kamen", "Muramasa: The Demon Blade", and etc. You name it. OH YEAH!

This little issue really cost me some *serious* debugging time, phew...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4616 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-27 15:07:52 +00:00
nakeee 3e49599a33 AlsaSound: Applied the fix from issue 1689 makes DSP better
thanks darumo


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4615 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-27 11:52:29 +00:00
ayuanx fddab016fa Fixed the save file path issue of r4613
Anyone encounters significant FPS drop (comparing to r4611 or earlier) please report 

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4614 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-26 17:50:14 +00:00
ayuanx 7a6241da81 OK, now all hardware devices are pre-created, so theoretically you can save/load state anytime anywhere, no need to wait for game title to show.
Besides this should boost the performance by a little.

Warning: Remember to set "Framelimit" to: Auto or 60, or else Emu Wiimote will lose sync in a second.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4613 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-26 09:50:50 +00:00
interdpth 7118900d3b My first proud commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4609 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-25 10:07:56 +00:00
ayuanx 29774c35e8 My first commit :)
Fixed more memory leaks when doing state load. Now all file devices(handles) are stored in state, and this will fix some crash after loading state.

Warning: Do NOT Save/Load state before game title is shown and controllable, or else you will get a corrupt state.

If you encounter "Emu WiiMote Desync" frequently, please report the condition
(PS: To recover from wiimote desync, just load a saved state)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4608 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-24 17:10:38 +00:00
Shawn Hoffman 6a46befc2a commit ayuanx's patch from issue 1634. Fixes quite a few IPC + IPC_HLE + IPC_HLE_USB + wiimote problems, see the issue for full details
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4606 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-24 05:03:47 +00:00
Rodolfo Osvaldo Bogado 55dc7efaa4 corrected viewport and scissor test behavior in both plugins.
some code cleanup in d3d.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4605 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-23 14:08:08 +00:00
Shawn Hoffman 37f1e1ca73 fix changing between interpreter and JIT not taking place instantly. Fix loading config needlessly twice on app init. Fixes issue 1682
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4604 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-23 08:43:14 +00:00
nakeee 67dee48b3e Moved XInitThreads to where it wont crash should solve issue 1540 (Thanks emuxperts for the fix)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4603 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-23 08:25:41 +00:00
Shawn Hoffman 66b80131d6 wxMenu objects are now deleted by wxwidgets - should fix a few GUI-related crashes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4602 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-23 08:05:54 +00:00
nakeee 354078def6 make wxpostevent into addpendingevent hoping to solve some thread issue on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4600 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-22 07:37:00 +00:00
Rodolfo Osvaldo Bogado 19d7bb2c84 big commit, implemented depth textures with hardware support in D3D, so now they will be correct as in opengl. please test a lot because i only tested the ati path, nvidia path is "Theoretical" :).
Also reimplemented screen clearing as a color quad to support alpha blending when clearing as in the original hardware.
the funny thing is how is implemented peeking, as locking depth textures is not supported, implemented peeking copying the values form the depth texture to a r32f render target and then reading back the data.
please a lot of testing to this commit.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4599 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-22 02:37:00 +00:00
Shawn Hoffman 7fa29f0b66 fix linux compile
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4598 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-21 21:03:30 +00:00
Shawn Hoffman 32c74c6481 cleanup wii usb keyboard a little - really needs to use inputcommon or something...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4597 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-21 10:25:27 +00:00
donkopunchstania 6e7395cef1 Try to do Z textures better. Z texturing does not work if early z or no z update. Corrected the Z texture bias used on 8 and 16 bit textures.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4596 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-21 02:49:46 +00:00
Rodolfo Osvaldo Bogado 802c112ad9 Well this commit has 2 parts:
first part if fixing, fixed, i thing, the flickering that everyone has reported, at least in my case i only have flickering in the one texture in one game and now is fixed. The other fix is not for an reported issue, is more a correctness fix, running dolphin with pix to review debug errors, result in a ton of warnings and error, now with this commit, at least for ati, there no more error or warnings, this means, correct management and state change, no accurate emulation, for this still a lot of work to do.
for this part of the commit please give me feedback and let me know of remaining issues

Te second part is the partial implementation of efb to ram copy in d3d, this won't brake anything because is commented but i commit this to ask for help from ector and donko in some errors remaining in the implementation related to differences between opengl an d3d.
if you want to test this you have to uncomment line 150 to 155 of bpstruct.cpp

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4594 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-20 18:46:30 +00:00
Sonicadvance1 3af4c50af1 Clean up Wiiuse to allow less _WIN32 defines. Windows side now spits out regular packets, and takes in regular packets. Like a normal OS should :} This shouldn't break Windows wiimote, Linux Wiimote doesn't work with this revision. Will require the new plugin which doesn't have emulated Wiimote at all.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4591 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-19 22:47:57 +00:00
Shawn Hoffman 651b5addf4 DiscIO.vcproj depends on zlib...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4590 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-19 03:12:14 +00:00
Rodolfo Osvaldo Bogado fe1a5142a7 a minor cleanup in xf registers, an some small bug fixes. please test and give me feedback
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4589 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-19 02:28:41 +00:00
Shawn Hoffman 73af91281a allow dumping of all symbols to a signature file
*hopefully* fix the memleak when scrubbing wii discs.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4588 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-18 21:11:05 +00:00
Shawn Hoffman 1a374ad62c fix a silly overflow error in DiscScrubber.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4587 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-18 19:16:59 +00:00
bztdlinux f796d4d747 STAND BACK - NEWLINE POLICE
gcc spams warnings when newlines are not at the end of files.
reason: http://gcc.gnu.org/ml/gcc/2001-07/msg01120.html


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4582 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-15 22:26:39 +00:00
donkopunchstania f992fc6949 EFB to RAM in OGL and software plugin now work correctly when texture in RAM is a different size than the source. Corrected some block heights in texture decoder to fix copying certain EFB formats.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4580 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-15 20:14:03 +00:00
luisr142004 14c3878543 reapply the changes from rev 4532 (without the resizing issues) and the changes from rev 4555 -- fixes issue 1660
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4578 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-15 07:46:43 +00:00
Rodolfo Osvaldo Bogado f8c2dcaa4e fix for re missing characters in both plugins, thanks to autoran for the testing. also modified depth efb copy behavior to work accordantly to this change.
in opengl  efb copy, set the destination texture format and not use argb always.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4575 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 23:15:09 +00:00
death2droid 6005f4155d Remove info window from Dolphin since most people do not use it or didn't even know it exists.
Plus many people think its useless :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4574 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 22:24:20 +00:00
Shawn Hoffman b531c3a04d build fix. now everthing is hunky-dorey mkay
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4571 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 17:58:51 +00:00
Shawn Hoffman 4622bd0c8b reapply changes from 4550-4551,4556-4559 correctly...sigh...some files were ignored by tortoisesvn, and myself :|
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4570 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 17:50:51 +00:00
Shawn Hoffman dc75095f99 re-apply dsp-related changes from r4533
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4569 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 17:45:35 +00:00
Shawn Hoffman 06aa62504c revert to r4531, but keep the changes from the following revisions: 4533,4550-4551,4556-4559
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4566 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 17:08:32 +00:00
death2droid ee57003ea9 Dolphin System information window: Added basic and untested linux os information check. And also moved the windows.h include down into the ifdef
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4563 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 13:00:29 +00:00
death2droid 2eff42f659 Forgot a tiny bit in last commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4562 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 08:55:50 +00:00
death2droid 2667a469fb Dolphin:
System Information(InfoWindow.cpp) - Added a method to check what Windows OS you are running(I do not know of a method to check what linux OS someone is using)
             and also added a extended version of the cpu_summarize.
Plugin manager - Temporarily fixed a problem that caused a crashing when pressing Stop reported in Issue 1656

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4561 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 08:53:16 +00:00
nakeee ba42d9aa58 DSPLLE moved DMA debuging to debug level (thanks ayuanx@163.com)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4558 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 13:47:12 +00:00
nakeee ecf667e755 DSPLLE: long due removal of exception and Zelda messages
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4557 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 13:33:17 +00:00
Rodolfo Osvaldo Bogado e56ca08b4f some minor changes preparing for future commits, and a correction to texture alignment that must solve the efb misalignments in various games
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4556 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 11:55:14 +00:00
Sonicadvance1 173c16ad41 Should fix a crash that was deleting a invalid pointer that happens when we unload plugins before freeing pads, if this causes problems anywhere, please tell me
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4553 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 09:04:17 +00:00
omegadox 00f2a30b71 Some AR Fixes, and speedup Patch Event so AR can apply Code increments faster than the game execution, this helps fixes Jump code in some games.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4551 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 01:26:26 +00:00
Shawn Hoffman f38aaca614 apply deathknight13579's other changes from issue 1630
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4550 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 01:19:43 +00:00
John Peterson d47e4827f7 Build (minor) > Fix to last commit, missing an ending " in some instances
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4546 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 23:10:36 +00:00
John Peterson 2de805da0a Build (minor) > Fixed target paths, had accidentally broken one of the configurations
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4545 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 22:51:28 +00:00
John Peterson 18450737be Gamepads (minor change) > Fixed it so it doesn't always check for new pads on startup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4543 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 21:14:41 +00:00
John Peterson 7a6eb0f350 GUI > Fixed the restart to debugging/non-debugging option, GetModuleFileName use the full path now, should not fail
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4541 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 19:50:45 +00:00
John Peterson 013a27b13b Externals > Fixed SDL include
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4538 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 19:26:25 +00:00
John Peterson 71506bc0f7 Wiimote and nJoy > Gamepad changes
1. Added LiveUpdates, while the configuration window is open nJoy and Wiimote will check for connected/disconnected pads
2. Removed the 'Nintendo RVL-CNT-01' device from the device list, and other SDL devices with no axes/buttons
3. Added SDL (from the current SVN) to get debugging information for SDL.dll
4. Added 'Upright Wiimote' option to emulated Wiimote options

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4534 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 18:57:35 +00:00
Marko Pusljar b858befba2 DSPLLE small mul fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4533 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 16:17:22 +00:00
luisr142004 1ba75a05d0 Fix some plugin communication with the video plugins (fixes Esc button) and apply an opengl equivalent of my first commit :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4532 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 07:18:31 +00:00
donkopunchstania dee90fa7aa The WGP does not loop if the write pointer is set beyond the end of the fifo. Updated the video plugins this time.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4531 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-12 01:51:40 +00:00
Sonicadvance1 ebc696c58e Fix GCC 4.5 Compiling. -fvisibility=hidden seems to break it, so it was removed. Non-POD objects are now errors instead of warnings in 4.5, so I had to remove the wxString::Format. and a Fix where GCC 4.5 introduced strndup. Compiling with nowx=true gave me linker problems for some reason, and I added the -flto flag but commented out. Dunno what it will do yet.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4530 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-11 11:07:04 +00:00
Shawn Hoffman e4ec0ba33b add deathknight13579's actionreplay fixes from issue 1630
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4529 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-11 06:18:37 +00:00
donkopunchstania 8d6aa79389 Revert WGP change. The previous change was correct, but the video plugins need to be updated.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4528 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-11 04:32:57 +00:00
donkopunchstania 52da977c73 Fixes to the software plugin command processor. Made it easy to use the command processor in place of the one in video common. Use frame skip setting from the application in the software plugin instead of the internal frame skipping config setting. The WGP does not loop if the write pointer is set beyond the end of the fifo.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4527 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-11 03:14:38 +00:00
Rodolfo Osvaldo Bogado c2a4e33313 Implemented secondary path for hardware with no multiples render target support, so please a lot of testing from people with problems in the last release.
corrected a little depth textures still broken but now at least i discover the reason, the ultra bad news for d3d lover is, the only correct way to implement depth textures will be do a firs depth only pass disabling blending. 
This is because blending is affecting the values stored in the depth texture, so to store the true values, blending mus be deactivated.
this will degrade performance but is the only "Correct" way in d3d 9. the other possibility is dx10 but that's a complete different story ;)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4526 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-10 12:45:03 +00:00
sl1nk3.s 07408d7625 Fix issue 1523, disable x64 path on Jit64::lXz causing issue 615, and revert the FPU change from r4441, as it's causing weird issues in SSBM
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4522 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 23:12:35 +00:00
nakeee 1c95100eb1 DSPLLE: moved breakpoint to debug to gain some speed
clrl fix from lordmark


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4521 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 21:37:38 +00:00
Rodolfo Osvaldo Bogado 0ac07e8aa8 Big Commit this will break a lot, fix a lot, but i thing is a good step:
Implemented all the correct format conversions in efb to texture copy.
replaced all the stretcrect calls with quad draws this must improve speed a bit.
A BIGGGGGGGGGG cleanup in the code and reorganization.
reimplemented zpeek using a secondary render target ( this still is buggy so many issues left)
please a lot off feedback.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4520 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 20:35:11 +00:00
Sonicadvance1 84c6135bfd Oops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4519 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 10:37:53 +00:00
Sonicadvance1 3fa2c9fbac Fix Linux compiling entirely
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4518 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 10:37:04 +00:00
luisr142004 6c88f9e652 disable the full screen button while no game has been loaded and move a change from rev 4492
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4517 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 09:13:42 +00:00
Sonicadvance1 3cf6a9e014 Some more fixes, not quite sure where const_iterator is defined at
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4516 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 09:07:24 +00:00
nakeee 60f142ce96 Begining of porting the luainteface to linux + some other small fixes.
(could use some help with lua macros)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4515 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 08:54:09 +00:00
XTra.KrazzY dcb9967e75 Lua is officially supported on Dolphin. (thanks for the linkage fix shuffle2!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4512 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 00:15:58 +00:00
XTra.KrazzY db372f0e32 Lua now has GUI and is fully functional! But it doesn't link if I don't ignore libcmt.lib so commented all the LuaInterface calls until someone fixes it...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4510 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-07 23:54:10 +00:00
nakeee 2bff17d9f5 missing include
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4508 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-07 22:27:58 +00:00
XTra.KrazzY a0129e51a3 LUAInterface should have all its functionality now (excluding input/controller management). Now we need a GUI to see how it works. Added new DSP function: ClearAudioBuffer, which clears the audio buffer for pausing. Currently it doesn't work with DSound.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4507 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-07 20:01:39 +00:00
hrydgard ebaad032eb forgot something
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4506 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-07 18:54:37 +00:00
hrydgard 2d0f714546 Rewrite memory management, _hopefully_ banishing "failed to map 1 gb contiguous memory" 32-bit Dolphin errors to history.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4505 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-07 18:53:10 +00:00
Shawn Hoffman 42cd2838a3 jit bcctrx and misc code cleanup. NES games launched from animal crossing work, but have major video problems...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4504 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-07 17:56:01 +00:00
XTra.KrazzY 5579a9169d LUA: Huge warning cleanup (no more warnings)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4503 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-06 22:15:06 +00:00
XTra.KrazzY 9f97b26332 LUA code is now portable. Now all that's left is the 20 more TODOs in there...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4502 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-06 21:52:36 +00:00
Marko Pusljar 10d7e1bf3e DSPLLE dissasm fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4501 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-06 13:28:03 +00:00
Shawn Hoffman 281636b79b Some cleanup of BBA code. No behavioral changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4500 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-06 06:43:01 +00:00
nakeee 7a0055e113 DSPLLE: made not into notc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4499 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-05 09:06:21 +00:00
Shawn Hoffman 8ad15321f2 Make the HLE'd OSPanic print out the associated message.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4498 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-05 07:05:33 +00:00
Marko Pusljar 0d7d699710 DSPLLE - small fix for previous commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4497 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-04 14:10:56 +00:00
Marko Pusljar 10fb287311 DSPLLE stuff - no real progress, mostly useful as a reference for HLE improvement, Pikmin 1 has sound in intro though (can't be sure if its ok, because its too slow)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4496 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-04 12:49:26 +00:00
nakeee 099b89d9e9 DSPLLE: some bad code clean up pointed out by lordmark
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4495 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-04 10:06:47 +00:00
sl1nk3.s 6c0c97cffe Fixed TLB games support for the iCache, games using the TLB Hack should now work as before (fixes issue 1218)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4492 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-01 01:24:30 +00:00
Rodolfo Osvaldo Bogado 78fa929c70 Some errors in the values passed to e pixel shader caused the menu error, no they are fixed, thanks to LordMark for help me with the testing.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4490 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-31 13:40:53 +00:00
Shawn Hoffman 2913d1fd9e Fix some wii IPC stuff:
/dev/fs: IOCTLV_GETUSAGE
/dev/es: IOCTL_ES_GETCONSUMPTION
IOCTL_ES_GETTITLECONTENTSCNT
IOCTL_ES_GETTITLECONTENTS
IOCTL_ES_SETUID

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4489 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-31 09:20:24 +00:00
Shawn Hoffman 1d666bf109 remove some newlines from FileUtil logs.
add ___blank to HLE'd debug logging.
add long long support to HLE_OS::GetStringVA
take care of those annoying sdio 0x40 and 0x41 commands...not that they do much in the first place...
some cleanup on the IPC net devices

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4488 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-31 09:17:37 +00:00
Shawn Hoffman b7bd9dc5d9 fix bug with ascii memview: make '\0' be ' ' instead of string end.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4487 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-31 09:12:31 +00:00
Rodolfo Osvaldo Bogado ec77ba3e99 fixed z textures, don't know where this is used but a fix is a fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4486 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-31 03:35:36 +00:00
Rodolfo Osvaldo Bogado 9a59619560 Extra small commit but ...
Fix Paper mario and any games that uses SETZSCALE or SETZOFFSET
c# is making me soft i don't see the cast error


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4485 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-30 22:28:59 +00:00
Rodolfo Osvaldo Bogado dd7f6f991f small code cleanup, and little fixing of errors introduced by mi in my first commit :(
fixed scissor test in direct 3d


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4480 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-30 04:14:43 +00:00
nakeee 9d57502f1a Init X multithread support on linux.
Should fix some linux crash issues


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4479 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-29 21:12:11 +00:00
Shawn Hoffman af921d56d0 fix silly typo in last commit that broke jit...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4478 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-29 05:59:34 +00:00
Shawn Hoffman 5b4d12c1f3 small code cleanup in JIT: use JITIL's nice JITDISABLE macro
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4477 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-29 04:40:26 +00:00
Shawn Hoffman 31e61da40d fix Jit64::fmrx (well, fixes soul calibur 2 SPS at least) cottonvibes wrote this :)
fmrx can do some different behavior depending on the current mode of the fpr, but we *seem* to not have a problem ignoring this behavior...
add a tiny comment to the PECopy register - some sources call the half_scale bit "mipmap"

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4476 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-29 04:01:31 +00:00
Rodolfo Osvaldo Bogado 7602f7ab3e rewrite the tev stages generator to make it more hardware like, thanks to godisgovernment for he documentation. Also make it faster using lockup tables.
thinking going to get a lot of -1 for this one but is the only for of really test it.
hope this fix something and don't break to much ;)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4475 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-29 03:28:38 +00:00
hrydgard 2a99dfb261 tiny change: get rid of a couple of uses of "long". better to use int or the explicitly sized typedefs. possibly really minor speedup of zelda ucode audio on linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4474 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-28 22:51:00 +00:00
Rodolfo Osvaldo Bogado a31eb24955 small commit,but should fix 2 big issues:
* clear and flicker problem in d3d, backbuffer clearing was commented out, (if this was on right let me know and I'll revert).
* alpha problem introduced by my modifications to the tev, must been sleeping when i wrote that code, should be fixed now.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4471 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-28 02:00:13 +00:00
Rodolfo Osvaldo Bogado 08b2686d90 as sl1nk3.s say make the updates directly to the viewport and let the scale fixed in 2^24.
please test specially in paper mario and Killer 7 that where games where supposedly this was used.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4470 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-26 02:38:23 +00:00
Rodolfo Osvaldo Bogado 0511d6e185 some work on zscale and zoffset, don't know if this is correct but at least it seem to fix one or two games.
thanks a lot to chaoscode he make possible to test this on nvidia. please test this a lot and give me feedback :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4468 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-25 23:10:30 +00:00
nakeee 1adc944115 compile fix(linux)?\024
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4467 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-25 16:38:06 +00:00
Shawn Hoffman 04a0e630db little fix to __write_console logging, the char* is in r4, not r3, heh
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4466 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-25 03:26:39 +00:00
Rodolfo Osvaldo Bogado 227d363881 small code clean up:
d3d: remove the depth texture path it will not work so for now only lockable textures were available. i thing the only way will be a use a secondary render target and do a depth pass to mimic depth textures.
opengl: minor cleanup here and there and a possible fix to issue 1509, but not tested because in my system the errors remarked in the issue don't show.
commond: code reorganization an optimization in the pixel shader  generator, trying to understand the tev stages, make some changes to make the generator faster (not much only started for the alpha test and fog).
this changes try start solving the diferences bethen the hardware plugins and the soft plugin.
i hope with i don't brake nothing but please test this a lot.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4465 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-25 02:35:21 +00:00
Shawn Hoffman 7bff609ad8 clean up HLE funcs for debug logging a little, add "__write_console", gives some interesting messages in wii sysmenu
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4464 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-25 02:10:23 +00:00
Shawn Hoffman 73fda8cfbf Fix a possible crash on close due to INANDContentLoader objects getting deleted twice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4463 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-25 02:03:45 +00:00
sl1nk3.s 1ce145e86e Sorry, r4459 stole the GUI keyboard input (damn thief ! D:), this also fix issue 1556.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4462 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-24 21:31:28 +00:00
nakeee 02527b21ff lp's fix for bundle name
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4461 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-24 20:29:52 +00:00
Shawn Hoffman 5123ece26a fix some warnings, compile Plugin_VideoSoftware against the plain multithreaded version of libc instead of the MT DLL version.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4460 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-24 01:00:45 +00:00
sl1nk3.s 9154424841 Fix a small misspell in OGL config, Fix the toggle fullscreen button when rendering to separate window + a weird issue related to rendering to main.
Code cleanup in nJoy i had around for a while, it also adds code to support SDL 1.3's force feedback API and is more stable (will not crash anymore on stop when rumble is enabled)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4459 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-24 00:18:21 +00:00
XTra.KrazzY bf4ae6aaa0 Fixed AR codes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4458 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-23 21:47:53 +00:00
tmator f432250893 CoreAudio for osx : replace all deprecated functions, now it not block dolphin, but it not work, i'm not a sound specialist
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4457 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-23 17:10:27 +00:00
Shawn Hoffman 78c7c08daf git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4456 8ced0084-cf51-0410-be5f-012b33b47a6e 2009-10-23 15:30:35 +00:00
Shawn Hoffman ac157105c5 small code cleanup: rename "dual core" stuff to CPUThread, bOnThread, etc.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4455 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-23 15:26:35 +00:00
Shawn Hoffman d538a09942 Change UseDualCore to true by default, by demand :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4454 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-23 14:23:09 +00:00
Shawn Hoffman 520a2a68ac Change some default settings:
Core:
bLockThreads = false
m_EXIDevice[2] = EXIDEVICE_NONE
Video:
bKeepAR43 = true
iMaxAnisotropy = 1
bCopyEFBToRAM = true
Trying to find good high compatibility settings for default setup.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4453 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-23 05:48:54 +00:00
sl1nk3.s 833341696b Fix issue 1549, issue 1400, a crash when pressing reset while no game were running and better fix for issue 1556
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4451 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-22 19:13:22 +00:00
Shawn Hoffman 5e3fdf5067 add timing of the OpenCL compile functions...they're really slow here, almost 20seconds total...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4449 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-22 03:53:47 +00:00
Orphis 7a2bad4efb OpenCL: Fixed and enabled CMPR decompression
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4448 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-22 01:42:21 +00:00
Shawn Hoffman 500497ec2d Use the SIPoll register to determine how frequent to poll SI
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4447 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-21 05:24:45 +00:00
Shawn Hoffman d33295a9c4 HLE the ___blank(char*, ...) func. seems to show some interesting, but limited messages.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4446 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-21 04:26:34 +00:00
Shawn Hoffman 68ea37f2fb make SystemTimers's DSP_PERIOD setting be dependent on which dsp plugin you are using. Too ugly to do it this way -> revert :)
Put PatchEngine into it's own event.
Also, why is DSP_PERIOD 12000, and the value sent to DSP_Update() is 12000/6??
Shouldn't it be GetTicksPerSecond()/6 (=81MHz or 121MHz) ?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4445 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-21 04:24:36 +00:00
Shawn Hoffman 224009ee3e fix small typo in DI that could cause asserts at the wrong time
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4444 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-21 04:06:13 +00:00
LPFaint99 767818bcb2 update OpenCL.rules to work on paths that include spaces
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4443 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-21 01:00:27 +00:00
sl1nk3.s 4c3e405c47 Revert the the Fifo changes from r3984 (Pokemon XD still somewhat works) this should fix hangs/desyncs in a couple of games (burnout, metroid, spyro, soulcalibur, nightfire...) see issue 1524
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4442 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-21 00:01:07 +00:00
sl1nk3.s c600926710 Trying a fix to floating point single (issue 1556), Sonic Unleashed now have correct projections, also re-enabled color buffer clear on OpenGL plugin (was causing flickering in fullscreen and garbage on sides...)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4441 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-20 23:09:44 +00:00
Shawn Hoffman d40ce3f1e5 fix compiling if opencl is not enabled at compile time
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4440 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-20 02:11:50 +00:00
Orphis 094c73a080 OpenCL: Moved the OpenCL code from the compiled source to a separate file TextureDecoder.cl and added a .rules files to copy the updated version to the build directory.
Fixed RGB5A3 decoding with alpha
New CMPR decoding, blocks with no alpha are great, still have to figure the problems with transparent blocks. Disabled for now.
Added a better error reporting to the base OpenCL functions

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4439 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-20 00:55:07 +00:00
nakeee e81d25562d Linux compile fix (shuffle please review..)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4438 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-19 18:28:47 +00:00
Shawn Hoffman 93b83f8d65 Add tmbinc's patch for triforce emulation.
This adds triforce-specific SI and EXI devices, as well as changes DI behavior when in triforce mode. (Selecting both AM devices from main config will force the DI into triforce mode)
Also fixes up a few EXI bugs dealing with interrupts and the like (memcard insertion should work well now, and maybe BBA can progress farther :> )
Also adds real "null" EXI devices, so software won't think the dummy device is some strange unknown device anymore.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4437 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-19 15:14:48 +00:00
Shawn Hoffman f5f0823867 apply patches in the gamecube's bs2 hle, good for things that need to have patches applied very early.
misc cleanup

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4436 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-19 15:09:22 +00:00
Shawn Hoffman 1bf3c00683 add MSR to RegisterView and throw in some missing break;s (thanks lpfaint :p)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4432 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-17 07:17:49 +00:00
omegadox c741ddd082 Make ActionReplay update codes safely, should prevent crashes when applying code changes to fast.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4431 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-17 00:32:22 +00:00
Shawn Hoffman bedc0b039e allow editing of ppc registers through debugger(all the exposed ones, except the interrupt mask/cause...)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4430 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-17 00:10:22 +00:00
nakeee 5834fa6710 Pulse audio empty struct implementation. Working on it though
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4428 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-15 17:28:23 +00:00
Shawn Hoffman a05fbd8525 change stack shown in ppc debugger to show LR as the last item, as well as make all values point to where the code path came from, instead of the raw stack (where it will return to)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4427 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-15 15:43:51 +00:00
nakeee 8e44891b3a Audio: alsa is now default on linux, scons switch openal off by default (openal=yes to enabled)
minor clean up in audio config code


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4426 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-15 06:50:04 +00:00
Shawn Hoffman cecac2f087 re-arrange the gc bs2 hle to be a little more intuitive...to me. add some values from yagcd
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4425 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-15 04:08:46 +00:00
Shawn Hoffman feea7ebed5 Turns out that if one fails to use pkg-config to configure alsa, some other ancient library gets linked in or something. - TD-Linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4424 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-15 02:04:27 +00:00
XTra.KrazzY 540f59ef07 OpenCL: More formats (thanks, orphis) RGBA8, RGB565, RGB5A3. Optimized the buffer creation. There is a visible performance boost.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4422 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-14 22:28:23 +00:00
nakeee 9f8a2986a2 Videocommon: setlocale for shader compilation, should fix problem with runaway , in certain locales.
Please test issues 1533 and 1496


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4418 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-14 01:58:39 +00:00
XTra.KrazzY fb60b10c7b OpenCL: Implemented I4 and corrected IA8 (huge thanks to Orphis for fixes, implementation and optimization)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4417 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-13 21:51:27 +00:00
omegadox 80f3c5f638 Small changes to config window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4414 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-13 04:45:11 +00:00
Shawn Hoffman 34e887527c fix some diff-fail :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4409 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-12 16:24:24 +00:00
Shawn Hoffman 7e621119b2 add "view as" to the memory view, so we can see ascii interpretation as well as floating points
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4408 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-12 16:20:31 +00:00
Sonicadvance1 ab8d182c37 Fix Linux compiling/Running
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4406 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-12 00:01:29 +00:00
Shawn Hoffman a6dbb1b6df fix typos in /dev/di...note the comment, on real hw i'm pretty sure there is a 0x4 flag set...things running in dolphin don't like this, though
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4405 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 22:47:21 +00:00
Shawn Hoffman 97b2f4c1ac log more writes to exi mask rom, i honestly forget what i saw using this, but here it is...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4404 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 22:46:01 +00:00
Shawn Hoffman 2cfbd4327f just some misc cleanup that's been setting around
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4403 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 22:44:58 +00:00
XTra.KrazzY 9da9346274 OpenCL: Kernels are now more general...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4402 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 22:21:36 +00:00
XTra.KrazzY fc1c77b60d OpenCL: Set up ground for more texture formats. Implemented the IA8 format (still buggy, no transparency)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4401 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 21:14:02 +00:00
Shawn Hoffman eeb9e7770e Credit segher for reversing the bootrom keystream generator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4400 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 20:57:50 +00:00
XTra.KrazzY 449abdb01d OpenCL: Solved the IA4 case (some byteswapping was necessary, hope there's a vectorized function for that). Some \n fixing I guess
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4399 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 20:03:55 +00:00
Shawn Hoffman 6a537dd095 remove some files that haven't been committed yet from the vcproj file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4398 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 18:11:21 +00:00
Shawn Hoffman c2356445c8 fix small redundancy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4397 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 16:21:33 +00:00
Shawn Hoffman 9c6bf6c535 increase the range of scanfuntions (ppc debugger)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4396 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 16:17:08 +00:00
Shawn Hoffman 480b648ed5 change references to this strange "bios" thing to BS2 internally, IPL for gui stuff (figured it's easier...) :)
dolphin loads unmodified bootrom dumps now, instead of pre-descrambled ones.
-should we allow loading pre-descrambled dumps still?
yes, segher is a supercomputer!
also make it so we only display the "failed to load fonts" message when they are accessed, like bushing suggested

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4395 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 16:16:18 +00:00
Shawn Hoffman 92b0d620b9 Allow dumping of dol files from gc discs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4394 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-11 16:06:02 +00:00
donkopunchstania 9701b88be1 Fix JITIL build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4392 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-10 22:05:28 +00:00
donkopunchstania 56214e9103 Moving pixel engine and command processor from core to video common. This will break previous save states. Adds decoding single pixels to texture decoder.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4391 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-10 21:19:39 +00:00
hrydgard f2e959fc6e CompressedBlob - add a missing delete. saw this while briefly looking at the weird issue 1196
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4388 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-08 22:22:13 +00:00
hrydgard 8af6280af2 Fix saving of the new d3d efb access option.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4385 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-08 21:59:40 +00:00
XTra.KrazzY 04c13d5560 oops...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4383 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 22:53:20 +00:00
XTra.KrazzY e6f20f07f5 OpenCL: Vectorized I8 texture decoding and added a (too intense?) IA4 decoding method.
Not sure what's wrong with IA4 there...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4382 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 22:51:32 +00:00
XTra.KrazzY f52851ab9f OpenCL: Texture decoding is now two dimensional
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4381 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 21:51:40 +00:00
XTra.KrazzY 98db1a0ca3 OpenCL: More windows support and some unfinished work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4380 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 21:30:36 +00:00
Sonicadvance1 5523f28b51 Better TF_I8 decoding via OCL. Can still get way better though. Seems XFB speed boost was a fluke
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4379 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 21:10:39 +00:00
hrydgard 9c45ac7e35 EFB Reads are so slow in D3D that I think we need an option for it. Here it is.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4378 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 19:54:56 +00:00
LinesPrower da0830ca69 More JIT bugfixing. How could I overlook this?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4375 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 18:27:51 +00:00
tmator f768ae5586 wx 2.9 works in 64bit with snow leopard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4374 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 10:13:20 +00:00
LinesPrower b920ade474 Fixed a nasty bug in the JIT. This should fix some JIT (and JITIL) crashes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4373 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 08:50:40 +00:00
Sonicadvance1 16c6ec6e7e Woops, that is why getting work group size failed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4372 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 07:44:35 +00:00
Sonicadvance1 059970e971 Fix XFB converting, silly mistake. Disable Texture converting ATM since it fails. And if can't read work group size, fall to 64, which is what my 8600GTS does. Tested XFB in Melee intro, got around 10FPS faster tPS faster then with CPU side
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4371 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 04:00:29 +00:00
Sonicadvance1 dde693afb8 Fix a few things I missed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4370 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 03:11:52 +00:00
Sonicadvance1 0146f3f58f More OpenCL work, got XFB converting which needs more optimization. I haven't checked for FPS changes. My desktop isn't the best to test on anyway (Phenom 1, 32 stream processors). The package check doesn't work for me, so I just checked true if you compile with opencl=true. Requires a bit of cleanup still
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4369 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 02:48:21 +00:00
Shawn Hoffman f474788e01 remove some "debug" stuff left in there from last commit...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4368 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-06 23:14:21 +00:00
Shawn Hoffman 53de453958 correct some register initializations in IPL HLE. (Just setup global pointers so apploaders don't complain)
I only know that it makes Luigi's Mansion's apploader stop complaining, and didn't break any games I tested. :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4367 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-06 23:11:39 +00:00
Shawn Hoffman 4c22bea4d4 Add ability to use Reset (reset button interrupt, still figuring out the other reset modes)
Add support for button combos that are built-in to controllers:
y+x+start for three seconds updates the origin
b+x+start for three seconds resets
Changed CPeripheralInterface to a namespace and renamed to ProcessorInterface

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4366 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-06 15:49:20 +00:00
Rodolfo Osvaldo Bogado 19b8e6bc08 Sps fixed in all the games tested, code cleanup and reordering
implemented buffer format fall back to allow hardware that don't support lockable formats to run the games with Z peeking disabled, applied as well the patch suggested in issue 1494 please give heavy test to this commit

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4365 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-06 14:24:10 +00:00
XTra.KrazzY 58df543e6a Lua: Basic groundwork. Needs a lot more.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4364 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-05 22:59:11 +00:00
Shawn Hoffman 89a1677365 fix windows compile
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4363 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-05 07:38:03 +00:00
nakeee 188e3b9172 Trying to get gui to compile with wx 2.9
Shouldn't affect normal compile.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4362 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-05 07:31:38 +00:00
LinesPrower 06e79364b0 oops, another one. sorry
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4361 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-04 10:46:54 +00:00
LinesPrower 08d87d5b7f Removed some debug code I'd left accidentally
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4360 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-04 10:42:14 +00:00
LinesPrower d52f0fc915 ExRAM iCache support in JIT IL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4359 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-04 08:19:51 +00:00
LinesPrower 26a60eb9bf Added the ExRAM support to the iCache (only JIT and Interpreter for now, JIT IL fix will be a bit later)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4358 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-04 05:13:56 +00:00
LinesPrower b843378636 Lots of work on JIT (Implemented "unlimited instruction cache" CPU emulation. Works in JIT and JIT IL). Implemented correct PowerPC instruction cache (IC) emulation in the interpreter mode (including HID0 cache management stuff). Removed the "dcbi->dcbf" hack (again... this time it shouldn't break anything ;) )
Fixes issue 917. Fixes issue 1183. Fixes issue 1190. (those are really need to be verified)
Maybe fixes something else. Maybe breaks something. I can't test everything, so please report if you find out something.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4357 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-03 12:29:27 +00:00
Rodolfo Osvaldo Bogado 9d67518f71 I hope you all like this. Changes:
Opengl:
Reorder the rendering path to make it more generic, and a little bit faster i think.
Reduce the index Buffer size to make it more Friendly to older video hardware.
get rid of the remaining annoying sps (I hope).
D3D:
Implement the same path as opengl to make the plugins more similar and maintainable.
Fixed Peek_Z this means, Pushing stars in SMG Now Works.
Please give heavy testing to this changes and compare the performance with the old path.
Thanks to hrydgard for let me participate :).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4353 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-02 14:03:07 +00:00
Marko Pusljar f099ea7be4 DSPSPY improvements
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4352 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-01 15:12:12 +00:00
XTra.KrazzY c6f0335b62 OpenCL: More work on centralization (need SCons reflection)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4351 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-30 21:01:34 +00:00
XTra.KrazzY 4499444a86 OpenGL and OpenCL are NOT related! (Committed here are some scons fixes)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4349 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-30 12:58:02 +00:00
nakeee ffe12ec752 OpenCL: added opencl=true option to scons and fixed the case on the way.
Add ifdef for osx ocl include.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4348 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-30 06:49:08 +00:00
XTra.KrazzY aa1fd81e37 OpenCL: A bit more work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4347 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-30 00:39:32 +00:00
Sonicadvance1 fb258e3ca5 Base of OpenCL code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4346 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-30 00:28:27 +00:00
omegadox 076e727376 Some warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4345 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-29 22:32:53 +00:00
hrydgard e6b30e574e Let's try rodolfo's fix of 4322
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4343 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-29 18:27:41 +00:00
Marko Pusljar 4d5eba2ec9 just a small fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4342 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-29 18:10:54 +00:00
nakeee 6d395d3ab0 Linux COmpile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4341 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-29 13:51:59 +00:00
Marko Pusljar d1f0294053 DSPLLE + 2 small fixes, many GC AX games are almost perfect (sound wise, ex. Super Monkey Ball 1/2), if PC is fast enough (3GHz C2D+), Zelda type games too slow to be testable
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4340 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-28 16:39:29 +00:00
LinesPrower 0032d2746f Revert removing of the "dcbz->dcbf" hack
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4338 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-28 03:39:14 +00:00
sl1nk3.s 56b8b6493c Debugger : fixed Breakpoint "toolbar", re-enabled a couple of host messages for dialog updates and other stuff, breakpoints in memory view are now memory checks instead of PPC breakpoints
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4337 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-27 21:28:09 +00:00
LinesPrower b4e12ad5c9 Some improvements of FP and DMA
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4334 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-27 14:19:38 +00:00
hrydgard e102fdaac3 r4322 commented out an important Flush() call - restore that.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4323 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-26 21:00:04 +00:00
hrydgard 29808cdde2 OpenGL: commit rodolfoosvaldobogado's (what a name!) speedup patches.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4322 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-26 12:39:12 +00:00
sl1nk3.s d2f4183a6b Some GUI changes, added keyboard search and reworked "emulation state" a bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4320 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-25 16:29:00 +00:00
nakeee bb9d5197ce Pngs of stars for game rating (thanks slink)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4319 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-25 14:25:59 +00:00
LinesPrower 704bf66660 Things I forgot about in r4314
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4318 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-25 03:47:10 +00:00
Sonicadvance1 804b9e99f8 Add CoreAudio Backend, still needs a bit of work. Will cleanup AudioCommon.cpp, and finish off CoreAudioStream.cpp if I ever get running games working in Snow Leopard. Interpreter seems to run in to a spinlock, dunno why yet, and Jit just crashes out. Core problems is probably something I won't be able to fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4316 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-24 21:35:06 +00:00
nakeee 578fc8d54a Fix compile on linux
and add png version of the flag and platform xpms


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4315 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-24 21:00:24 +00:00
LinesPrower 7d74e55109 Lots of work on improving the floating point emulation. Note that most changes affect only the interpreter mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4314 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-24 17:43:46 +00:00
Shawn Hoffman 8c5285eddf fix some path issues on OSX, also libao for osx only supports 44.1kHz...awesome...who calls writing the CoreAudio backend so we can kill libao? :D
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4311 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-21 20:28:17 +00:00
Marcus Wanners 10962d5e10 The last //////// lines are now gone! There will be no more in future.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4309 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-21 19:22:44 +00:00
hrydgard 7a8f6bdd6d D3D various: "Safe texture cache" option, texture replace instead of destroy/create when possible, a commented out "optimization" that didn't speed things up (use DrawPrimitive instead of DrawIndexedPrimitive when possible), reduce code duplication in Flush(), don't periodically clean out the shader caches since it's not really beneficial - shaders are cheap to keep. some code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4302 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-19 13:14:55 +00:00
hrydgard dae1a68bfc D3D: minor vs constant-setting optimization, remove a stupid memcpy that doesn't do anything, don't see much benefit though :/ At least the PIX logs will be cleaner.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4301 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-19 10:46:25 +00:00
Sonicadvance1 ced92d8544 Fix compiling in Snow Leopard, the Update stuff in the Video plugin shouldn't be in the GUI since it breaks nowx builds, wasn't sure where to put it, but Render.cpp seemed like the best place. Fixed wiiuse.c, and the SConscripts needed updating for Snow Leopard. Building 32bit in Snow Leopard is apparently broken. and Running 64bit in Snow Leopard seems to fail. Haven't tracked this down yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4299 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18 19:56:49 +00:00
LPFaint99 8beeaff896 WIIMENU:move call to filemon to verify that std::string(null) is not called
fixes issue 1421.
D3D: fullscreen use 640x480 if ini setting is invalid
Externals/Memcard Manager: fix build since change to lib files for wx

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4290 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 05:57:38 +00:00
rice1964 7f2d4fc2c8 FPU: some fixes about NaN, SNaN, QNan in related opcodes, according to the CPU manual. Ector, please double check. I don't see any side effects yet.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4288 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 04:05:14 +00:00
XTra.KrazzY a8270d50ee Tiny shader syntax fix that was here for a while now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4285 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-16 06:33:05 +00:00
rice1964 ce029df144 FPU: not need to check NaN, slightly faster. The fcmpo opcode is used a lot, really need to be much faster than it is now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4284 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-16 06:07:36 +00:00
hrydgard 20922cf3f0 D3D: More reset fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4282 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 21:49:15 +00:00
sl1nk3.s c71f76834e GUI : Added possibility to move the logwindow around in non-debugger mode, fix toolbar size issue, fix changing themes (again...) and added abort button to extract all as well as misc changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4281 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 21:35:32 +00:00
hrydgard dc4f712f74 D3D: Save some video RAM by turning off the "default" Z buffer (we create our own). probably doesn't matter on most video cards..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4277 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 19:53:22 +00:00
hrydgard e6b87febe5 Save states: Stabilize loads (no more LZO crashes, hopefully), make sure we don't crash if user loads state too quickly in succession
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4276 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 18:54:10 +00:00
nakeee 1619433ae7 DSP: added automatic alsa test.
Should fix issue 1403


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4274 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 10:47:19 +00:00
LPFaint99 ca7a5b36dc only load gameini settings if they exist
change D3D to use char[] for resolution settings in ini
warning fixes for FrameAui.cpp

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4273 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 08:13:45 +00:00
nakeee b7d6259405 Videcommon: removed double settings (how did full/window res work so
far?)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4272 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 06:14:45 +00:00
Shawn Hoffman 9f0ff64398 Fixes issue 1356.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4271 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 05:38:49 +00:00
Shawn Hoffman 65b6b15c6e normalize wiimote logging: no more crazy newlines, plugin logs to...wiimote plugin log, ipc wiimote stuff logs to...WII_IPC_WIIMOTE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4270 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 02:12:55 +00:00
Shawn Hoffman f08c482cc9 update SConscript for last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4269 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-14 06:44:11 +00:00
Shawn Hoffman aff34e6789 revamp handling of wii sysconf. it's in Common lib so that plugins can (possibly) utilize it if they like
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4268 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-14 06:26:49 +00:00
Shawn Hoffman a08c801256 psyjoe's patch to shader compilation. ector/some "shader person" check this please :) looks reasonable to me though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4267 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-14 06:25:00 +00:00
sl1nk3.s e76d2a1a4c Various fixes for ISOProperties's filesystem viewer, bugfix for empty folders not being empty thanks to j4ck.fr0st (issue 702), also added icons and fixed dumping all files from a wii game.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4266 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 22:03:18 +00:00
hrydgard c7431401be D3D: Fix 8-bit signed normals. Fixes lighting problems in Super Smash Bros Melee. misc tiny things
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4265 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 21:18:04 +00:00
hrydgard a7c70ddb66 D3D: Eliminate black borders, add 4:3 and 16:9 settings, and the widescreen hack. Unfortunately this temporarily breaks MSAA (in d3d only) until I have time to fix it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4263 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 17:46:33 +00:00
hrydgard 73d2b3e968 more uninteresting cleanup, fixed a minor race condition when toggling efb copy mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4261 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 10:18:01 +00:00
hrydgard 2d93c654f0 Rename Config.cpp/h to VideoConfig.cpp/h.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4260 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 09:23:30 +00:00
LPFaint99 be702ce750 patch by Daco for extracting directory contents from a gcm (which also allows dumping an entire partion other than 0 from a wii disc)
plus a small fix for File::GetSize log

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4258 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 09:03:38 +00:00
hrydgard 512053fa5e Kill some horribly ugly hackery :( It's just not right to pass entire IniFile objects across DLLs. Only POD (plain-old-data, like int, float, char, char[] etc) are safe to pass across DLL boundaries.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4257 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 08:54:46 +00:00
hrydgard 700f2ff694 Lots of code and warning cleanup. OGL/D3D: Moved to a shared config class in VideoCommon. This lets VideoCommon code read the config without ugly hacks. Fixed various config race conditions by keeping a copy (g_ActiveConfig) of the g_Config struct which is updated once per frame.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4256 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 08:21:35 +00:00
hrydgard 52ea8a0fd1 D3D supports setting multiple shader constants at once, so let's add support for that. Very tiny speedup. Also remove the annoying black window in the background when configuring D3D before starting a game. Also make sure to write all values when converting normals - might help the cpu's write gather cache.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4255 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-12 15:00:08 +00:00
LPFaint99 e31cc7d1fe Experimental support for dumping all files from a gcm
supports partition 0 on wii discs (disabled) and will fail on dir structures that are too deep
no progress bar yet, so it looks like dolphin does not respond while dumping

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4254 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-12 09:09:47 +00:00
LPFaint99 674334f53e fix loading wads on both windows (FileMonitor.cpp) and linux/mac (std::transform toupper not sure why it was there :/)
fixes issue 1388.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4253 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-11 06:55:43 +00:00
rice1964 e1a0f8884a D3D: Projection hack feature. Have also moved related functions and constant definitions from OGL to VideoCommon, will clean up the code better if it works for D3D.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4252 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-11 05:50:02 +00:00
rice1964 c046c27815 D3D: Minor bug fix and some code cleanup for DirectX API call reduction.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4244 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-10 03:36:32 +00:00
death2droid b3194e596e Fix win32 build and remove a warning from sln.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4243 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09 23:19:24 +00:00
hrydgard 77eb45cb24 hopefully unbreak win32 build. yeah, this was sloppy of me :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4242 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09 22:56:23 +00:00
hrydgard 987a6185e6 Linux: Alsa backend for the audio plugins. Didn't succeed in reducing latency though, but hopefully will work better than libao - shouldn't hang weirdly at underruns, I hope, like libao does.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4240 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09 21:26:33 +00:00
hrydgard 69535bef92 IPC_HLE_Device_es: Change some asserts to WARN_LOGs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4235 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-08 21:23:25 +00:00
hrydgard 0a576c7508 Linux: Tons of warning cleanup plus workaround a nasty crash problem in StatusBarMessage.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4234 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-08 21:16:05 +00:00
hrydgard e3d505c631 Build fix for linux (don't want to require the very latest wxWidgets).
Very minor cleanup.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4233 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-08 19:54:31 +00:00
Shawn Hoffman 3b76f6dc80 get rid of the '¯' chars in source code...non ascii chars are not really good to have floating around for no reason. http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Non-ASCII_Characters#Non-ASCII_Characters
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4231 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-08 16:07:13 +00:00
nakeee c8ef2fe798 Removed the overflow from the toolbars
Commented out the restart in the file menu until someone fix it
If someone knows how to get rid of the ugly hack please say so,
from what I saw in wxw it's some bug of them.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4229 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-08 08:47:33 +00:00
nakeee a9c9e9fa46 GUI make logwindow into a panel TODO: figure out how to make it
floatable


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4228 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07 21:37:27 +00:00
nakeee 5a99432f1b GUI: make some elements such as memory jit and breakpoint windows into
wxpanels. It should now work in linux as well. I had to remove the bar 
off the breakpoint panel though, so we need to decide what to do with 
it.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4227 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07 20:51:02 +00:00
John Peterson 24d68da653 GUI/OpenGL: Video debugging window crash fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4225 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07 13:33:40 +00:00
John Peterson 7e115dcb00 GUI: Fixed some GUI related start/stop crashes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4223 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07 12:40:43 +00:00
nakeee 49601e0af2 DSPLLE added carry and overflow now we (lordmark) should add them in
the right ops ;) 


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4222 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07 10:46:22 +00:00
John Peterson 735c560f00 GUI: Typos
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4217 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 18:54:20 +00:00
John Peterson 0f794fe9cc GUI: Save floating setting, float console window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4216 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 18:45:22 +00:00
rice1964 aef1f943f3 D3D viewport fix to get rid of the black borders. Seems to work fine in Window mode, not working yet for full screen mode.
Also a minor fix for the command line switches to specify pad and wiimote plugins.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4215 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 17:47:48 +00:00
John Peterson 21e0bad21e DiscIO: Augment the filemon to not slow down ISO properties for GC games
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4214 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 16:06:49 +00:00
John Peterson f8e80a317e OpenGL: Added fog and lighting to the OSD menu. GUI: Removed old and removed Gfx setting from ISOProperties.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4213 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 15:39:06 +00:00
John Peterson 1320e21ded OpenGL: OSD menu live resolution change fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4212 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 15:11:21 +00:00
John Peterson a3345ea942 GUI: Fixed a double keydown event in the main frame, the double click in the video window (didn't know about CS_DBLCLKS)
OpenGL: Fixed the live resolution setting

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4211 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 13:36:05 +00:00
death2droid 49e849dc94 NETPLAY: Fix netplay joining only problem now is that the chat is kind of dodgy.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4210 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 11:35:01 +00:00
death2droid 5fbeb7927b NETPLAY:Disable the Close button and add two buttons in the Connect and host screen to exit the window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4209 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 10:13:32 +00:00
rice1964 c30ed92e75 Add some command line options to directly specify plugins. You can use "dolphin /V Plugins/Plugin_Video???.dll" in the command line to start Dolphin with the ??? plugin. This can be done also for other plugins. There are a couple of reasons to do so. For example, Dolphin compiled in DEBUG would often crash if loaded with non-DEBUG plugins. Therefore, you may want use to DEBUG plugins when running the DEBUG dolphin by giving all the command switches.
Also add some code to show the version of the plugin in the plugin configuration window title, so we can see clearly which version of the plugin we are using.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4208 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 02:55:14 +00:00
death2droid 8b2d991be4 NETPLAY:Changed it so if your set to ready the disconnect button is greyed out if your host the change game button is also greyed out.
OTHER:Some other misc ///////////'s clean up.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4207 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 01:40:44 +00:00
death2droid eb9f6cd7a1 NETPLAY:Changed chat sending so it will only send a message if the message size is greater then 0.
OGL:Added a tool tip for the wide screen hack tho its probably wrong
OTHER: Just some clean up of the ///////////////////////////////////'s

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4206 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 00:11:16 +00:00
John Peterson 0f58b17c71 GUI: Float notebook pages, unfinished (will save setting and other the other windows)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4204 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-05 04:50:45 +00:00
hrydgard 6f5abbdfa3 r4195, redux...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4203 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 18:25:43 +00:00
hrydgard f190050c46 fix for "properties-crash" by lpfaint
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4202 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 18:21:10 +00:00
death2droid 8d4ecacb4b DiscIO:Quick fix for the includes again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4200 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 13:50:22 +00:00
death2droid 0ccd9d1e8f DiscIO:Fix the includes up Dolphin should now compile.
D3D and OGL: A minute clean up with texture dumping

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4199 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 13:46:04 +00:00
nakeee 81c4982a0a Revert accidental change to stringutil
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4198 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 11:48:49 +00:00
nakeee e147b9eb91 Fixed up the filemon a bit, added isEnable function to the logmanager
and moved the FileMonitor from debug to discio to prevert cross 
dependencies


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4197 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 11:34:21 +00:00
hrydgard 7badedf054 fix annoying warning starting kuru kururin (jpeterson, this got to have something to do with your file logging?)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4196 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 06:52:34 +00:00
sl1nk3.s 5a21d72693 Fix screen flickering with frameskip on D3D plugin, also fix occasional hang when turning frameskip off
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4194 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 06:09:21 +00:00
John Peterson f8ea1824b7 GUI: Gray step button in JIT mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4192 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 23:28:28 +00:00
John Peterson 276a2da982 GUI: Logwindow font choice saved
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4191 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 22:52:58 +00:00
hrydgard 400381a24f Fix crash in non-debugger (/d) mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4189 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 22:08:54 +00:00
hrydgard efc74c77a9 D3D: Basic EFB copy-to-texture support. Fixes star domes in SMG (but does not fix the pull star, need EFB reads for that) and some other things.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4188 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 21:56:08 +00:00
hrydgard baede3a7f3 Moving more things out of GL into VideoCommon...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4187 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 20:37:35 +00:00
John Peterson fd06a656f5 GUI: Forgot the new files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4186 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 20:13:50 +00:00
John Peterson a69eb43019 GUI: Added file monitor log
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4185 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 20:00:09 +00:00
hrydgard 2b1022f152 More tidying up - share the stats print between the two plugins, etc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4184 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 19:42:45 +00:00
hrydgard 562a4e25ac Some housecleaning around the D3D plugin, start of preparations to share even more code with the GL plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4183 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 19:24:16 +00:00
John Peterson 8cd6e1d409 GUI: Made the symbols menu talk more
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4181 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 09:13:41 +00:00
John Peterson 486798c580 GUI: Fixed boot settings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4180 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 07:59:24 +00:00
death2droid c82c0b0b93 Clean up some of the commenting.
You do NOT need to use ///////////////////////////////////////////////////////////////////////////////////////////////////////// to signify the closing of a section when you are clearly showing the start of a new section after it.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4179 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 07:56:35 +00:00
LPFaint99 8ecfc72963 change SetButtonFont to SetFont (Works the same on windows, SetButtonFont is not available on linux)
fix char* to wxstring in netplay (unicode bugs)
fix changegame in netplay to show the correct name for the chosen game

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4178 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 07:51:18 +00:00
John Peterson 573baf733a GUI: Reorganized menu bar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4177 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 06:54:46 +00:00
John Peterson 566b5df761 GUI: Stop the double posting of menu and toolbar events to the code window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4176 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 05:24:30 +00:00
John Peterson 99d7bf724d General: Removed duplicate comment and an old comment about wx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4174 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 22:31:02 +00:00
John Peterson bbd56ec92c GUI: Added restart option to File menu
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4173 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 21:54:53 +00:00
hrydgard 97af2f1126 GL/D3D: slightly more accurate and faster DXT decoding, thanks to Orphis
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4172 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 21:30:54 +00:00
death2droid 2be5d013e0 Add the wide screen hack by <---Does the person even have a user name?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4171 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 21:30:19 +00:00
hrydgard 1e016dd522 Fix a vertex shader generation bug that crashed Super Monkey Ball. Better shader error handling. Random warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4170 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 21:19:35 +00:00
Marcus Wanners 50593397f3 Got rid of all of jp's ////////////////////////////// lines (nearly 500 of them)!
Yes, I used a script :D

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4169 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 21:00:45 +00:00
hrydgard c64b1ca5dc D3D: Fix nonpow2 textures (simply turn off the rect texture stuff since it's not necessary under D3D). some cleanup. Add a TODO (tip from Orphis)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4168 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 19:59:41 +00:00
hrydgard e97bc516e6 Warning fixes/suppressions(aui), assorted code cleanup, d3d vertex shader cache expiration interval increased.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4165 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 18:55:36 +00:00
daco65 dd7eba0bb9 nothing special >_>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4161 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 15:38:04 +00:00
John Peterson 6f4a0903c0 GUI: Small bugfix, new panes were unfloatable by default
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4160 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 15:23:53 +00:00
John Peterson b6c3d5d530 GUI: Small logwindow change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4159 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 13:05:32 +00:00
John Peterson e382d8add6 VS solution: Path fixes for DebugFast
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4158 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 12:52:56 +00:00
John Peterson ad491dd9f0 GUI: Log window colors in windows, font and word wrap option
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4157 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 12:09:51 +00:00
nakeee b2533a5ef2 Fixed various warning fixes and potencial POD/crash bugs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4156 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 07:59:06 +00:00
John Peterson 08296f8d07 GUI: Forgot to reset the console rows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4148 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 20:23:05 +00:00
John Peterson b059e405f2 General: Reordered the CFrame definitions
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4146 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 20:09:15 +00:00
hrydgard 2599659022 D3D: Fix bugs in the shader cache, fixes crashes on x64. added some debugging stuff (only active in debug builds). assorted code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4145 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 19:48:45 +00:00
John Peterson b15320bc02 GUI: Some changes, small bugfixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4144 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 19:47:04 +00:00
facugaich c247805b28 Linux: Fixed some initialization orders
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4143 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 18:34:26 +00:00
John Peterson 6168ab75c6 GUI: File split
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4142 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 15:16:44 +00:00
John Peterson faafd409ba GUI: Save fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4141 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 14:50:52 +00:00
John Peterson 334d11bf07 GUI: Fixed saving of m_InterfaceLogWindow and m_InterfaceConsole, one crashfix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4140 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 14:33:16 +00:00
death2droid a7c643e146 Fix the build by reading something i removed incorrectly.
I see no point in the thing tho still.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4139 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 13:17:23 +00:00
death2droid 14e9cf6d1f Clean up some of the commenting by JPeterson.
There is no point of using ////////////////////////////////////////////////////////////////////////////////////////// to show that a section has ended when there is already commenting showing that a new one has started.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4138 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 13:06:37 +00:00
John Peterson 478ed4b11e GUI: Bugfixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4137 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 12:44:02 +00:00
nakeee a838206f7b Linux Compile fix and Code clean up
commented some logging lines that gave:
warning: cannot pass objects of non-POD type 'const class wxCharBuffer' 
through '...'; call will abort at runtime
This actually aborts on run time so please fix it if you wish to 
uncomment it



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4135 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 08:44:32 +00:00
John Peterson 0f1a83c116 GUI: Bugfixes, some bugs left
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4134 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 07:32:07 +00:00
John Peterson d50b4c2ffc GUI: Linux problem, wxAuiNotebook can't have wxFrame pages
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4133 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 02:41:48 +00:00
John Peterson a1dc78d5a8 GUI: Commit fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4132 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 23:10:56 +00:00
John Peterson 4272d7cd99 GUI: No need to remove the log window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4131 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 23:09:50 +00:00
hrydgard 881bf621be fix crash if "portable" config file could not be opened
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4129 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 22:51:19 +00:00
hrydgard 0b5c993076 Misc : build fix for debug x64, assorted cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4127 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 22:42:10 +00:00
nakeee fdf94d7d2b Killed the log window we should add the log level controls somewhere
else.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4126 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 22:18:44 +00:00
hrydgard d65fb1a30a D3D: Fix alpha test (I think, not tested much, no pun intended)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4124 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 21:47:39 +00:00
nakeee 62ab5cf0e5 Some code cleanup, disabled listchilren as it seems to move Pods where
they should be causing crashes (until someone feels like fixing it)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4123 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 21:46:29 +00:00
nakeee 387c6fdecd fix linux build in hope it will help JP to fix the gui on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4121 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 21:07:20 +00:00
hrydgard 4968f6c29a GL/D3D: Attempt to fix problem with bad colors when starting a 2nd game.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4120 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 20:58:57 +00:00
hrydgard 9091b309b0 GUI: Layout before scanning for games, looks a bit better starting up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4119 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 20:26:11 +00:00
facugaich 9ad7d47bc7 Linux Build Fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4117 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 16:25:06 +00:00
rice1964 0dcf03b898 This should fix the per-vertex PositionMatrix, the famous "Posmtx" problem, for DX9. My DX9 plugin still crashes, for some other reasons. Verified with Luigi's Mansion, it almost works.
BTW, this is Rice from emutalk, one of the 1964 emulator authors, and author of Rice video plugin for N64 emulators.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4115 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 06:35:43 +00:00
John Peterson 30c87e4822 GUI: Better perspective saving, bugfixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4114 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 05:56:30 +00:00
rice1964 718c88ff6a Some optimization on the pixel and vertex shader generators. As tested on Zelda TP, these changes should be able to reduce the number of lines in the compiled pixel shader program by 20% to 30%, for example, from 38 lines to 28 lines after the generated cg/HLSL pixel shader compiled by the cg/HLSL compiler. These could means slightly faster rasterization on slower video cards.
Also fixed shader compilation errors for DX9 plugin by using correct pixel/vertex attribute names that are compatibile with DX9 HLSL shader compiler. Now the generated vertex or pixel shader programs will compile correctly in either OGL or DX9. 

However, DX9 plugin is still not fixed, even though the shader programs can be compiled now.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4113 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 04:23:30 +00:00
John Peterson 63786d5438 GUI: Simplified away the notebook vector, bugfixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4112 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-30 22:04:30 +00:00
John Peterson 3548ca586b GUI: Custom pane management, almost complete
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4109 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-30 19:44:42 +00:00
John Peterson 44847c2ee3 GUI: Bugfixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4105 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-30 10:01:45 +00:00
John Peterson 1e8fabe521 GUI: Commit fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4104 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-30 08:22:33 +00:00
John Peterson 81483f928c GUI: Windows console improvements, hide the border as much as possible when docked, unlimited size, retain colors and cursor position on resize etc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4103 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-30 08:22:05 +00:00
hrydgard 8827c22c60 vertex shader generator: don't multiply z by two in d3d mode (thanks drk|razi)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4098 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-29 12:15:59 +00:00
John Peterson 78bd8c874a GUI: Crash fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4095 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-29 08:48:16 +00:00
John Peterson ff962750fb VS solution: Some fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4094 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-29 08:45:06 +00:00
John Peterson 9999936a61 VS solution: Created programs solution
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4092 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-29 08:07:58 +00:00
John Peterson 508051ec8d GUI: Resize console and its buffer
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4090 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-29 06:08:14 +00:00
John Peterson 90d979554c GUI: Hide console instead of closing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4089 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 20:24:42 +00:00
John Peterson 50425dee31 GUI: Minor change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4088 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 19:40:44 +00:00
John Peterson 8faaec8236 GUI: Dock console. Couldn't remove the border, anybody know how?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4087 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 19:38:35 +00:00
John Peterson c97147ca7a Files: Renamed a code file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4086 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 17:21:02 +00:00
John Peterson a254f76d32 Files: Renamed a code file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4085 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 17:19:58 +00:00
John Peterson 284dad34bf Files: Renamed a code file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4084 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 17:19:20 +00:00
John Peterson f9cf9c7610 GUI: Tab split option in toolbar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4083 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 17:17:48 +00:00
John Peterson e15de53f15 GUI: Small change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4082 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 16:21:39 +00:00
John Peterson 97ea0362af GUI: Renamed a file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4081 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 16:08:43 +00:00
John Peterson 910007ef4f GUI: Fix to commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4080 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 15:54:30 +00:00
John Peterson 7b5b911c34 GUI: Save notebook association for pages
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4079 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 15:53:19 +00:00
John Peterson 5f3752d358 GUI: Fixed breakpoints toolbar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4078 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 11:08:52 +00:00
John Peterson 273f8ed4e9 GUI: Fix to last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4077 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 10:46:43 +00:00
John Peterson 843a07d22e GUI: Remove toolbar from fullscreen
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4076 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 10:21:51 +00:00
John Peterson da6a200540 GUI: Dock logwindow
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4075 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 10:10:07 +00:00
John Peterson cb0eafcfc8 GUI: Views toolbar, save view on exit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4074 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 07:33:07 +00:00
sl1nk3.s c25f073d13 GUI: Fixed Themes, closing tabs from the non-default panel and added back Tab_Split :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4072 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 05:09:33 +00:00
John Peterson bc938c4b01 GUI: Save page views
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4071 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 01:30:08 +00:00
John Peterson d46927207a GUI: Fixed debugging toolbar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4070 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-27 00:54:44 +00:00
John Peterson 1b6b56692d GUI: Dock plugin windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4069 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-26 23:28:30 +00:00
nakeee b0a09c55b4 Compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4068 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-26 19:39:11 +00:00
sl1nk3.s 5ce5219e2c Fix Zelda TP Wii and Pikmin 1 Wii sound Thanks to LordMark ! (again :P)
Set fpAccurateFcmp to true and revert ini setting, this causes random issues in various games... and it's too hacky.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4067 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-26 16:58:45 +00:00
John Peterson 044ff1077e GUI: Allow drag and drop between panes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4066 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-26 15:23:48 +00:00
John Peterson b185fedb85 GUI debugger: Added more windows to aui
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4065 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-26 09:19:15 +00:00
sl1nk3.s 5831c95151 Re-enable CPU swap on XFB mode only, to avoid flickering in a couple of games
Fix for a dumb mistake from r4042 and doing it lazy-right :p

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4063 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-25 18:30:15 +00:00
John Peterson 9ae08121d0 GUI: Fixed the debugging toolbar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4061 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-25 10:58:13 +00:00
John Peterson c1f091e4bc GUI: Fixed some wxPostEvent endless loops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4060 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-25 09:13:17 +00:00
John Peterson bec5a8031e GUI: Fixed show/hide toolbar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4058 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-25 07:49:23 +00:00
John Peterson 421d30b746 GUI: Fixed fullscreen mode while debugging, added perspectives
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4057 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-25 07:05:53 +00:00
John Peterson 53a8ca52b6 GUI: Fixed the render-to-main fullscreen mode and screen resizing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4056 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-25 06:34:58 +00:00
John Peterson b01b7c78a5 GUI: Moved debugging window to AUI, more AUI improvements to be done
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4052 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-25 01:50:27 +00:00
omegadox 984988c5d3 GFX: revert of r4044
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4051 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-24 23:36:28 +00:00
XTra.KrazzY 6743dd6913 ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4050 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-24 21:46:28 +00:00
XTra.KrazzY bb14237a9a Reverted r4045, it works for me!(R) How about you?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4049 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-24 21:41:36 +00:00
hrydgard 19522fbf6b revert r3862, until it can be figured out why it causes problems with RE0 sound
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4047 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-24 19:11:05 +00:00
John Peterson d37a600733 Windows Build: Fixed the other settings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4046 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-24 09:00:35 +00:00
John Peterson d71cb02fc9 Windows Build: Moved externals to separate solution
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4045 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-24 07:11:50 +00:00
omegadox 1427024a21 GFX: Possible fix for depth range
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4044 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-24 06:48:00 +00:00
sl1nk3.s 944844bfba Fix Pikmin PAL not booting thanks to LordMark for figuring it out ! :D
Added "AccurateFCMP" ini setting which fixes Nights, Paper Mario games...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4042 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-24 04:04:10 +00:00
LPFaint99 9fcb1db34f unicode fixings, disable r3999 change, change filename for debug memcardmanager
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4041 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-23 21:20:08 +00:00
XTra.KrazzY 16d9a65d25 less timeGetTime calls, which showed up in TD's profiles. Minor speed boost when idle skipping
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4040 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-23 20:12:46 +00:00
XTra.KrazzY 092989dffc Added dummy Lua interface files. Now Dolphin links with Lua successfully.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4039 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-23 15:56:13 +00:00
death2droid bec43fb209 Remove accidental about dolphin change.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4037 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-23 07:37:58 +00:00
death2droid b254d6b453 OpenGL:Removing some OpenGL projection hacks that are no longer required and some GUI changes so when EFB Copy is disabled it greys out the two options.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4036 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-23 03:14:07 +00:00
sl1nk3.s 652639d1c4 Fix GXPeekARGB, this fixes Killer 7, and Wind Waker's pictograph quest :D
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4034 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-22 13:22:35 +00:00
XTra.KrazzY f7bee7347a ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4033 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-22 02:08:24 +00:00
XTra.KrazzY 4d4d37c32c Changed TAS to reflect wiki, added Frame Stepping/Advance to the GUI
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4032 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-22 02:05:02 +00:00
XTra.KrazzY f8e410e0e6 Fixed a few TAS bugs. TASing should now work, provided that you DON'T change your frameskipping value...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4030 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-21 20:15:33 +00:00
XTra.KrazzY 1612c6a2b8 TAS GC Recording/Playing with GUI! Yay! (Bonus: Lag Counter)
Works with frameskipping/throttling and so forth. 
Only one bug: Every subsequent play plays the same, regardless of framerate, frameskipping and throttling. The only problem is that the recording and the plays act differently, with analog sticks ONLY.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4028 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-21 19:55:03 +00:00
XTra.KrazzY fb507ce676 TAS: Recording now has GUI!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4026 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-21 09:26:34 +00:00
XTra.KrazzY 7ed4b06e48 Implemented frame counter and TAS GC recording. What's left: A lot of GUI, actually playing the TASes, and begin recording from savestate.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4025 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-20 23:31:48 +00:00
nakeee 92d4c55e14 DSPLLE small sign fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4023 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-20 22:09:54 +00:00
XTra.KrazzY 99b4b04705 DSP LLE on Thread with LLE now boots, but no sound. The mail connection appears to be incomplete in the on thread mode, but it's much faster than on the CPU thread.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4022 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-20 21:38:10 +00:00
nakeee 3c59b8bded DSPLLE trying to fix mul
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4021 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-20 15:11:07 +00:00
nakeee fdc141e333 DSPLLE: Small fixes for zeroing flags
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4020 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-20 13:49:30 +00:00
nakeee 56c4eea4c1 DSPLLE: trying to optimize a bit (based on drkrazi's suggestion)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4019 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-20 07:01:04 +00:00
nakeee b787f5f8f7 DSPLLE: attempt to fix extended ops please review this patch carefully.
thinks to note
- All ext commands should call zeroWriteBackLog() (before changing any 
reg)
- increase/decrease ar functions now only return a value not actually 
change anything


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4018 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-19 21:37:24 +00:00
nakeee 8155439dd1 DSPLLE fix for latest commit (thanks lp)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4017 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-18 15:57:41 +00:00
nakeee 9dc90df0af DSPLLE: small cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4015 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-17 20:11:44 +00:00
Shawn Hoffman fea2aa344d fix wiimote in homebrew, thanks to vorte[x]! :D
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4012 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-17 05:20:05 +00:00
Shawn Hoffman 45feea42c2 dsp lle: coef is really 0x800 words
dspspy: fill the whole iram! crazy thing, normally likes len%4=0, however to fill the whole iram you use 8191 instead of 8192... :s

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4011 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-17 00:20:04 +00:00
daco65 81ee1d1b10 clean up. less memory usage! </claim that nobody will notice>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4010 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-16 18:53:38 +00:00
daco65 3124aa803c NETPLAY: just some minor clean up. also, apparently netplay already works to public(since 4003) ip's (internet) but not private or loopback (lan or 2 clients on 1 pc) .
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4006 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-16 14:13:25 +00:00
death2droid 806c04a575 OPENGL: Small clean up.
NETPLAY: Fix the chat clearing when you press send.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4004 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-16 12:11:36 +00:00
daco65 193a36b918 NETPLAY : yet some fixing. now connections work and chatting *should* work. still crashes when game starts (probably some wxString::format bug AGAIN >_> ) some bugs still remain but the bugs i know should now be noted with TODO or NOTE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4003 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-16 11:36:31 +00:00
LPFaint99 86e585a66a Work towards issue 1229; initial framework for including exi devices in savestates.
Another Unicode fix :( - exporting gci works again

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3999 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-16 08:26:57 +00:00
Shawn Hoffman 6e61c32495 dspspy: fix a bug with ConsoleHelper
dspspy: remove some alignment for some vars. (should not have caused issues anyways)
dspCodeUtil: pad ucodes converted to headers to 32byte multiples with nops (this is only mimicing what is seen in nintendo ucodes, probably because their's are originating on disc)
Common.h: fix typo for gcc version of GC_ALIGNED32 (wtf? how did this work before?!)
createtest.pl: add "jmp end_of_test" to the end of generated ucodes.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3994 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-16 00:37:01 +00:00
daco65 2060cae79b oops, a leftover
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3988 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-15 14:37:56 +00:00
daco65 3311434d41 NETPLAY : display game name correctly in gui , added netplay to logmanager (netplay is horribly in seeing what its doing). hoping to get netplay to work again cause its borked
LLE: warning fix (would linux hate {} ? )

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3987 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-15 14:34:52 +00:00
omegadox d29088773b and its header...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3986 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-15 07:39:07 +00:00
omegadox 00ee24b451 ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3985 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-15 07:36:24 +00:00
omegadox b71b0e3da2 GFX:
- FIFO changes - minor cleanup, code organization based on Nolan's changes
- Minor code cleanup
- CommandProcessor changes - Allow BP IRQ clearing for either raising or falling edges.
- Revived old SetFifoIdle code

Gets Pokemon XD to run, but will crash to any CPU-GPU desync. Other games like Metroid Prime, look happy with the new FIFO changes.

Please report any problems.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3984 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-15 07:33:35 +00:00
omegadox 5ac7105b66 GFX: New GlobalControl system - cleaner way to control hacks and for possible control over other parts of the video code (video debugger control).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3982 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-15 07:20:37 +00:00
nakeee 32d213a823 DSPLLE: small cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3981 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-14 10:55:07 +00:00
nakeee c4dda436c6 DSPLLE: fixed 0x20 handling, we still don't know what it is good for
though:(


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3980 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-14 10:40:35 +00:00
LPFaint99 153ec6836e second attempt at showing if a build is was compiled with local modifications
(first attempt was r3889; tested on linux this time :D)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3979 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-14 06:48:15 +00:00
nakeee c0bb42ae43 Frameskip: Small fix from r3972
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3977 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-13 12:58:53 +00:00
LPFaint99 775b21302b MOAR unicode fixes :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3975 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-13 05:11:25 +00:00
LPFaint99 6c5f037c71 Fixes issue 1278.
linux doesnt like passing non POD objects (wxstring) to ...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3974 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-13 04:24:40 +00:00
sl1nk3.s 1cb10791c0 Little fix for platforms not moving in Wind Waker on Dolphin 32bits, see issue 1139
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3973 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-12 23:31:57 +00:00
daco65 ea561430ff auto frameskip by Iulius. the automatic should make it so that dolphin doesn't skip more then needed (example: you have frameskip 9 but only need 4.2, auto will make it skip on 4.2)
framelimit should be on

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3972 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-12 16:42:51 +00:00
daco65 122d044404 set fpAccurateFcmp to false by default (again). if it kills anything kill chaoscode cause he made me do it :P (it looked pretty safe to me too btw)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3971 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-12 16:18:46 +00:00
cottonvibes 57dab769da Made fcmpx JIT64 set UN compare flag for NaN operands.
I think this is all thats needed to fix problematic games.

This is untested since I don't have Dolphin setup yet :/
Set 'jo.fpAccurateFcmp' to 'false' to test.

p.s. Yes its my first commit, and yes I'm drunk lol

Note to Devs:
The sNaN flag logic isn't implemented yet (and qNaN for fcmpo isn't either); I don't think games are going to be picky about that, but I might implement it later if games are still complaining (when I'm sober... xD)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3970 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-12 07:12:20 +00:00
LPFaint99 b4faea0186 fix changedisc (broken by switch to unicode)
char * was deallocated before callback was reached, How did it work before XTra.KrazzY?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3969 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-12 05:57:59 +00:00
Shawn Hoffman 70f5d17d43 do r3967 in a better way (only turn on fpAccurateFcmp), don't force the other fpu ops into interpreter all the time
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3968 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-12 04:37:13 +00:00
Shawn Hoffman b2dd5c1cd6 make bEnableFPRF true by default
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3967 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-12 04:15:16 +00:00
Shawn Hoffman f44b971086 fix some /dev/di stuff: DVDLowInquiry, DVDLowGetCoverReg, and DVDLowGetCoverStatus
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3966 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-12 03:56:59 +00:00
omegadox 7aede7309f GFX: Cleanup - Move OGL's GetBlockHeightInTexels and GetBlockWidthInTexels code into VideoCommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3962 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-11 20:36:13 +00:00
omegadox bcf7b2112b Small fix for TexDecoder_GetBlockHeightInTexels, but see no noticeable changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3961 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-11 13:58:35 +00:00
Shawn Hoffman 379f690438 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3960 8ced0084-cf51-0410-be5f-012b33b47a6e 2009-08-11 12:09:46 +00:00
Shawn Hoffman 5be34cd7e5 random small fixes - fix debug builds, dump ucodes on PAD_BUTTON_X, get rid of a never-closed FILE*
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3959 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-11 00:35:07 +00:00
nakeee 13a901146f DSPLLE:
- Extension fixes (Joined work with LM)
- Shuffle fix for my off by one error



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3958 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-10 09:20:12 +00:00
nakeee 9f81006bda make DLCache compile on linux, required some weird casting so tell me
if something broke


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3957 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-10 06:18:10 +00:00
hrydgard 6003c9ecd2 Frameskipping more aggressive (minor speedup, plz report any serious problems). Initial display list cache implementation, disabled for now. Various cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3952 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-09 11:03:58 +00:00
sl1nk3.s 69f32a76c6 Just a few fixes for the fps counter, also unbreak direct XFB homebrews.
And a couple of fixes for the frameskip : disabled by default, can be set before launching a game, also safer to avoid lockup. 

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3950 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-08 05:47:08 +00:00
XTra.KrazzY 51ddedf512 Frameskipping! Complete with GUI! Even my most naive approach resulted in great speeds, even with graphic-intensive games such as Pikmin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3949 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-08 01:39:56 +00:00
XTra.KrazzY 9cbfadb885 Added the per-frame action manager. Implemented all TAS features: Auto Firing/Holding, Frame Advance. They all work perfectly (test it yourselves by changing the globals), they just need some GUI.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3947 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-07 16:03:57 +00:00
LPFaint99 270825cf71 oops too much copypasta :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3946 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-07 08:56:15 +00:00
LPFaint99 e941dd79cd Fixes issue 1255.
(wxString / char * conversion)
Move CopySJISToString to WxUtils.
Add ability to view sjis name and comment for japanese memcards
Add ability to format sjis memcards
CopySJISToString needs work on linux

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3945 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-07 08:52:04 +00:00
Shawn Hoffman 5013ab957c code style cleanup for bba which has been sitting around my hdd for a long time
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3944 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-06 23:08:18 +00:00
Shawn Hoffman fa731c0b29 revert changes to GetSysDirectory from last commit, I was trying to fix my issue with CWD going all wacky (unsuccessfully).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3943 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-06 12:32:07 +00:00
Shawn Hoffman 95344be674 misc cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3942 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-06 06:18:22 +00:00
LPFaint99 486c9e1a6b Fixes issue 1242.
m_pBannerFile was deleted twice

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3939 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-04 19:05:28 +00:00
Shawn Hoffman 62899da626 make CVolumeWAD::GetName() safer
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3938 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-04 03:27:56 +00:00
Shawn Hoffman 8b1aff8b59 fix crashing of ISOProperties.cpp, again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3937 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-04 01:58:16 +00:00
Shawn Hoffman 0cb7934d93 fix some memleaks in DiscIO. Fix for issue 1238.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3936 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-03 22:51:13 +00:00
sl1nk3.s 3ac6b08456 Disable the framelimiter by default as it will not work correctly on some games
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3935 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-03 21:44:40 +00:00
sl1nk3.s 8b0bc273c5 Fix framelimiter's accuracy, thanks to sskkiipp !(issue 1237)
Also added an "auto" mode which automatically limits the framerate to fullspeed and move it from Interface settings to Basic setttings

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3934 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-03 18:35:25 +00:00
Nolan Check d68303219c Fix Linux build?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3932 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-02 22:02:16 +00:00
Nolan Check 402abca90a Separate DVD thread.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3930 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-02 20:07:40 +00:00
sl1nk3.s a9cf2e09d0 This should fix the framelimiter, looks a bit inaccurate though (was it like that already ?)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3929 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-02 17:04:21 +00:00
nakeee df5451c7db linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3926 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-02 08:00:30 +00:00
LPFaint99 6cbeeafdf1 some more fixes for the switch to unicode. Thanks sl1nk3.s
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3925 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-02 05:59:55 +00:00
tmator 10443c3f3a better fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3923 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-01 19:16:15 +00:00
LPFaint99 5b735361e8 InputCommon now builds in unicode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3922 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-01 19:11:05 +00:00
tmator 1e9bb4ed9a fix non gui build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3921 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-01 18:31:25 +00:00
sl1nk3.s 69c0613160 Fix the FPS counter to show the 'real' framerate, also clean up its mess a bit...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3920 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-01 18:16:12 +00:00
Shawn Hoffman 1493c2ba9c fix some memleaks in NANDContentLoader.cpp and ISOProperties.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3919 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-01 17:51:17 +00:00
LPFaint99 dedb2a5fcc fixes issue 1223. Caused by switch to wx unicode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3917 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-01 06:02:35 +00:00
hyperiris acdbc70fe9 a very tiny fix for display taiwan game notes correctly in main UI: GameListCtrl
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3916 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-31 15:57:27 +00:00
nakeee 45a71bf3ef DSPLLE: fix some comments, returned andc and orc (according to tests)
but andc'ls still behaves strange and we couldn't merge them together.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3915 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-31 15:21:35 +00:00
Shawn Hoffman 903346e06f fix decompressing of wii discs (who wrote this? XD )
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3914 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-31 03:11:46 +00:00
sl1nk3.s 7eed236df9 Fix noWX build, and lower thread priority for screenshots
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3913 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-31 01:55:26 +00:00
Nolan Check 96b03effcc Fix 32-bit Windows build AGAIN
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3912 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-31 00:29:52 +00:00
Nolan Check 3fa198f208 Work on atomic library.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3911 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-30 23:05:54 +00:00
Nolan Check 48365b5daa Use slightly different Windows file functions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3910 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-30 22:30:30 +00:00
Nolan Check 8ab4814d73 Don't use lookup tables. It's better to use CPU registers and reduce memory accesses.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3909 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-30 20:29:52 +00:00
LPFaint99 dcae5938c9 oops left in the old copyright
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3908 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-30 07:22:00 +00:00
LPFaint99 c2b7895f11 set vcproj to unicode for everything except Core, Common, DiscIO, InputCommon, and Plugin_VideoDX9
and wxUSE_UNICODE set to 1 for wx

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3907 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-30 07:11:51 +00:00
LPFaint99 8302ac84de dolphinwx and debuggerwx can now be compiled with unicode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3906 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-30 07:09:26 +00:00
Nolan Check 833bf693f0 More "correct" VI interrupt behavior.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3902 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-29 02:46:00 +00:00
sl1nk3.s caf152fdd0 Fix screenshot offset as well as screenshot aspect ratio, also use PNG instead of BMP thanks to issue 1186.
Fix for opening.bnr containing bad chars where the loop would stop when encountering one (fixes Rogue Leader description, which was using 0x0d and 0x0a)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3899 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28 23:38:49 +00:00
XTra.KrazzY c86d2e5129 Now ALL copyright dates are fixed to the legally correct year: The year in which the project began. Now we don't have to change it every year :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3898 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28 21:32:10 +00:00
LPFaint99 cec4b65512 revert part of r3896
bad decision to move all ini paths to common

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3897 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28 16:20:54 +00:00
LPFaint99 22427f89bc Njoy can now be build with wxUSE_UNICODE 1 on windows
move all static ini paths to Common

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3896 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28 08:27:45 +00:00
Nolan Check 989e5b7798 Decent C++ for MathFloatVectorSum.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3895 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28 07:40:18 +00:00
Nolan Check 8027ab53d0 Don't use events for efb access. As I've learned, events cause kernel calls and it is sometimes more efficient to do spin-waits. See if this speeds up Wind Waker's pictobox quests.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3893 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-27 22:05:38 +00:00
nakeee 6a92924636 DSPLLE: remove the if 0 around SR_MUL_UNSIGNED in hope to figure out why it makes AX games sound bad
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3892 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-27 16:41:11 +00:00
LPFaint99 9d10f9355d Fixes Issue 1006
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3891 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-27 04:26:56 +00:00
LPFaint99 99173df0ff revert r3889
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3890 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-27 04:19:26 +00:00
LPFaint99 ef092e6053 Show revision as xxxx! if there are local modifications otherwise xxxx
so we will be able to tell from screenshots whether the build is vanilla svn co or not

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3889 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-27 00:54:25 +00:00
nakeee a9b7813462 DSPLLE: lordmark's fix for ilrrn opcode + some mask fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3888 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-26 20:19:26 +00:00
nakeee 07617f757c DSPLLE added new LD code (please report games misbehaving)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3887 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-26 16:36:22 +00:00
death2droid 73a7686044 Fix up all copyright dates.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3886 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-26 11:51:40 +00:00
omegadox 7f00960a32 Log unknown fog types in Warn log, and tiny code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3885 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-26 11:13:56 +00:00
omegadox e4a9faeba4 GFX: updated Dates, code formatting cleanup, code cleanup / organization, some unknown BPs uncovered, fixed OGL's config dialog bug, added another shader
DSPHLE: Some warning fixes and added some logging for unknown voice cases
Please report if anything has broken.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3884 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-26 09:52:35 +00:00
nakeee e79b11af5b DSPLLE: fixed the unknown opcode errors
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3883 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-25 20:12:38 +00:00
nakeee af010c6bc2 DSPLLE: set currentEpilogeFunc to NULL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3882 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-25 18:31:01 +00:00
nakeee 3b0e949c93 DSPLLE: make ext opcodes to use table as well (tell me if you get
unknown opcodes or the like). LD changes are reverted until we get the 
right code.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3880 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-24 16:04:29 +00:00
Shawn Hoffman 873190d148 fix a few issues with actually using the dsp lle debugger: stepping/reg updates/etc should behave better
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3879 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-24 02:15:04 +00:00
Nolan Check 2ab09ecf57 Hell, just switch to fifo.cpp from r3854.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3877 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-23 22:32:21 +00:00
Nolan Check 758d5c234d Corrections to r3875.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3876 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-23 22:02:03 +00:00
Nolan Check ce8b679d76 Revert most of r3855.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3875 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-23 21:17:14 +00:00
XTra.KrazzY 3c9b5bbf7b Fixed the load-state memory leak, also fixed various other savestate issues. Found (probably) the cause of load-state crashing Dolphin: BPWrites. Tried to put a CriticalSection around BPWritten but it only causes Dolphin to hang when loading a state. Can someone find why it hangs?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3873 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-22 22:50:52 +00:00
nakeee ef6b00f9b0 DSPLLE: LD now doesn't give memory errors, still need to be tested with LDM/N and if it really takes 0x00
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3870 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-22 06:28:04 +00:00
Shawn Hoffman 93a28c0f5b apparently PCH do not like intermingling of C and C++. Solution: make these .c files build as c++
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3869 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-22 02:18:14 +00:00
nakeee 94cc33cb0c DSPLLE: ld only increase 0x3 by one
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3867 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-20 22:12:53 +00:00
hrydgard bf671bbcf6 JIT: another one bites the dust (cntlzwx)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3862 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-20 20:00:08 +00:00
hrydgard a1904ba721 JIT: this should remove bclrx from TD's profiles...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3861 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-20 19:48:45 +00:00
Nolan Check c6661a2272 Re-enable BP irq clearing. If this doesn't fix MP1 then I might as well revert r3855.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3858 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-20 16:33:55 +00:00
Nolan Check 5b6b732378 Simplify fifo code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3855 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-20 01:10:00 +00:00
Shawn Hoffman 3d28eb5dbc fix silly typo when using -m with dsptool
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3853 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 20:25:14 +00:00
daco65 d703b01f0c do the rounding in the if, shouldn't cause trouble afaik. (pso kept spamming logs under, cause xfblines was 574.205566)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3851 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 11:03:31 +00:00
hrydgard 1157055ec6 fix JitIL build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3850 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 10:43:23 +00:00
hrydgard 486445c6c7 Turn fpAccurateFcmp off by default. Shouldn't cause any problems and should give you a small speedup (a few fps in ZWW for example) with the regular JIT. Let me know if anything breaks.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3849 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 10:28:22 +00:00
hrydgard 9ccf22093d fabsx was showing up in TD's profiles, so jit it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3848 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 10:16:10 +00:00
nakeee fb7238eeb5 dsptool: add -f option (errors are not critical)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3847 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 10:08:25 +00:00
hrydgard afe25626b1 Use precompiled headers for faster build of the DebuggerWX and Dolphin projects. Fix a silly memory leak in debug text in the GL plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3846 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 09:15:00 +00:00
Nolan Check 6f28539ccc Rename scale_something to scale_invert. Plus, sneak in a tiny Thread.h change.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3845 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 08:24:30 +00:00
hrydgard fd70f99f04 Roll back r3833 for render targets but keep it for static textures. Most mirroring issues are OK and we shouldn't see any slowdown.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3844 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 08:17:41 +00:00
nakeee ad440b9e47 Fix dspspy, typo in ld_Test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3843 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 07:21:29 +00:00
hrydgard 45d9d3191b Move define to the right place, get some free speed (just a tiny bit though)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3841 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 23:40:30 +00:00
Nolan Check bddb8c8b97 Seems to fix issue 1131. Please test Real XFB mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3838 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 20:38:35 +00:00
nakeee 9e16a5ccd8 Call sched_yield for yieldcpu function on linux/osx please test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3837 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 20:04:18 +00:00
hrydgard 9b0bed1e7f fix a build error and some warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3835 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 17:53:15 +00:00
Shawn Hoffman 89c55c32ec add a ucode to dspspy to dump rom areas from dsp to sd card
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3834 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 16:34:11 +00:00
hrydgard 3ad0db6830 GL: Delete code for GL_TEXTURE_RECTANGLE_ARB in case of non-pow2 textures - all modern GFX cards that can run Dolphin should support non-pow2 textures anyway. This removes some complexity and reduces the numbers of pixel shaders that need to be generated in some situations. Also fixes some texture mirroring problems. Let me know if this breaks things on ATI for some reason.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3833 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 11:26:58 +00:00
LPFaint99 9bc2e789d3 Memcard Manager:change error message for delete failure and remove unnecessary #defines
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3829 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 07:59:31 +00:00
Nolan Check ccfc004161 CP: Replace a couple spin-waits with event signals.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3828 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 06:16:24 +00:00
LPFaint99 4bbc432506 Add log for MEMCARD_MANAGER (requires an almost complete rebuild :( sorry)
Fix a crash when trying to delete a save from a memcard that the DEntry order does not match the starting block order
add the option to export saves as GCS and SAV
Buildfix for external MEMCARD_MANAGER

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3826 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 01:16:17 +00:00
Nolan Check a5d65b3b22 No more SleepCurrentThreads in Command Processor. Some Fifo cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3822 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-17 22:57:02 +00:00
sl1nk3.s 664f017fec Fix a hang on stop on linux (why is that done better on linux ?? strange :P)
Fix what must have been a typo for Pikmin PAL CRC, the game still doesn't work though :(
Fix a crash on stop in nJoy 

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3821 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-17 16:20:55 +00:00
LinesPrower 8c466e1a62 Fixes Issue 1077.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3820 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-17 13:50:51 +00:00
LPFaint99 15d49e5afd make working dir save to a platform specific file
fix a possible buffer overflow in MemcardManager when creating a gci savename
fix Previous Page button from being available after deleting the last save on page 2
remove magic numbers from GCMemcard

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3819 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-17 06:03:53 +00:00
Nolan Check 598d640042 Minor changes for video. Please test pictograph quests in Wind Waker.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3818 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-16 22:45:18 +00:00
nakeee 18e45baafc DSPLLE minor clean
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3816 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-16 10:25:27 +00:00
nakeee 4212773b1b DSP LLE small reg load fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3815 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-16 10:02:47 +00:00
LPFaint99 ca750d1368 Fix JitIl build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3813 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-16 04:22:38 +00:00
Shawn Hoffman 72b0405ef6 finally all windows builds compile again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3812 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-16 00:01:57 +00:00
Nolan Check fdc2b69143 Better TV emulation. Seems to fix problem in 50 Hz PAL games where frames go backwards.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3811 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 22:20:59 +00:00
omegadox a73dd21ee9 Some minor changes to VideoCommon, improved SawWave sound, the denied sound in ZWW sounds better (compared it to real HW to be sure).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3810 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 21:26:49 +00:00
hrydgard 03e434b91a another one
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3809 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 21:04:49 +00:00
hrydgard e8b16cc120 this should have been included in the roll back, dunno what happened
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3808 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 20:49:32 +00:00
hrydgard 3ebf5a5f1f Roll back R3801. Dolphin works again. Seriously, if you're not even testing huge freaking changes like this...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3807 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 20:15:34 +00:00
hrydgard 4533cc39b3 Revert the ridiculously wrong r3797 (bad sonicadvance1)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3806 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 19:09:02 +00:00
Marcus Wanners d103e829fa Fixed Windows build problems caused by r3801.
The Windows build is still broken (for me at least) by r3797.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3805 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 18:56:19 +00:00
luigi2us f5cb2efb3e That's what happens when you get excited and go too fast...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3804 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 17:59:16 +00:00
luigi2us e81c99da92 DSPLLE: Fix LSRNR.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3803 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 17:57:35 +00:00
Sonicadvance1 15410c3855 Forgot a line someone told me to test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3802 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 17:04:59 +00:00
Sonicadvance1 6802f885b1 Tons of reworking of the cores to make them more...generalized, not quite there yet, but great progress. Near impossible to break this up in to smaller chunks, and may break Windows building. Can not yet switch between JitIL and JIT during runtime, but it is on my list to do.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3801 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 16:59:53 +00:00
nakeee 90f595bada DSPLLE: added lsrnr (based on lordmark and luigi suggestions) Still somethings seems wrong as it didn't fix the zelda problem:(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3800 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 15:12:42 +00:00
sl1nk3.s 3bc8eb7eaf Fixed one of the two remaining crash on Stop (issue 600), and removed some setup defines which are now useless anyway.
There's an attempt to implement Peek_Color too, probably done wrong :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3799 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 15:09:20 +00:00
Sonicadvance1 15de161f95 Woops, I had changed this line on accident
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3798 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 11:37:11 +00:00
Sonicadvance1 e28145fccf Commit to allow Interpreter to work on devices that don't support SSE2, just via simple defines
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3797 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 11:36:01 +00:00
Nolan Check f338d5c44c Code cleanup. Juggling rectangles. I'm about to investigate the problems with Real XFB's in PAL games, so I wanted to make sure all our rectangles were cleaned up and organized.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3794 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 00:51:24 +00:00
nakeee c6b3c6a69b DSPLLE minor cleanup nothing important
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3789 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-14 08:30:23 +00:00
Nolan Check 48a5c4211c Fix 32-bit Windows build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3785 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 16:32:51 +00:00
Marcus Wanners 75a226f667 Minor grammar fixes and revisions while we're at it :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3781 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 14:18:43 +00:00
XTra.KrazzY e7a5f0fa3d Solved issue 1096 and issue 1098
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3780 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 13:37:52 +00:00
Sonicadvance1 e4a57202d2 Some Fixes, compile fix in Linux. Comments, etc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3777 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 07:31:43 +00:00
Sonicadvance1 4cfcf9bdd5 Sorry for intruding in to the core. Fixed NoGUI mode in Linux, add back the instruction names as comments in the JIT tables, was a bit hard to find certain instructions.Trying to find a good way to get The JIT dependencies removed in a nice fashion
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3776 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 06:34:12 +00:00
Nolan Check d779554ff3 Atomic operations library.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3775 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 05:38:34 +00:00
XTra.KrazzY 3070e159c6 Linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3774 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 01:30:37 +00:00
Nolan Check d85f5a6937 Rearrange LogManager includes. The main purpose is to make it possible to modify Thread.h without recompiling the whole entire project.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3770 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 21:58:32 +00:00
hrydgard 304b34a451 DSPHLE: Some code reorg, now looks more like the ucode. DSPLLE: Rename a file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3763 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 12:22:39 +00:00
hrydgard b363b2ddc8 More UCode RE. Move MemoryView to DebuggerUICommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3762 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 10:08:59 +00:00
LPFaint99 f324d4b27d correct reading the working directory string
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3761 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 07:17:43 +00:00
LPFaint99 f6f6b870a9 lets try this again:
add the ability to either keep all of dolphin's settings in the same folder, or
set up a permanent working directory read from a text file in %appdata%/
(windows) ~/ (linux)
allows registering gcm ...etc to open with dolphin, badly illustrated guide here
http://i31.tinypic.com/6pb8yp.jpg
use the guide at your own risk, I am not responsible if you mess up your
registry (But I will laugh :P )

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3760 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 04:10:52 +00:00
LPFaint99 b45c5214c2 Attempt to fix a crash on close from PluginManager, tested linux and windows
add the ability to either keep all of dolphin's settings in the same folder, or set up a permanent working directory read from a text file in %appdata%/ (windows) ~/ (linux)
allows registering gcm ...etc to open with dolphin, badly illustrated guide here http://i31.tinypic.com/6pb8yp.jpg
use the guide at your own risk, I am not responsible if you mess up your registry (But I will laugh :P )

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3759 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 04:10:08 +00:00
hrydgard e2f57b6f6c "fix" hang ... this should be investigated
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3755 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 21:35:23 +00:00
hrydgard 76556b883f resurrect JIT viewer
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3753 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 20:37:55 +00:00
daco65 73516cc8e9 just some , useless for emulation , changes that might make it easier for us all :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3752 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 20:30:48 +00:00
Nolan Check ffb1f411d8 Use events and memfences for EFB accesses. Also, Single-Core mode now works again.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3750 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 16:52:34 +00:00
hrydgard ccebd7512e Fix a DSP disasm problem, misc minor stuff .. not much to see here
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3745 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 10:18:25 +00:00
LPFaint99 419c6a0927 fig ConfigPadDlg size in linux, temporary linux build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3742 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 04:33:38 +00:00
LPFaint99 dc30df7dca fix building in linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3741 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 03:10:10 +00:00
Nolan Check dc7d9ab998 Switch to Video_BeginField; hopefully fix or reduce some video stability problems by using Events.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3740 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 02:34:16 +00:00
Shawn Hoffman 2a236a4631 remove PAD_GetAttachedPads() from PadSimple and nJoy (and plugin specs). It hasn't done anything except get in the way/cause confusion since changing SI devices was added. Also I declare PadSimpleEvent and nJoy .4 as dead/rotting code. someone can feel free to prove me wrong...but know they are on my hitlist :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3739 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 00:27:32 +00:00
Marcus Wanners fd57ba3105 Windows build fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3737 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-10 21:12:45 +00:00
Nolan Check 6800adf4dc Use _beginthreadex
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3736 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-10 20:22:25 +00:00
Sonicadvance1 112b742d31 Forgot to change a header when checking to make sure it compiles for JitIL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3735 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-10 19:47:42 +00:00
Sonicadvance1 3ede866c37 Change the Wiimote plugin a bit since it works in both OSs the way Windows does it, fix a crash that happens in PluginManager.cpp since it was not being checked correctly. and the big one, Break out the JIT core dependency, should be able to remove easily now if added to the Scons settings. This commit WILL break Windows until someone adds the new files to the VS project files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3734 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-10 19:25:58 +00:00
nakeee eaa93ed839 DSPLLE more exception work (not sure we need reset at all)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3732 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-10 15:00:29 +00:00
nakeee 42fed5c111 DSPLLE: exception work, please review/test/-1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3731 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-10 11:19:47 +00:00
nakeee 1fe26436ca accidently commited the uncomment exception
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3727 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 12:56:16 +00:00
nakeee 7f40dddcd6 DSPLLE comment cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3726 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 12:54:35 +00:00
John Peterson 8d42378479 nJoy: Allow the same settings for the C-stick
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3722 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 07:58:36 +00:00
LPFaint99 722ee4cd06 Move XInputBase from PadSimple to InputCommon,
Start work on X11 input for wiimote plugin mapping (copy XTra-KrazzY's fix for PadSimple)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3721 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 06:50:22 +00:00
John Peterson a718ff266e nJoy: Fixed the radius adjustment
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3717 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 02:23:40 +00:00
John Peterson 8fa315879a nJoy: Added radius option to advanced settings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3716 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 00:48:07 +00:00
nakeee 1c52139d94 DSPLLE: the reset exception is needed by zelda to init correctly, but it get stuck in the
middle. If you wish to help debugging uncomment the SetException line.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3715 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 00:07:08 +00:00
nakeee a0a7116fe0 DSPLLE uncomment else:
[23:00] <LordMark> if i reenable those 2 else-s in bloop and bloopi sth strange happens
[23:00] <LordMark> LLE sound in crazy taxi is like almost perfect
I still don't think they make sense though..


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3712 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-08 20:06:15 +00:00
LPFaint99 b6a43c5db8 Steps to simplify pad mappings for wiimote plugin
simplified ini saving
misc cleanup;
My next few commits will change the config gui to only show the pad mappings for the currently connected extension, more cleanup/simplification, GH3 controller config options; I just have no more time tonight :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3708 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-08 07:16:26 +00:00
luigi2us 47ea4936b3 DSP LLE: Fix ASR as well.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3706 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 21:48:32 +00:00
luigi2us 6c7aadd5ab Fixed LSR opcode (shift would always be a crazy value like 65479 instead of 7).
Now SMG ucode jumps to the right command handlers. 
Unfortunately still no sound :(

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3705 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 20:40:19 +00:00
XTra.KrazzY 92e63e3ac4 Various changes: Fixed linux build, added some zelda ucode RE, added HLE mail logging features
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3704 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 15:12:52 +00:00
Sonicadvance1 13290204b4 Woops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3703 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 14:31:43 +00:00
nakeee e17a097113 Fix AX exp 4 (Ector should it be named new ucode request?)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3702 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 14:11:40 +00:00
Sonicadvance1 440c0c1d14 Trying to get Dolphin to compile in Xcode, had to rename the Debugger namespace to something else since the name collided in OS X when using Xcode/Cocoa. Everything compiles except for the GL plugin, and the actual main Dolphin program. Will be trying to get them to compile after sleeping
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3701 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 14:04:56 +00:00
nakeee cfb2518612 DSPLLE: make exceptions names make sense
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3700 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 12:48:38 +00:00
nakeee 1654c582ab DSPLLE: razi approved condition code naming.
(we need to go over the dspspy code to see that we use the right names)



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3698 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 10:01:34 +00:00
nakeee d8d2b8030e DSPLLE: Commented out the else in bloop, it doesn't make sense, and I didn't get any
regression, but please check and tell me if it broke something.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3695 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 21:27:56 +00:00
nakeee ce6e8ed798 DSPLLE: More minor clean up, some log mistake fixes and revert the +1 loop (it seems to got
zelda ucode stuck for some weird reason)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3694 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 19:19:03 +00:00
nakeee c44dabfe8b DSPLLE: comments and logging clean up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3693 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 18:15:01 +00:00
LPFaint99 a41c1b2d0a add *.user, Win32, and x64 build dir to ignore list for DebuggerUICommon and Unit Tests
add *.aps to ignore list for DolphinWX dir
add eol-style native to 120 or so files

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3689 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 02:10:26 +00:00
nakeee 36883d6a48 Returned the exception in action check, it seems that we are missing how 2 exceptions are
handled together. For example SSBM got both 32 and 4 exception together but with the hack 4 is 
lost. Removed some junk from LLE logging


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3682 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 16:18:17 +00:00
nakeee 96429cf752 DSPLLE Take 2 in getting rid of exception hack.
This time zelda seems to work and mails seems to pass between CPU and SPU
Very similar to the ones from HLE 


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3680 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 13:07:38 +00:00
nakeee df3abc6a2a DSPLLE: small loop fix (ector pls take a look)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3679 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 10:17:52 +00:00
Shawn Hoffman 76b5bd49f8 buildfix for r3671
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3673 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-04 04:52:30 +00:00
LPFaint99 68a384f803 Path is now correctly X:\ on windows instead of X:\/
Allows booting from drive root
Fixes issue 1035.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3672 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-04 04:24:52 +00:00
magumagu9 1b936a4f71 JIT for frsqrte; not really a large difference, but drops it off a
profile I'm looking at.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3671 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-04 00:48:09 +00:00
magumagu9 c52e4d281e Remove instructions which don't actually exist.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3670 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-04 00:09:12 +00:00
magumagu9 3034a9fcfc Misc warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3668 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 23:14:06 +00:00
LPFaint99 fc604ba2d1 fix for r3667
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3667 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 22:51:21 +00:00
LPFaint99 4c86d218c1 Add Taiwan to the Country Codes, move all country code switches to one function, add unk country flag and taiwan country flag
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3666 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 22:34:51 +00:00
hrydgard 37332216ef Cache pointer to dsp plugin. turns out the lookup is pretty expensive, looking at TD's oprofile run... this'll maybe give you a frame or two.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3664 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 18:47:55 +00:00
hrydgard 90a2096a24 Assorted cleanup, perf counter logging, and minor fixes that have been accumulating on my hdd :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3663 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 18:33:28 +00:00
sl1nk3.s 936225eee4 Fix a nasty dualcore hang in EFB read (see r3658 comment...)
Also fix an issue reported by baby.lueshi (issue 1074) in nJoy related to half press button being always pressed when unset.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3661 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 15:35:31 +00:00
XTra.KrazzY 06b65ea425 Uber-fast stop (thanks to smart memory card flushing) and various savestate changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3659 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 12:22:32 +00:00
XTra.KrazzY 3ddbb094ab 1. Savestates should now be super-stable (but you have to save AND load)
2. AccessEFB will probably not hang (tell me if it does)
3. Stopping should be a little bit faster

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3658 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 10:00:09 +00:00
Shawn Hoffman 7e8a2fc136 remove MusicMod
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3657 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 03:26:23 +00:00
hrydgard 50ccffd0a6 OpenGL: Fix flickery crap graphics in Mario Galaxy. Was an uninitialized variable in the shader.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3654 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 23:16:30 +00:00
hrydgard c97dc8df52 remove audiocommon include from DSPCore
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3653 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 22:15:19 +00:00
nakeee ac9510187c LLE Recommit some clean up from previous commits
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3652 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 21:20:47 +00:00
hrydgard 20db80bf6d MSDN says that wParam should be masked ... maybe will fix a user reported problem of the screensaver starting
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3651 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 21:17:36 +00:00
XTra.KrazzY 7a05aafe39 EFB Access now works from both Dual Core and Single Core modes. Thread-safe.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3644 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 10:16:06 +00:00
sl1nk3.s ae2a5b8587 Fix PeekZ when not using native resolution
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3643 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 01:49:28 +00:00
Shawn Hoffman 16bf555f7b dsp lle: add default names for pdlabels[], so you don't get "(null)" with the disassembler
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3641 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 22:49:32 +00:00
Shawn Hoffman 599c9fd15c revert r3521 - r3523
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3639 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 22:47:01 +00:00
nakeee 0905dbc833 in gcc enum is not a namespace
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3633 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 19:41:19 +00:00
Shawn Hoffman 2fc917dd79 don't return stencil bits in the response for PEEK_Z. compensate for ogl's upside-down coords...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3632 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 19:29:35 +00:00
Shawn Hoffman 1780f82dac implement peeking z value from ppc. currently only works in single core mode. the pixel format may be slightly off of what the game actually desires. someone check please? :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3627 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 13:49:49 +00:00
LPFaint99 39b9b887c1 DiscScrubber: only close the file if it was successfully opened, fixes crash if you try to compress a wii game set to readonly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3626 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 06:48:02 +00:00
LPFaint99 52e424485f Do not BootGame if there are no items in the GameListCtrl, fix test to see if cancel was chosen from File > Open.
Fixes issue 1046.
it does leak 10kB every time that GetSelectedISO is called, I am not too worried about this. The other ways of accomplishing this would be more complicated, for little gain. Feel free to revert everything except line 466 of FrameTools.cpp :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3625 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 04:55:53 +00:00
Shawn Hoffman 656ba06e40 MemoryWindow will now dump aram instead of ram - if you are viewing aram
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3624 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 21:11:39 +00:00
nakeee e6d78bcf3c DSPLLE some more exception clean up, still couldn't get zelda to work:(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3623 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 17:33:38 +00:00
nakeee 22aa9128ee DSPLLE enabled int on reset
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3622 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 10:33:08 +00:00
nakeee 292b3f675f DSPLLE got rid of exception in progress hack.
I didn't get any change in behaviour though.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3621 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 10:10:30 +00:00
magumagu9 8f4e56c61c Minor cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3619 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 05:41:04 +00:00
Shawn Hoffman 92e2f8b6ee debuggerUICommon: don't spam solution dir
dsp hle: log unhandled formats instead of using PanicAlert...seems to increase stability, even tho I only intended to make wind waker less annoying :p

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3617 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 03:55:56 +00:00
Nolan Check dbe42dd755 Remove obsolete debug-assertions in VideoInterface. Hopefully fix screenshots.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3604 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 20:54:47 +00:00
hrydgard b32b6a4575 EFB peek/poke: Add some debug code documenting how to get the pixel location.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3602 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 18:49:37 +00:00
Shawn Hoffman 86339310a5 forgot a file from last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3595 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 15:54:04 +00:00
Shawn Hoffman 4b60442332 build fix for jitil on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3593 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 14:54:26 +00:00
XTra.KrazzY a0bd319f7f GUI Minicommit: Menu item for screenshot
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3592 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 09:24:39 +00:00
Nolan Check c2e0225aa3 Move to new Virtual XFB system which correctly handles games which store multiple XFB's in memory. More OpenGL cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3591 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 07:30:48 +00:00
magumagu9 188fa9b2cb JitIL doesn't use JitRegCache; get rid of it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3590 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 01:21:55 +00:00
magumagu9 449f075fd6 Code cleanup: split IR.cpp into its two logical components.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3589 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 01:08:08 +00:00
Nolan Check 5717f1f15b Grok EFB pixel format to determine whether render target has alpha, thus fixing the "Stage Clear" screen in SSBM.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3588 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 00:52:54 +00:00
XTra.KrazzY fd47eb7b44 Save States: 1. Added "Undo Load State" which... undoes load state :)
2. Implemented saving/loading to memory buffers (very fast) for temporal states such as for "undo load state"

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3585 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 21:11:51 +00:00
Nolan Check e341985003 Fix flickering in Real XFB mode. POFF for XFBBottomInfo appears to be connected to POFF for XFBTopInfo.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3584 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 20:55:31 +00:00
magumagu9 7f27cfc9d2 Misc warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3583 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 20:53:26 +00:00
magumagu9 1bcef5be76 Misc warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3582 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 20:38:01 +00:00
magumagu9 b33e69b8de Small warning fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3581 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 20:07:38 +00:00
hrydgard 3d9279a73f Graphics: (faked) bounding box support. Helps some Paper Mario effects although they're still a bit glitchy. Might also help other games? Enable with the #define in VideoCommon.h. Since there might be a speed hit it's off by default.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3580 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 20:04:07 +00:00
magumagu9 faa63713e2 Remove a bunch of unnecessary "inline" designators. This was actually
breaking the build on my system; I'm surprised nobody else has run into 
this issue.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3579 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 19:51:48 +00:00
XTra.KrazzY 24a63ce368 Organized savestate hotkeys: F1-F8: States, F9: Screenshot, F10: Pause, F11: Load last state, F12: Undo load state, Shift-F12: Undo save state
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3578 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 19:47:02 +00:00
hrydgard dfdfbd4a6a Delete some obsolete junk, in zelda ucode and in gl plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3577 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 17:58:52 +00:00
hrydgard cc38e72dc3 DSPLLE: Setting breakpoints and stepping through code now works in the (still rather basic) DSP debugger. Decided not to share the breakpoints code between PPC and DSP because it can be done much more efficiently for the DSP case due to the very limited memory space.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3575 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 17:18:52 +00:00
Shawn Hoffman e4af896638 revert accidental change to OpenGL's Config.cpp
fix jitil building
fix win32 debugfast building

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3574 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 16:47:14 +00:00
hrydgard 04105baf4e DSPLLE: sort of semi-working breakpoints and stepping, if you flip an #ifdef. more work to do, for some reason it gets very slow when you enable it atm
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3573 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 16:23:40 +00:00
hrydgard b406203794 build fixing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3571 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 15:52:15 +00:00
nakeee 900287be50 Compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3569 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 12:50:51 +00:00
hrydgard 6c52ab1c39 give the DSP breakpoints that can be toggled but don't work yet :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3568 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 12:30:34 +00:00
hrydgard 8e7fdbc150 cleanup: extract breakpoint code into Common. only have one shared PPCDebugInterface.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3567 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 12:15:31 +00:00
hrydgard 7c92dada85 added an AX disasm with (few) comments. Moved some code around to prepare to share some breakpoint code between the ppc and dsp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3566 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 11:47:39 +00:00
hrydgard 5c7fc8ed7b DSP: build fixin', more movin', some comments.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3564 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 10:24:44 +00:00
hrydgard 895b02f410 DSP: Add txt file with luigi ucode comments (very basic). Rename some stuff. Remove function pointer in g_dsp structure, replace with a "Host" function call. Fix a problem where symbols weren't loaded into DSP debugger.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3563 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 10:00:25 +00:00
XTra.KrazzY 7ea2bc5da9 Save States:
1. Added a header, including the Game ID (old states are obsolete unless the gameid is appended to the beginning) so states from different games can't be cross-loaded
2. Added loading/saving from/to file
3. Added loading of last saved state (F11)
4. Added "Undo State": Load the backed up last overwritten state (if you press save instead of load) (F12)
5. State code cleanup

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3560 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 01:11:35 +00:00
XTra.KrazzY 46b0fd3c96 1. TAS Groundwork: Saving the state (compression and memory dump to file) is now done on a separate thread (thread-safe). Now state saving is silent and quick.
2. When stopping, GUI doesn't let the user choose another game and effectively crash Dolphin
3. Omitted an unneeded loop in AudioCommon

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3552 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-26 22:36:44 +00:00
nakeee a398096584 fixed copy paste error:)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3547 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-26 09:05:14 +00:00
nakeee 159feed662 DSP LLE: results of wide if testing please test :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3546 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-26 08:58:54 +00:00
Nolan Check ade9479005 Display buffer flips are now triggered by the CPU thread through the Video_UpdateXFB function. This is a fairly significant change of behavior, but it improves performance.
Also, render target code is cleaned up. Post-processing shaders now work with multisampling and Real-XFB mode.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3545 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-26 08:57:53 +00:00
LinesPrower 81d671dc1a Aligned VideoInterface events with scanline updates.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3541 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-24 09:46:09 +00:00
hrydgard 103bc58c83 win build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3540 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 22:01:59 +00:00
Sonicadvance1 0552f59e20 Bit of work on Wii net, got a homebrew app quite far. might break Windows compiling, not sure, sleep deprivation kicking in
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3539 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 20:27:05 +00:00
nakeee d3bf69a154 Commit framelimiter patch from issue 1025
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3537 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 12:02:58 +00:00
LinesPrower c14548c8db Fixed JIT IL crashing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3534 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 09:36:25 +00:00
nakeee 6b2855de5e revert last 2 commits
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3533 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 09:31:30 +00:00
omegadox 5bcf69cbd6 Forgot to add the source files...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3532 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 07:44:20 +00:00
omegadox 6de0cd1e4b They should be called SU Registers (Setup Unit/Rasterization). BP (Bypass) is really the name of the commands that are passed in.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3531 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 07:40:28 +00:00
omegadox cfe3f77ccf Some commenting and added some unknown cases to BPStructs, see: http://code.google.com/p/dolphin-emu/issues/detail?id=360#c90
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3530 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 01:46:58 +00:00
hrydgard c306374577 DSP: update docs for lrs/srs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3528 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 13:39:48 +00:00
hrydgard f6ebaae792 dsp: disable the newfangled ext stuff until it can be verified and used. fix typo.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3527 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 13:11:47 +00:00
hrydgard 37375c7115 Implement the newly discovered DSP opcodes that I named LSRN and ASRN. Also (attempt to) implement reading ARAM through 0xFFD3, like the zelda ucode does.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3523 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 12:09:17 +00:00
hrydgard e5b75aef09 unbreak dsptool/dspspy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3521 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 11:12:48 +00:00
nakeee 59487bddcf Some LLE memory access
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3520 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 09:56:39 +00:00
Sonicadvance1 e91ab24bce Linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3519 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 09:35:31 +00:00
hrydgard aecaf271f1 New DSP debugger: step one. (not ready yet, but try loading zelda WW and look at the dsp debugger..).
Had to shuffle around quite a lot of code to be able to extract the CodeView into a library nicely so it can be used from both the main dolphin and the LLE plugin...  also extracted the symboldb code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3517 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 08:39:21 +00:00
hrydgard 80217a6ed7 DSP: Fix the invalid memory accesses that the Zelda Ucode does in LLE. No LLE sound yet but at least no crazy errors :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3516 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 06:56:44 +00:00
hrydgard b7e5fb6ef2 submitting just because I want to move these files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3515 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 20:21:35 +00:00
Nolan Check 91ec07a049 Remove delay in Fifo when CP/GP distance is 0. It's a bad idea to sleep for a whole MILLISECOND when we only have about 17 milliseconds to complete a frame.
This fixes slowdown in Wind Waker's Deku Tree room in dual-core mode.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3513 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 13:07:55 +00:00
John Peterson c66c54814c MusicMod: Fixed the build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3507 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 11:05:52 +00:00
nakeee 891ff575b0 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3497 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-19 16:07:09 +00:00
nakeee 07af37d11a opsss..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3493 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 21:15:49 +00:00
nakeee d91389fea2 dspcodeutil now name is always dsp_code as needed by main_spy.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3492 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 20:47:02 +00:00
death2droid 5d590d5934 Chance m_InterfaceFramelimit to m_Framelimit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3490 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 11:23:37 +00:00
Shawn Hoffman b6bdc29935 fix booting with a disc inserted
make disc changing a scheduled affair
fix some breakage from removal of mappedfile
cleanup

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3488 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 08:22:02 +00:00
Sonicadvance1 51c51c0fda Just helps BBA in Linux a bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3486 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 01:15:48 +00:00
nakeee 37ceb042e1 DSPCodeUtil some code fixing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3485 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 23:36:04 +00:00
nakeee a536460067 Fixed buffer overflow in CodesToHeader, now dsptool -m creates files correctly as far as I could test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3484 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 22:16:48 +00:00
nakeee 697ce7b1ab createtest fixes and compile fixes for linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3482 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 21:44:03 +00:00
hrydgard ff83f9eb71 sorry
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3481 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 21:18:56 +00:00
hrydgard 28122e0a9b Implement the findings about CR and lrs/srs in LLE plugin. Don't hear any difference in the few games i tried.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3480 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 21:08:49 +00:00
hrydgard 51cbdea782 MemoryView can now view ARAM (rightclick -> toggle memory). Add "search for instruction" capability to debugger. Code cleanup, log zelda pb type (9 all the time in Zelda Four Swords)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3479 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 19:50:59 +00:00
hrydgard 9d9ce4274b WII IPC HLE: error logging instead of panicalerts for unknown DVD operations.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3478 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 19:03:30 +00:00
Shawn Hoffman a852b6228d add some regs to PixelEngine.cpp: not sure, but probably no behavioral differences.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3476 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 07:08:57 +00:00
XTra.KrazzY 2baca7ca3d Added installing of WADs via context menu
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3475 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 06:37:34 +00:00
itsnotmailmail 232217c1cd Added the ability to install WADs (such as DLC WADs). Currently it just installs a WAD when booting it fails (when it's not bootable), I'm not sure whether there should be a menu option specially for installing WADS...
note: If you previously manually installed WADS by creating a *file* called "CONTENT", trying to reinstall that WAD automatically will fail unless you delete the file.

Added some empty log files that some games require for DLC to be recognized.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3474 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 02:50:54 +00:00
Sonicadvance1 c468d1e36a Woops, forgot to switch back a line I changed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3473 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 00:17:31 +00:00
sl1nk3.s 635a1a3a37 Trying to fix MK:Wii save corruption (see r3344) while not breaking everything using wb mode...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3466 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 19:10:37 +00:00
Sonicadvance1 5b9f26c660 Work being done. Had to change MAC address to my current one, Was being lazy to get MAC address from the device. One hack I was working with to get commercial games to work is removed, only one hack left. Socket Test responds to the DHCP packets every few tries, kind of a fail still. Haven't tested in Windows yet. If only commercial games worked, and socket test didn't fail still
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3465 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 15:16:09 +00:00
Shawn Hoffman 09f1c98785 windows buildfix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3461 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 02:26:17 +00:00
itsnotmailmail d6c40f65ff Emulate ES's GetStoredTmd and GetStoredTmdSize commands (patch from issue 1016)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3460 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 22:27:46 +00:00
hrydgard 4dba267775 Improve accuracy of FPU emulation slightly - still no F-Zero improvements :(
Generic code cleanup.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3458 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 21:10:11 +00:00
omegadox 05a8c0115b Just log the bcctrx error instead and a small comment about it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3456 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 20:22:08 +00:00
hrydgard f2a26f550e Revert much of the last commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3455 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 20:07:09 +00:00
omegadox a83a4fbc0a bcctrx opcode will fall back to the interpreter, and a minor compile and warning fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3454 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 19:06:59 +00:00
nakeee cac04c958b More work on create test (almost working beside some annoying bug)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3451 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 16:48:34 +00:00
Sonicadvance1 ae463c4ac4 Forgot the waiting part so we don't have multiple threads reading from the net device. some other stuff. PSO when set to static addresses fails to send the correct DNS server IP in the packet, is always 0.0.0.0 for some reason.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3449 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 12:47:41 +00:00
nakeee 75045807a7 linux compile fix, I'm not sure it was right of me to remove the mmsystem include (was it used?) but if it's
for the timer function please put it in Timer.h and not in each seperate file.
(And yes, I have a script that does that).


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3448 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 06:39:26 +00:00
John Peterson 5c04af50a4 Attempt to calculate actual refresh rate (i.e. a CPU-GPU synced Mhz), no real success. Anybody have any ideas?
Is there no indication from the game when the screen refresh should occur? No, not what I could find, we currently calculate the refresh rate and m_VBeamPos from the CPU ticks progress. That works perfectly if the CPU and GPU is perfectly synced as in the single core and no-idle skipping mode. So I guess it's possible that the game doesn't indicate when the screen should be refreshed, but rather that the hardware calculate that from the CPU ticks progress. That leaves us with a problem in the dual core and idle skipping modes to calculate a CPU-GPU synced CPU ticks progress.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3447 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 04:30:02 +00:00
Sonicadvance1 3295ec38eb Have to create a thread in Linux to receive packets. Socket Test does DMA reads, but still fails to get IP address from DHCP. PSO doesn't ever call startRecv function to start up the socket reading, Which is why PSO doesn't receive sockets in Windows either. Will have to look in to this more
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3446 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 04:14:34 +00:00
Sonicadvance1 4b5ab642cd Finally got my subversion working again. Fixed a swap issue that I recently found, still not sure why I'm not receiving the packets, even though Wireshark shows the OS is returning DHCP packets
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3445 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 20:54:26 +00:00
hrydgard 0bee242493 Unbreak the build (sorry, forgot a few includes), move FP classification to MathUtil, add some more unittests.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3442 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 11:30:33 +00:00
hrydgard f67660cbfe Remove the last use of MappedFile and kill the code. (less code is good!) (we've found that file mapping in the context of Dolphin only causes problems and give no speed gain - Dolphin gobbles address space ferociously on its own without mapping in huge disk images). Add some math util functions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3441 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 10:59:06 +00:00
hrydgard a517d054e3 deactivate some debugging code I left in..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3437 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 08:50:06 +00:00
XTra.KrazzY 8a5c382dad Linux build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3436 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 08:37:27 +00:00
Nolan Check 7812b2a231 Fix null-dereferencing error in EXI_DeviceMemoryCard.cpp;
Make wx projects build for 64-bit JITIL configuration

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3435 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 03:29:58 +00:00
hrydgard 31f7020b2d Add mini unit testing framework to Dolphin itself - use it to find bugs and verify the portable powerpc fp number classifier. also random cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3432 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 22:08:01 +00:00
nakeee df7b29da32 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3431 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 20:55:25 +00:00
donkopunchstania 77c7161e7d Add projection hack back. The previous commit helped, but did not fix all the problems. Projection hack values may need to be changed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3428 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 19:36:19 +00:00
donkopunchstania fcd7fa997b Possible fix for projection hacks
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3427 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 17:44:14 +00:00
hrydgard 10442c8faa PowerPC: Fixed moronic bug in mcrfs - together with correctly computing FPRF (which is a new option, slows down slightly) in a few ops this fixes most remaining math errors in Super Monkey Ball and eliminates the need for the HLE hacks. Make sure to have up-to-date gameconfigs. Unfortunately, F-Zero still doesn't work. Misc other small changes. Indent some code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3426 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 14:10:10 +00:00
XTra.KrazzY 92ef5e144a Small cleanup. Pad configuration *should* work on my Linux machine now. I'll verify it tomorrow.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3422 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 11:59:58 +00:00
Shawn Hoffman ff7f9020fe dsp: renamed R09 to WR1 in some tests, removed unused code in DSPTables.cpp, added showing of origin file in dspspy (please fix if [runningUcode - 1] is wrong)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3417 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 04:55:58 +00:00
XTra.KrazzY f8a221dea2 small thread fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3416 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 00:21:47 +00:00
XTra.KrazzY 2f0c872cd2 Flushing the memory card data to the hard-drive is now being done in a separate thread. Eliminates emulation delay/hang during memory card flush.
I made this because for some reason my HD is probably failing and saving hangs the emulation for a couple of seconds (at least in SA2:B). Now everything runs smoothly.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3415 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 00:01:51 +00:00
hrydgard e8767497b5 JITIL 64 - fix stupid bug in IR.cpp. Almost there... loadstorepaired left. fix disasm in 32-bit mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3414 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 23:56:31 +00:00
hrydgard 087fe68d6d apply itsnotmailmail's DLC fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3413 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 20:29:50 +00:00
sl1nk3.s 04db7f5260 I need glasses
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3412 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 16:07:07 +00:00
sl1nk3.s d99deae17d Fix for tatsunoko vs capcom and those wii games getting corrupted memory error
+ a couple of (serious...) fixes for some of my mistakes, and some warning fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3411 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 15:47:41 +00:00
Shawn Hoffman a1fd2defc4 add missing define of DEBUGFAST in win32 build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3410 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 15:15:01 +00:00
hyperiris ff0ec2b3f8 a NEED DEBUG version of openal sound system, nakee, try to FIX it! :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3409 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 14:40:50 +00:00
death2droid b8d3cae6e3 Dolphin now saves frame limiter setting.
Info Window now also gets the frame limiter setting :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3408 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 13:21:54 +00:00
XTra.KrazzY c4632fe345 DSPSpy can now dump all microcodes in a press of a button (2 on the Wii). Please test this
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3407 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 10:46:22 +00:00
XTra.KrazzY aeb7053230 DSPTool now accepts multiple files with the '-m' flag. See usage for more information.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3406 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-11 07:11:05 +00:00
hrydgard 759263351a JITIL: Disable all load/store instructions in 64-bit mode. This actually makes a lot of games work - but slowly. Investigation needed. Reindent a bunch of code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3405 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-10 19:43:47 +00:00
death2droid a9728b50b9 Fix for setting projection hacks in ISO Properties.
And added a projection hack for Skies of Arcadia by downloadaja.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3402 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-10 01:26:42 +00:00
sl1nk3.s ca7e4bd179 One char fix for the Wii menu and the cdb.vff issue as well as issue 1011, also fixed the Post build event, now copies files and directory if they're more recent without asking...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3401 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-10 01:15:41 +00:00
hrydgard 6f845b8bb0 Patch in Iulius' framelimiter, since it has advantages over "Other Audio" in many games (more speed).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3397 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 21:27:45 +00:00
XTra.KrazzY 0b082d303b Tiny commit:
1. OpenAL is now selectable by default (I don't know why it was disabled)
2. Informativeness on Zelda UCode

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3395 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 20:22:53 +00:00
hrydgard df91fc8648 Post-processing: Added options to graphics config dialog.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3391 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 19:40:47 +00:00
death2droid d124ceaf92 Add some OpenGL projection hacks by downloadaja
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3390 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 14:24:20 +00:00
John Peterson 33a0f0838b Debugging: Added 'insert nop' to menu, added 'show history' code for interpreter mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3388 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 05:26:39 +00:00
LPFaint99 bb412e5641 Update the behavior for GameListCtrl to reflect the possibility of all games being hidden
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3387 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 05:08:58 +00:00