Commit graph

3743 commits

Author SHA1 Message Date
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
Shawn Hoffman
f6af7794cd transfer comments from dsp rom disasm to shiny new disasm
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3636 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 20:55:45 +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
XTra.KrazzY
adf9d8d939 Simple 0x0000 zelda ucode voice case documentation
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3628 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-01 15:52:43 +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
1b6608ad29 ucode voice cases jump table documentation, decrypted case 0x6
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3615 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-30 00:20:55 +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