Commit Graph

3850 Commits

Author SHA1 Message Date
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 2ea850f5a0 Zelda UCode indentation cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3557 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-27 22:24:38 +00:00
XTra.KrazzY aa63c8cf8d Zelda UCode clarifications and cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3556 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-27 22:10:06 +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
Sonicadvance1 cbff6dfde3 Get Wiimote working in Linux, events.c works the same under Linux as OSX, Windows strips the first byte of the packet? Probably should be handled in WiiUse instead of our code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3535 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 10:11:31 +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
Sonicadvance1 cbd4f8937b Fix Wiimote connection issues under my Ubuntu 9.10
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3529 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 16:51:27 +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
death2droid 619ca8415a Add some dll's required to use in_vgmstream for MusicMod
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3526 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 12:29:54 +00:00
hrydgard 8001dbebc4 Comment zelda's "SetupAccelerator" now that we know what that op is...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3525 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 12:24:36 +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 eef35f9537 zelda disasm: minor commenting/formatting
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3518 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21 09:25:55 +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
hrydgard a19f907b32 DSP Zelda: Lots more commenting and a bit of RE of the ucode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3514 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 20:00:48 +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
hrydgard a68abea970 just a bit of RE, no real insights
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3512 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 12:44:17 +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
John Peterson 636746490e MusicMod: Prepare to fix the MusicMod build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3505 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 10:58:15 +00:00
hrydgard 8d30e3f3c0 DSP HLE: Break out the ADPCM decoder, add a few comments.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3504 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 10:39:45 +00:00
XTra.KrazzY 22a6533f7f State saving is now consistent with the Zelda UCode. We can now save, load, and still hear sound
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3503 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 10:24:49 +00:00
Nolan Check 4292962ea2 Changes for OpenGL plugin:
- Render targets should not have an alpha channel
- Use correct source rectangle for render-to-texture effects
- Use "GL_INTENSITY8" instead of just "GL_INTENSITY" (makes no difference)

The background of the "Stage Clear" screen in SSBM is now fixed!

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3502 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 09:29:28 +00:00