2896 Commits

Author SHA1 Message Date
skidau
4cc4abfe25 Preset the HBeam and VBeam to 0 on boot. Fixes Densha de Go Shinkansen EX.
Fixes issue 4882.
2013-01-20 16:11:15 +11:00
skidau
0a5f479250 Added a game property to disable the clearing of the data cache. This is needed by one known game, "Rubik's Puzzle Galaxy: Rush".
Fixes Violin Paradise.
2013-01-20 13:09:38 +11:00
Jordan Woyak
6ec95d30af Allow emulated wiimote to be tilted 180 degrees in each direction. (was 90)
Fixes issue 3492.
2013-01-19 19:20:04 -06:00
Rachel Bryk
7f8341825b Remove lttc for lle on thread too. 2013-01-19 17:17:28 -05:00
NeoBrainX
37af25e03d Revert my dual-core fix for FifoPlayer. Apparently it breaks more than it fixes.
This reverts commit bab9b5d3ce14c5b9cb55bd34da4851672e287467.
2013-01-19 22:36:05 +01:00
Rachel Bryk
01d393ed6c Actually remove lttc. 2013-01-19 15:21:00 -05:00
Rachel Bryk
d6cee44be0 Typo fix. 2013-01-19 15:08:29 -05:00
Rachel Bryk
ed1a9480b0 Misc movie fixes.
Fix setting memory cards on playback.

Fix saving revision to header.

Herpa derp lets open a file while it's still open in another function, and not even check if it fails to load.

Fix an assumption that wii games are using a wiimote.
2013-01-19 15:02:02 -05:00
Pierre Bourdon
905d38827e Implement 8 bit loads backpatching 2013-01-19 16:52:13 +01:00
Pierre Bourdon
c553c42d63 Implement backpatch support for 16 bit loads 2013-01-19 16:33:52 +01:00
Jordan Woyak
5ff77f9c88 Fix emulated turntable crossfade slider. (DJ Hero controller)
Fixes issue 4504.
2013-01-18 13:42:44 -06:00
Jordan Woyak
69b1da915f Fix emulated wiimote shaking in Wario Land: Shake It, and probably others.
Fixes issue 5295. (probably issue 5017 and issue 5578 too)
2013-01-18 00:15:42 -06:00
Rachel Bryk
69c91a20ea Merge branch 'gameinistuff' 2013-01-17 15:22:38 -05:00
Rachel Bryk
592395bc67 Copypaste fail. 2013-01-17 14:30:47 -05:00
Rachel Bryk
e74dc0b41f Update title/status bar when pausing emulation. 2013-01-16 22:52:01 -05:00
Rachel Bryk
196c2867ad Move DSP settings to dolphin.ini 2013-01-16 20:17:44 -05:00
Jordan Woyak
3cb4300439 Merge branch 'external-theme' 2013-01-16 19:00:19 -06:00
skidau
7e5d877858 Merge branch 'ES_LAUNCH'
Games that are now playable:

Back to the Future: The Game
CSI - Hard Evidence
CSI - Deadly Intent
CSI - Fatal Conspiracy
Red Steel
Metroid Prime: Trilogy
Wii Sports + Wii Sports Resort pack
Sam & Max: Season One
Sam & Max: Beyond Time and Space
Kirby's Dream Collection: Classic Collection
Indiana Jones and the Staff of Kings: Fate of Atlantis


* ES_LAUNCH:
  Fixed SSBB from starting at the mini-games screen.
  Build fix
  Corrected a state bug where newly loaded dols did not have their patches applied.
  Changed the HLE system to allow it to hook the beginning, the end or replace the entire function without changing the GC memory.  Fixes Kirby's Return to Dreamland. Added a way to categorise the type of HLE function.  Currently, there are debug, floating point, memory and generic functions. Added a HLE function for OSGetResetCode (Warm reset).  Fixes the CSI games. Added a switch to disable all of the HLE functions if the idle skipping option is disabled.
  Added some IOS version checks and code to clear memory before loading the dol.
  Added support for Reset (from menu).  Fixes Sam & Max.
  Added an IOS check as games which use IOS older than IOS30 do not need to be HLE'd.  Added some stubs for Reset to Menu and SSBB's load from disc partition.  Fixed loading Fate of Atlantis from the Indiana Jones and the Staff of Kings game.
  Added argument detection and passing to the loaded dol.  This fixes the Wii Sports+Wii Sports Resort bundle pack.
  Added preliminary support for ES_LAUNCH (Wii Multi-boot games) by using HLE to hijack the OSBootDol function.

Conflicts:
	Source/Core/DiscIO/Src/FileSystemGCWii.cpp
2013-01-16 20:22:29 +11:00
Jordan Woyak
54974cbc8e Merge branch 'unix-fastmem' 2013-01-15 23:19:03 -06:00
lioncash
7d11f8cedd - Made GenRandomCode's 'size' parameter unsigned. Doesn't make sense to have the capability of being able to be negative.
- Made CodesToHeader's 'numCodes' unsigned for the same reason.

- Removed some type-casts from other functions.
2013-01-15 17:50:50 -05:00
Jordan Woyak
d9aecd80b1 Real fix for Linux Wiimote disconnect hanging.
Fixes issue 5903.
2013-01-15 15:20:33 -06:00
lioncash
866cdc5961 Get rid of unused iterators in JitCache. 2013-01-15 12:00:35 -05:00
Glenn Rice
e75a7b4572 Fix a gcc initialization order warning. 2013-01-15 06:41:11 -06:00
skidau
0a4272c96b Merge branch 'OpenAL'
* OpenAL:
  Changed SoundTouch to use float samples, allowing SSE to be used. Made the DPL2 decoder disabled by default. Re-added the audio hack used by the Accurate VBeam emulation option.
  Added a latency setting to the audio settings. Removed the Sample Rate setting.  It is now hardcoded to 48000hz (accurate audio timing).
  Skipped timestretching if the emulator is running below 10% speed to prevent buffer overflows.
  Removed the synchronisation between the CPU thread and the audio thread. Added code to detect and resume from buffer underruns. Disabled the ability to change the DPL2 option after the game has started. Fixed a memory leak that occurred in the DPL2 decoder. Fixed the OSX build.
  Build fix
  Added a Dolby Pro Logic II (DPL2) decoder in the OpenAL backend.  DPL2 audio is decoded to 5.1.  Code adapted from ffdshow. Added an option in the DSP settings to disable the DPL2 decoder in case Dolphin incorrectly detects a 5.1 audio system. Updated the OpenAL files to OpenAL Soft 1.15.1 in the Windows build.
  Removed the system timing hack which was activated when the Accurate VBeam option was enabled.
  Fixed the include directories in Audio Common for the Windows 32bit build.
  Fixed the include directories in Audio Common for the Windows build.
  Messed up the static include line
  Fix include paths and compiling in Linux. Externals soundtouch is 1.7.1, while Ubuntu 12.10 is 1.6.x. Externals soundtouch is compiled with integer samples, while ubuntu is compiled with float samples. Float samples is probably the more common route. If you're going to use soundtouch, you should probably use SAMPLETYPE instead of explicitly choosing short. This probably breaks the windows build since its includes aren't setup.
  OSX: typedef signed char BOOL
  OSX build fix
  Build fix
  Added audio time stretching by using the SoundTouch library.
  Implemented correct audio timing.
  OpenAL for Windows initial commit
2013-01-15 22:40:12 +11:00
skidau
6d4a566bc4 Changed SoundTouch to use float samples, allowing SSE to be used.
Made the DPL2 decoder disabled by default.
Re-added the audio hack used by the Accurate VBeam emulation option.
2013-01-15 22:29:26 +11:00
Matthew Parlane
86ee5600dc Fix bug: reuse after free.
static should not have been used here.
2013-01-15 22:27:49 +13:00
Jordan Woyak
b8e66a48a1 Fix hang on Linux Dolphin close when wiimotes are connected. 2013-01-14 17:55:23 -06:00
Jordan Woyak
032013c4bc Make IsValidBluetoothName just check for "Nintendo RVL-" rather than having a bunch of hardcoded names. 2013-01-14 17:49:49 -06:00
Ryan Houdek
5005d528c4 This changes Linux to control Wiimotes on the interrupt channel. Which in turn allows -TR wiimotes to work in Linux. 2013-01-14 14:43:49 -06:00
Ryan Houdek
30d4259bba This removes the Lock Thread to Core option. Please file your complaints appropriately. 2013-01-14 14:20:41 -06:00
Jordan Woyak
644c8f2713 Enhance an error message.
Fix issue 5893.
2013-01-13 17:52:32 -06:00
Jordan Woyak
6f7b11b9be themes directory stuffs 2013-01-13 14:12:19 -06:00
Jordan Woyak
0c95673478 Kill themes in the config and load pngs from "theme" directory for now. 2013-01-13 13:12:50 -06:00
Jordan Woyak
6b8dc6802b Fix two warnings. 2013-01-13 12:57:17 -06:00
Matthew Parlane
20b43ac1c5 Fix a bug introduced by me when I thought I was fixing something.
Thanks skidau.
Fixes Mario Kart Wii not being able to write.
This was caused by reuse of a buffer containing an error code.
2013-01-14 00:16:10 +13:00
Pierre Bourdon
eb5e7d44bd Enable fastmem (aka. backpatch) support on Linux amd64 and OSX x64. Not tested on OSX, 8% performance increase on Linux amd64 2013-01-13 07:00:56 +01:00
skidau
1c462a1eca Added a latency setting to the audio settings.
Removed the Sample Rate setting.  It is now hardcoded to 48000hz (accurate audio timing).

Fixes issue 5672.
2013-01-13 00:05:30 +11:00
Matthew Parlane
764e155a76 Fix read/write registers.
Fix read/write register support for r0 - rF.
Reshuffle to have reads/writes together in code.
2013-01-12 00:53:17 +13:00
Matthew Parlane
465df943a5 Merge branch 'master' into wii-network 2013-01-12 00:01:27 +13:00
Matthew Parlane
65072ad6fb The real fix. Not sure why my build ever worked. 2013-01-11 23:58:47 +13:00
Matthew Parlane
8700d85517 Test fix for ubuntu build. 2013-01-11 23:51:29 +13:00
Matthew Parlane
9754fda516 Merge branch 'wii-usb' into temp merge branch
Conflicts:
	Source/Core/Common/Src/Log.h
	Source/Core/Core/Core.vcxproj
	Source/Core/Core/Core.vcxproj.filters
	Source/VSProps/Dolphin.Win32.props
	Source/VSProps/Dolphin.x64.props
2013-01-11 23:07:12 +13:00
skidau
80f4475e76 Added a Dolby Pro Logic II (DPL2) decoder in the OpenAL backend. DPL2 audio is decoded to 5.1. Code adapted from ffdshow.
Added an option in the DSP settings to disable the DPL2 decoder in case Dolphin incorrectly detects a 5.1 audio system.
Updated the OpenAL files to OpenAL Soft 1.15.1 in the Windows build.

Fixes issue 3023.
2013-01-11 14:03:09 +11:00
Jordan Woyak
a693b847f0 buildfix! 2013-01-10 16:29:16 -06:00
Jordan Woyak
cc0226254d Windows/OS X buildfix 2013-01-10 16:23:47 -06:00
Jordan Woyak
1c10d3a1bb better fix for linux wiimote disconnect crash 2013-01-10 16:16:49 -06:00
Jordan Woyak
e1c8bea2f6 fix crash, but now 100% cpu usage on disconnect 2013-01-10 15:23:42 -06:00
NeoBrainX
198d60c569 FifoPlayer: Support recording texture preloads 2013-01-10 18:30:27 +01:00
skidau
7bf72a6c84 Fixed the random static audio that would sometimes occur in DSP HLE and DSP LLE. 2013-01-11 01:03:18 +11:00
skidau
c7ccf7e5c6 Removed the system timing hack which was activated when the Accurate VBeam option was enabled. 2013-01-10 09:11:37 +11:00