Commit graph

  • 105e1c325f Fixed warnings about field initialisation order. Maarten ter Huurne 2008-08-27 12:33:49 +0000
  • ae7d236fdf Fixed warnings about field initialisation order. Maarten ter Huurne 2008-08-27 12:27:03 +0000
  • b64722d4d5 Fixed warnings about field initialisation order. Maarten ter Huurne 2008-08-27 12:23:52 +0000
  • 57c5cb12e9 Fixed warnings about missing braces in array initialisation. Maarten ter Huurne 2008-08-27 12:17:47 +0000
  • a8f5185ef0 This header is Windows specific, so disabled it for other platforms, to avoid GCC complaining about a #pragma it cannot understand. Maarten ter Huurne 2008-08-27 12:09:56 +0000
  • ee39265c1a Disabled "float-equal" warning: it was causing too many false positives, especially in "wx/math.h". Maarten ter Huurne 2008-08-27 12:01:18 +0000
  • 26c28d3a4f "-fvisibility-inlines-hidden" is a C++-only flag, so include it in CXXFLAGS but not in CCFLAGS. Maarten ter Huurne 2008-08-27 11:52:28 +0000
  • 794f656188 fixed Video_SaveState & Video_LoadState in OGL/DX that made dolphin unable to load the plugins daco65 2008-08-27 11:45:51 +0000
  • 6c5f0fc0f3 Do not force-enable logging. Maarten ter Huurne 2008-08-27 11:38:15 +0000
  • c0da275501 Fixed warning about initialisation order. Also made code layout consistent within this file. Maarten ter Huurne 2008-08-27 11:33:45 +0000
  • 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"). Maarten ter Huurne 2008-08-27 11:24:16 +0000
  • b6f82eb871 Avoid warning about redefining macro. It would be nice though if someone could add a comment describing what is Windows-specific about the JITting of stb/sth/stw. Maarten ter Huurne 2008-08-27 11:17:50 +0000
  • b9feea5412 Removed unnecessary extra terminating zero: sprintf() already zero-terminates its output. Maarten ter Huurne 2008-08-27 10:41:21 +0000
  • ef61bd8995 Removed superfluous arguments passed to WRITE() for string formatting. Maarten ter Huurne 2008-08-27 10:30:19 +0000
  • a0ae17c5ff Fixed message box calls (they aren't even necessary, just checking whether the saving made it into the VideoCommon library XTra.KrazzY 2008-08-27 10:01:46 +0000
  • 8876637c9f Fixed invalid use of sprintf. Maarten ter Huurne 2008-08-27 09:54:11 +0000
  • 411b81088b Do not compile external code with extra warnings, since we want to keep changes to this code minimal to allow easy upgrades. Maarten ter Huurne 2008-08-27 09:44:16 +0000
  • f8d7231be8 Fixed "no newline at end of file" warnings. Maarten ter Huurne 2008-08-27 09:27:57 +0000
  • f31ae87152 Fixed "no newline at end of file" warnings. Maarten ter Huurne 2008-08-27 09:27:38 +0000
  • 4aa233f1f6 Only include <windows.h> when compiling for Windows. Maarten ter Huurne 2008-08-27 09:07:02 +0000
  • 7d0bf8a101 Fixed "no newline at end of file" warning. Maarten ter Huurne 2008-08-27 09:05:52 +0000
  • f55722e288 Fix for XK's commit. XK, if its wrong punch me in the face daco65 2008-08-27 01:45:31 +0000
  • d8b3122e0d Minimized symbol visibility for GCC build. Fixes problem with two instances of x64Emitter getting mixed up and generating only part of the required opcodes. I get video on 32-bit Linux now :) Maarten ter Huurne 2008-08-27 01:42:11 +0000
  • d720368d48 Clear the full size of the EXRAM. Maarten ter Huurne 2008-08-27 01:05:54 +0000
  • 0f3e8ddced On platforms where the OpenGL library uses the CDECL calling convention, the stack should be increased after making a call. Maarten ter Huurne 2008-08-27 01:04:54 +0000
  • a8982b1d18 Corrected case of "MultiDI.cpp|h". Maarten ter Huurne 2008-08-27 00:07:57 +0000
  • 7a2cdef912 Preliminary video save state support. More work is necessary, this is just some infrastructure for inter-project communication. XTra.KrazzY 2008-08-26 23:40:18 +0000
  • 734586a0ab Include system headers using "#include <file.h>", so GCC will not issue warnings about them. Maarten ter Huurne 2008-08-26 23:32:54 +0000
  • 60a5a592f9 A little housekeeping on Vertex Shader in DX9. Pending more work but my shader code is still too buggy to commit. XTra.KrazzY 2008-08-26 23:11:15 +0000
  • 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. Maarten ter Huurne 2008-08-26 22:28:42 +0000
  • 0ebba1bde0 Restructured main SCons file in the same way as the one for the GL plugin. Maarten ter Huurne 2008-08-26 21:02:23 +0000
  • 93f45b773c Fixed typo introduced in rev 323. Maarten ter Huurne 2008-08-26 14:09:59 +0000
  • 1365abfbff OGL resolution fixing in Windows. report if anything went wrong (worked great here for me) daco65 2008-08-26 13:15:25 +0000
  • cedb93df9c Use CP_START constant: its value is 0, but using the constant anyway makes the code easier to read. Maarten ter Huurne 2008-08-26 13:06:38 +0000
  • 19336445df IsElfWii(): return false if open fails. Also query file size only once. Maarten ter Huurne 2008-08-26 13:02:54 +0000
  • ef6fb30b3c Refactored BlobReaders: instead of constructor + IsValid() method, a factory method is used which returns NULL if no valid BlobReader could be created. The new code does more sanity checks and leaks less objects. Maarten ter Huurne 2008-08-26 12:40:09 +0000
  • 4c54c0cad8 Documented the change of rev 320 in a comment, so people reading the code will not be tempted to remove it. Maarten ter Huurne 2008-08-26 12:06:43 +0000
  • 8e69d942e9 Implemented querying file size on POSIX. Also fixed size rounding of mmap() on POSIX. Maarten ter Huurne 2008-08-26 11:44:17 +0000
  • fdf02ce331 Allow 32-bit writes to the VI: although this is officially not allowed, the hardware seems to accept it (for example, DesktopMan GC Tetris uses it). Maarten ter Huurne 2008-08-26 10:20:41 +0000
  • afced1fa98 Implemented OpenGL_Update() for SDL. Maarten ter Huurne 2008-08-26 01:21:25 +0000
  • 2d6d3ddad8 Restructured OpenGL_Update() to reduce duplicated code. Maarten ter Huurne 2008-08-26 01:15:19 +0000
  • 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. Maarten ter Huurne 2008-08-26 00:57:16 +0000
  • 6a426c1654 Cleanup and refactoring. Only the platform specific parts are in a platform specific block now, the rest is shared instead of duplicated. Maarten ter Huurne 2008-08-26 00:18:00 +0000
  • 236bb74c92 Forgot to move some enums. hrydgard 2008-08-25 21:15:52 +0000
  • 84336bd7b6 little Logwindow feature - enable/disable all logs hrydgard 2008-08-25 21:02:56 +0000
  • ab4333ebac Small build fix, re-add CPU check hrydgard 2008-08-25 20:43:37 +0000
  • fd188ec09e Switch between JIT and Interpreter at runtime using the debug window (pause first!) Plus assorted cleanup & fixes. hrydgard 2008-08-25 20:34:11 +0000
  • 35fdbdc360 Remove MACOSX define, now use __APPLE__ tmator 2008-08-25 19:44:11 +0000
  • 1a2e350158 Declare EAX as input register for CPUID. Maarten ter Huurne 2008-08-25 10:21:19 +0000
  • 8a06c0fdc7 Added call to DetectCPU() which is present in "Main.cpp" but was lacking in "MainNoGUI.cpp". Maarten ter Huurne 2008-08-25 08:51:08 +0000
  • 639ef6e27b Make SVN ignore memory card images written here. Maarten ter Huurne 2008-08-24 22:41:11 +0000
  • bbf29198d1 Make SVN ignore log files written here. Maarten ter Huurne 2008-08-24 22:40:21 +0000
  • 8185f7689a Fixed build on Linux. Maarten ter Huurne 2008-08-24 22:39:36 +0000
  • 90cf2c12c3 The arrows are back in the codeview! hrydgard 2008-08-24 22:22:55 +0000
  • a47f8cbe9a more fixes, prefix filter for export symbols hrydgard 2008-08-24 21:54:59 +0000
  • 4871626af8 Fixed "no newline at end of file" warnings issued by GCC 4.2. Maarten ter Huurne 2008-08-24 21:50:41 +0000
  • 65eb810d63 Let SVN ignore generated files. Maarten ter Huurne 2008-08-24 21:37:08 +0000
  • 5079ed0e5d linux build fix? hrydgard 2008-08-24 21:32:35 +0000
  • 71ea240890 More symbol magic+bugfixes hrydgard 2008-08-24 21:30:59 +0000
  • 241896ee4c Build fixes Sonicadvance1 2008-08-24 20:32:46 +0000
  • b9f5fd1f44 Very simple call tree browser added to code window, bottom left. hrydgard 2008-08-24 20:25:36 +0000
  • 1b1f0ecae9 The simple form of "cpuid" should work on 64-bit platforms; on 32-bit platforms it is safer to use the version that does not modify EBX. Maarten ter Huurne 2008-08-24 20:13:49 +0000
  • 7151ec6f4f GCC does not accept namespace as a prefix when defining functions (in general or because we are already inside the namespace?). Maarten ter Huurne 2008-08-24 19:48:42 +0000
  • 2babda7a80 Explicitly convert from C string to wxString. Fixes build on Linux. Maarten ter Huurne 2008-08-24 19:47:10 +0000
  • 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... hrydgard 2008-08-24 18:50:51 +0000
  • 23665a7b93 Cross compatibility function union (strcasecmp, unlink) XTra.KrazzY 2008-08-24 16:25:52 +0000
  • f44a06465a Change some project settings. Reorganize the symbol database code, step 1/2. hrydgard 2008-08-24 15:46:08 +0000
  • 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. Maarten ter Huurne 2008-08-24 14:47:19 +0000
  • 6f1600304f 64-bit constant needs "ULL" suffix. Maarten ter Huurne 2008-08-24 11:37:31 +0000
  • 18270f0904 Linux: When you resize Window, it now resizes video, if you go above start dimension, it goes weird. Gotta look in to it Sonicadvance1 2008-08-24 10:50:24 +0000
  • 5f925882d9 Windows Build Fix for GL plugin from my last rev Sonicadvance1 2008-08-24 10:24:17 +0000
  • 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? Sonicadvance1 2008-08-24 10:10:48 +0000
  • 98b9cfb2de TEV shader compilation bugfix XTra.KrazzY 2008-08-24 08:54:23 +0000
  • 8f6d7ad5e9 ... Sonicadvance1 2008-08-23 19:50:28 +0000
  • 657dfff6f8 Fixed new warnings from r282. masken 2008-08-23 15:33:40 +0000
  • ae5b59747a Turned on Warnings as Errors for all vcprojs. Fixed almost all of the warnings in win32. Added many SVN Ignore settings. masken 2008-08-23 15:28:24 +0000
  • 8be70a8ed2 Finally hacked Super Monkey Ball into submission! Some bonus hacking tools included. hrydgard 2008-08-23 15:15:25 +0000
  • 0849a96d81 Added SYSCONF files. Fixed the return value of FileIO::Read(). masken 2008-08-23 14:53:33 +0000
  • d697eb6a85 Fix Compiling for people, Silly ector breaking things ;p Sonicadvance1 2008-08-23 11:18:39 +0000
  • 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. hrydgard 2008-08-23 09:20:36 +0000
  • 0becaa3223 Make sure SDL can hijack main() so it can do its initialisation. Only implemented for non-GUI executable so far. Maarten ter Huurne 2008-08-23 08:42:52 +0000
  • 19bcb6a21c Linux side doesn't need libjpeg, crazy Mac users Sonicadvance1 2008-08-23 07:53:03 +0000
  • c56a27a3d2 Forgot to put GL in the Windows Title bar as well Sonicadvance1 2008-08-23 07:50:27 +0000
  • 6e3069f99e Should fix Linux building, also adds GL/DX to the title in their respective plugins when in use Sonicadvance1 2008-08-23 03:48:40 +0000
  • 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. Maarten ter Huurne 2008-08-22 21:19:56 +0000
  • 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. Maarten ter Huurne 2008-08-22 19:28:00 +0000
  • 31c0bc4508 Implemented FPU precision control for 32-bit non-Windows platforms. Maarten ter Huurne 2008-08-22 17:46:13 +0000
  • 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. Maarten ter Huurne 2008-08-22 12:17:55 +0000
  • 954ea6956b Make SVN ignore the memory card images written here. Maarten ter Huurne 2008-08-22 11:32:31 +0000
  • 77ad89876c Make SVN ignore the log files written here. Maarten ter Huurne 2008-08-22 11:31:31 +0000
  • b019c22e37 Added "*.os" to SVN ignore list: these are files generated by the build system. Maarten ter Huurne 2008-08-22 11:30:16 +0000
  • 418e37029c Typecast function pointer argument of CALL() to void*, since this is not an automatic conversion for GCC. Maarten ter Huurne 2008-08-22 11:21:51 +0000
  • 936bfbd867 Implemented Find4GBBase() on 32-bit non-Windows platforms. I am not sure the pointer acquired is any good though. Maarten ter Huurne 2008-08-22 10:38:53 +0000
  • e74dd5d9f9 Added missing #include. Maarten ter Huurne 2008-08-22 00:13:26 +0000
  • d27b79f413 Added "jpeg" to list of libs to link against. Maarten ter Huurne 2008-08-22 00:06:27 +0000
  • 465ee5fd86 Save states - more boring groundwork. Far from done. hrydgard 2008-08-21 23:28:07 +0000
  • 28edd4d31b Fixed compilation when logging is enaled: it tried to log a non-existing field ("name"); I replaced it by an existing field ("type"). Maarten ter Huurne 2008-08-21 23:23:15 +0000
  • 1acdd6b8e0 Fixed compile errors in conversion of C string to wxString when compiling with GCC against wx with Unicode support. Maarten ter Huurne 2008-08-21 23:11:29 +0000
  • 6a4d697f5f statesave prep: Change coretiming to index/registration model, instead of storing pointers. This will make it possible to save/load the event queue. hrydgard 2008-08-21 20:01:18 +0000
  • 9e3747e2f3 SaveState preparations #1 - Annotate all(?) state. (NO SCHEDULE PROMISE!) hrydgard 2008-08-21 18:23:10 +0000