Commit graph

325 commits

Author SHA1 Message Date
Maarten ter Huurne
7151ec6f4f GCC does not accept namespace as a prefix when defining functions (in general or because we are already inside the namespace?).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@296 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 19:48:42 +00:00
Maarten ter Huurne
2babda7a80 Explicitly convert from C string to wxString. Fixes build on Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@295 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 19:47:10 +00:00
hrydgard
c0c6fc9e6d Ok, part 2/2 of the symbol code rewrite. You can now create and use function signature files. A monkey ball signature file included. Now to add some cooler features...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@294 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 18:50:51 +00:00
XTra.KrazzY
23665a7b93 Cross compatibility function union (strcasecmp, unlink)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@293 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 16:25:52 +00:00
hrydgard
f44a06465a Change some project settings. Reorganize the symbol database code, step 1/2.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@292 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 15:46:08 +00:00
Maarten ter Huurne
e3d7c44a8e For the SDL version of this driver, set the video mode in the CPU thread, otherwise GL calls will crash. There is a big comment block with all the details.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@291 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 14:47:19 +00:00
Maarten ter Huurne
6f1600304f 64-bit constant needs "ULL" suffix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@290 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 11:37:31 +00:00
Sonicadvance1
18270f0904 Linux: When you resize Window, it now resizes video, if you go above start dimension, it goes weird. Gotta look in to it
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@289 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 10:50:24 +00:00
Sonicadvance1
5f925882d9 Windows Build Fix for GL plugin from my last rev
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@288 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 10:24:17 +00:00
Sonicadvance1
05cbb94cbb GL plugin now centers video output, you can set it to render to the full window and FPS can be shown. FPS and stretch to Window res is set in INI. Maybe also the window res actually changes correctly when resizing window in Windows?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@287 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 10:10:48 +00:00
XTra.KrazzY
98b9cfb2de TEV shader compilation bugfix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@286 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 08:54:23 +00:00
Sonicadvance1
8f6d7ad5e9 ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@285 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 19:50:28 +00:00
masken
657dfff6f8 Fixed new warnings from r282.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@284 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 15:33:40 +00:00
masken
ae5b59747a Turned on Warnings as Errors for all vcprojs. Fixed almost all of the warnings in win32. Added many SVN Ignore settings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@283 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 15:28:24 +00:00
hrydgard
8be70a8ed2 Finally hacked Super Monkey Ball into submission! Some bonus hacking tools included.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@282 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 15:15:25 +00:00
masken
0849a96d81 Added SYSCONF files. Fixed the return value of FileIO::Read().
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@281 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 14:53:33 +00:00
Sonicadvance1
d697eb6a85 Fix Compiling for people, Silly ector breaking things ;p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@280 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 11:18:39 +00:00
hrydgard
f82bf2ae9a Lots of FP hacking for little gain, super monkey ball is only slightly more sane (wow, it rhymed). Temporary no-speed-limit hack: Hold TAB.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@279 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 09:20:36 +00:00
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
19bcb6a21c Linux side doesn't need libjpeg, crazy Mac users
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@277 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 07:53:03 +00:00
Sonicadvance1
c56a27a3d2 Forgot to put GL in the Windows Title bar as well
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@276 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 07:50:27 +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
efd894fe1e Include SDL header as "SDL.h". This works with the CFLAGS output of pkg-config, picking up SDL no matter where it is installed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@274 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 21:19:56 +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
954ea6956b Make SVN ignore the memory card images written here.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@270 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 11:32:31 +00:00
Maarten ter Huurne
77ad89876c Make SVN ignore the log files written here.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@269 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 11:31:31 +00:00
Maarten ter Huurne
b019c22e37 Added "*.os" to SVN ignore list: these are files generated by the build system.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@268 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 11:30:16 +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
Maarten ter Huurne
d27b79f413 Added "jpeg" to list of libs to link against.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@264 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 00:06:27 +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
Maarten ter Huurne
4e9b5a40fd Look for libs in MacPorts install dir (/opt/local). This seems to be the easiest way to get libjpeg on OS X.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@253 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 00:27:10 +00:00
hrydgard
05c04bd03e fix bug that prevented ogl plugin from recognizing many resolutions, like my favorite 1920x1200
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@252 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 00:05:48 +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
f2b45beb90 Attempting to close the display window should not exit the emulator.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@248 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 18:30:11 +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
Maarten ter Huurne
c6580d1712 Use the same subdirectory list for all platforms: the only place where the list was different for OS X was wrong.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@245 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 11:01:29 +00:00