Commit Graph

346 Commits

Author SHA1 Message Date
Sonicadvance1 3c537ec137 Fix Compiling in OSX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4523 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-08 23:36:14 +00:00
Shawn Hoffman a4ea3a3452 fix crash caused by adding DSP_ClearAudioBuffer()
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4509 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-07 23:51:12 +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
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
XTra.KrazzY 0daa5add46 Added DEBUG to the long stringstream processing.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4483 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-30 14:52:42 +00:00
XTra.KrazzY 4fbf138ed2 The beginning of another approach on Zelda HLE UCode: PB debugging and comparison
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4481 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-30 07:10:46 +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
Marko Pusljar c8fc5e8f37 DSPHLE/ZeldaUcode/AFC5 improvement (can be heard when you jump on/talk to ppl in Super Mario Sunshine)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4429 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-16 15:56:36 +00:00
Marko Pusljar b8bdb7cb8b AFC looping disabled, will be back when its properly fixed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4423 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-14 23:30:27 +00:00
hrydgard bf595e31be Same as the last change but for Wii AX.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4377 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 19:04:48 +00:00
hrydgard c0c52fffe9 AX HLE (GC): Some protection from bad data. Fixes an SMB2 crash on reset for me, might fix other random crashes, who knows.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4376 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 19:01:14 +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
XTra.KrazzY 48ed2ae852 Best of both worlds (or hacks...). Music continues to play, no sound breakage in Pikmin2/ZTP. Wind Waker still echoes weirdly in ZWW though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4344 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-29 19:15:34 +00:00
luigi2us cad887c51d AXWii: more disasm; and send correct mail at end of AXList (DCD10002 instead of DCD10001), which makes the game send a CDD10003 as expected.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4336 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-27 15:18:20 +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
XTra.KrazzY ebfceb16b9 Some leftover work from unfinished DX9 Access EFB. In DSP HLE, 0x0004,7,b,c are almost done, all that's left to do is resample from 0x50 to _Size.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4313 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-24 13:52:45 +00:00
XTra.KrazzY 47a1d2da9c DSP HLE: External ops oops (thanks, lordmark)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4294 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18 00:12:10 +00:00
XTra.KrazzY eb8ddbf3e5 A basic, un-resampled version of Zelda UCode cases 0x4,7,b,c. These are used a lot in Pikmin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4293 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 22:53:36 +00:00
XTra.KrazzY 0ebb7376c8 More WaveTable (ucode case 0x4,0x7,0xb,0xc) work (thanks for noticing they're the same, LordMark!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4292 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 12:09:10 +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
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
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 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
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
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
sl1nk3.s 2790a36390 Fix fps value when XFB is enabled on OGL plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4118 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 17:47:17 +00:00
sl1nk3.s 94bc6d7f36 Fixed broken CPU EFB access on DX plugin, helps Wind Waker and ZTP not to hang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4116 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31 16:10:36 +00:00
hrydgard 6b97c0b764 DSPHLE: LordMark's looping hack for AFC. looping isn't correct but it's good enough for Pikmin 2 and Zelda TP's missing music. Does cause weird "echoes" in the harp sound in Zelda Four Swords, but I think that's a fair sacrifice until we figure it out properly.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4111 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-30 21:57:00 +00:00
Shawn Hoffman 69eadecc9a this ucode is really AX(wii), not zelda
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4110 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-30 19:51:16 +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
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
XTra.KrazzY 2e24e7db06 Pikmin 2 for the Wii now has correct sound thanks to LordMark. Too bad the mail stops coming after a while
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4064 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-25 19:48:38 +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
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
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
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
XTra.KrazzY 286f17b7de Pikmin 2 for the Wii also boots, with corrupt sound this time. Included its UCode, since it's so different from Pikmin 1's and contains the mysterious UnkZelda address. Also, potential run-stop-run bug has been fixed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3965 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-12 01:15:57 +00:00
XTra.KrazzY d4a877a252 Pikmin for Wii now boots in dolphin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3963 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-11 21:08:28 +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
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
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 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
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 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
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