Commit Graph

  • 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
  • 89c276c962 Fix a Memory leak in CoreAudio backend, around 2MB. Stops OpenCL from trying to decode CMPR textures, as it fails horribly. Fixes a memory leak in EXI devices, where the destructor wouldn't be called, causing a 32MB leak with memory cards(if you have two), and maybe a bit more from the other EXI devices Sonicadvance1 2010-02-12 16:40:13 +00:00
  • 060bbcf067 Compiling with rev 63470 of wxWidgets now works with OSX x86_64. There are a BUNCH of errors while running, none fatal from what I've seen. This also fixes Dolphin creating multiple NSWindows when running multiple games. Sonicadvance1 2010-02-12 12:41:53 +00:00
  • 78f8fe2e85 Implement wiimote IR emulation with the mouse without using the pointer motion events. Hopefully this removes some of the overhead from the X event loops. One downside is that the IR emulation will not work until another event on the window has occured. Although this is minor, usually an event happens before you need the IR pointer. Glenn Rice 2010-02-12 02:53:45 +00:00
  • e4dcdf796f OSX build fix. Fixes Issue 2260 j4ck.fr0st 2010-02-11 17:54:16 +00:00
  • 6200c99dd4 test commit: please test if this improve the performance with the safe texture cache Rodolfo Osvaldo Bogado 2010-02-10 15:55:24 +00:00
  • 0b733d36c4 stop annoying behavior of enabling cheats each time you open the ISOProperties dialog Shawn Hoffman 2010-02-09 06:48:16 +00:00
  • eb38e858bf buildfix; don't try to save frameskip value (and fail D:< ) Shawn Hoffman 2010-02-09 01:06:41 +00:00
  • c291a2db67 make ESC pause the game now instead of quitting plus fix another bug with key and window handling luisr142004 2010-02-09 00:34:27 +00:00
  • e93e777ffb second try to implement a more correct safe texture cache, implemented full hashing of tlut textures as they are the more problematic, this should solve virtually all the problems with characters in all the games that have them. sorry to tell but this will bring a speed drop, so let you decide if this change stay or not.( used the fastest open source hash algorithm i know) do not apply full hashing to other format because it kills the performance. for popular request added 9x SSAA believe me will kill your graphic card even if is the best but the image quality is exceptional. as always please test and let me know the results. Rodolfo Osvaldo Bogado 2010-02-08 23:23:04 +00:00
  • 2d58a2a864 DiscScrubber: er, actually we don't need to store/check for a flag on the original image anymore either. Shawn Hoffman 2010-02-08 22:54:16 +00:00
  • 5f19fb22b2 another patch from baby.lueshi: DiscScrubber doesn't modify original file anymore, and just returns the "real" or "free'd" buffer inline with compression - so it should be a little faster too :) Shawn Hoffman 2010-02-08 22:46:04 +00:00
  • 98ddeadbbf Use standard C file i/o in PlainFileReader instead of Windows' functions. Fix a memleak in CompressedBlob and VolumeDirectory. Thanks to baby.lueshi for finding the File i/o issue :) Shawn Hoffman 2010-02-08 22:22:20 +00:00
  • 3f90bb215c make ESC quit the game instead of toggling out of/into full screen mode (fixes issue 2246), implement proper window handling (d3d/sw) which i believe fixes a hang that occurs when a game is stopped (plz test this :)) + some minor stuff luisr142004 2010-02-08 09:57:52 +00:00
  • 3915f0fbca Enable dynamic fullscreen switching in linux. Toggle fullscreen mode with the escape key. Unfortunately this fullscreen mode is separate from the fullscreen mode obtained from the OGL config dialog. To close that fullscreen mode you must use Alt-F4 for now (not escape). This is not how we want this to end up but there is a mode switching issue I can't figure out. Glenn Rice 2010-02-08 04:30:01 +00:00
  • 449b21fd65 Fix an issue with OpenAL not properly using the correct Volume on boot Proper fix for issue 1886 as well as a fix to OGL fullscreen code that might fix issue 2095 sl1nk3.s 2010-02-07 19:36:29 +00:00
  • fdcfade27a Revert parts of r5021, OpenAL also uses the Volume slider. This now enables/disables the slider, depending on chosen Backend. Linux and OSX can now also use the slider to change the Volume of OpenAL. Other Backends do not support Volume changes. j4ck.fr0st 2010-02-07 14:51:12 +00:00
  • 7be712808a Makes ESC always toggle full screen as requested in Issue 2225 ayuanx 2010-02-07 08:34:46 +00:00
  • 0978551269 EXPERIMENTAL: an attempt to fix Issue 1725 ayuanx 2010-02-07 06:07:56 +00:00
  • 13437c1f6b Fix segfault in linux if user clicks on the window manager close button of the emulator. Also added the ability to close the emulator with the escape key. Fixed an issue that caused a segmentation fault when trying to close the emulator when running in fullscreen mode, which can also be done using the escape key. This makes fullscreen mode useable in linux! Glenn Rice 2010-02-07 02:41:02 +00:00
  • 887d61ec17 DSPTool: show hex and substitute names by default for disasm Shawn Hoffman 2010-02-07 01:03:31 +00:00
  • f3868dd491 Some internal code shuffling for Config dialogs. OSX seems to be picky about when StaticSizerBoxes are created, as described in Issue 2229. Bit of cleanup/grouping, control creation is now a bit more separate from value setting and tooltip assignment which IMO cluttered the code as it was. Removed something from main.cpp that looked like a hack to me. Fixes Issue 2229 j4ck.fr0st 2010-02-06 16:20:54 +00:00
  • 811cfb059e D3D and Opengl: reverted a tiny leftover of my safe texture cache commit D3D renamed the SSAA modes to use samples as MSAA now they are 2,25x and 4x. OpenGL: fixed a nasty logical bug introduced in 4984 that causes efb corruption when efb to texture is used re enabled shader caching as it was not producing errors. fixed efb misalignment caused by integer rounding still a bit misaligned but many games will look better now Rodolfo Osvaldo Bogado 2010-02-06 16:05:48 +00:00
  • a9db66a41a Completed TODO: Core::GetStartupParameter is dead Glenn Rice 2010-02-06 05:22:53 +00:00
  • d979532c00 In linux process events from the main frame regularly to update statusbar text Glenn Rice 2010-02-06 01:08:36 +00:00
  • c65bfbdf7b To avoid confusion added SSAA modes to the drop down this. there are only to SSAA modes 1.5x and 2x as they give the best result. please test and let me know the results Rodolfo Osvaldo Bogado 2010-02-05 21:55:02 +00:00
  • 33a9e4c674 This should fix the program not finding SYSCONF on macs. Glenn Rice 2010-02-05 16:54:45 +00:00
  • e83104c5db fixed a typo glennric left behind. shouldn't break anything tho, just generates a preprocessor warning with VS j4ck.fr0st 2010-02-05 14:37:32 +00:00
  • 0db532cca2 Oops, forgot this header. Fail sauce Sonicadvance1 2010-02-05 10:52:27 +00:00