Commit Graph

3678 Commits

Author SHA1 Message Date
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
LPFaint99 90d2d95c72 plugins can now compile with unicode
excluding DX9

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3905 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-30 07:08:31 +00:00
sl1nk3.s 28198d0062 Should reduce/fix the little stuttering when saving a screenshot as PNG, especially for our friendly quadcores users :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3903 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-29 03:11:35 +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
Nolan Check 3448956f1f Correct addrRangesOverlap. May fix stuttering in many games.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3901 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-29 01:06:49 +00:00
sl1nk3.s 7995cd2d13 Fix for latest commit : turns out Destroy() already frees the data, also add sskkiipp's offset patch for the "dump frames"
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3900 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-29 00:49:12 +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 335a02b030 Fix "Show EFB copy regions" (thanks sskkiipp)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3894 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28 05:02:47 +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 eec7cba0af DSPLLE improved 'ld test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3871 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-22 20:36:16 +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
nakeee 17303d3be9 remove njoy_testing from sconstruct/sln (yea I hope I didn't break it:)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3865 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-20 21:29:52 +00:00
nakeee 479fd3f803 Remove njoy_testing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3863 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-20 21:13:22 +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
Shawn Hoffman cee69b24d0 start some RE on the memcard unlocking ucode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3857 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-20 11:27:49 +00:00
Shawn Hoffman 67a083db39 mainly UI updates for dspspy, make dsptool's -m flag obey the -f flag
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3856 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-20 02:56:44 +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 feb67740bc fix tiny find+replace error within a comment
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3854 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 20:31:49 +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
Shawn Hoffman d09b777de8 dsp_base.inc: mail the exception instead of wr3 (no idea why that was there anyways). DSPSpy will report the exception now.
DSPTool: incorporate printresult functionality. delete printresult.cpp
DSPSpy: fix dumping of results


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3852 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 20:14:09 +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
nakeee 9d90f1868c test for ld
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3842 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19 06:49:03 +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
Shawn Hoffman 6b711a55cf double eek, dma length is in bytes, immediate store/load are in words. fixes coef dumping
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3840 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 22:56:36 +00:00
Shawn Hoffman 9dbfb38e4e eek, fix length to read in the dsp dumper...luckily this does not affect correctness of the dump on real hardware :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3839 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 22:13:54 +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
hrydgard 3a14b31b81 Same as last change but for Wii AX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3832 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 09:51:47 +00:00
hrydgard a8731c635b DSPHLE AX: Restructure GC AX to work in a less insane way. No major change expected, maybe less dropouts due to a smaller window for race conditions..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3831 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 09:29:09 +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 3ad9b0a466 GH3 controller is now available to choose as an extension
joystick works from a pad, but doesnt work from the keyboard, maybe because of incorrect calibration values?


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3827 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18 05:04:36 +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
luigi2us 4e95ed4564 Zelda uCode: Fixed an extremely stupid bug (forgot an else).
Should definitely fix SMS.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3825 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-17 23:36:34 +00:00
luigi2us 8cdae6fc1d Zelda uCode (SMS): fix a bug where we would receive more sync mails that expected.
Actually the sync mail sequences contain 3 mails, not 2.
That's what happens when you don't look at the uCode enough...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3824 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-17 23:26:21 +00:00
luigi2us d5c7105c78 Zelda uCode: try to fix Super Mario Sunshine (hard since I don't have the game).
Let's hope it'll work. If yes, we can open the champagne :D

(BTW: yeah, again a HandleMail() clone)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3823 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-17 22:57:56 +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
Nolan Check a48e148104 Don't use undefined OpenGL behavior, even if it does somehow work. Also, enable PEEK_COLOR logic. Not sure if any games use it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3814 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-16 09:06:16 +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
luigi2us 56d55f2d22 DSPSpy: added a test for opcode 0x3D80.
Ran this test on my Wii, with AC0.M = 0x0004 and AC1.M = 0x1234
Result: AC1.M = 0x2340 
This opcode is NOT andc'ls. It left-shifts ACC1 by value in ACC0.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3796 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 10:09:48 +00:00
luigi2us 7fbb18314f DSPSpy: fix compilation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3795 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15 09:58:53 +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
hrydgard 7a82ae0943 cleanup, minor probably unnoticable fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3793 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-14 22:39:34 +00:00
hrydgard ec86152593 DSPHLE: Implement PCM8 accurately - more music and sfx in Pikmin, MKDD. Rewrite PCM16 to be similar to the new PCM8 implementation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3792 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-14 22:32:18 +00:00
XTra.KrazzY e8c9101773 Minicommit: more cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3791 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-14 19:08:44 +00:00
XTra.KrazzY 32265bcd60 Cleanup, more ucode case examples.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3790 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-14 18:13:30 +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
hrydgard fda61d91d5 DSPHLE: Try to make zelda ucode savestates safer (sorry, this'll break your current states, as usual).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3788 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 20:56:49 +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
luigi2us 389a2c6fc8 Fixed some bugs with light version.
Now Luigi's Mansion has sound!

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3782 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 14:51:06 +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
XTra.KrazzY 4da0457524 Zelda UCode: Solves 0x21 hang. In the worst case there's a bit of stuttering in the end of the sound, since it's probably supposed to fade out.
Remaining problem: 0x21 isn't resampled correctly, so when the framerate is ~200 FPS, the music runs as it would on ~60 FPS

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3779 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 13:22:17 +00:00
luigi2us ba5f08c69d This should fix "unknown command 00" error message with Luigi's mansion.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3778 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-13 10:42:06 +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
luigi2us 5cb42673ed Oops... forgot stream update for light version.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3773 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 23:53:21 +00:00
luigi2us ddd09eda84 More correct and cleaner merge of Zelda (normal) and Luigi (light) uCodes.
Split HandleMail into two functions, one for each version.
Let's hope it won't break anything...

BTW: if you wonder what "DMA version" and "Light version" mean:
 - DMA version is, say, the uCode used by SMG
 - Light version is Luigi-styled uCode (named that way for obvious reasons)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3772 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 23:51:18 +00:00
Nolan Check 5c7844df69 Probably a good idea to check s_efbAccessRequested.
If EFB access still seems slow, please check DSP stuff instead...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3771 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 22:22:48 +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 839ed9103d Remove a log that got annoying.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3769 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 20:21:49 +00:00
hrydgard c45dfd156f DSPHLE: Fix 1 potential and 2 actual crash bugs affecting 32-bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3768 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 20:14:21 +00:00
hrydgard fe76193641 DSPHLE: Attempt at type 0x21 emulation. Enough for zelda ww intro music to play in a strange choppy way, not enough for it to stop hanging :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3767 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 19:34:59 +00:00
hrydgard a71b0d455f Fix compile errors in LLE plugin (sorry)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3766 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 17:08:48 +00:00
hrydgard 38f3ca5b91 DSPHLE: remove some annoying clicking
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3765 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 13:54:18 +00:00
hrydgard 0bdf6656c5 DSPHLE: Do the resampling correctly for PCM16 and AFC. Added linear interpolation (that works, this time :P)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3764 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12 13:45:01 +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
XTra.KrazzY ac6eb797d2 that's what happens when you quick-edit code with notepad...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3758 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 22:18:55 +00:00
XTra.KrazzY 0bec8ae9bc oops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3757 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 22:06:24 +00:00
XTra.KrazzY 52ccfa36a1 Turns out that playing ZWW is prolific. Found new 0x0008 voice type in zelda
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3756 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 21:36:31 +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
Nolan Check d99ac909b9 Remove a couple unnecessary MemFences
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3754 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 20:39:28 +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
XTra.KrazzY c01ded38bd Found new zelda voice format, 0x000c, and added REd and ugly condition to sound end in the Raw format (I dunno if it's because of this but ZWW now passes cutscenes correctly)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3751 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 20:03:26 +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 442fbf6476 DSPHLE, PCM16: improves audio quality in SMG: interpolation, preserve sample fraction.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3749 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 15:39:14 +00:00
hrydgard 3927efdb1d DSPHLE: Messing with RenderVoice_Raw.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3748 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 15:20:08 +00:00
hrydgard e0efa586a1 DSPHLE: Zelda ucode: Better volume handling for volume mode 1. Fixes most (not all) volume and stereo issues.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3747 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 14:45:05 +00:00
hrydgard f6edc361b4 Delete the "Jac" uCode HLE, merge it into the Zelda ucode. The games (Luigi, Pikmin) communicate fine but don't make any sound :(
Improved volume mode 0. Initial work on more correct volume mode 1 emulation sounds, but it's not activated. Made the volumes less annoying, anyway.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3746 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-11 13:57:21 +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
Sonicadvance1 6a4bf11d3b Xcode Compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3738 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-10 21:32:20 +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
LPFaint99 bd7419d437 More work on wiimote plugin X11 input config
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3730 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-10 06:16:22 +00:00
LPFaint99 8145eb30d9 Simplify gui init for Wiimote, nunchuck, and classic controller
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3729 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-10 05:30:19 +00:00
nakeee 7f131a9045 fixing a silly typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3728 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 16:53:09 +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
nakeee db9c9b7c17 Linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3725 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 12:23:24 +00:00
John Peterson 40f8c8ea3a nJoy: (Typing)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3724 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 08:18:10 +00:00
John Peterson 45dbfc7fdc nJoy: (Forgot to disable logging)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3723 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 08:00:21 +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 19ad53ea58 nJoy: Show the original GC controller analog stick area in the advanced settings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3720 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 06:33:01 +00:00
LPFaint99 af83bfffa1 Simplify GH3 gui init, only show currently connected extension keyboard mapping
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3719 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 04:19:49 +00:00
LPFaint99 48f1c24cc9 Add gui for GH3 Controller, extension is still disabled currently
Analog stick and whammy still do not work for GH3 extension, frets, strum, and +/- work
some cleanup
Next commit will change the PadMapping gui to only show the controller mapping for the currently enabled extension

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3718 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-09 03:58:53 +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
nakeee 9588c84475 Fix compile, removed wiimote-testing as people prefer to work live on wiimote so I will also
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3710 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-08 08:26:25 +00:00
Sonicadvance1 afa6372d96 Dolphin now compiles in OS X with Xcode. At least in release setting
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3709 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-08 08:04:36 +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
XTra.KrazzY 25b77d4654 Zelda UCode: Synth fixes and some RE. (Why does it still sound awful?)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3707 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-08 01:08:43 +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 10d854a02c remove the if tests, if you want to run them use the template
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3699 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07 10:07:33 +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
luigi2us 45771c8614 Uncomment what was accidentally commented out. Sorry.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3692 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 12:21:27 +00:00
luigi2us 85a3661afc Make AFCdecodebuffer static.
Also remove some #include UCode_Zelda_ADPCM.h I forgot.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3691 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 12:20:01 +00:00
luigi2us ca51636f5c Put AFCdecodebuffer inside the CUCode_Zelda class.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3690 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 12:12:05 +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
LPFaint99 23f3e327e2 Change Wiimote padconfig and recording wxframes to modal dialogs. (Works better for linux)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3688 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06 00:27:32 +00:00
Shawn Hoffman 8fe9db180c dsp hle: fix a hang some people were having with zelda ucode. doesn't seem to break SMG...I'm really not sure either one is the correct behavior though. (some dsp master check!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3687 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 21:34:57 +00:00
LPFaint99 b4705b80c2 Fix my 2 Epic fails
1. Srcub bars for ir cursor
2. extension connecting

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3686 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 20:11:33 +00:00
nakeee a6307a6601 LLE: so I'm case sensetive...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3685 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 19:26:13 +00:00
XTra.KrazzY 6983cd1607 oops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3684 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 19:26:05 +00:00
XTra.KrazzY e7ec7d56d5 DSPHLE: Decoded most of 0x21. Added real conclusions to the switch case to signal the CPU that the voice has been played. More work on 0x20/0x21/Raw (and probably the end of it) this weekend.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3683 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 19:14:10 +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
Shawn Hoffman 0932c11b9c buildfix for dsp hle gui
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3681 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 14:46:05 +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
LPFaint99 d3d65d2030 Revert R3511 (MusicMod was removed)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3678 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 07:30:42 +00:00
LPFaint99 52438f1dc7 Wiimote plugin cleanup & linux build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3677 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 05:59:03 +00:00
LPFaint99 c921fe1c13 New Wiimote Plugin Config GUI
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3676 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-05 04:29:00 +00:00
LPFaint99 8c6c18823f typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3675 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-04 08:26:52 +00:00
LPFaint99 86a51e0c57 Some Work on the Guitar extension for Wiimote, untested, no gui yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3674 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-04 07:28:48 +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 3c41c4dacf Misc warning fixes.
One of the fixes in 
Source/Plugins/Plugin_VideoOGL/Src/Render.cpp (for an uninitialized 
variable) looks like it could actually have real-world effects; someone 
familiar with the code should check that the fix is correct.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3669 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 23:53:20 +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
Shawn Hoffman 15e4eed7fa fix real wiimote on windows...don't really know if it was working on other platforms...yes, sorta ugly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3665 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 22:10:16 +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
hrydgard 7ec0a3a5e8 fix crash bug when saving some wiimote config
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3662 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 18:26:57 +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
Shawn Hoffman 518d3854ba add wxw modalness to both njoys and fix a bug where calling DllConfig from different parent HWNDs would stop the config dialog from appearing.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3656 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-03 03:01:58 +00:00
hrydgard 1cb3fe7521 Map middle mouse button to shake, to make Galaxy a bit more playable without my wiimote (too lazy to fetch it :p) also fix build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3655 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 23:36:15 +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
hrydgard bad9880692 GL: should probably rebind the efb FBO after the z peek..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3650 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 20:06:39 +00:00
Shawn Hoffman 99a33ccba9 apply the new wxw method to dsp hle, wiimote, and padsimple.
wiimote config now loads way faster :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3649 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 19:00:27 +00:00
Shawn Hoffman 12efada734 build fix for dx plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3648 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 17:45:09 +00:00
Shawn Hoffman 7076c36988 re-enable the ogl "debugger" (doesn't do much - and i don't have any plans for it - just wanted to dump shaders easily).
ogl config and debugger GUIs are handled much more nicely now. same with dsp lle

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3647 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 17:11:27 +00:00
nakeee 3b4f534abd Small gl possible crash fix (from cnu)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3645 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-02 11:25:43 +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 b69d218a82 fix GXPeekZ when using aa
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3642 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 23:57:20 +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
XTra.KrazzY ee86f4cd29 Temporary, somewhat hacky solution to the 0x21 hangs in the zelda ucode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3640 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 22:47:19 +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
hrydgard 54eea4d1a8 DSPHLE: fix uninitialized variable, delete obsolete junk (didn't I already do this? :P)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3638 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 22:36:59 +00:00
hrydgard 0008d5ef77 DSPHLE: Preserve fractional sample position between voice render calls. sounds slightly, slightly cleaner :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3637 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 22:26:01 +00:00
hrydgard 5ca6d2761e DSPHLE: Early implementation of volume. I'm sure there's something missing but this makes the Zelda games sound a lot better, except WW which loses a lot of audio on the title screen and link's noises are too soft.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3635 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 20:55:43 +00:00
XTra.KrazzY de83d1cda4 Zelda UCode: Found volume and sound type(streaming, sfx) in PBs. Tried to implement volume but the floating point games got on my nerves.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3634 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 19:58:10 +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
hrydgard c3547effe6 bit of zelda ucode re
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3631 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 19:14:24 +00:00
XTra.KrazzY 7d7e2ec8a8 Added the Zelda UCode preliminary synthesizer. It's far from perfect, but it sounds like the exact pitch it should synth. I'd be glad if someone finished it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3630 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 18:05:54 +00:00
XTra.KrazzY 71556f77f6 Highly experimental synth for zelda ucode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3629 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 15:54:52 +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
hrydgard fc63424bce DSPHLE: zelda ucode: add some comments, a little crash safety hack
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3620 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 06:33:17 +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 5990843c10 must have been some kind of freudian slip...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3618 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 04:00:52 +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
XTra.KrazzY 2e7dd06cfd Documented the general sound decoder. Now all we need is to implement it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3613 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 23:49:03 +00:00
XTra.KrazzY 5e65e94c4b New zelda ucode voice case
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3609 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 22:03:17 +00:00
hrydgard 499ffa33c2 LordMark's zelda hack - now goes ingame without item hack and sound is great :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3608 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 21:56:23 +00:00
Nolan Check 5064c0decc Use EXT_framebuffer_blit whenever possible. Some video cards may not handle glCopyTexImage2D correctly.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3607 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 21:54:42 +00:00
XTra.KrazzY 9ccf992aaa Forgot to commit this a while ago. Cleared up some zelda ucode stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3606 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 21:41:13 +00:00
hrydgard 4da334c562 DSPHLE: Improve AFC voice decoding. Still a bit crappy but much better :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3605 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 21:24:17 +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
nakeee 37fe91bad1 Waiting for someone to run it:)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3603 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 20:31:41 +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
magumagu9 44f3935de1 Linux build fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3601 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 18:40:10 +00:00
luigi2us c9cc3c355d Try to (re-)implement AFC sound. This is an adaptation of the code I commented out in the PCM16 commit.
For some reason AFC sound is slightly wrong. I don't know if it also happened before, but I'll work on it.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3600 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 18:11:32 +00:00
nakeee e1e9d609ed few fixes for arith test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3599 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 17:13:21 +00:00
nakeee 63547535a1 Test for testing the acc effect on SR flags
@cmd@ should be either l h or m @sr@ should be the values like in the other tests
Todo some cleanup


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3598 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 17:09:43 +00:00
luigi2us ffcf440e88 Oops... removing some junk I forgotten.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3597 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 16:20:33 +00:00
luigi2us e39658df7c This should fix SMG random freeze. Not sure though. Please check.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3596 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29 16:19:06 +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
Nolan Check 07a767691d Clean up OpenGL code and introduce the Framebuffer Manager. More work is forthcoming; I plan to implement resolution switching (while the game is running) and also multiple virtual XFBs for game-controlled buffer swapping.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3587 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 23:35:08 +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 17f697d856 fix LLE plugin crashing when not starting dolphin with -d
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3576 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 17:38:18 +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
luigi2us 1aab3252fa Added support for playing PCM16 sounds, looping or non-looping.
It is a bit hacky and may have problems, but now SMG has music.
I'll try to do AFC / ADPCM for next commit.

PS: sorry. lots of stuff from latest commits will be reverted because, when updating, I got serious conflicts and everything was messed up :(
if you want I can help you with reintegrating what was lost.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3570 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 14:22:51 +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
Sonicadvance1 f49e479d09 Tiny work in Wiimote Linux, with an extension plugged in, the game tries reading accel data and maybe extension data, too bad the games fail to actually read the information though
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3565 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 10:40:19 +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
XTra.KrazzY 8a6fcdc2bc Cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3549 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-26 15:06:23 +00:00
Nolan Check d4625bcd3a Fix vertical squishing in Real-XFB mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3548 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-26 10:47:37 +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
XTra.KrazzY a7eb7bbf00 Trying to fix DSPSpy. Test this one
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3542 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-24 16:49:10 +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 1eef6b4004 fix debug compile of wiimote-testing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3538 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 17:19:15 +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
Sonicadvance1 1f590b8900 Fix a mess up on my part, causing a bunch of unknown events in Linux with the Wiimote. Dolphin sends out packets without the start 0x52 byte. WiiUse checks for this and adds it automatically. Wiimote is still having some problems, trying to figure it out
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3536 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 11:56:27 +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 edc7b17924 fix bug in my ugly hack to load the commented zelda ucode - it always loaded, no matter what game
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3524 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 12:18:04 +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 1ca874365b Unknown DSP opcode 0x02ca tested and figured out.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3522 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 11:46:27 +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 0a648b59e4 MusicMod: Added DSP HLE option to turn off streaming music for use together with the MusicMod
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3511 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 12:19:53 +00:00
Nolan Check 8cdd8cf2a7 Return render-target alpha because of a problem report. "Stage Clear" background in SSBM is black again. More investigation is needed into render-target alpha.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3510 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 12:07:04 +00:00
death2droid 09d5313410 Remove a lot of warnings from MusicMod.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3509 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 11:31:26 +00:00
XTra.KrazzY 8cf11ff58a Linux build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3508 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 11:14:54 +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
hrydgard 35a9f15efa typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3506 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 11:02:16 +00:00