Commit Graph

  • 8812fe6a3a some fixes over my last commit, now the speed with xfb disabled must be at least equal to the speed before the xfb implementation. fixed fps counter. please give some testing to this changes to see if i going the right way. Rodolfo Osvaldo Bogado 2010-03-25 02:26:12 +00:00
  • 5cf6ed484b Make this perdy Sonicadvance1 2010-03-24 23:06:23 +00:00
  • 4173cd5876 Disable divwux until we find out what's wrong with it, enable subfcx, and also JIT64 now sets cr[0] correctly. Sonicadvance1 2010-03-24 22:51:06 +00:00
  • 5ff07aace6 Cleared out the top 16 bits in PARAM1 of the ABI_CallFunctionC16 JIT command. skidau 2010-03-24 20:27:09 +00:00
  • 095f81e2f9 DSPLLE - 5 new conditions added (not used atm), 4 used ones are now correct Marko Pusljar 2010-03-24 14:51:04 +00:00
  • 47239ce0f4 XK patch for adding jit config to audiocommon/c16 function to x64emitter and Skidu's fix for 64bit nakeee 2010-03-24 11:22:33 +00:00
  • ea90996852 #ifdef __APPLE__ && _M_X64 needs to be #if defined(__APPLE__) && _M_X64, etc Shawn Hoffman 2010-03-24 05:11:26 +00:00
  • 2e622c17dc Remove the UDSP union functions are passed by value rather than by reference This is part of a bigger change so please report if it broke compile nakeee 2010-03-24 05:05:25 +00:00
  • ed403c270c ipc hle: re-comment a warning that was annoying people Shawn Hoffman 2010-03-24 03:02:24 +00:00
  • 6481b3d899 fixup for jit64 divwux: avoid trying to divide by 0 Shawn Hoffman 2010-03-24 02:42:09 +00:00
  • 9fc6383a94 Change log window font back to SJIS. Glenn Rice 2010-03-23 20:52:37 +00:00
  • f6db5b7d8d make WII_IPC_HLEInterface manage the IPC message queue instead of the "lle" portion. Shawn Hoffman 2010-03-23 03:32:19 +00:00
  • cf7101ef08 use jit64's implementation of divwux instead of always falling back to interpreter. please test for stability...tho it looks fine. Shawn Hoffman 2010-03-23 03:30:25 +00:00
  • 744167f561 Implement IOCtlV 3 (ReadConfig) for /dev/net/ncd/manage. This fixes an error message when trying to play Mario Kart Wii over WFC, although it still fails when trying to connect now. Also fix some cosmetic issues (double include and indentation).<NeoBrain Patch> Sonicadvance1 2010-03-22 18:19:41 +00:00
  • cac8fa8afc DSPLLE - small fix Marko Pusljar 2010-03-22 16:32:48 +00:00
  • 11a215567b DSPLLE - idleskip-ing improved a little (it still fails totaly for zelda type games (exp7)) Marko Pusljar 2010-03-22 13:46:00 +00:00
  • ef3a40c644 small fix for the windows resizing problem introduced in my last commit, still much to do but working to fix the remaining problems. Rodolfo Osvaldo Bogado 2010-03-22 00:21:39 +00:00
  • 020ff8c62b forgot to remove the check that would detect proper DSCR setting during DMA as an error Shawn Hoffman 2010-03-20 21:18:41 +00:00
  • e94229cba0 small cleanup in dsp lle I wonder if we should bother making DMAs take time? Shawn Hoffman 2010-03-20 20:56:33 +00:00
  • 503bf545a3 DSPLLE - 0xa100 figured out = abs(), small mul fix, cleaning, some extra comments Marko Pusljar 2010-03-19 21:53:41 +00:00
  • 4f56d8144b same commit as r5169, but this time to trunk instead of stable (should fix wii homebrew (loading) on osx.) and minor changes to the wrtc test Shawn Hoffman 2010-03-18 23:01:04 +00:00
  • f885eb2de0 Did some clean up of the GUI main. Also, parse command line options first, then set up directories (linux and apple), then load the log manager, sconfig, etc. Removes the need for my silly log manager and sysconf reload. Changed the default font for the log window to the local font (why was a Japanese font the default?). Also fixed an issue that prevented the log windows settings from being saved properly. Lots more needs to be done with the AUI manager. That stuff doesn't work. Glenn Rice 2010-03-18 14:34:37 +00:00
  • 14bb53dcc6 DSPLLE: Run the threaded mode a bit differently and with respect to idle loops. XTra.KrazzY 2010-03-18 06:20:52 +00:00
  • d9714c3c9d DSPLLE - tons of bugs fixed... try Zelda ucode games under LLE now (like Luigi Mansion :) Marko Pusljar 2010-03-18 00:18:36 +00:00
  • 02edaf3db8 Added several XKeyToString translations. Fixed minor font issue with wiimote pad button dialog. Removed unnecessary OpenGL_MakeCurrent call from DoState. Glenn Rice 2010-03-17 18:58:19 +00:00
  • 3eebd28a6b Renable Load Store in JIT since I found the problem. Haven't fixed it since I'm not 100% sure why it fails, but that code is disabled in x64 OSX. Still is faster than disabling the entire thing. Only core part left is Load Store Paired Sonicadvance1 2010-03-17 11:23:24 +00:00
  • fa9ae47d02 Woops Sonicadvance1 2010-03-17 10:13:58 +00:00
  • 4e9be9aa59 This fixes JIT Loading Store Floating in 64bit OSX Sonicadvance1 2010-03-17 09:38:13 +00:00
  • 721935c6ff Several little fixes. Fixed a segfault in linux when a cd/dvd drive is empty or invalid and "Boot from DVD" or "Show Drives" are selected. On all platforms if a game fails to load show the game list again. The other things here are essentially code cleanup and won't be noticeable by most users. Glenn Rice 2010-03-17 01:54:40 +00:00
  • a7b03fd2cd Implement pausing (with the Escape key) for the NoGUI build in linux. Glenn Rice 2010-03-16 13:30:52 +00:00
  • d6b9a2ec81 Shutdown NoGUI build properly in linux. Glenn Rice 2010-03-16 13:18:52 +00:00
  • 6723a91664 No gui fix in linux. Glenn Rice 2010-03-16 03:34:27 +00:00
  • 172cc24f32 nowx build fix, and fix a bug when render to main is changed from the gfx config dialog while the emulator is running. Glenn Rice 2010-03-16 01:16:55 +00:00
  • 2015d252f0 Rewrite of fullscreen toggling in linux. This goes back to using the EWMH specifications. I wasn't using it right before, but now it should work on all EWMH compliant window managers (like KDE, Metacity, Compiz, etc). Since this doesn't need an override redirect Alt-Tab works even in fullscreen mode. This also allows for some other nice things to be done. Glenn Rice 2010-03-15 23:25:11 +00:00
  • c5d4c2c1b1 Fix an issue with scons not using cached command line arguments Glenn Rice 2010-03-14 21:01:02 +00:00
  • 3bdf7d3711 this is a ugly unstable commit but i'm going to be out for work some days so ... implemented donko's xfb in D3D: the bad things: *is solower in some cases, slower as opengl *it do not work in dual core mode, it seems direct3d has serious synchronization problems, to the other devs please if you can take a look and help me :) *real xfb still not working i have to give it more time to make it work. the good: *games that uses multiples xfbs will work now using the virtual XFB. *implemented a more hardware like approach to scaling, now to calculate the pixel scaling i use the xfb size not the efb so the screen pixels relation is more correct now. *simplified a little donko's virtual xfb to make it less memory consuming as xfb textures are the exact size of the scaled xfb and not full target width. * when it works even real xfb will let us use super sampling. I repeat this commit is totally unstable and in dual core mode it will for sure hang the emulator or at best give totally incorrect results. Other devs please help as thread sync is not one of my strong points :) i'll keep waiting for the comments an the -1 :) Rodolfo Osvaldo Bogado 2010-03-14 18:57:50 +00:00
  • ed0740b512 Still didn't have the render to main resize thing. Need to move the window if the panel is to the left. Glenn Rice 2010-03-13 20:39:33 +00:00
  • 2bbef42c37 Fix an issue in linux where if both render to main and fullscreen are checked the emulator started in fullscreen with the wrong window size. Glenn Rice 2010-03-13 15:49:40 +00:00
  • c5a0e86123 DSPLLE - u16 aram reads (zelda type) fixed Marko Pusljar 2010-03-13 10:29:32 +00:00
  • 34d1d7a41e DSPLLE - AX PCM16 fix Marko Pusljar 2010-03-13 02:28:21 +00:00
  • 3ccbd152fd In linux with render to main, make sure the emulator window is resized if the log window is opened or resized. Also fix a memory leak, and a little code clean up. Glenn Rice 2010-03-12 04:10:48 +00:00
  • b2ab31681a rewrite (lowish level) wii ipc to be more like wiibrew (http://wiibrew.org/wiki/Hardware/IPC) Shawn Hoffman 2010-03-11 17:22:13 +00:00
  • 5bf33f778f re-add the HidOutputReport() in wiimote plugin's ControlChannel, homebrew needs this (wiimote in homebrew still broken atm...) Shawn Hoffman 2010-03-11 17:21:25 +00:00
  • e6efc4a611 remove wiimote led/speaker status from statusbar Shawn Hoffman 2010-03-11 17:20:32 +00:00
  • 5fa18ae114 Fixed an issue that caused the render to main window to lose focus if the gfx config dialog is opened while the emulator is running. Only affects linux. Also fixed a few preprocessor conditionals. Glenn Rice 2010-03-10 17:29:19 +00:00
  • 70627c5652 Extend the OGL virtual XFB to handle games that use multiple XFBs to make a frame. This should allow games that require the XFB to work without using a real XFB in RAM which is slow and limited to the original resolution. To use this enhancement you must check Use XFB in the options. The previous option was renamed Use Real XFB. I don't think this works with the aspect settings yet. donkopunchstania 2010-03-10 06:45:13 +00:00
  • c455673f87 Added scons options "shared_libname=true" to link agains the system shared libraries for lzo, sfml, and soil. For example add the scons option "shared_lzo=true" for lzo. This will check for the system libraries and then fall back to building and linking statically against the Externals if not found. You must have liblzo2-dev, libsoil-dev, and libsfml-dev installed. Note that you need version 1.5 or later for sfml. Currently scons doesn't check the version for you. If you are having trouble with segmentation faults in linux try "shared_soil=true". That seems to fix the problem. How do we fix this for the static build? Glenn Rice 2010-03-09 22:17:33 +00:00
  • 914cb632fb Woops! I put subfcx in to subfex on accident, silly me Sonicadvance1 2010-03-09 21:32:50 +00:00
  • 3754bf5d06 Add JITTed version of subfex, disabled for now since it requires us to set the CR0 flag correctly, which I currently don't have working with 64bit build. It will improve performance in RE0 which will be nice. Can probably be done more efficiently as well Sonicadvance1 2010-03-09 21:22:09 +00:00
  • 2049caa9fc Fix NoWX build, use a different define in CoreParameter, the one we all know and love, and add a Function call to VertexManager which can boost performance, tells the drivers that we don't care about the current data, because we are putting new data in it anyway. This gives quite a performance boost on OSX since it bypasses a call in the drivers that takes around 24% CPU time Sonicadvance1 2010-03-09 21:15:28 +00:00
  • cc7c6cd35f Texture coordinates are stored in fixed point format in TEV which allows overflows to be emulated correctly. Added logic to calculated texture LOD and use the correct mip. Dumping textures will now dump all mip levels. Added line rendering. Changed data stored in vertex from float arrays to vectors for cleaner math. donkopunchstania 2010-03-09 04:38:07 +00:00
  • 5beb6dfd47 Implement render to main in linux. In order to compile this in you will have to have libgtk2.0-dev (or your distributions equivalent) installed. If not dolphin-emu will still build, but without render to main operational. Glenn Rice 2010-03-08 23:29:16 +00:00
  • a0952684b0 DSPLLE - removed some ifdefs Marko Pusljar 2010-03-08 23:18:19 +00:00
  • 70a712c065 DSPLLE - flags&stuff,xar->subarn,0x80 kinda figured out,... (experimental) Marko Pusljar 2010-03-08 21:25:35 +00:00
  • 76ad8db445 Added a null check when stopping the DSPHLE plugin with the DSound back-end. Fixes the DSPHLE crash on stop. skidau 2010-03-08 08:03:42 +00:00
  • beba3b7f5b Removed more compiler warnings in linux. Glenn Rice 2010-03-07 22:48:37 +00:00
  • ff7da32c6b just a little clarification around sram stuff, and silence some compile warnings. Shawn Hoffman 2010-03-07 17:08:42 +00:00
  • 470db5965e Minor optimization that's been sitting on my harddrive for a while. hrydgard 2010-03-07 16:37:35 +00:00
  • 2dabcb881c Fixed the crazy code in r5161. nodchip 2010-03-06 10:07:37 +00:00
  • 6376645b69 Shut down the video software plugin without closing dolphin in Windows. Fixed a memory leak. donkopunchstania 2010-03-06 03:25:06 +00:00
  • d69478e539 Reverted the comparison function to r5159 and rewrote map to hash_map. I confirmed that the code can be compiled and run under Visual Studio 2008. And I confirmed the code can be compiled under gcc 4.4.0 (mingw). I could not confirm that the code run under linux. nodchip 2010-03-06 02:07:48 +00:00
  • 1b61742b53 Rewrote a object-comparison code using a standard function. It's a tiny refactoring. nodchip 2010-03-05 12:04:09 +00:00
  • 7cf32053fe Gah, screw it Sonicadvance1 2010-03-05 10:07:49 +00:00
  • 56a1e15f41 Forgot to check the low argument Sonicadvance1 2010-03-05 10:01:26 +00:00
  • 35bb2e70da reenable load store on linux (seems to work for most people). nakeee 2010-03-05 09:53:31 +00:00
  • 529642de99 Woops Sonicadvance1 2010-03-05 09:26:10 +00:00
  • d18ab50520 Add a universal option to the osx flag, does not work yet since scons strips out the -arch flag that it thinks is a duplicate, add to linker flags since cross compiling on OSX was failing since it was trying to link everything as the wrong arch. Re-Enable the loadstores in 32bit Dolphin in OSX, due to the reason described in the comments (Fast 32bit OSX!). Add an alert if the memory space ends up above 32bit in *nix sides, since it will ALWAYS be above in 64bit OSX, Will try to fix. Sonicadvance1 2010-03-05 09:23:28 +00:00
  • e79dc93a5c Fix noWX compiling, Fix OSX crashing when opening options because of dumb code. Fix OSX Wiimote, will fix multi-wiimote in OSX later. Sonicadvance1 2010-03-05 07:03:44 +00:00
  • e2316087f7 accidently broke free look with mouse input, fixed (fixes issue 2377) luisr142004 2010-03-03 19:21:24 +00:00
  • d3923bfc26 ~1KB mem leak fix in NANDContentLoader.cpp Sonicadvance1 2010-03-03 06:59:37 +00:00
  • 6b2d9ef404 16byte mem leak fix in OSX Wiiuse Sonicadvance1 2010-03-03 06:58:57 +00:00
  • f4b5cc5a8b Check texture attribute loader before adding it to vertex loader. donkopunchstania 2010-03-02 04:58:55 +00:00
  • 335303803b DSPLLE - lsr16 fix Marko Pusljar 2010-02-28 23:31:43 +00:00
  • 8035ccaef4 Enable the OSD hotkeys in linux Glenn Rice 2010-02-28 21:56:17 +00:00
  • 3116a7ea1b should fix cases where the gamelist would stay active under the render window Shawn Hoffman 2010-02-28 19:28:21 +00:00
  • c5ecd627ce remove Globals.cpp (had been removed from projects but forgot to svn delete it) Shawn Hoffman 2010-02-28 18:48:33 +00:00
  • e716f7be8c Whoops. j4ck.fr0st 2010-02-28 18:39:33 +00:00
  • 80d303222b code cleanup, focusing on dsp hle Shawn Hoffman 2010-02-28 18:21:22 +00:00
  • cff39f5382 Omitted extra lower_bound() calls to reduce the computational time. The old routine consumed more than 4% of computational time of a thread. It is a trivial modification. nodchip 2010-02-28 14:48:07 +00:00
  • 2941bef44b Fixed a wrong type in r5140. Commited code that I forgot to commit in r5140. nodchip 2010-02-28 12:14:40 +00:00
  • 1c34052266 Refactored VertexLoader::CompileVertexTranslator(). Now texture coordinates loaders are also selected from a function table. I will add a hack to increase the speed in the next commit. nodchip 2010-02-28 11:36:00 +00:00
  • d348c33bf2 Refactored VertexLoader::CompileVertexTranslator(). Now the vertex position loader is selected from a function table. I will apply the same kind of refactoring to texture coordinates loader. This is a pre-preparation to optimize texture coordinates loaders. nodchip 2010-02-28 08:41:02 +00:00
  • ff8ce634e3 DSPLLE - addaxl,mulc,'ln fix Marko Pusljar 2010-02-27 21:24:25 +00:00
  • 0425ff2f06 Add rodolfo's safe texture cache options to the OGL plugin dialog Glenn Rice 2010-02-27 16:07:29 +00:00
  • 6b1ca64428 experimental commit: simplify even more the params. please test and if theres something wrong will revert asap thanks for the comments in the prev commit they make my re think the approach. Rodolfo Osvaldo Bogado 2010-02-26 22:14:29 +00:00
  • 02189ec5e0 Simplify the params for the safe texture cache after some test the more relevant parameters were the color samples and the tlut max size. so delete the rest of the parameters and define 3 modes: Safe : the two values are set to 0 meaning all the texture data and all the tlut data are hashed this is the most correct and slowwwwwwwwwww way Normal: 37 samples are taken from the color textures an the firs 4096 bytes of the tlut are hashed, is a lot faster than safe mode but in some games i observe small glitches. Fast: 8 samples are taken from the color textures an the first 1024 bytes are hashed from the tlut, is a little slower than the unsafe cache but at least all the games i tested have correct text output and fast frame rate. the glitches in dinamyc color textures are more noticeable in this mode this values could be improved, if you find a better combination please post it and the game it fixes and i will update the source. for the moment, as my time is limited by a lot of work, only implemented the d3d gui, if someone can implement the opengl gui will be a lot of help for me. please test a lot and let me know the results. Rodolfo Osvaldo Bogado 2010-02-26 12:54:08 +00:00
  • 0718385f27 fix modal state for pad plugin configs luisr142004 2010-02-25 22:47:40 +00:00
  • 6da7695843 Fix issue 2364 + another issue introduced in r5129 causing the main window to lose the focus on windows sl1nk3.s 2010-02-25 17:50:08 +00:00
  • f1ed7e5656 Build fix for linux. sprintf_s does not exist in linux. Does it in windows? Glenn Rice 2010-02-25 12:35:31 +00:00
  • 7f5a10222e heh, builds fix, sorry :p luisr142004 2010-02-25 07:31:03 +00:00
  • 5d81b93189 woops missed a file :) luisr142004 2010-02-25 06:38:09 +00:00
  • 816febd3b0 finish proper window handling, fix the modal state of the config dialogs, plus some minor cleanup/changes :p luisr142004 2010-02-25 06:12:35 +00:00
  • 4915097d93 fix some D3D memory leaks donkopunchstania 2010-02-25 03:14:40 +00:00
  • aa1081348d Oops, should have tested my copy and paste from wiimote to gcpad Glenn Rice 2010-02-25 03:08:50 +00:00
  • a048ad52b4 Fix input focus in fullscreen on linux Glenn Rice 2010-02-25 03:05:53 +00:00
  • 609151c6e8 Reverted because of some processor and performance issue. I will develop in a branch about SSSE3/SSE4.1. nodchip 2010-02-24 23:58:48 +00:00
  • 1b43900f30 Applied the fix from r5118 to the JIT IL recompiler. Enabled the fix on Linux x64. Aligned the stack before calling the LoadStorePaired asm functions. skidau 2010-02-24 20:06:13 +00:00
  • d90d9976e8 apply the changes from r5109 to the DX9 plugin aswell. the config dialog does not use wx yet, but the debugger does. Plus cleanup. j4ck.fr0st 2010-02-24 19:32:32 +00:00
  • b7e73102ca Fixed the issue that cpu_info is not initialized in plugin. This commit enables SSSE3/SSE4.1 codes in rev5119. nodchip 2010-02-24 10:10:48 +00:00
  • 47fb73b71a Added SSSE3/SSE4.1 code for speed up. The code does not work in this revision because cpu_info is not initialized properly. I will fix the issue in another commit. nodchip 2010-02-24 09:56:41 +00:00