Commit Graph

  • d5e2bbf7cd Remove a few __APPLE__ ifdefs which are no longer necessary. Soren Jorvang 2010-06-02 15:54:35 +00:00
  • 9c1b4dee44 fix AudioCommon including linux headers on windows Shawn Hoffman 2010-06-01 22:23:16 +00:00
  • 03673f6496 Incorporate a few comments. Soren Jorvang 2010-06-01 21:33:20 +00:00
  • 43dfff651a Hopefully fix building on Linux. Soren Jorvang 2010-06-01 21:10:49 +00:00
  • 714af087bf GL: Relax multisampling constraints on visual pierre 2010-06-01 21:05:00 +00:00
  • c9564405d9 Some wxWidgets features, like wxProgressDialog used when updating the game list, rely on the main event handler already running, which isn't the case until after OnInit(). This is a problem when an ISO directory is already set at startup. Soren Jorvang 2010-06-01 21:03:02 +00:00
  • 4ffdba7b92 Only warn about unknown magic words if none of the known ones are found. Soren Jorvang 2010-06-01 20:47:07 +00:00
  • 9d7b569ccb Now that Core Audio works, reduce the number of build permutations a bit by not linking in other Unix audio modules. Soren Jorvang 2010-06-01 20:45:30 +00:00
  • f7494e6b2b Bring this a little more up to date. Soren Jorvang 2010-05-31 19:54:05 +00:00
  • 66c480c86b Don't print a bogus number of bluetooth devices found. Soren Jorvang 2010-05-31 16:54:21 +00:00
  • 95edef2e0d Avoid printing garbage numbers in the status line when the process becomes blocked. This was most readily apparent when first starting programs from a high-latency filesystem. Soren Jorvang 2010-05-31 16:23:13 +00:00
  • 220c3ae829 Identify OS X application bundle with SVN version number. Soren Jorvang 2010-05-31 16:18:40 +00:00
  • a909d0cb76 I did a small stupid copy/paste error on my last code clean up, which broke MP, mea culpa! Motionplus should work again. I'm right now addressing the disconnect problem. snzgoo 2010-05-31 14:21:25 +00:00
  • fdd532356a Have the AudioUnit callback drive the internal mixer directly instead of going through an intermediate thread and buffer. This seems to be how Core Audio is meant to be used, although I still haven't read the manual. Soren Jorvang 2010-05-31 05:05:53 +00:00
  • 99e7a2ceac debug version of dx9 dll isn't always in the PATH, so you would get an error while dolphin would still load the correct release version of the lib and continue running. so...just check for the release version of the dll. Shawn Hoffman 2010-05-31 02:44:48 +00:00
  • 33566b5c07 Limit buffer size required to extract files. This helps avoid out of memory errors. donkopunchstania 2010-05-30 17:57:56 +00:00
  • c2daee96cc Consider 'X' as region-free. Soren Jorvang 2010-05-30 17:31:52 +00:00
  • 997ab4ada1 Mark 'A' as being region-free, but still explicitly default it to European settings. Also try to add sensible defaults for [LMNTQ] taken from http://wiibrew.org/wiki/Title_database#Region_Codes . Soren Jorvang 2010-05-30 17:16:06 +00:00
  • 20eda8551a 'A' appears to be another country code for Europe. Soren Jorvang 2010-05-30 16:33:01 +00:00
  • c48aca7c37 De-inline StripTailDirSlashes() to work around a weird code generation bug. Soren Jorvang 2010-05-30 09:41:38 +00:00
  • 5070a59799 Made the Dolphin config dialog shorter with an added "Display" tab. Removed code that toggled fullscreen on double-click in gamecube games because GCPad New allows mouse input (maybe double-click fullscreen toggling should be an option though). Changed the label in the toolbar from "GC Pad" to "GCPad" (all other labels on the toolbar are single words and we call the plugin "GCPad" everywhere else). Made game properties dialog open centered on screen. Jordan Woyak 2010-05-30 08:22:04 +00:00
  • 9cd3c70b02 The rendering codepath doesn't currently quite recover from an OpenCL initialization failure, so help it along a little by also considering the CPU as an OpenCL device. Soren Jorvang 2010-05-30 08:08:26 +00:00
  • 2245b1040f Another creeping wx dependency via NetPlay. Is nowx worth maintaining? Soren Jorvang 2010-05-30 07:09:09 +00:00
  • 77894f0fe6 Match types in comparison. Soren Jorvang 2010-05-30 05:25:32 +00:00
  • 7f50bb5579 Get the audio unit output buffer size and use that as the rendering quantum, as the callback wants us to provide exactly the amount of samples needed. Soren Jorvang 2010-05-30 04:21:01 +00:00
  • a88e09edc2 DSPLLE: followup to last change: bugfix + remove extraneous exception checks hrydgard 2010-05-29 21:43:46 +00:00
  • 1d1b08a091 Core audio system work (Watch for regressions please!): hrydgard 2010-05-29 21:34:34 +00:00
  • 6ea0d50872 Make this work with debug builds again. Soren Jorvang 2010-05-29 21:28:27 +00:00
  • 1d24ac9157 Match types in comparison. Soren Jorvang 2010-05-29 20:48:21 +00:00
  • 492636c3fa Temporarily back out r5521 until a more complete answer to the filterWarnings problems is ready, as it currently breaks the OS X build. Soren Jorvang 2010-05-29 20:31:09 +00:00
  • 55fd46de26 Add some safety to file names. This fixes a buffer overrun when extracting everything from an ISO. donkopunchstania 2010-05-29 19:37:29 +00:00
  • bdeefd361a MotionPlus code clean up and small code improvements. Removing and adding some elements, making it more readable for others. Off-Topic: Have fun at the Grandprix! May the best win:P snzgoo 2010-05-29 19:06:18 +00:00
  • 659d5705c9 DSPLLE: Some cleanup. Possibly very small speed increase. hrydgard 2010-05-29 18:22:50 +00:00
  • 926f96daf0 Revert 5533, removing the misleading TODO and commenting it properly. hrydgard 2010-05-29 15:35:31 +00:00
  • bcfc688140 Get disk cache revision from SVN_REV. XTra.KrazzY 2010-05-29 14:24:55 +00:00
  • 05ef8231b8 Changed both video plugins to save PNG screenshots. Made GCPad New default in trunk (it already is in stable). Fixed a hack in new wiimote plugin. Other minor changes. Jordan Woyak 2010-05-29 10:09:24 +00:00
  • 4f10ded2b6 Slightly optimize uploading D3DFMT_A8R8G8B8 data to textures. This is especially perceptible for "big" textures, so e.g. EFB copies to RAM should be a bit faster now. NeoBrainX 2010-05-29 09:32:44 +00:00
  • ceabf90bda Improve iterator usage. Jordan Woyak 2010-05-28 23:14:16 +00:00
  • 0d75190af9 wxFileSelector with wxWidgets 2.9 on OS X allows only very simple glob patterns like "*.foo". Soren Jorvang 2010-05-28 17:23:51 +00:00
  • 270fe2a997 In r5448 the CSharedContent and cUIDsys constructors create the Wii/shared1 and Wii/sys directories if they do not already exist. This conflicts with DolphinApp::OnInit (run after constructors) which populates the User tree only if there isn't already something there. Soren Jorvang 2010-05-28 14:45:07 +00:00
  • 6687f3e791 Linux compile fix nakeee 2010-05-28 09:33:31 +00:00
  • ffc0c37365 GameListCtrl: fixes progress bar for extracting multiple files (cant mix ascii with unicode wxstring:format) use appropriate extensions extracting compressed wii discs check for tmd+tik for each title and list titles correctly for sysmenu versions <=0xE0 this will allow viewing of installed channels but they will not launch until ES_Launch is emulated so far I have not been able to determine why later sysmenu versions do not display channels correctly switching between system menu versions is as simple as rightclicking a system menu wad in the gamelist and installing to wiimenu than restarting LPFaint99 2010-05-28 05:30:03 +00:00
  • 99d9aa0613 Small change to my last commit, thanks for Billiard passing me the proper checksum for the old used calibration data. cheers! I changed the checksum in the new wiimote plugin as well. snzgoo 2010-05-28 03:13:33 +00:00
  • 58d64625f9 Stage2 is approaching: Redsteel2/WiiSportsResort is now working with Motionplus&Nunchuk, and the controls for the nunchuk are working now as well. Apparently, motionplus games are very strict on calibration data checksums, they don't like invalid/0x00'd checksums(this is trackable via 0x01 writes to the active extension register at 0xA400F3). I'll keep all motion plus related stuff that I've discovered on my blog: http://snzgoo.blogspot.com Next time I'll fix the disconnects, which are most likely caused by the sent motionplus empty/dummy data. So stage2 might come sooner than u guys thought. Let me hear u scream;) snzgoo 2010-05-28 02:45:10 +00:00
  • 5663872c7c Avoid newline errors, will cause library checks to fail otherwise if -Werror is on. Dunno why this is in our code, I think scons has this built in ? bztdlinux 2010-05-27 22:19:16 +00:00
  • 66914c7ae4 lets apply some mathematical magic: * optimize may last commit to make it faster * reorder the code to make it more readable please test and enjoy Rodolfo Osvaldo Bogado 2010-05-27 21:43:07 +00:00
  • e960cf1ce6 Fix another piece of cleanup fallout which appears to have been the cause of the file save bug. (_dbg_*() should really get the same treatment as *_LOG() to remove this whole class of #ifdef hell.) Soren Jorvang 2010-05-27 21:28:48 +00:00
  • f8b159eb90 One more case of 64-bit code outside _M_X64, pointed out by omegadox. Soren Jorvang 2010-05-27 12:37:24 +00:00
  • 60c0d2efda Revert previous. Soren Jorvang 2010-05-27 12:36:51 +00:00
  • 687f125315 Slightly redo how Linux global builds get the prefix/lib location. Soren Jorvang 2010-05-27 12:13:37 +00:00
  • af64786472 win_width/win_height are used in X11 builds as well. Soren Jorvang 2010-05-27 12:12:48 +00:00
  • 0119497f3a On OS X, create a release dmg if bundle=True like on Linux. Soren Jorvang 2010-05-27 03:51:00 +00:00
  • d0a79d8cd1 Revert previous. rodolfoosvaldobogado had already applied the same fix in the next-to-last change, just enough lines above that svn silently merged it. Soren Jorvang 2010-05-27 03:27:59 +00:00
  • 253573ea02 ultra experimental commit. fixed tev functionality, now it must be almost perfect emulating native hardware. please test as many games as you can this should impact a lot of games. enjoy Rodolfo Osvaldo Bogado 2010-05-27 03:05:43 +00:00
  • 1dacd1ac1b Put back call to ScanDirectoryTree() while FindValidTitleIDs() is still in use. Soren Jorvang 2010-05-27 02:08:18 +00:00
  • d18253fe33 Don't assume writeable C strings. Soren Jorvang 2010-05-26 22:40:06 +00:00
  • b19aff0084 Uninitialized variables. Soren Jorvang 2010-05-26 21:38:30 +00:00
  • 774035d715 Always build a universal binary on OS X. This requires wxWidgets >= 2.9. Enable -Werror (OS X only so far - please test and enable on other platforms). Clean up library handling a bit. Soren Jorvang 2010-05-26 21:31:50 +00:00
  • 5f9cdad7cd Unbreak nowx build. Soren Jorvang 2010-05-26 21:23:44 +00:00
  • 86f89cce92 Move 64-bit specific variables into proper scope. Soren Jorvang 2010-05-26 21:21:12 +00:00
  • 00758fcafb Uninitialized variables. Soren Jorvang 2010-05-26 21:16:03 +00:00
  • 03e01872b0 Unbreak nowx build. Soren Jorvang 2010-05-26 21:13:43 +00:00
  • 7d3fe592ab Unbreak nowx build. Soren Jorvang 2010-05-26 21:07:52 +00:00
  • b524af8fb9 NEWLINE bztdlinux 2010-05-26 21:07:49 +00:00
  • 39a014353e Simplify logging a bit. Soren Jorvang 2010-05-26 21:07:13 +00:00
  • 810e6d53f0 For these assertions to trip, enums in CPMemory.h which seem pretty much set in stone would have to change. Soren Jorvang 2010-05-26 21:05:42 +00:00
  • 8949c1e309 If the format is not one of the expected ones, just return rather than proceeding with uninitialized data. Soren Jorvang 2010-05-26 21:03:42 +00:00
  • f38ba8fcfe Fully initialize the xfbSource struct. Not sure if this could actually be used uninitialized, but this at least placates gcc. Soren Jorvang 2010-05-26 20:55:33 +00:00
  • 7215732bcd Don't assume writeable C strings. Soren Jorvang 2010-05-26 20:55:04 +00:00
  • 208a4f5646 [Connection defaultConnection] and NewString are deprecated in OS X 10.6. Soren Jorvang 2010-05-26 20:54:48 +00:00
  • d391c59519 Exceptions are not allowed. Soren Jorvang 2010-05-26 20:54:20 +00:00
  • a94c7fc534 #pragma warning is specific to the MS compiler. Soren Jorvang 2010-05-26 20:53:37 +00:00
  • 47af7bd8b1 WriteDual32() is only used in 64-bit builds. Soren Jorvang 2010-05-26 20:53:18 +00:00
  • f2609d1af3 #if 0 work-in-progress code. Soren Jorvang 2010-05-26 20:52:44 +00:00
  • c7c0733dba Unnecessary non-negative check of unsigned variable. Soren Jorvang 2010-05-26 20:48:23 +00:00
  • 3edae70ea0 Hack this dodgy compile-time assert so it works with gcc. Soren Jorvang 2010-05-26 20:47:56 +00:00
  • 3bf3c27d3e Fix comment pasto. Soren Jorvang 2010-05-26 20:47:15 +00:00
  • cf62b10956 Move platform-specific variables into proper scope. Soren Jorvang 2010-05-26 20:46:51 +00:00
  • daf1069c27 Fix variable types. Soren Jorvang 2010-05-26 20:46:28 +00:00
  • 3061942dfc We don't use the return values of SaveTGA() here. Soren Jorvang 2010-05-26 20:45:29 +00:00
  • 2cd31e8c10 Don't return a value from a void function. Soren Jorvang 2010-05-26 20:44:53 +00:00
  • 57a22f670f Remove unused variables. Soren Jorvang 2010-05-26 20:43:16 +00:00
  • 619dc12349 Stage1.continued: Introducing partial emulated MotionPlus+Nunchuk support, allowing us now for instance to get ingame on RedSteel2. However dont expect too much yet, since this is not completely finished. Wii Sports Resort with mp+nunchuk won't work yet and input from the nunchuk passed through the motionplus does not work properly either. Apart from that Stage1, is almost done. Just minor stuff that needs to be finished: Dummy motionplus data needs to be kept dynamic(just like wiimote accel data), or it might cause disconnects after some time. Furthermore, there are 1-2 remaining register writes that have to be understood and emulated.(e.g. 0x00F3/F4). In the end just minor stuff. I'll address that in my next commit. snzgoo 2010-05-26 15:41:47 +00:00
  • 99d0bd7762 fixed setting of texture parameters like lod bias and max and min lod. as a nice result of this eliminate the nasty glubuild2dmipmaps. thanks to neobrain and orphis for discovering the error and the right values Rodolfo Osvaldo Bogado 2010-05-25 19:25:31 +00:00
  • 2e12bd5e34 Fix a few compiler/valgrind warnings, kill check for 17th texenv registers, and one problem reading a truncated sram file. pierre 2010-05-24 14:53:27 +00:00
  • 4b1909ea98 hopefully solved all the pixel align problems when drawing full screen quads. this not solve the remaining projection problem in some games like mario kart wii will work that problem later. please test and let me know the results. Rodolfo Osvaldo Bogado 2010-05-24 14:20:19 +00:00
  • b73b77014f Rework the logic for avoiding lerp() in shader code pierre 2010-05-23 22:46:13 +00:00
  • 88cf89e7fe Replace the calls to sscanf(for number parsing) and number parsers with strto(u)l pierre 2010-05-23 22:31:40 +00:00
  • 19e3e6effe Fix Linux build broken by use of stricmp and vsnwprintf. pierre 2010-05-23 20:13:45 +00:00
  • 655e3b3381 MSVC++ 2010 doesn't seem to like certain function declarations, fixed SOIL.h accordingly. Thanks to xsacha for reporting. NeoBrainX 2010-05-23 13:09:52 +00:00
  • a0c44df6c0 misc stuff Marko Pusljar 2010-05-23 08:41:58 +00:00
  • 1883b32f33 woops forgot some stuff :P :/ luisr142004 2010-05-23 02:59:36 +00:00
  • 1648b84f08 add some dx checking routines to the dx plugin + some minor stuff luisr142004 2010-05-23 02:29:23 +00:00
  • 782d9111e5 let's keep experimenting: almost fixed real xfb in d3d, i say almost because there are some minor scalling problems. hope will fix them soon. implemented a more intelligent index generator to emulate more accurately the behavior of the gc. please give me feedback on this changes. enjoy :) Rodolfo Osvaldo Bogado 2010-05-22 21:58:43 +00:00
  • b1a79b822d Use symbolic names instead of numbers and bump cache version pierre 2010-05-22 20:40:43 +00:00
  • 78b7a95d3f Modify r5462 as requested by rodolfoosvaldobogado pierre 2010-05-22 19:55:07 +00:00
  • e07a91930d The result of the last texenv stage is used regardless of destination register pierre 2010-05-22 16:54:34 +00:00
  • ab89decac5 Linux: Better ALSA support pierre 2010-05-21 22:48:57 +00:00
  • 3ff6a8bd68 small commit to try to fix issue 1509 Rodolfo Osvaldo Bogado 2010-05-19 21:54:54 +00:00
  • 866e127510 Fixes wiimenu on 32bit caused by not allocating enough memory for GetAdaptersInfo. Fixes issue 2672. LPFaint99 2010-05-19 03:23:01 +00:00