Commit graph

1308 commits

Author SHA1 Message Date
XTra.KrazzY
6565b1ea83 Based on http://www.gc-linux.org/wiki/Main_Page, the Wii has a 729MHz processor. It seems to work here and doesn't break any timers and whatnot.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2166 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 00:39:51 +00:00
magumagu9
622f396d8a Slight correction to r2164.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2165 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 23:07:47 +00:00
hrydgard
935eb226ca First steps towards 64-bit support in JITIL. Not yet working. yes, those crazy casts (u32)(u64)ptr makes sense when we know the ptr is below 4gig - then it's OK.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2164 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 22:20:35 +00:00
donkopunchstania
f5f99e8f04 clip space coordinates are now available in fragment shader because depth needs to be computed there instead of the vertex shader. computing it in the vertex shader causes incorrect results sometimes. worked on z textures but 8 bit z texture still is not correct because it breaks SSBM. RE0 now looks ok.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2163 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 22:08:20 +00:00
XTra.KrazzY
c8526c7be1 1. Fixed RTC in both Wii and GC (added Wii epoch bias, notify me if it isn't good for your PC and I'll revert it).
2. Added some Zelda UCode HLE Documentation and changed the way it handles mail, also fixed a bug there.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2155 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 19:17:51 +00:00
Shawn Hoffman
c3dbbb1f23 Mic device WIP. define USE_PORTAUDIO and link with portaudio to test it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2153 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 18:25:25 +00:00
John Peterson
94d8eb5d4e InputCommon and nJoy: Moved more functions to InputCommon
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2150 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 15:05:03 +00:00
John Peterson
c225e83913 InputCommon and nJoy: More build settings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2149 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 14:55:51 +00:00
John Peterson
127874b5e1 InputCommon and nJoy: Fixed build settings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2148 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 14:51:03 +00:00
John Peterson
c6b4f5c819 InputCommon and nJoy: Moved functions to InputCommon, to be shared with the Wiimote plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2147 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 14:34:23 +00:00
nakeee
44370518a3 JITTEST always defined on linux, use #if instead
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2146 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 13:59:09 +00:00
hrydgard
5822e284f3 Add Release_JITIL configuration to use magumagu's JIT instead under windows (currently 32-bit only) (this is intended to be temporary). Add comment about crashes with JITIL in Burnout2 and Animal Crossing. Some warning disables and cleanups.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2145 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 13:09:58 +00:00
hyperiris
c450e44b08 optimize memory access. reduce Memory_Read_U##_type call(it uses Memory::GetPointer, which is complex), and gain speed, may be 1 or more fps faster, I've tested on zelda tww,tp, starfox assault only.
Please review and may be the code need clean.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2144 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 13:08:58 +00:00
John Peterson
ca0e807db6 Wiimote: Fixed the speaker status bar status, the status is [Green] [Blue] [Green] that means [On/Off] [Muted/Unmuted] [Activity]
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2142 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 12:27:04 +00:00
John Peterson
e926bc61d1 Wiimote: Added logging messages for the speaker configuration and for the 0x18 sound reports, the speaker currently produce a low humming noise in the wpad tools demo, but no real sound
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2141 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 10:15:55 +00:00
John Peterson
6ecbc237db ActionReplay: Made the BadCount message appear only in the debug builds
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2140 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 10:10:47 +00:00
John Peterson
f610f7e197 Video and DSP plugin management: Fixed Stop and Start again, it was necessary to call FreeLibrary() on Start instead of on Stop, I don't know why but that's how it works
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2139 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 10:09:26 +00:00
magumagu9
54798713a0 SCons build fix, part 2.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2138 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 07:59:38 +00:00
magumagu9
3148d2eb2d SCons build fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2137 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 07:55:40 +00:00
hyperiris
c4ff501808 optimize memory access. Memory::GetPointer is a complex function, call it in loop will impact performance.
Test with MP1, Zelda TWW and Zelda TP, speed at least increased 2fps (for example, TP intro 14fps to 16fps)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2136 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 04:52:19 +00:00
Shawn Hoffman
553656966b fix weirdo serialinterface (pad) errors. get rid of si_channel. i guess it was a bad idea :<
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2135 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 02:58:18 +00:00
nakeee
adde9b778b compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2134 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 19:17:20 +00:00
hyperiris
d5bcb81872 this should be OK: display some default info when no save exist
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2133 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 17:31:35 +00:00
hyperiris
d4c9a8a5fc fix compile warning: 'unsigned char * GPFifo::m_gatherPipe' has different alignment in JitAsm.cpp and GPFifo.cpp: 1 and 32
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2132 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 16:40:19 +00:00
John Peterson
fcdd2a8e17 Wiimote:
1. Fixed the dual mode. You should now be able to change between the real and emulated Wiimote at any time, even when the Nunchuck is connected. It also supports third party Wireless Nunchucks that never sends any calibration values. The Nunchuck status should be automatically updated. The Nunchuck stick may get stuck, but that should fix itself if you disconnect and reconnect again. The only important problems seems to be that the real Wiimote fails to answer sometimes so that the Core functions disconnect it.

2. Began looking at how to reconnect the Wiimote after an unwanted HCI disconnect command

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2129 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 03:16:41 +00:00
hrydgard
1d0e8ddf84 more info in the vertex loader debug display
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2128 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 19:52:23 +00:00
Shawn Hoffman
60b25def18 Allow changing of the debugger font and some cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2127 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 18:18:20 +00:00
hrydgard
81631d8452 Nothing important, just cleaning my dev folder. (mostly formatting changes, removed a superfluous strlen from logging in ogl plugin)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2126 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 18:04:24 +00:00
hyperiris
825919aaf8 fix display wii game name and description (only WIN32 working).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2125 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 16:53:22 +00:00
John Peterson
6f39549842 Wiimote: Changed a %s to a %u that could cause a crash in WII_IPC_HLE_WiiMote.cpp. Made the configuration window center only if there is room for it, that should fix issue 557.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2122 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 07:03:09 +00:00
XTra.KrazzY
7cc80c32f9 Fixed Wiimote config window closing (Don't use EndModal if you aren't using ShowModal)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2117 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-05 05:44:16 +00:00
nakeee
7bb2aee235 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2112 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 17:46:22 +00:00
nakeee
ad88b27c76 attempt to get rid of another __LOG crash
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2110 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 17:29:12 +00:00
XTra.KrazzY
77215fd27c Joined work of nakee and mine, cleanup the logging code a bit.
This solves the random __Log symbol and crash problem on linux
Please tell us if you find problems in the logging code


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2109 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 15:28:39 +00:00
magumagu9
73fbfc1d66 JitIL: Disable a couple debugging printfs, and some misc cleanup. No
functionality change.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2107 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 12:39:55 +00:00
magumagu9
a883726233 A few small JitIL changes that I've had sitting in my tree for a while;
nothing really significant to note.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2106 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 09:05:34 +00:00
John Peterson
cf303e70e9 Wiimote: Show the decrypted Nunchuck calibration values in the log when a real Wiimote and Nunchuck is used. Fixed an earlier bug that made the neutral emulated nunchuck accelerometer values zero, now they are back to 0x80,0x80,0xb3.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2104 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 06:40:05 +00:00
John Peterson
2d5c0a509c JIT: Made block linking the default option, it's faster and seems stable to me, you can turn it off from the debugger
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2102 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 03:35:35 +00:00
Shawn Hoffman
5f0ae71fd1 relocate the mainram dump to the dump dir
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2101 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 03:17:29 +00:00
magumagu9
4307803090 A bit more _MSC_VER cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2100 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 01:55:24 +00:00
nakeee
c10d69fe07 more MSC_VER
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2098 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 23:25:30 +00:00
nakeee
9981670e37 removed more MSV_VER
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2095 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 22:46:18 +00:00
magumagu9
d8f4785772 Progress on Wii games on Linux! Instead of hanging, it now gets far
enough to render a black frame before it crashes. I don't have time 
right now to track down the crash, but I figure this is at least an 
improvement.  Note that "#pragma pack" is an msvc extension, but gcc 
supports it.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2092 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 21:27:12 +00:00
hyperiris
4649416822 linux build fix.
thanks nakee points out that wxChar is not char under Linux,
and I guess wxString::FromAscii will cut off > 127 characters, so I change it to wxString::From8BitData.
I hop it works, please check it under other platform.

BTW: If dolphin can not run, plz clean up your cache directory, delete all cache file.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2091 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 16:04:23 +00:00
hyperiris
9e3fed40f2 game name and description WIP: cache all 6 languages, so we don't need refresh cache after we changes language.
move some WIN32 code to CGameListCtrl.
nakee, please check linux build, sorry I've not enough time to setup a linux dev environment.
and, who can read German helps me to test game name and description display, thanks.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2090 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 15:03:34 +00:00
John Peterson
f3e5f06def GameCube Configuration: Changed "null" to "<Nothing>", I think it's easier to understand
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2085 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 09:31:06 +00:00
John Peterson
328b2f34ba PluginManager: Disabled LoadLibrary() and FreeLibrary() between Stop and Start for the Pad and Wiimote plugins. It's still present for the video and sound plugins as I explained in the comment in PluginManager.cpp.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2084 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 09:28:15 +00:00
Shawn Hoffman
d8f71e0574 default to two memcards and a standard controller in port 1
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2081 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 05:12:03 +00:00
John Peterson
220eafad0e Wiimote: The first working IR recording, use Alt + the numerical HotKey to play back the IR data associated with a recording
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2078 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 00:59:26 +00:00
nakeee
ace2ea395d compile fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2077 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 22:47:29 +00:00