Commit graph

3121 commits

Author SHA1 Message Date
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