Commit Graph

2373 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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 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
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
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
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 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
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
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
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 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
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
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 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
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
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
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
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 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
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
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
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
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 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
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
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
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
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 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
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
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
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
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 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
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
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
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
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 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
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 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 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 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
nakeee 891ff575b0 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3497 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-19 16:07:09 +00:00
nakeee 07af37d11a opsss..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3493 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 21:15:49 +00:00
nakeee d91389fea2 dspcodeutil now name is always dsp_code as needed by main_spy.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3492 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 20:47:02 +00:00
death2droid 5d590d5934 Chance m_InterfaceFramelimit to m_Framelimit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3490 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 11:23:37 +00:00
Shawn Hoffman b6bdc29935 fix booting with a disc inserted
make disc changing a scheduled affair
fix some breakage from removal of mappedfile
cleanup

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3488 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 08:22:02 +00:00
Sonicadvance1 51c51c0fda Just helps BBA in Linux a bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3486 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-18 01:15:48 +00:00
nakeee 37ceb042e1 DSPCodeUtil some code fixing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3485 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 23:36:04 +00:00
nakeee a536460067 Fixed buffer overflow in CodesToHeader, now dsptool -m creates files correctly as far as I could test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3484 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 22:16:48 +00:00
nakeee 697ce7b1ab createtest fixes and compile fixes for linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3482 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 21:44:03 +00:00
hrydgard ff83f9eb71 sorry
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3481 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 21:18:56 +00:00
hrydgard 28122e0a9b Implement the findings about CR and lrs/srs in LLE plugin. Don't hear any difference in the few games i tried.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3480 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 21:08:49 +00:00
hrydgard 51cbdea782 MemoryView can now view ARAM (rightclick -> toggle memory). Add "search for instruction" capability to debugger. Code cleanup, log zelda pb type (9 all the time in Zelda Four Swords)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3479 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 19:50:59 +00:00
hrydgard 9d9ce4274b WII IPC HLE: error logging instead of panicalerts for unknown DVD operations.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3478 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 19:03:30 +00:00
Shawn Hoffman a852b6228d add some regs to PixelEngine.cpp: not sure, but probably no behavioral differences.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3476 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 07:08:57 +00:00
XTra.KrazzY 2baca7ca3d Added installing of WADs via context menu
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3475 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 06:37:34 +00:00
itsnotmailmail 232217c1cd Added the ability to install WADs (such as DLC WADs). Currently it just installs a WAD when booting it fails (when it's not bootable), I'm not sure whether there should be a menu option specially for installing WADS...
note: If you previously manually installed WADS by creating a *file* called "CONTENT", trying to reinstall that WAD automatically will fail unless you delete the file.

Added some empty log files that some games require for DLC to be recognized.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3474 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 02:50:54 +00:00
Sonicadvance1 c468d1e36a Woops, forgot to switch back a line I changed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3473 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17 00:17:31 +00:00
sl1nk3.s 635a1a3a37 Trying to fix MK:Wii save corruption (see r3344) while not breaking everything using wb mode...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3466 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 19:10:37 +00:00
Sonicadvance1 5b9f26c660 Work being done. Had to change MAC address to my current one, Was being lazy to get MAC address from the device. One hack I was working with to get commercial games to work is removed, only one hack left. Socket Test responds to the DHCP packets every few tries, kind of a fail still. Haven't tested in Windows yet. If only commercial games worked, and socket test didn't fail still
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3465 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 15:16:09 +00:00
Shawn Hoffman 09f1c98785 windows buildfix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3461 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-16 02:26:17 +00:00
itsnotmailmail d6c40f65ff Emulate ES's GetStoredTmd and GetStoredTmdSize commands (patch from issue 1016)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3460 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 22:27:46 +00:00
hrydgard 4dba267775 Improve accuracy of FPU emulation slightly - still no F-Zero improvements :(
Generic code cleanup.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3458 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 21:10:11 +00:00
omegadox 05a8c0115b Just log the bcctrx error instead and a small comment about it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3456 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 20:22:08 +00:00
hrydgard f2a26f550e Revert much of the last commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3455 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 20:07:09 +00:00
omegadox a83a4fbc0a bcctrx opcode will fall back to the interpreter, and a minor compile and warning fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3454 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 19:06:59 +00:00
nakeee cac04c958b More work on create test (almost working beside some annoying bug)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3451 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 16:48:34 +00:00
Sonicadvance1 ae463c4ac4 Forgot the waiting part so we don't have multiple threads reading from the net device. some other stuff. PSO when set to static addresses fails to send the correct DNS server IP in the packet, is always 0.0.0.0 for some reason.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3449 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 12:47:41 +00:00
nakeee 75045807a7 linux compile fix, I'm not sure it was right of me to remove the mmsystem include (was it used?) but if it's
for the timer function please put it in Timer.h and not in each seperate file.
(And yes, I have a script that does that).


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3448 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 06:39:26 +00:00
John Peterson 5c04af50a4 Attempt to calculate actual refresh rate (i.e. a CPU-GPU synced Mhz), no real success. Anybody have any ideas?
Is there no indication from the game when the screen refresh should occur? No, not what I could find, we currently calculate the refresh rate and m_VBeamPos from the CPU ticks progress. That works perfectly if the CPU and GPU is perfectly synced as in the single core and no-idle skipping mode. So I guess it's possible that the game doesn't indicate when the screen should be refreshed, but rather that the hardware calculate that from the CPU ticks progress. That leaves us with a problem in the dual core and idle skipping modes to calculate a CPU-GPU synced CPU ticks progress.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3447 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 04:30:02 +00:00
Sonicadvance1 3295ec38eb Have to create a thread in Linux to receive packets. Socket Test does DMA reads, but still fails to get IP address from DHCP. PSO doesn't ever call startRecv function to start up the socket reading, Which is why PSO doesn't receive sockets in Windows either. Will have to look in to this more
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3446 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 04:14:34 +00:00
Sonicadvance1 4b5ab642cd Finally got my subversion working again. Fixed a swap issue that I recently found, still not sure why I'm not receiving the packets, even though Wireshark shows the OS is returning DHCP packets
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3445 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 20:54:26 +00:00
hrydgard 0bee242493 Unbreak the build (sorry, forgot a few includes), move FP classification to MathUtil, add some more unittests.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3442 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 11:30:33 +00:00
hrydgard f67660cbfe Remove the last use of MappedFile and kill the code. (less code is good!) (we've found that file mapping in the context of Dolphin only causes problems and give no speed gain - Dolphin gobbles address space ferociously on its own without mapping in huge disk images). Add some math util functions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3441 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 10:59:06 +00:00
hrydgard a517d054e3 deactivate some debugging code I left in..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3437 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 08:50:06 +00:00
XTra.KrazzY 8a5c382dad Linux build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3436 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 08:37:27 +00:00
Nolan Check 7812b2a231 Fix null-dereferencing error in EXI_DeviceMemoryCard.cpp;
Make wx projects build for 64-bit JITIL configuration

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3435 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 03:29:58 +00:00
hrydgard 31f7020b2d Add mini unit testing framework to Dolphin itself - use it to find bugs and verify the portable powerpc fp number classifier. also random cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3432 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 22:08:01 +00:00
nakeee df7b29da32 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3431 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 20:55:25 +00:00
donkopunchstania 77c7161e7d Add projection hack back. The previous commit helped, but did not fix all the problems. Projection hack values may need to be changed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3428 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 19:36:19 +00:00
donkopunchstania fcd7fa997b Possible fix for projection hacks
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3427 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 17:44:14 +00:00
hrydgard 10442c8faa PowerPC: Fixed moronic bug in mcrfs - together with correctly computing FPRF (which is a new option, slows down slightly) in a few ops this fixes most remaining math errors in Super Monkey Ball and eliminates the need for the HLE hacks. Make sure to have up-to-date gameconfigs. Unfortunately, F-Zero still doesn't work. Misc other small changes. Indent some code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3426 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 14:10:10 +00:00
XTra.KrazzY 92ef5e144a Small cleanup. Pad configuration *should* work on my Linux machine now. I'll verify it tomorrow.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3422 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 11:59:58 +00:00
Shawn Hoffman ff7f9020fe dsp: renamed R09 to WR1 in some tests, removed unused code in DSPTables.cpp, added showing of origin file in dspspy (please fix if [runningUcode - 1] is wrong)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3417 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 04:55:58 +00:00
XTra.KrazzY f8a221dea2 small thread fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3416 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 00:21:47 +00:00
XTra.KrazzY 2f0c872cd2 Flushing the memory card data to the hard-drive is now being done in a separate thread. Eliminates emulation delay/hang during memory card flush.
I made this because for some reason my HD is probably failing and saving hangs the emulation for a couple of seconds (at least in SA2:B). Now everything runs smoothly.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3415 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 00:01:51 +00:00
hrydgard e8767497b5 JITIL 64 - fix stupid bug in IR.cpp. Almost there... loadstorepaired left. fix disasm in 32-bit mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3414 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 23:56:31 +00:00
hrydgard 087fe68d6d apply itsnotmailmail's DLC fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3413 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 20:29:50 +00:00
sl1nk3.s 04db7f5260 I need glasses
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3412 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 16:07:07 +00:00
sl1nk3.s d99deae17d Fix for tatsunoko vs capcom and those wii games getting corrupted memory error
+ a couple of (serious...) fixes for some of my mistakes, and some warning fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3411 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 15:47:41 +00:00
Shawn Hoffman a1fd2defc4 add missing define of DEBUGFAST in win32 build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3410 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 15:15:01 +00:00
hyperiris ff0ec2b3f8 a NEED DEBUG version of openal sound system, nakee, try to FIX it! :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3409 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 14:40:50 +00:00
death2droid b8d3cae6e3 Dolphin now saves frame limiter setting.
Info Window now also gets the frame limiter setting :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3408 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 13:21:54 +00:00
XTra.KrazzY c4632fe345 DSPSpy can now dump all microcodes in a press of a button (2 on the Wii). Please test this
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3407 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 10:46:22 +00:00
XTra.KrazzY aeb7053230 DSPTool now accepts multiple files with the '-m' flag. See usage for more information.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3406 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-11 07:11:05 +00:00
hrydgard 759263351a JITIL: Disable all load/store instructions in 64-bit mode. This actually makes a lot of games work - but slowly. Investigation needed. Reindent a bunch of code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3405 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-10 19:43:47 +00:00