Commit graph

1874 commits

Author SHA1 Message Date
Rodolfo Osvaldo Bogado
714618f4ad small commit to fix a error introduced in 4618, thanks to LordMark for show me the games where the error is visible
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4638 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-03 22:28:03 +00:00
Rodolfo Osvaldo Bogado
a99a1451f9 d3d: a little speedup in efb to ram please test and let me know the result
opengl: a little code cleanup and possible speedup in texture recreation.
d3d and opengl :plugins corrected the efb alignment when efb to ram is used.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4637 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-03 20:09:15 +00:00
donkopunchstania
e6d51e8ff4 Fixed 24 bit depth copies to RAM. 24 and 16 bit depth copies are now more accurate. Added an offset to DX copies to RAM and made half sized copies to a texture linearly filtered.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4635 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-02 04:17:18 +00:00
Marko Pusljar
aa2f2dc95c DSPLLE - cleaning, small fixes (2 shift opcodes are more correct now (lsr,asr) + some 0x3... opcodes are working better in case they are extended)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4633 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-01 20:38:42 +00:00
ayuanx
4d512ecba7 1. Fixed the unbearable noise in "Resident Evil: Umbrella Chronicles", "Resident Evil: Dark Chronicles", and many other games.
No need to use "Sound Loop Hack", so I just removed it.

2. Fixed the WAD game loading issue. What can I say, I have to go though and patch all the WII_IPC_HLE devices to take care of this.

3. Applied tomman's Linux keyboard patch, but I can't test here, no suitable environment.

4. Disabled configuration dialogs when game is running, you have to pause game first to be able to change any configuration. (Which prevents some accidental crash to happen.)

5. Other trivial fixes, no need to mention.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4632 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-01 15:39:37 +00:00
luisr142004
9e17ee5155 fix a linux wiimote compile error and apply some little changes to the dx plugin :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4631 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-30 03:48:59 +00:00
ayuanx
5ef159a971 Now WiiMote button mapping supports both Keyboard & Joypad, or even mixed, no need to bother Xpadder. :)
But I've only tested on Win32 SDL, don't know about Linux or 360pad.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4630 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-29 17:58:52 +00:00
ayuanx
7643127935 Fixed the tiny bug that prevents you from customizing Wiimote key mapping.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4626 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-28 19:45:24 +00:00
ayuanx
3e287233e9 Shake in last revision works, but not that sensitive.
So just updated the keyboard "shake" function a bit, this can dramatically increase the shake key sensitivity.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4625 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-28 18:37:57 +00:00
ayuanx
ff23c02795 Now "Wiimote/Nunchunk Shake" on Keyboard works(for Win only).
Just press the "Shake" key.

The shake involves all the three axes: X, Y, Z.
So when you press the shake key, you are actually shaking not only up-down, left-right, and forward-backward at the same time.
I did this becuse different games may require different directional shake, no need to seperate them to 3 keys I think.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4624 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-28 18:00:07 +00:00
ayuanx
0f7b1a2f95 Added an option "Enable Loop Audio Hack" in DSP config.
I know hack is not good but before we find a better way to detect different games, at least this option allows some games to output normal sound without breaking other games.

Besides, this commit will hopefully fix the "Unknown device: /dev/usb/hid" issue, but not sure as I have no game to test on this issue.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4623 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-28 11:40:04 +00:00
luisr142004
60352d92eb Wiimote: reapply the Upright wiimote option
D3D: add the EFB Copy option to complete Rodolfo's commit plus add the Overlay FPS and the Disable Fog options
also change the config dialog's behaviour a bit

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4622 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-28 05:59:46 +00:00
ayuanx
ea732db998 Thanks to Wagnard28 and other lots of people's test, now this will hopefully solve the troubling regression problems between r4616 and r4617.
Sorry about such frequent commits in a short time

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4619 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-27 20:21:12 +00:00
Rodolfo Osvaldo Bogado
5e31f22e50 small code reorganization.
Now efb to ram display correctly but still is misaligned by one pixel
please test and give me feedback

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4618 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-27 19:42:27 +00:00
ayuanx
f69184b887 This should fix the No Sound Problem in GC & Non-AX games.
Besides, this should also fix the WAD game loading issue.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4617 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-27 17:39:37 +00:00
ayuanx
155719dc36 Very small but very COOL fix.
This commit fixed the Hang-up in many games, like "New Super Mario Bros. Wii", "Resident Evil: The Darkside Chronicles", "Fatal Frame 4: Tsukihami no Kamen", "Muramasa: The Demon Blade", and etc. You name it. OH YEAH!

This little issue really cost me some *serious* debugging time, phew...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4616 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-27 15:07:52 +00:00
Shawn Hoffman
8405c4049d Commit better wiiuse compiles, the ones in last commit may have been switched around by git on me. Add MotionPlus to the statesave so it won't be a bother later, and uncomment some things so accessing it doesn't cause PanicAlerts
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4612 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-26 05:01:24 +00:00
Shawn Hoffman
6145dd2967 Real Wiimote: fix a crash some people were having, and fix IR behavior (by turning off some msvc++ optimizations...)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4610 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-25 16:22:46 +00:00
ayuanx
29774c35e8 My first commit :)
Fixed more memory leaks when doing state load. Now all file devices(handles) are stored in state, and this will fix some crash after loading state.

Warning: Do NOT Save/Load state before game title is shown and controllable, or else you will get a corrupt state.

If you encounter "Emu WiiMote Desync" frequently, please report the condition
(PS: To recover from wiimote desync, just load a saved state)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4608 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-24 17:10:38 +00:00
Shawn Hoffman
6a46befc2a commit ayuanx's patch from issue 1634. Fixes quite a few IPC + IPC_HLE + IPC_HLE_USB + wiimote problems, see the issue for full details
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4606 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-24 05:03:47 +00:00
Rodolfo Osvaldo Bogado
55dc7efaa4 corrected viewport and scissor test behavior in both plugins.
some code cleanup in d3d.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4605 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-23 14:08:08 +00:00
Rodolfo Osvaldo Bogado
19d7bb2c84 big commit, implemented depth textures with hardware support in D3D, so now they will be correct as in opengl. please test a lot because i only tested the ati path, nvidia path is "Theoretical" :).
Also reimplemented screen clearing as a color quad to support alpha blending when clearing as in the original hardware.
the funny thing is how is implemented peeking, as locking depth textures is not supported, implemented peeking copying the values form the depth texture to a r32f render target and then reading back the data.
please a lot of testing to this commit.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4599 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-22 02:37:00 +00:00
donkopunchstania
6e7395cef1 Try to do Z textures better. Z texturing does not work if early z or no z update. Corrected the Z texture bias used on 8 and 16 bit textures.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4596 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-21 02:49:46 +00:00
Rodolfo Osvaldo Bogado
c9f5521d26 forget the new files Sorry :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4595 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-20 20:14:34 +00:00
Rodolfo Osvaldo Bogado
802c112ad9 Well this commit has 2 parts:
first part if fixing, fixed, i thing, the flickering that everyone has reported, at least in my case i only have flickering in the one texture in one game and now is fixed. The other fix is not for an reported issue, is more a correctness fix, running dolphin with pix to review debug errors, result in a ton of warnings and error, now with this commit, at least for ati, there no more error or warnings, this means, correct management and state change, no accurate emulation, for this still a lot of work to do.
for this part of the commit please give me feedback and let me know of remaining issues

Te second part is the partial implementation of efb to ram copy in d3d, this won't brake anything because is commented but i commit this to ask for help from ector and donko in some errors remaining in the implementation related to differences between opengl an d3d.
if you want to test this you have to uncomment line 150 to 155 of bpstruct.cpp

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4594 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-20 18:46:30 +00:00
Sonicadvance1
47f3c5bc31 Forgot about this. Nobody wants WiiUse debugging on. Also, Real Wiimote works with this one, because I forgot to remove the -1! Huzza!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4593 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-19 22:58:36 +00:00
Sonicadvance1
3af4c50af1 Clean up Wiiuse to allow less _WIN32 defines. Windows side now spits out regular packets, and takes in regular packets. Like a normal OS should :} This shouldn't break Windows wiimote, Linux Wiimote doesn't work with this revision. Will require the new plugin which doesn't have emulated Wiimote at all.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4591 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-19 22:47:57 +00:00
Marko Pusljar
93f2440f30 DSPHLE AXwii mail revert (thanks to RazLaron)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4586 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-16 18:06:34 +00:00
bztdlinux
d52eb9f692 Remove the silly trampoline VideoCommon.h (thanks to godisgovernment)
VideoSoftware does not need Cg


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4585 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-16 02:15:28 +00:00
Shawn Hoffman
633786f96b small warning fix in PadSimple.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4584 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-16 00:47:52 +00:00
bztdlinux
f796d4d747 STAND BACK - NEWLINE POLICE
gcc spams warnings when newlines are not at the end of files.
reason: http://gcc.gnu.org/ml/gcc/2001-07/msg01120.html


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4582 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-15 22:26:39 +00:00
donkopunchstania
f992fc6949 EFB to RAM in OGL and software plugin now work correctly when texture in RAM is a different size than the source. Corrected some block heights in texture decoder to fix copying certain EFB formats.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4580 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-15 20:14:03 +00:00
Marko Pusljar
9c03de8790 DSPHLE AXwii - cleaning, DCD10004 mails are now correct for Wii Sports ucode too
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4579 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-15 15:24:52 +00:00
luisr142004
14c3878543 reapply the changes from rev 4532 (without the resizing issues) and the changes from rev 4555 -- fixes issue 1660
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4578 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-15 07:46:43 +00:00
daco65
70068a288a small fix from chaos in event handling of real wiimote
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4577 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 23:54:30 +00:00
Shawn Hoffman
a5cde0d45b refine changes made in r4567
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4576 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 23:16:42 +00:00
Rodolfo Osvaldo Bogado
f8c2dcaa4e fix for re missing characters in both plugins, thanks to autoran for the testing. also modified depth efb copy behavior to work accordantly to this change.
in opengl  efb copy, set the destination texture format and not use argb always.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4575 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 23:15:09 +00:00
bztdlinux
f3366f21e1 Consolidated duplicate code into new function EmulateAnalogStick(...), and make diagonal scaling value consistent.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4573 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 22:18:58 +00:00
bztdlinux
2814438e79 Patch from the.emeralddragonfly which adds functionality to PadSimple:
- Adjustable partial press for the main stick, C-stick, and triggers
(separate keys + adjustable values for semi-L, semi-R, semi-main, semi-C)
- Escape key to clear a keybinding (especially useful now)
- A whole bunch of cleanuppy/consistency stuff.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4572 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 20:19:06 +00:00
Shawn Hoffman
4622bd0c8b reapply changes from 4550-4551,4556-4559 correctly...sigh...some files were ignored by tortoisesvn, and myself :|
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4570 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 17:50:51 +00:00
Shawn Hoffman
dc75095f99 re-apply dsp-related changes from r4533
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4569 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 17:45:35 +00:00
Shawn Hoffman
5bafbbd361 re-apply the warning fixes to Source\Plugins\Plugin_VideoDX9\Src\resource.h from r4555
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4568 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 17:39:02 +00:00
Shawn Hoffman
a60ad41d4d apply ayuanx's fix for classic controller events not being recognized if you are pressing certain combinations. fixes issue 1592
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4567 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 17:28:21 +00:00
Shawn Hoffman
06aa62504c revert to r4531, but keep the changes from the following revisions: 4533,4550-4551,4556-4559
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4566 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-14 17:08:32 +00:00
Sonicadvance1
de9991c30d NoWX fixes >_>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4560 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 20:27:40 +00:00
Marko Pusljar
4d3620ace3 DSPHLE AXwii work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4559 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 20:27:38 +00:00
Rodolfo Osvaldo Bogado
e56ca08b4f some minor changes preparing for future commits, and a correction to texture alignment that must solve the efb misalignments in various games
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4556 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 11:55:14 +00:00
luisr142004
654800458f OGL: allow the Esc button to work while windowed and not rendering to main
D3D: fix the wireframe option getting enabled when using the fullscreen option
and did some code cleanup

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4555 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 10:45:41 +00:00
John Peterson
928dc99874 Gamepad (minor) > Crashfix in Wiimote plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4554 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 09:11:24 +00:00
John Peterson
ee88afce58 Gamepad (minor) > Disabled LiveUpdates, it's not stable in the current form
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4552 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-13 01:52:15 +00:00