Commit Graph

1441 Commits

Author SHA1 Message Date
XTra.KrazzY e472b7f28d stwcxd and lwarx both set CR0
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2223 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 13:57:26 +00:00
XTra.KrazzY d2d097fba5 Committing magumagu9's work on texture decoding transferral to OGL, I added DX9 support. Speed seems to have increased but I'm not sure. See issue 581 for more info.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2222 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 13:54:08 +00:00
hyperiris 1bed914bf4 a tiny fix, I found MGS:TT PAL use BNR1 format opening.bnr, so only English was filled.
now, all 6 languages were filled when opening.bnr is BNR1 type.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2221 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 13:03:39 +00:00
John Peterson b932a53b68 Emulated Wiimote: Fixed the angles to x, y, z values conversion. There's just one thing left to fix before the combined roll and pitch works, when roll is more than 90 pitch has to be changed from for example 15 to -165 or something like that. Until I figure that out you can use the emulated roll and pitch separately by setting the range of either one of them to zero.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2219 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 08:46:48 +00:00
nakeee 7958eae6da small JITTEST typo fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2218 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-11 17:36:16 +00:00
John Peterson 68f39cb287 nJoy:
1. Circumvent the IDirectInputDevice2::SetDataFormat() error when opening the configuration window to.

2. Fixed the Allow out of focus input option again

3. Allow changing of the mapped pads while a game is running

4. Prevented crashes or problems from any combination of having the configuration window open when a game is started or stopped

5. Fixed a crash that would occur after nJoy was started with a connected pad, then stopped, and all pads disconnected, then started again

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2215 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-11 10:30:02 +00:00
John Peterson 5be14f1b72 Core: It seems like different settings work on different systems. So I added a Setup.h file to allow local custom compilation settings. I avoided placing this in Common.h to avoid having to rebuild many files when the settings are changed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2208 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 17:41:38 +00:00
John Peterson 516a14150a Wiimote: Improved the emulated Wiimote, added gamepad controls for analog tilting.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2207 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 17:25:08 +00:00
magumagu9 49937a640b JitIL: Make selectively disabling JIT instructions from the debugger
work correctly.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2205 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 13:11:32 +00:00
magumagu9 318d1105fb JitIL: Attempt to fix some 64-bit build errors.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2204 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 12:44:17 +00:00
magumagu9 cf5fc063ce JitIL: Make LoadCarry work correctly.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2202 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 12:20:30 +00:00
John Peterson c18613a580 nJoy: Fixed the Hat / Custom D-Pad setting in the save by slot mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2194 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 00:41:43 +00:00
John Peterson 2162e3ce80 Last commit: Forgot _WIN32 ifdef
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2193 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 23:49:13 +00:00
John Peterson 3d70ea1bcb PadSimple: Removed double definition of __Log()
Core: Readded FreeVideo and FreeDSP for _WIN32. As I have explained thoroughly these are needed in Windows.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2192 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 23:20:28 +00:00
John Peterson 72424eeadc PadSimple: Added rerecording option in that the input saving counter it saved with the save state and rewinded when a saved state is loaded
Core: Tried to a address a semi-frequent hanging that would occur in single core mode and render to main frame

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2191 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 23:12:15 +00:00
nakeee ec71298b06 Fixed another unresolved symbol
removed freevideo/freedsp


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2190 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 21:47:02 +00:00
hrydgard e979db862c Convert some ugly macros to templates.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2189 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 21:24:32 +00:00
hrydgard d209d4a577 Cache vertex array pointers, a la magumagu's idea. Misc other stuff. Should give very minor speed boost.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2185 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 20:35:30 +00:00
John Peterson 5edef94753 SimplePad: Added input recording options to the GUI, now we just need to get rerecording to work to, perhaps one can rewind the input counter when a state is loaded? So the input counter is saved in the savestate for the pad.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2184 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 20:06:27 +00:00
XTra.KrazzY 09c8368180 Fixed NullSound hanging on movies. Compared to DSound, it's now slower on movies but faster in menus
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2183 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 19:50:06 +00:00
nakeee 59a8fd4848 Chaoscode fix for last commit.
If anyone understands why it made any difference do tell me... it seems both should just return null..



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2181 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 19:26:14 +00:00
daco65 2ff2852771 Njoy: added an option to choose what kind of analog filtering you want. it should be changeable when you choose to view advanced settings. this solved my analog/digital config problems i had and it *should* still work for those who had np with Jpeterson's change. i was told the wiimote had the same problem (makes sense) but im not sure if alot of ppl had that problem with their controllers so i have kept it as an ini changeable option only (set AdvancedMapFilter to True to use the same filtering as Njoy 0.3 does with AdvancedMapFilter enabled.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2180 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 18:43:03 +00:00
nakeee 1026b3b6f1 Commited chaoscode's patch to fix re2 and mp1
disabled njoy on linux as it doesn't compile (need to talk to JP about the right fix)
added ugly hack to include the right SDL.h on linux


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2179 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 18:31:16 +00:00
Shawn Hoffman c4c8bde34d more mic WIP. Seems to at least give correct volume levels to odama, it might even work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2178 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 15:46:15 +00:00
hyperiris 0868770d24 fix again, JP please check it. don't forget clear your cache!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2177 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 15:41:28 +00:00
John Peterson d0a01f449b Last commit: Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2175 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 15:31:00 +00:00
John Peterson 3e53828406 MusicMod: Moved it from Branches to Externals, I guess there usually is no Branches dir in the trunk dir, so this may look a little better
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2174 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 15:29:35 +00:00
hyperiris 013e9bed93 optimize function call: point out by magumagu, GetVideo() is a kind of bottleneck, so move it out of loop;
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2173 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 14:24:39 +00:00
John Peterson 1fbebb4ce1 Wiimote: Configure gamepad in Wiimote plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2172 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 13:10:29 +00:00
magumagu9 e8925e43fe JitIL: Disable addze implementation for now; I'm not exactly sure what's
wrong with it, but it's causing visible issues.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2171 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 05:22:44 +00:00
magumagu9 f4025a8caa Enable block linking for JitIL; I disabled it when I was trying to debug
a crash.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2169 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 01:37:50 +00:00
magumagu9 5c35e95c8f JitIL: Add JIT for addze, ps_sum0. Also, some cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2168 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 01:31:38 +00:00
magumagu9 4d3c0b8783 JitIL fix for Animal Crossing: make sure to mark floating-point loads
consistently.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2167 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 00:41:31 +00:00
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
nakeee d7a38393b7 some linux stop issue fix (still not working right) please check on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2076 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 22:31:31 +00:00
Shawn Hoffman cfc128abff reorganize SI and EXI interfaces, add a gui for picking devices. XK, that was annoying. Now, you can deal with SI_Channel. This commit changes how memcards are handled a little, now they are .REGION.raw, like .USA.raw, and can be in any dir.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2075 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 22:29:33 +00:00
XTra.KrazzY 4f44afcb04 Sconsfix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2072 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 21:41:39 +00:00
XTra.KrazzY 22135b7696 Added shuffle2's (unused for now) GBA Serial Interface device code. This calls for implementing a pad type chooser window, anyone in?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2071 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 21:40:08 +00:00
XTra.KrazzY ae2fa6e35c Some changes to the UCode abstract factory in HLE DSP. Added Pikmin Wii to the CRC list as well.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2070 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 20:05:24 +00:00
omegadox ca741b2526 More SDIO WIP Code: Added ground work for SDCard Mounter wxDialog
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2067 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 20:20:58 +00:00
John Peterson 10b39bcb53 JIT: Disabled a "if (js.isLastInstruction)" condition in WriteCallInterpreter(). This will make MegaMan Network Transmission (2003) show the main menu again, and perhaps work like before again.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2065 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 19:16:34 +00:00
hrydgard 2cc882e88f add back a couple of lines uselessly removed in 1654. dunno if it fixes anything.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2064 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 18:08:49 +00:00
omegadox 3bd8f73844 a bit of more work in SDIO
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2055 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 14:27:35 +00:00
hrydgard 7299ed4ad6 minor groundwork for future jit breakpoint support
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2054 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 14:23:11 +00:00
hrydgard 411fdca4fd kill useless unit testing framework that doesn't work :p
might make or add a better one later.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2053 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 14:21:08 +00:00
omegadox 44058d8d63 forgot linux fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2052 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 14:19:20 +00:00
omegadox 6809ce759e Moved SDInterface to IPC_HLE/HW
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2051 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 14:16:11 +00:00
omegadox 929e003b5e Some groundwork for SD Interface
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2050 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 13:28:57 +00:00
hrydgard bef60f8ec0 Show 32/64-bitness in title bar. Fix up some screwed up indentation :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2049 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 13:15:21 +00:00
nakeee 529bf35d6a trying to clean all plugins on shutdown
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2047 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 23:47:45 +00:00
nakeee f8064316b1 Some code clean up
console now prints to file and stderr on windows someone feels like creating a wxw version?



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2046 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 21:49:06 +00:00
Shawn Hoffman 24fc93cce4 fix for win64 + OpenGL crashes?!?! dumb plugin loading order... Also enable debug symbols on ogl debugfast build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2043 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 19:39:14 +00:00
XTra.KrazzY 31cd8ed9d2 tiny fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2041 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-30 17:45:02 +00:00
XTra.KrazzY cd658ac755 More WIP OGL EventHandler work by shuffle2 and myself. Wiimote isn't implemented yet and OGL window is too small (should take window borders into account when creating window).
Not committing VideoOGL.vcproj so that project compiles with old OGL video window. In order to test just replace main.cpp/GLUtil.cpp/GLUtil.h with nmain.cpp/nGLUtil.cpp/nGLUtil.h in the project.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2038 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 23:35:31 +00:00
XTra.KrazzY 933217bd7b more portability, less redundant ifdefs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2032 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 08:28:15 +00:00
Shawn Hoffman b4158a28ee cross-platformize strncasecmp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2029 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 02:13:36 +00:00
Shawn Hoffman 121be22532 buildfix and some cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2026 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:51:05 +00:00
John Peterson 946fb12752 Wiimote: Partial work on movement recording (not working yet)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2021 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:09:08 +00:00
XTra.KrazzY 7bc798b7f1 Fixed ISOProperties window crash. Please don't kill modals with Destroy() but with EndModal().
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2020 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 10:21:18 +00:00
memberTwo.mb2 ac80c04eab XFB in SC reverted back to its previous behavior (thx donko). But still hacked in DC (still a FIXME).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2019 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-27 20:59:27 +00:00
nakeee 356db07cbf fixed compile,
fixed crash,
added panicalert`


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2017 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 16:27:01 +00:00
John Peterson b0736a1508 Wiimote: Fixed the switch during gameplay option. The only issue left seems to be that the real wiimote sometimes doesn't get the correct reporting mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2013 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 07:01:43 +00:00
John Peterson 3c4a73d5a6 Core and PluginManager: Fixed Stop and Start again, the video plugin needed to be completely reset
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2012 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 01:14:04 +00:00
John Peterson 8eeb1d0202 Wiimote: Switch between emulated and real Wiimote during gameplay.
Notice: It's currently not very user friendly and can crash or fail under some circumstances. I'll make it better momentarily. You currently have to first open the Wiimote config window and the start a game to be able to use switch back and forth after that.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2011 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-25 23:07:15 +00:00
nakeee 2e92b94e4a Compile fix on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2005 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 22:24:44 +00:00
memberTwo.mb2 2a13bedfc8 break my BOOLs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2002 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 22:02:27 +00:00
memberTwo.mb2 1e7655b5db 1) XFB in DC proposal. This impact video plugin interface. WARNING: XFB_Draw is not CPU->VI dependent anymore. It's up to GP now. Except for some 2D homebrews which never use GPfifo&CP but direcly XFB. Well, in other words: emulated VSync is uncorrelated with CPU timings now. Tell me if it's too much hacky.
2) DC/GPfifo work: GP quicker to react. PeekMessages at a more steady rate.
3) Fix XFB address to avoid crash like with Animal Crossing gc. TODO: VI regs need proper typedef and logic.
4) Few misc. changes on the fly.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2001 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 14:43:17 +00:00
John Peterson fa7e857161 nJoy: Readded some fixes to nJoy (Notice: these changes have nothing to do with the argument earlier. These are only for fixing nJoy (point one and three in the 1991 revision)). Now opening the Wiimote plugin doesn't crash either (it was just a typo in GetWiimote()).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2000 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 12:09:30 +00:00
omegadox fb3e523401 some more warning cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1999 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 01:50:23 +00:00
omegadox 8f98f0b778 Some warning and code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1998 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 00:45:46 +00:00
hrydgard 70bc8167f8 Warp back to 1983!!! (rev 1983, that is, not the year :P)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1997 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 21:28:55 +00:00
John Peterson 46da45a529 PluginManager: Added #ifdef INPUTCOMMON, I have no tried it yet, I'll try to figure out how it's supposed to work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1993 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 11:53:58 +00:00
John Peterson cc754e04d5 PluginManager: Comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1992 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 10:25:10 +00:00
John Peterson 63ad74f9e8 nJoy and PluginManager:
1. Avoided LoadLibrary() and FreeLibrary() in favor of using an existing LoadLibrary() because of an unresolved crash related to LoadLibrary() and nJoy. After several times of LoadLibrary() and FreeLibrary() of nJoy these seems to be some kind of memory corruption that brings up several error boxes from different places (not just nJoy) and then cause a crash.

2. Slowed down the moving of the pad initialization to InputCommon. I'm not against InputCommon at all, but I have to spend some more time with it before it works on Windows

3. Partly fixed a somewhat frequent failure of nJoy with SDL 1.3 that would give a strange DirectInput error message and cause the pads to not function. It's still present before the nJoy config windows is opened. It's only fixed on booting a game.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1991 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 10:00:59 +00:00
daco65 d450e054a4 wrong project file >_>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1990 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 01:48:13 +00:00
daco65 60de218281 changed the project files. building in windows is still broken (trowing sdl.h not found in inputmanager.h when building core?!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1989 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 01:42:33 +00:00
nakeee 0a3c3f7a6b moved the inputmanager to inputcommon
to avoid sdl dep in core


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1988 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 01:29:52 +00:00
nakeee 1b141c8775 copy common sdl code to the input manager,
next removing it from njoy*


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1987 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 01:12:32 +00:00
nakeee 8a87001778 forgot include
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1986 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 00:15:57 +00:00
nakeee cb9baf6d07 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1985 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 23:33:11 +00:00
nakeee 87bfe821eb Added input manager handles the sdl init/quit for now
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1984 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 22:32:57 +00:00
John Peterson d7fe42d069 Wii IOS FileIO: Fixed bug "NewSeekPosition = 0" to "NewSeekPosition = SeekPosition", now Zelda TP savegames should work as well as other games
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1981 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 12:35:12 +00:00
John Peterson e332e18ce6 nJoy and SerialInterface: Fixed the crashes with MAXPADS more than 1, the downside is that it doesn't work well one the second boot
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1980 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 11:18:46 +00:00
hyperiris 189285f071 continue working on display gamecube game name and description.
now we can select Config -> General -> Game List Language to choose the language of PAL games for displaying

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1979 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 07:42:17 +00:00
John Peterson bb06dfb823 nJoy and SerialInterface: Fixed the nJoy crashes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1978 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 00:31:12 +00:00
hyperiris 1b12bc38ac Use wx style ListBox fast fill: Freeze and Thaw
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1976 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 18:08:12 +00:00
John Peterson cd76970d8f SerialInterface: Fixed the Init for different MAXPADS values, I think
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1975 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 17:54:03 +00:00
hyperiris cf8b3b2264 some small fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1974 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 17:10:08 +00:00
hyperiris b71d92126d Debugger: add a tiny function, dump main memory to a file, mainram.dump in .\User\Cache\,
this is for ram data analysis, open the dump in hex/tile editor we can do something...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1973 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 17:02:01 +00:00
hyperiris 8f4d58e082 UI: makes dolphin displays japanese region games' names and their descriptions.
only work on windows and asian language support installed.
(without fonts and codepages, we can not display text, I'm sure).
BTW, I only test on GC games, I've no Wii games now, 
and .\User\Cache directory must be cleared to work (delete all cached files)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1972 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 16:31:44 +00:00
hrydgard 56ee6e5497 more f-zero work - no success :( Still fp errors.
maybe we should pull in a full accuracy ppc fp emulator.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1971 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 12:41:01 +00:00
hrydgard 620bf888e7 misc debugger improvements - hle:d code can be read in disasm window, memview can show floating point values, a crash fix, the locked cache now shows up in memview, some disasm bugfixes (frsp)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1970 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 11:44:36 +00:00
Shawn Hoffman 852c35f705 update to sfml 1.4. also testsuite doesn't need debug and release configs, that was an accident
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1969 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 05:46:07 +00:00
LPFaint99 0ccdb44016 Oops... that was not supposed to be checked revert
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1968 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 03:51:07 +00:00
LPFaint99 f703046e01 MemcardManager:
Fix most banner issues that I have seen.
1. Banners from any imported sav file
2. Banners for Time Splitters 2

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1967 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 03:49:38 +00:00
hrydgard e6d78d3447 fix red coloring of fp regs in registerview
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1964 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 19:41:45 +00:00
hrydgard 8cdbaa2714 Improve register view window (now shows fp, various special regs). If the window is too small, delete the RegisterView section in your Debugger.ini.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1963 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 19:15:33 +00:00
hrydgard d3d4cc641c Fix insanely annoyingly behaviour when setting breakpoints
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1962 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 19:00:51 +00:00
hrydgard 8f0ca9998b Remove some unnecessary includes, clean some ////////
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1961 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 18:45:43 +00:00
hrydgard 1dcd036b9e Stop the audio mixing when stepping in the debugger.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1960 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 18:42:01 +00:00
John Peterson e7e19bbfe8 Last commit: Missed a file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1959 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 18:09:49 +00:00