Commit Graph

  • 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
  • dc9d533d4f Aligned the stack before calling the LoadStorePaired asm functions. Fixes issue 2053. skidau 2010-02-24 08:30:50 +00:00
  • 1d40b8a5ae Systematically eliminating compiler warnings. Glenn Rice 2010-02-24 03:38:36 +00:00
  • 3cc5d8ce6f First a bugfix: fixed a misbehavior in the clear code that causes depth clear problems in reference hardware (Intel as example). add 6 parameters to optimize Safe Texture Cache: SafeTextureCacheColorSamples, SafeTextureCacheIndexedSamples, SafeTextureCacheTlutSamples: Rodolfo Osvaldo Bogado 2010-02-23 21:52:12 +00:00
  • ba25f08d62 Convert a few other EVT_COMBOBOX's to EVT_CHOICE's that I missed Glenn Rice 2010-02-23 02:20:35 +00:00
  • 74883a1735 Fix some wxChoice events that were still wxComboBox events. Fixes issue 2334 Glenn Rice 2010-02-23 01:59:59 +00:00
  • ae58a743cb Some tiny fix, fixed a crash when activating "overlay some statistics" on OGL plugin (which actually overlays a whole book + 400 chapters of statistics and, indeed, overflows and crash) + memleak fix on LLE plugin and little fix on GBAlink shutdown code. sl1nk3.s 2010-02-23 01:57:26 +00:00
  • 141ee0e485 should fix any concerns brought by the last commit: GBAConnectionWaiter should take less cpu time, be threadsafe, and exit properly. thanks to sl1nk3 and skidau Shawn Hoffman 2010-02-23 01:18:57 +00:00
  • a4e9bf3fd2 first implementation of support for multi GBAs. Probably something wrong with thread safety or something - but hey, it works...and I would need help to make it threadsafe *hint* :) Shawn Hoffman 2010-02-22 21:57:05 +00:00
  • 303769d31c Revert commit 5105 until we sort out how we want this to work in linux. Glenn Rice 2010-02-22 16:10:08 +00:00
  • ffdf087aad Fixes issue 2331, plugins won't cause a crash/hang on stop anymore if their config dialog was opened, note that stopping a game while a config dialog is open still causes a crash (that should not be possible in the first place since the dialogs are modals, but heh...). sl1nk3.s 2010-02-22 04:59:57 +00:00
  • ae945ec90e More conversions to wxChoice, weee Sonicadvance1 2010-02-22 01:08:42 +00:00
  • 11eb1bba9b add example of how you can use dspspy to dump results from an entire ucode (commented out) Shawn Hoffman 2010-02-22 01:06:11 +00:00
  • 73d575c5c2 On linux don't compile and link against lzo, soil, and sfml "Externals." Instead use system libraries liblzo2-dev, libsoil-dev, and libsfml-dev Glenn Rice 2010-02-22 00:39:38 +00:00
  • 74a6b5638f DSPLLE - 2 new opcodes (TSTPROD,MULAXH) Marko Pusljar 2010-02-22 00:22:04 +00:00
  • 1824b5b25a Remove the AO dependency for DSP LLE, which is silly Sonicadvance1 2010-02-22 00:19:27 +00:00
  • a3f7e4fc73 compile fix nakeee 2010-02-21 20:28:33 +00:00
  • 7de17cb9c2 SFML on linux/osx now compiles from external (static) removed HAVE_SFML ifdefs nakeee 2010-02-21 20:09:49 +00:00
  • 3dc3c1c3b3 Fix issue 2019, fix hiding or showing games with country == Italy, France, Taiwan or Korea from the gamelist, add missing Korea flag to the gamelist and disable netplay from the menu until it can be made more usable. sl1nk3.s 2010-02-21 19:19:16 +00:00
  • d2a3dd435a remove gbapipe from the SConscript Shawn Hoffman 2010-02-21 18:57:56 +00:00
  • fdd635d273 Warning cleanup, mainly shadowed variables, const/non-const and ctor initialization order j4ck.fr0st 2010-02-21 18:55:00 +00:00
  • f7f11211a1 Some Wiimote Cleanup, re/moved some globals to where they belong. A few things could be solved differently/in a better way, but that would involve some classes and stuff (plus work) j4ck.fr0st 2010-02-21 18:53:11 +00:00
  • b6a3df2fcf commit current GBA link cable work. no touching (unless you're skid_au or ask first) :P Shawn Hoffman 2010-02-21 18:50:44 +00:00
  • f7bf29a528 DSPLLE - 'L ext opcode fix Marko Pusljar 2010-02-21 13:23:29 +00:00
  • 3bb9ab68ae Added proper initialization to CoreParameter. This caused some odd behavior after fixing some of our broken singletons in r5085 as some of the bools were true by default. Works-for-me(TM), please test if I missed anything. All values should be initialized with the default values from either configuration or datatype. j4ck.fr0st 2010-02-21 12:56:18 +00:00
  • 885299d985 DSPLLE - flags&stuff (more later) Marko Pusljar 2010-02-21 10:35:28 +00:00
  • 2aa03f5b3b Some really (REALLY) old changes that were hanging on my computer for a while XTra.KrazzY 2010-02-20 09:36:22 +00:00
  • 154bc956ad Some code clean up, and take care of some compiler warnings. Glenn Rice 2010-02-20 04:18:19 +00:00
  • f74b5463d5 Add a SetSelectin I forgot. Glenn Rice 2010-02-19 23:24:33 +00:00
  • f0716a30b7 Fix some Set/GetValue's Sonic forgot. Glenn Rice 2010-02-19 23:20:13 +00:00
  • f833cc7601 Convert a few Comboboxes over to choiceboxes. WX OSX doesn't support Comboboxes with Readonly Sonicadvance1 2010-02-19 22:56:37 +00:00
  • 227be30f98 Woops Sonicadvance1 2010-02-19 20:41:40 +00:00
  • 368cce2ec2 Revert the SysConf change, since it was intended by shuffle. Attempt to fix some of our singleton failures. j4ck.fr0st 2010-02-19 18:50:01 +00:00
  • f41686e926 apply baby.lueshi's patch from issue 2245 to fix lua's handling of large integers. fixes issue 2245 Shawn Hoffman 2010-02-19 18:40:38 +00:00
  • f9f9b1bc14 No message Sonicadvance1 2010-02-19 18:32:40 +00:00
  • 3a5a7de906 NoGUI: general cleanup, add initialization stuff added in r5064, fixed the cocoa event loop not shutting down when not booting a game on OSX. SysConf: removed the Save call in the dtor, this crashes on linux trying to read m_Filename (which might be already freed). Common: set eol-style native, again. j4ck.fr0st 2010-02-19 17:05:26 +00:00
  • 0819740b6a DSPHLE - GC intro audio (IPL) now working - only for pal games atm Marko Pusljar 2010-02-18 20:07:20 +00:00
  • 63827c71c6 Move MemCheck functionality into the virtual DebugInterface class from the more general MemView class. Give DSP LLE Debugger a wxAUI facelift and add memory view to dsp debugger. Shawn Hoffman 2010-02-18 12:06:13 +00:00
  • d5c094df75 In linux when in fullscreen, make escape leave fullscreen then pause. More like on windows? Glenn Rice 2010-02-18 00:50:08 +00:00
  • 967c5891e9 Make the Escape key pause the emulator in linux when not in fullscreen. I believe this is the same as in windows? Glenn Rice 2010-02-17 23:44:07 +00:00
  • 2c7b484869 Fix software plugin in linux. I broke it in revision 5048. Glenn Rice 2010-02-17 23:15:58 +00:00
  • 5e5e03daeb Update Video software plugin with latest cocoaGL.m file Sonicadvance1 2010-02-17 21:04:26 +00:00
  • 377ece3294 DSPLLE - SR_10 flag implemented (no idea what name should it have or how/when this is supposed to be used) Marko Pusljar 2010-02-17 19:10:31 +00:00
  • 634f6e512e Minor tweaks to fullscreen in linux, and make FullScr button in GUI work. Glenn Rice 2010-02-17 17:53:08 +00:00
  • bd1b12e357 DSPLLE - SR_TOP2BITS 16bit fix Marko Pusljar 2010-02-17 10:21:25 +00:00
  • c3697df665 More memory leak fixing. donkopunchstania 2010-02-17 07:15:39 +00:00
  • b88f510984 dsp: lrs is also sign extended in "40bit" mode. tested (correctly, this time :D ) Shawn Hoffman 2010-02-17 05:50:22 +00:00
  • 16b21f3790 oops, dsp assembler can't handle labels with whitespace before them :) Shawn Hoffman 2010-02-17 02:37:58 +00:00
  • e0e5a25bcd Update_SR_Register64 sets SR_TOP2BITS based on m, not h (does someone have tests saying otherwise?) clean up dsp_base.inc a little, use some irom funcs where possible Shawn Hoffman 2010-02-17 02:33:21 +00:00
  • dc76856736 dspspy - small fix Marko Pusljar 2010-02-16 21:12:50 +00:00
  • 215f1f74be Switches to GCC's internal swaps for swap32 and swap64 in OSX. Changes CDIO from using char*** to std::vector<std::string>, which fixes a memory leak I was noticing and also makes it look cleaner. This is not tested much in Windows/Linux, please see if it compiles and doesn't fail out in some mysterious way Sonicadvance1 2010-02-16 08:46:21 +00:00
  • 7c76d51c67 Enable fullscreen switching with resolution mode changing using Xrandr in linux. This changes the dependency in linux from libxxf86vm-dev to libxrandr-dev. Use Alt-Return to toggle fullscreen mode (as in windows). Glenn Rice 2010-02-16 04:59:45 +00:00
  • 9254a2ddb5 Fixed a few memory leaks. Made Init and Shutdown functions for some core systems. donkopunchstania 2010-02-16 04:34:41 +00:00
  • 666a33eeed Fix mouse emulation in fullscreen mode in linux. The window doesn't have focus then. Also minor tweak to mouse hiding. Glenn Rice 2010-02-15 01:09:34 +00:00
  • b245c398a3 keep a few separate thunkmanagers so they don't all share the same register backup area. seems to fix the single-core-paired-single-x64 issue in mario kart wii, please test the other games that were problematic. hrydgard 2010-02-14 22:37:46 +00:00
  • 14bb1b5f01 ...and a buildfix for non-win32 j4ck.fr0st 2010-02-14 16:44:16 +00:00
  • cd321feb83 attempt to fix the main window closing from r5056. i'm not sure how this affects window deletion tho. apply eol-style native to GCPad, pretty annoying to break patches and stuff j4ck.fr0st 2010-02-14 16:33:53 +00:00
  • dc7029e7f4 Remove HaveFocus, and put that code into IsFocus. Thanks ayuanx. Glenn Rice 2010-02-14 14:48:19 +00:00
  • a8793cbe52 うそ! Sonicadvance1 2010-02-14 14:33:04 +00:00
  • 5b1d21d1a1 Bunch of tiny memory leaks fixed and cleanup, フウ〜! Sonicadvance1 2010-02-14 14:06:33 +00:00
  • b6aa5d91c0 add another dsp ucode to RE...woo! Shawn Hoffman 2010-02-14 05:40:04 +00:00
  • 98c7993a8a re-add alignment for dspbuffer in DSPSpy...turns out it's needed :) Shawn Hoffman 2010-02-14 02:31:42 +00:00
  • e5afde67ce In linux only read keyboard and mouse input when the emulator window has focus. Also other code clean up. Glenn Rice 2010-02-13 23:56:24 +00:00
  • 5e6eecf0af Ok, this really does it. Glenn Rice 2010-02-13 21:19:41 +00:00
  • 24a4d1a1e0 Ok, now the mac build should be fixed Glenn Rice 2010-02-13 21:12:16 +00:00
  • 47609c4524 Mac build fix to the issue caused by my last commit. Glenn Rice 2010-02-13 21:06:19 +00:00
  • 9272d3c628 Actually use the timeout requested in Wiiuse in OSX, and if there is no BT device or it's disabled, catch it so we don't get stuck in an infinite loop Sonicadvance1 2010-02-13 20:54:05 +00:00
  • c2e0c75c93 EXPERIMENTAL Removed X event loops from GCPad and Wiimote plugins, and implemented an asynchronous check for keyboard and mouse buttons. Also added an X event loop in core that handles events while the emulator is paused. Prevents unexpected behavior from events that occur while the emulator is paused. Now there is only one event loop running at a time (besides those hidden in SDL). I will revert this commit if other devs are unhappy with it. Glenn Rice 2010-02-13 20:47:23 +00:00
  • c63446827f Fix crash when stopping and starting a game with OpenCL enabled Sonicadvance1 2010-02-13 10:09:54 +00:00
  • df1be33ba9 Some more leak hunting/housekeeping, probably wont affect Issue 2184 in a noticeable way tho. j4ck.fr0st 2010-02-12 19:28:51 +00:00
  • 99ea22bbf3 Fix a ~8MB mem leak with AXWii Games Sonicadvance1 2010-02-12 18:01:36 +00:00
  • 0ab6c117c1 Fix a memory leak in OpenCL Sonicadvance1 2010-02-12 17:20:01 +00:00
  • c9b7f67c3a This line didn't need to be changed Sonicadvance1 2010-02-12 16:46:27 +00:00