Commit graph

157 commits

Author SHA1 Message Date
Maarten ter Huurne
0becaa3223 Make sure SDL can hijack main() so it can do its initialisation. Only implemented for non-GUI executable so far.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@278 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 08:42:52 +00:00
Sonicadvance1
6e3069f99e Should fix Linux building, also adds GL/DX to the title in their respective plugins when in use
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@275 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 03:48:40 +00:00
Maarten ter Huurne
cb5aa5435b On non-Windows platforms, #define _M_IX86 for 32-bit platforms and _M_X64 for 64-bit platforms. Until now, 64-bit was always selected, which broke Dolphin on 32-bit Linux and OS X.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@273 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 19:28:00 +00:00
Maarten ter Huurne
31c0bc4508 Implemented FPU precision control for 32-bit non-Windows platforms.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@272 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 17:46:13 +00:00
Maarten ter Huurne
292120453e Implemented FPU rounding control for 32-bit non-Windows platforms. I renamed the _RC_* constants that were previously #defined, because the bit patterns used by the hardware do not match those used by Windows; the new constants match the hardware.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@271 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 12:17:55 +00:00
Maarten ter Huurne
418e37029c Typecast function pointer argument of CALL() to void*, since this is not an automatic conversion for GCC.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@267 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 11:21:51 +00:00
Maarten ter Huurne
936bfbd867 Implemented Find4GBBase() on 32-bit non-Windows platforms. I am not sure the pointer acquired is any good though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@266 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 10:38:53 +00:00
Maarten ter Huurne
e74dd5d9f9 Added missing #include.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@265 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 00:13:26 +00:00
hrydgard
465ee5fd86 Save states - more boring groundwork. Far from done.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@263 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 23:28:07 +00:00
Maarten ter Huurne
28edd4d31b Fixed compilation when logging is enaled: it tried to log a non-existing field ("name"); I replaced it by an existing field ("type").
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@262 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 23:23:15 +00:00
Maarten ter Huurne
1acdd6b8e0 Fixed compile errors in conversion of C string to wxString when compiling with GCC against wx with Unicode support.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@261 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 23:11:29 +00:00
hrydgard
6a4d697f5f statesave prep: Change coretiming to index/registration model, instead of storing pointers. This will make it possible to save/load the event queue.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@258 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 20:01:18 +00:00
hrydgard
9e3747e2f3 SaveState preparations #1 - Annotate all(?) state. (NO SCHEDULE PROMISE!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@257 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 18:23:10 +00:00
hrydgard
92031705cd Forgot some defines.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@256 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 17:57:26 +00:00
hrydgard
3ef0eb979d Move some code out of the plugins into VideoCommon. No functional change.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@255 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 17:49:06 +00:00
hrydgard
5e4da92d42 Very basic JIT results viewer.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@254 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 17:22:55 +00:00
hrydgard
77cec36ad4 Force the result of single precision arithmetic to have single precision only, also in jit. That is, another attempt at fixing the FPU bug in Zelda.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@251 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 23:25:48 +00:00
Maarten ter Huurne
adafeaa8b4 Simplified conversion to C++ string.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@250 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 18:43:14 +00:00
hrydgard
683ba7ecae Minor speedup in texdecoder. More informative fifo error messages.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@249 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 18:31:48 +00:00
hrydgard
bab47b610d Save/restore SSE flags through protected function calls.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@247 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 18:28:21 +00:00
hrydgard
b5ff3fd80e Workaround for a missing feature in the FPU parts of the JIT.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@246 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 18:27:20 +00:00
hrydgard
af7e0404ca fix crash bug in movddup-on-sse2-emulation
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@241 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 22:58:12 +00:00
hrydgard
ba684cabcd some jit updates
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@240 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 22:26:42 +00:00
Shawn Hoffman
06e1add86c getting ready for AA
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@238 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 19:35:23 +00:00
NunoRamiro
8c132bdae5 - Fixed: Crash when loading a rom with an unknown file extension.
- Fixed: Crash when stopping a game.
- Improved: DirectX Plugin.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@237 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 19:28:24 +00:00
Sonicadvance1
e3f3a7a41d Linux: Fix so there isn't a trace/breakpoint trap when you get a panicalert and got the mem card reader to work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@236 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 18:29:20 +00:00
hrydgard
3ccc46a67e Update 2005 project files. Add websites to help menu.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@235 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 16:59:59 +00:00
Shawn Hoffman
51317997f5 changed dolphinWX a bit and added memcard manager
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@234 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 16:41:53 +00:00
Sonicadvance1
730d80864d Mostly fix for OGL plugin, putting it's shaders in the right place, few other bugs here and there though. Fix for CPU detect and removed a quick hack to reduce underflows in the HLE plugin. Added AA for Linux, but may be only usable by ATI/Intel cards or Opensource drivers
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@231 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 03:56:07 +00:00
hrydgard
d1723cae4a fix bug in giga's resampler,
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@230 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 23:53:00 +00:00
hrydgard
aa3fee8c60 Audio system update - HLE plugin submitted, homebrew has sound, and also Mario movies!! (this was very unexpected). This also acts as a frame limiter. Might provide an option to turn it off in the future.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@227 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 21:58:07 +00:00
hrydgard
dcd5ffeb7a More accurate audio interrupts (preparation for homebrew audio support). some minor cleanup in gl plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@226 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 10:49:08 +00:00
Maarten ter Huurne
7962ab4713 Fixed CPU detection on Mac OS X.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@225 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 10:48:32 +00:00
Maarten ter Huurne
2f55ee30be Added missing #include.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@224 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 10:41:36 +00:00
hrydgard
48cfb8aa1f bug fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@223 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-15 20:51:32 +00:00
hrydgard
a077e1e1de untested cpu_id for linux/macosx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@222 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-15 20:48:40 +00:00
hrydgard
99c0d7b899 Rewrote CPU detection.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@221 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-15 20:43:14 +00:00
Maarten ter Huurne
9edf51c64f Call CheckDTLB always, only keep result if logging is enabled. Thanks to hrydgard for reviewing my previous commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@217 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 23:07:08 +00:00
Sonicadvance1
9b676c0a01 Removes 4 unneeded values in the GL plugin, Makes less buffer underruns in ALSA in DSP_NULL, and case sensitivity so Wii games get just a 'wii' bit farther
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@216 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 23:04:24 +00:00
hrydgard
f5d49e87ad Unbreak input
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@214 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 22:20:06 +00:00
hrydgard
9e15c51f9e Silly build fix, a slightly improved error message.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@212 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 22:01:07 +00:00
Maarten ter Huurne
aae50ada0e Avoid compile warning if logging is off.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@211 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 21:53:07 +00:00
Maarten ter Huurne
9506d46df4 Avoid compile warnings if logging is off.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@210 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 21:51:09 +00:00
hrydgard
b4d7ce0197 Some cleanup, extracted XFB convert code into VideoCommon, added non-activated support to gl plugin. + a minor bugfix with no effects seen so far in gl plugin :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@209 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 21:34:39 +00:00
Maarten ter Huurne
1aedd4891c Avoid compile warning by adding virtual destructor.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@208 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 21:34:29 +00:00
Maarten ter Huurne
5130365b6d Fixed compile warning: added explicit typecast for converting -1 to an unsigned number.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@207 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 20:56:36 +00:00
Maarten ter Huurne
bcf02be749 Avoid compile warning if logging is off.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@206 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 20:50:14 +00:00
Maarten ter Huurne
58e2ca0450 Fixed compile warning: comparison of signed to unsigned.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@205 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 20:47:41 +00:00
Maarten ter Huurne
07f4d3eca0 Fixed compile warning: initialize members in declaration order.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@204 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 20:42:36 +00:00
Maarten ter Huurne
71f9655b70 Avoid compile warning if logging is off.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@203 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 20:39:51 +00:00