Commit Graph

  • 5706abf4a1 Hack up hack number 7328, just to get things to compile. Glenn Rice 2011-03-11 12:56:26 +00:00
  • 59fd1008ca Wrapped fopen/close/read/write functions inside a simple "IOFile" class. Reading, writing, and error checking became simpler in most cases. It should be near impossible to forget to close a file now that the destructor takes care of it. (I hope this fixes Issue 3635) I have tested the functionality of most things, but it is possible I broke something. :p Jordan Woyak 2011-03-11 10:21:46 +00:00
  • 4f69672b2b Remove the need for the less than standard strnlen()/strndup(). Soren Jorvang 2011-03-11 00:37:37 +00:00
  • 1f42629112 Fix OS X Lion build: Soren Jorvang 2011-03-10 22:06:30 +00:00
  • 83209b4afc add an option to not eject/reinsert memcards on save/load state when off certain games like ZTP ZWW maybe other cannot save to a different memory card after loading from a savestate, but for TAS the game will no longer think that the card was ejected to use add ReloadMemcardOnState = false to dolphin.ini LPFaint99 2011-03-10 00:16:40 +00:00
  • 610df4ab78 Fix OS X nowx. Soren Jorvang 2011-03-08 23:25:37 +00:00
  • 431f6b596a Fix the default setting for the fullscreen resolution on linux. Glenn Rice 2011-03-08 22:43:44 +00:00
  • 6e348a2731 DX11: Add real XFB mode support. May not work perfectly yet. I'm working on a set of fairly big VI-related changes. When I'm done, it should improve animation smoothness for all the backends, especially when virtual or real XFB mode is enabled. Nolan Check 2011-03-08 07:39:36 +00:00
  • a23fb0eef3 Fix a couple apparent typos. a) Don't pass ASCII string to Unicode function. b) If you type "(128 / 1000)" in C++, it will be treated as "0" because the integer division gets truncated. Fixed. Nolan Check 2011-03-08 02:23:54 +00:00
  • e0df7d799a Fix the no gui build for the recent std event changes. Glenn Rice 2011-03-07 23:20:20 +00:00
  • 6d93d473ad Shut up recent versions of GCC about the OpenMP pragmas. Soren Jorvang 2011-03-07 20:23:04 +00:00
  • bf9962c3f0 Check if we are just displaying the empty game list before assuming that the ratings column is present. Soren Jorvang 2011-03-07 20:19:20 +00:00
  • 89f636cc08 - Little fix on CPUDetect.cpp about the correct detection related to new AVX extensions (bug/fix reported&suggested by debian.micove) gnick79 2011-03-07 16:12:20 +00:00
  • 5f87642f23 problem: TryAcquireSRWLockExclusive requires Windows 7 :/. solution kinda: use std::recursive_mutex (CriticalSection on windows) where try_lock is used. Dolphin should work on Vista x64 again. Jordan Woyak 2011-03-07 00:16:38 +00:00
  • 3151618cb3 Core/DSP/Jit: Fix register cache state tracking in bloop and loop emitters pierre 2011-03-07 00:12:55 +00:00
  • a734b3f057 Somewhat experimental. If the SYSCONF file is not found or is invalid then generate one. For now ask the user if this should be done. The generated SYSCONF file works for me with the games I have tested, but this needs further testing. Unfortunately, most users will never use this as they will have the SYSCONF file anyway. Eventually we could perhaps remove the distributed SYSCONF, and generate it the first time dolphin is run. Glenn Rice 2011-03-06 16:57:58 +00:00
  • 99e6c47497 Use clang for compiling the few .c files, including minilzo-2.04 which appears to trigger a bug in the version of llvm-gcc included with some releases of Xcode prior to 3.2.5. Soren Jorvang 2011-03-06 14:52:38 +00:00
  • fe601f3ed5 * Italian translation update + Overall and general inspection before... + ...removal all "string-leashes" (now you should see 100%(?) of translated strings) gnick79 2011-03-06 14:27:36 +00:00
  • ec7e160bdc Fix Host_GetKeyState in a more effective way. Glenn Rice 2011-03-06 04:31:43 +00:00
  • 9095dad009 Fix preprocessor prob.(recursive mutexes were being used where not necessary) Hopefully fix Common::Event to handle spurious wakeups since it uses condition variables now. Jordan Woyak 2011-03-06 00:52:04 +00:00
  • 9601bf72df Fix GCPad rumble. Fix issue 4212. Jordan Woyak 2011-03-05 22:47:01 +00:00
  • 7bc2ae01f2 Fix Common::Barrier and fix the deadlock by making Common::Event check to see if an event has already been set or not. Glenn Rice 2011-03-05 22:17:28 +00:00
  • 024a87af7a Fix the Host_GetKeyState deadlock caused by Billiard's latest changes. Glenn Rice 2011-03-05 21:58:54 +00:00
  • 9abf449e7c DX11: Eliminate most int-to-float conversions and use float math in more places. GPUs are more efficient with float operations. This gives a slight speed-up. Nolan Check 2011-03-05 20:40:17 +00:00
  • 4f0705fd70 * Italian translation update gnick79 2011-03-05 16:36:47 +00:00
  • fb4f317503 Make OpenMP optional on linux. For now it is on by default, but you can disable it by adding -DOPENMP=OFF to the cmake command line. Glenn Rice 2011-03-05 16:12:06 +00:00
  • 25231f8007 more fixes for opengl sing openmp, i hope is the last :) Rodolfo Osvaldo Bogado 2011-03-05 15:30:38 +00:00
  • 5eb99178dd more fixes for my openmp commit Rodolfo Osvaldo Bogado 2011-03-05 15:03:36 +00:00
  • f20731b1c3 Fix OS X build. Soren Jorvang 2011-03-05 13:23:37 +00:00
  • 7eade75476 some fix of Chinese translation hyperiris 2011-03-05 13:02:23 +00:00
  • d40e7f26a0 Build fix of linux build fix. Glenn Rice 2011-03-05 12:45:29 +00:00
  • e16e177148 Missed a critical section. Jordan Woyak 2011-03-05 12:05:58 +00:00
  • 423018f811 Replaced Common::CriticalSection with a std::mutex implementation. 64bit Windows builds now use SRWLocks and ConditionVariables(requires Vista/7, x64 builds will no longer work on Windows XP x64). Tell me if you hate that. Removed Common::EventEx. Common::Event now uses a std::condition_variable impl.(using ConditionVariables on Windows x64, Events on x86, or posix condition variables elsewhere). I experience slight speed improvements with these changes. Jordan Woyak 2011-03-05 06:11:26 +00:00
  • a037ff2358 Move the cdb.vff file creation out of the wx code LPFaint99 2011-03-05 05:47:16 +00:00
  • 278cb45eb9 deleting a channel via the wii sysmenu works now Implement ES_DELETETICKET & ES_DELETETITLECONTENT LPFaint99 2011-03-05 05:18:21 +00:00
  • 3b1e7ac372 Get rid of the annoying (and invalid issue creating) 3+ minutes to create cdb.vff now creation is handled by the gui and takes < 1 second LPFaint99 2011-03-05 05:10:28 +00:00
  • 708f6f7299 Replace install wii menu option tools to install wad Add the option to clear a title from the NANDContentLoader and attempt to reload it This allows the using the system menu immediately after installing rather than requiring a relaunch LPFaint99 2011-03-05 05:07:44 +00:00
  • 15ca7b72e6 some fixes for my last commit Rodolfo Osvaldo Bogado 2011-03-05 03:57:09 +00:00
  • b8b81001bd Linux build fix. Glenn Rice 2011-03-05 02:32:09 +00:00
  • 1e367749bd Minor cleanup. sl1nk3.s 2011-03-04 23:23:59 +00:00
  • 7782b7c52d reconnect all wiimotes on eslaunch same hack as r7090 update ES_GETSTOREDTMDSIZE, ES_GETSTOREDTMD to work when called with only 1 inbuffer and no outbuffer LPFaint99 2011-03-04 23:20:08 +00:00
  • e8a1c04abf Fix a typo in BPFunctions causing a PanicAlert in SW:RS2. Really minor bugfix in DX9. sl1nk3.s 2011-03-04 23:14:21 +00:00
  • c569b33829 First Revert my changes to VertexLoader.cpp, i don't own the games that get error so i revert the changes until i can test it myself. Second: A experiment. implemented parallelization in texture decoding using openmp. is most a experiment to test the performance in different os/plataforms. in my system (windows x64 amd 1055t) give a speedup in large textures, but i tested in in intel dual core and gives a slowdown. o i limited the use for large textures and cpus with more than 3 cores. please test an let me know if it improves or degrades the speed. please for linux and osx user. to enable this you will have to enable your compiler support for openmp to test this code. Rodolfo Osvaldo Bogado 2011-03-04 22:48:54 +00:00
  • 756c40163d Merge the log window CreateGUIControls and LoadSettings methods. This allows the settings from the ini file to be applied when the controls are created rather than setting a default, and then changing the settings later. In particular word wrap is applied when the text control is created. This works around the crash at application start that users are reporting in issue 4196. Also change the for loops in SysConf to use iterators to placate godisgovernment and billiard. :P Glenn Rice 2011-03-03 22:47:48 +00:00
  • 05719ac81a Move SConscript files out from the Src subdirectories to be consistent with the other build systems. Soren Jorvang 2011-03-03 19:44:56 +00:00
  • 1e2d922342 Fixed channel loading from the Wii System Menu. The DOL is not being loaded properly by the system probably due to caching. Wiimotes will need to be manually reconnected after the channel loads. skidau 2011-03-03 11:37:12 +00:00
  • 540238cf79 Prepare for the release of Xcode 4, which has working LTO with static libraries. Soren Jorvang 2011-03-03 04:35:03 +00:00
  • 4b8ed4f2c8 Remove a pointless cast. Name the DSP thread. Jordan Woyak 2011-03-03 04:32:37 +00:00
  • 1ae59b6dc3 When reloading the sysconf file make sure that the m_Entries vector is cleared. Glenn Rice 2011-03-03 01:15:25 +00:00
  • bda0794adb Reload sysconf file on stop in order to preserve changes committed during emulation Shawn Hoffman 2011-03-03 00:07:33 +00:00
  • 58d996281c Add Serbian translations. Update other languages. Glenn Rice 2011-03-02 22:48:15 +00:00
  • da4832ed7e Add Serbian translations thanks to nikolassj. They are not very complete though. Update most of the other translations thanks to the dolphin translation team. Glenn Rice 2011-03-02 22:47:21 +00:00
  • 12cd2d41ec Change YieldCPU to sleep(0) like on windows. Time trials show this to be the most effective. Also, when using usleep(1) and dsp on thread the emulator is painfully slow. With the old _mm_pause() the emulator hangs on shutdown. With sleep(0) the emulator is faster, and doesn't hang on shutdown. Also fix a possible undefined operation (according to gcc). Glenn Rice 2011-03-02 22:19:56 +00:00
  • 8cd477a526 Add Czech. Update others. Glenn Rice 2011-03-02 19:24:06 +00:00
  • 3ffdcf1aec Put the video prepare code back, and use the existence of the g_renderer to determine if video prepare has been run or not. Glenn Rice 2011-03-02 15:13:13 +00:00
  • a1055bf5bf add a slider to control the wiimote speaker volume which is stored in sysconf. Shawn Hoffman 2011-03-02 13:01:01 +00:00
  • a80429b020 Fix the wiimote speaker problem in the core and remove the HLE patch for it. Real wiimote tested on windows, untested but should work on linux, dunno about osx. Shawn Hoffman 2011-03-02 12:06:06 +00:00
  • 3af93e8cf3 If the DSP LLE can not find the needed ROM files exit the emulator without crashing the application. Also reimplement soren's revision 7195 in a way that works on linux and windows. (This makes it easier to clean up the video backend if the DSP emulator fails to initialize.) Glenn Rice 2011-03-02 05:16:49 +00:00
  • 6073600084 DSP: implemented saturation in dsplle-int Marko Pusljar 2011-03-01 20:20:04 +00:00
  • 74f22a57d1 DX11: Simpler depth-fetch. All DX10+ cards should have enough float precision to make this safe. Nolan Check 2011-03-01 05:32:13 +00:00
  • df809630c5 Pass std::string's by reference when possible. Glenn Rice 2011-03-01 05:16:32 +00:00
  • 7be1080dff DX11: Implement the rest of the EFB encode formats, but beware: I don't have any games to test them. Nolan Check 2011-03-01 05:07:23 +00:00
  • a5b471f490 More conversion from char * to std::string. Glenn Rice 2011-03-01 03:06:14 +00:00
  • ba54fac9eb Convert GetUserPath to return a std::string instead of a const char *. This simplifies its usage in most cases. Glenn Rice 2011-02-28 20:40:15 +00:00
  • 1b8f476024 Integer constants larger than int need a type suffix. Soren Jorvang 2011-02-27 23:13:28 +00:00
  • 50c2f61d24 Make the break point window toolbar a real toolbar, and general debugger gui cleanup. Glenn Rice 2011-02-27 23:03:08 +00:00
  • e926b28480 DX11: Improve efb-encode shader some more. Nolan Check 2011-02-27 20:07:59 +00:00
  • ccc12c6950 a little simplification for the dlist id and a little correction to YieldProcessor in windows. in windows sleep(0) behaves more like what is defined in the yield instruction so use it instead. In my amd 6 core system brings a nice 8% speedup so please test I'm interested in knowing the behavior in different systems. Rodolfo Osvaldo Bogado 2011-02-27 18:06:55 +00:00
  • d56390407f Core/DSP: Access all registers except ST* through the regcache pierre 2011-02-27 18:04:35 +00:00
  • ff62f492e6 Remove numerous video options from the ISO properties. Use the new configuration profile system instead. Thanks to kostamarino for migrating the game inis to the new system :) NeoBrainX 2011-02-27 14:43:52 +00:00
  • 54078ef9cc Improve DX11 efb-encoder shader code generation a little Nolan Check 2011-02-27 09:33:03 +00:00
  • 217ee43063 Fix a memory leak in the breakpoint window. Parent message alerts by the active window. This way if another window is open it isn't pushed behind the main window. We probably should parent the message alerts by the calling window instead, but this may be good enough. Make sure there is only one instance of some modeless windows (Cheats Manager and Net Play). Glenn Rice 2011-02-27 02:27:43 +00:00
  • 449e79aea5 Fix a brain-fart.... Nolan Check 2011-02-27 01:51:03 +00:00
  • c07fb95821 PS3 controllers have some input elements with very large value fields that cause IOHIDValueGetIntegerValue() to smash the stack when trying to convert them. Soren Jorvang 2011-02-27 00:15:26 +00:00
  • 47efe0fc82 add new files from r7253 to vs2010 projects. Shawn Hoffman 2011-02-27 00:13:28 +00:00
  • f0c5cc76a9 Add EFB encode-to-RAM support in DX11 backend. It could probably be simplified a lot, and not all the possible formats are implemented. I tried to use the dynamic-linking feature of shader model 5, but Microsoft's HLSL compiler is broken. "Dynamic mode" is implemented, but disabled for now. Nolan Check 2011-02-26 23:41:02 +00:00
  • 8351177738 Core/Core/Src/DSP: Drop the indirect addressing hackery from DSP Jit pierre 2011-02-26 21:30:49 +00:00
  • 565ab76e63 Linux build fix. Glenn Rice 2011-02-25 23:51:59 +00:00
  • 960748b184 Added an option for opening up the wiki entry in the compatibility list. The option is in the right click menu of the games list. The game entries in the wiki are currently manually added by the administrator. skidau 2011-02-25 23:33:11 +00:00
  • 19524a8bb7 change how the "toolbar" of bp window is handled -> works correctly in release build. code is still ugly, so if you feel like writing a shiny debugger... Shawn Hoffman 2011-02-25 23:15:53 +00:00
  • 992f8be5b0 If video backend initialization fails, have the emulator die gracefully instead of crashing the application. Also a little clean up of the passage of the video window handle to the backend and back. Glenn Rice 2011-02-25 21:14:13 +00:00
  • eef715b1cf added the possibility to allocate aligned memory, an use it to allocate the buffer utilized in texture decoding, this will make a little easy to use aligned writes when possible in sse2/3 optimized algorithms. some code additions for future use ;). please gcc user test this as i don't have opportunity to test it myself i only use reference code to. Rodolfo Osvaldo Bogado 2011-02-25 20:35:05 +00:00
  • ac6c18a5e4 some cleaning in dlist cache, runvertices and runcompiledvertices Rodolfo Osvaldo Bogado 2011-02-25 20:27:57 +00:00
  • c40ca6553f little commit to dx9 add generation mode to RestoreAPIState to avoid possible errors, don't know if this fix anything but now is more correct. Rodolfo Osvaldo Bogado 2011-02-25 20:24:48 +00:00
  • 7dc3a6cc92 D3D9/11: Fix that "Disable Dest. Alpha Pass" option... Thanks to NaturalViolence for reporting ;) NeoBrainX 2011-02-25 18:22:04 +00:00
  • 7c959d9655 vector::erase needs a non-const iterator. Soren Jorvang 2011-02-25 12:27:38 +00:00
  • 832df18c0f more memcheck stuff Shawn Hoffman 2011-02-25 11:03:49 +00:00
  • 1ea4b8045e memorycheckdlg: set the log, break, and range flags properly Shawn Hoffman 2011-02-25 10:07:24 +00:00
  • d7a9dc7df8 debugger: better saving/loading of breakpoints/memchecks to file no more softice style :( Shawn Hoffman 2011-02-25 09:35:56 +00:00
  • 7d3ad0b1fe Fix the hang on windows when wiimote refresh is used during a game. Fixes issue 4161. Glenn Rice 2011-02-25 05:19:59 +00:00
  • ef63bccfc1 vs2010: make -d be passed to debugfast builds launched from vs revert r7200. instead, wrap the Interpreter_FloatingPoint.cpp in fp:precise for msvc Shawn Hoffman 2011-02-25 04:00:16 +00:00
  • 1f33fc1a48 Fix a segmentation fault when the wiimote source is changed to a real wiimote in the config dialog. A little clean up of the debugger code. Glenn Rice 2011-02-25 03:56:14 +00:00
  • 18b85b9cd5 Just a small accuracy fix for r6819, fixes the pixel line in the volumetric fog effect of Metroid Prime (closes issue 4162) sl1nk3.s 2011-02-24 15:04:24 +00:00
  • ea008a82ae fixes issue 4147 Shawn Hoffman 2011-02-24 10:18:59 +00:00
  • de25440bb3 debugger: don't make spacebar step the ppc. don't call UpdateGUI() each time the statusbar is updated. Shawn Hoffman 2011-02-24 05:59:46 +00:00
  • 2f14598687 Clean up the debugger gui a bit. In general do not call SetSizeHints on a window unless it is a top level window. It isn't supposed to do anything for non top level windows, but it causes glitches on linux. Removing these calls does not affect the end result on windows. Glenn Rice 2011-02-24 05:05:25 +00:00
  • 1eaad0966c Still didn't quite have the wiimote connection stuff right. This probably needs to be heavily revised. Glenn Rice 2011-02-23 16:00:01 +00:00
  • 9680d3ac95 Added an option to disable the Wiimote speaker. The checkbox has 3 states: skidau 2011-02-23 10:01:04 +00:00
  • 996ff62ad6 fix the debugger flashing like crazy. Shawn Hoffman 2011-02-23 05:23:21 +00:00
  • ceb03781dc Fix an issue when a wiimote source is changed to a real wiimote in the wiimote config dialog while a game is running, and the wiimote was disconnected from the CPU. Only change the connection status when the dialog is closed. Glenn Rice 2011-02-23 03:06:16 +00:00