Commit Graph

210 Commits

Author SHA1 Message Date
Maarten ter Huurne 6c5f0fc0f3 Do not force-enable logging.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@351 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 11:38:15 +00:00
Maarten ter Huurne bbeca155de Added "const" to the data type. This fixes loads of compile warnings and the resulting file seems to still be a valid XPM (in fact, some of the files already had "const").
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@349 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 11:24:16 +00:00
Maarten ter Huurne b9feea5412 Removed unnecessary extra terminating zero: sprintf() already zero-terminates its output.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@347 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 10:41:21 +00:00
Maarten ter Huurne ef61bd8995 Removed superfluous arguments passed to WRITE() for string formatting.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@346 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 10:30:19 +00:00
XTra.KrazzY a0ae17c5ff Fixed message box calls (they aren't even necessary, just checking whether the saving made it into the VideoCommon library
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@345 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 10:01:46 +00:00
Maarten ter Huurne 8876637c9f Fixed invalid use of sprintf.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@344 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 09:54:11 +00:00
Maarten ter Huurne a8982b1d18 Corrected case of "MultiDI.cpp|h".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@333 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 00:07:57 +00:00
XTra.KrazzY 7a2cdef912 Preliminary video save state support. More work is necessary, this is just some infrastructure for inter-project communication.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@332 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 23:40:18 +00:00
Maarten ter Huurne 734586a0ab Include system headers using "#include <file.h>", so GCC will not issue warnings about them.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@331 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 23:32:54 +00:00
XTra.KrazzY 60a5a592f9 A little housekeeping on Vertex Shader in DX9. Pending more work but my shader code is still too buggy to commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@330 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 23:11:15 +00:00
Maarten ter Huurne 59974dfb5b Only use "-fPIC" for compiling objects that will be part of dynamic libs. Make SConscripts inherit the compile flags from the top level instead of overriding them.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@329 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 22:28:42 +00:00
daco65 1365abfbff OGL resolution fixing in Windows. report if anything went wrong (worked great here for me)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@326 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 13:15:25 +00:00
Maarten ter Huurne afced1fa98 Implemented OpenGL_Update() for SDL.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@319 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 01:21:25 +00:00
Maarten ter Huurne 2d6d3ddad8 Restructured OpenGL_Update() to reduce duplicated code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@318 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 01:15:19 +00:00
Maarten ter Huurne 8013f92863 Support SDL video on any platform. It is only enabled by default on Mac OS X though. So in practice nothing changes, but we have more flexibility in debugging.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@317 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 00:57:16 +00:00
Maarten ter Huurne 6a426c1654 Cleanup and refactoring. Only the platform specific parts are in a platform specific block now, the rest is shared instead of duplicated.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@316 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 00:18:00 +00:00
tmator 35fdbdc360 Remove MACOSX define, now use __APPLE__
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@311 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-25 19:44:11 +00:00
Maarten ter Huurne 4871626af8 Fixed "no newline at end of file" warnings issued by GCC 4.2.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@303 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 21:50:41 +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
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
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
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
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 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 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
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 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
Shawn Hoffman e84721b13b fix for fullscreen for both video plugins in windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@243 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 08:01:27 +00:00
Sonicadvance1 e0b3e32860 one hundred percent correct scaling in GL plugin now, or at least it should be. report problems as they come
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@242 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-18 09:15:05 +00:00
Sonicadvance1 4faa685def Fix for the Config Dialog in GL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@239 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 20:22:12 +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 9ca343743a My fix yet again..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@233 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 04:07:38 +00:00
Sonicadvance1 c557fdda03 Woops, GL plugin fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@232 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 04:03:34 +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 72e1a6afc8 Kill Plugin_DSP_NULL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@229 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 22:30:29 +00:00
hrydgard 471bb025b2 gigaherz' improved resampler
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@228 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 22:28:33 +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
Sonicadvance1 0325f55d68 Some more fixes for GL plugin, getting ready for AA, and maybe some proper cleanup of XWindow in Linux, which we will never know if it works.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@220 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-15 12:03:49 +00:00
Sonicadvance1 bae7cf1354 Maybe quick fix for Windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@219 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-15 03:12:18 +00:00
Sonicadvance1 980679d84d GL Plugin Now has High res instead of stretching to the res. No AA yet and shadows are wrong, which causes Sunshine to trip and a few others to have shadows in the upper left corner
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@218 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-15 02:57:20 +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
Maarten ter Huurne 7937befe73 Added XFB.cpp to list of files to build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@215 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 22:25:45 +00:00
hrydgard 9f3899aa58 build fixin'
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@213 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 22:08:17 +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
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
hrydgard 870194db21 Attempt to fix recent D3D plugin issue. Fix bug in debugger *<:-)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@198 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 19:57:46 +00:00
Maarten ter Huurne 1b70b3dc7a OS X build fix: Replaced hardcoded "-framework SDL" by output of "sdl-config" script. Also use "sdl-config" for the CXXFLAGS.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@194 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 00:22:03 +00:00
hrydgard 2b8a85ac5a Yet another bunch of optimizations and cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@191 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-13 20:48:27 +00:00
tmator bd3d9305b3 fix sdl init video : mthuurne
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@187 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-13 00:05:42 +00:00
hrydgard 7b357c84df win32 build fix - no #elifdef on MSVC
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@186 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-13 00:00:39 +00:00
tmator d6700ebd1f better sdl code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@184 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-12 23:51:00 +00:00
tmator ac6d34cd10 Added mth patchs / icon and a fist SDL support on OGL plugin, not work ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@182 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-12 23:17:29 +00:00
hrydgard 29102ecbc6 For unknown reasons, this patch fixes Beyond Good and Evil and Metroid intro in 32-bit mode only. Yeah, I have some work to do on the JIT.
Also adds some minor stuff like memory card write notification, plus some minor SSSE3 optimizations.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@179 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-11 19:35:38 +00:00
gigaherz 0332ec742e - Added message queue to DX9 plugin.
- Added plugin interface function Video_AddMessage to both plugins and to the plugin specs.
 - Added handling of the Video_AddMessage interface export from the core side.
 - Added a print on Core::Init for testing purposes (might not be the best place).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@176 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 21:34:22 +00:00
gigaherz f5432b874a - Made the message queue actually be processed.
- Made the message prints support alpha transparency.
 - Made the messages fade out when time <=1024.
 - Added a init message as a test for the queue.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@175 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 21:06:03 +00:00
Laurence Muller 5fc50dc63c Disabled the rumblepad hack.
If you want to use it, uncomment #define USE_RUMBLE_DINPUT_HACK in nJoy.h.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@172 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 18:46:55 +00:00
gigaherz 61398ea83f cosmetic change: Renamed printStuff to printMultilineText.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@161 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-09 09:16:59 +00:00
gigaherz e8c14fe037 Added a new statistic value: dlist calls for current frame.
Sorry for the commit spam, but this way each commit is a different thing.
also the ideas for the next thing came to me after commiting, so I didn't know I'd commit again. :P

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@160 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 23:39:48 +00:00
gigaherz 907f80032a Some of the previously unused statistics have been added/readded. If there was any reason not to have them, feel free to revert this.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@159 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 23:32:29 +00:00
gigaherz b12621e3f0 Some more changes to the statistics. Commented out all currently unused stats, and implemented counting primitives in DL in a "hacky" way.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@158 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 23:22:27 +00:00
gigaherz 8731021466 I implemented "tabs" in the string handling, but it's not working right, so I made the statistics use spaces instead.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@157 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 22:17:03 +00:00
gigaherz a1f48fee94 Added a method to rasterfont, to parse strings for newlines. Fixes the statistics overlay in opengl plugin.
The string stuff is somewhat WIP, as I want to add support for TAB character handling (and maybe others).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@156 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 22:04:02 +00:00
hrydgard a9b441f379 Removed some temp logging, minor other stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@154 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 20:38:08 +00:00
hrydgard 9626b3bc42 Fix shader cache bugs, improving linux speed. Remove some unnecessary printfs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@153 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 19:46:04 +00:00
hrydgard c8c1d2d905 Enable more parts of the JIT under linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@152 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 17:52:37 +00:00
Shawn Hoffman 8e443bad3e update to the texture format overlay, thanks to giga (see issue 112)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@150 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 10:23:17 +00:00
Sonicadvance1 e34d4abfee GL plugin now Updates it's title bar in Linux. No gui also works, change it in SConscript in Linux if you want to use that one instead
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@148 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 08:08:12 +00:00
hrydgard b370386983 static-ified a lot of vars to prevent name collisions with plugins, other cosmetic stuff, prep for jit debug
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@147 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-07 21:29:15 +00:00
hrydgard ac366022f4 Fix linux build and a crash. hrm, how did it work before...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@146 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-07 19:20:51 +00:00
Shawn Hoffman f46c64c02f fixed(ogl): resolution detection on widnows, configdlg.cpp compile problems on non-windows, and fixed the recently broked texfmtoverlay ... >_<
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@145 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-07 02:49:56 +00:00
Laurence Muller fb8c0ed71d Fixed wrong casting.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@144 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-06 21:38:18 +00:00
tmator 89cb286812 Some osx build fix for OGL plugin. Not working ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@143 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-06 21:07:31 +00:00
Shawn Hoffman 9dc48651a7 windows: added resolutions and made the window sizing a bit better. linux: #include fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@141 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-06 09:48:54 +00:00
Shawn Hoffman a44e94a594 added overlay that displays texture formats (thanks to gigaherz!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@139 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-06 01:08:02 +00:00
Shawn Hoffman 491a9205b6 more changes to the ogl config gui (replaced everything with sizers)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@137 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-05 21:05:12 +00:00
Shawn Hoffman 9a377ac874 teeny fix for non-windows builds
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@136 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-05 09:53:42 +00:00
Shawn Hoffman 8ff50f3155 code beautification and the like for OGL config gui
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@132 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-05 08:49:27 +00:00
Sonicadvance1 1a504ff031 Fix compile bugs in Windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@131 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-04 22:42:04 +00:00
Sonicadvance1 dd793a11ef GL plugin now dumps textures in correct format, you can enable texture dumping in the settings but you have to set the directory in the ini file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@130 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-04 21:29:56 +00:00
hrydgard 494c1f3187 JIT works in linux with ALL OPTIMIZATION OFF - well, at least it's faster than pure interpreter :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@128 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-03 16:56:31 +00:00
hrydgard e7786f3934 fix linux build, last njoy commit broke it :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@127 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-03 09:21:04 +00:00
Laurence Muller bcaa0d1d86 nJoy:
- Added some kind of rumble support (windows only, using direct input).
- Only usable for player one.
- Not customizable, fixed rumble strength.
- Due to some Dolphin bugs you need to initialize rumble support manually.

How to use:
- Disable the 'render to main window' in the video plugin (opengl or d3d).
- Start the game and wait a few seconds.
- When the game is running, press the 'half press' button once.
- Rumble support should now be enabled (if your joypad supports it).
- Confirmed to work with Crazy Taxi.

Dolphin bug:
When void PAD_Initialize(SPADInitialize _PADInitialize) is called, the render window does not excist yet. Therefor the value _PADInitialize.hWnd is incorrect.

In order to initalize rumble support, it is required to set the CooperativeLevel to "DISCL_EXCLUSIVE | DISCL_FOREGROUND". But without a proper hWnd this will fail.
So the trick I used here is, let the game start and create a window (and a hWnd). After that I set the CooperativeLevel.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@126 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-01 23:38:53 +00:00
hrydgard 9a4c66e066 More linux...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@122 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-01 13:59:37 +00:00
Sonicadvance1 3d769df036 Makes file search case insensitive with a little help from strcasecmp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@118 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-01 01:31:26 +00:00
hrydgard 3b4a9e06c2 fix typo in unused function, try to fix linux 32-bit opengl
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@117 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-31 21:23:30 +00:00
tmator 60ac064e0c Mac plugin is now in mac/Plugins directory
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@113 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-31 08:38:13 +00:00
Laurence Muller 8f1628b69c nJoy: GUI fixes
- It should now look pretty in Linux
- wxWindow::Update(); does not seem to work in Linux, so no countdown timer in Linux when pressing a button.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@110 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-30 23:33:37 +00:00