Commit graph

4663 commits

Author SHA1 Message Date
Sonicadvance1
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
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5180 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-09 21:22:09 +00:00
Sonicadvance1
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
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5179 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-09 21:15:28 +00:00
donkopunchstania
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5178 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-09 04:38:07 +00:00
Glenn Rice
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5176 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-08 23:29:16 +00:00
Marko Pusljar
a0952684b0 DSPLLE - removed some ifdefs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5175 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-08 23:18:19 +00:00
Marko Pusljar
70a712c065 DSPLLE - flags&stuff,xar->subarn,0x80 kinda figured out,... (experimental)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5174 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-08 21:25:35 +00:00
skidau
76ad8db445 Added a null check when stopping the DSPHLE plugin with the DSound back-end. Fixes the DSPHLE crash on stop.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5172 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-08 08:03:42 +00:00
Glenn Rice
beba3b7f5b Removed more compiler warnings in linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5170 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-07 22:48:37 +00:00
Shawn Hoffman
ff7da32c6b just a little clarification around sram stuff, and silence some compile warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5166 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-07 17:08:42 +00:00
hrydgard
470db5965e Minor optimization that's been sitting on my harddrive for a while.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5165 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-07 16:37:35 +00:00
nodchip
2dabcb881c Fixed the crazy code in r5161.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5163 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-06 10:07:37 +00:00
donkopunchstania
6376645b69 Shut down the video software plugin without closing dolphin in Windows. Fixed a memory leak.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5162 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-06 03:25:06 +00:00
nodchip
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5161 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-06 02:07:48 +00:00
nodchip
1b61742b53 Rewrote a object-comparison code using a standard function. It's a tiny refactoring.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5160 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-05 12:04:09 +00:00
Sonicadvance1
7cf32053fe Gah, screw it
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5159 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-05 10:07:49 +00:00
Sonicadvance1
56a1e15f41 Forgot to check the low argument
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5158 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-05 10:01:26 +00:00
nakeee
35bb2e70da reenable load store on linux (seems to work for most people).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5157 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-05 09:53:31 +00:00
Sonicadvance1
529642de99 Woops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5156 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-05 09:26:10 +00:00
Sonicadvance1
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5155 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-05 09:23:28 +00:00
Sonicadvance1
e79dc93a5c Fix noWX compiling, Fix OSX crashing when opening options because of dumb code. Fix OSX Wiimote, will fix multi-wiimote in OSX later.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5154 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-05 07:03:44 +00:00
luisr142004
e2316087f7 accidently broke free look with mouse input, fixed (fixes issue 2377)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5153 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-03 19:21:24 +00:00
Sonicadvance1
d3923bfc26 ~1KB mem leak fix in NANDContentLoader.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5152 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-03 06:59:37 +00:00
donkopunchstania
f4b5cc5a8b Check texture attribute loader before adding it to vertex loader.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5150 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-02 04:58:55 +00:00
Marko Pusljar
335303803b DSPLLE - lsr16 fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5148 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-28 23:31:43 +00:00
Glenn Rice
8035ccaef4 Enable the OSD hotkeys in linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5147 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-28 21:56:17 +00:00
Shawn Hoffman
3116a7ea1b should fix cases where the gamelist would stay active under the render window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5146 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-28 19:28:21 +00:00
Shawn Hoffman
c5ecd627ce remove Globals.cpp (had been removed from projects but forgot to svn delete it)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5145 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-28 18:48:33 +00:00
j4ck.fr0st
e716f7be8c Whoops.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5144 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-28 18:39:33 +00:00
Shawn Hoffman
80d303222b code cleanup, focusing on dsp hle
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5143 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-28 18:21:22 +00:00
nodchip
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5142 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-28 14:48:07 +00:00
nodchip
2941bef44b Fixed a wrong type in r5140.
Commited code that I forgot to commit in r5140.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5141 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-28 12:14:40 +00:00
nodchip
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5140 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-28 11:36:00 +00:00
nodchip
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5139 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-28 08:41:02 +00:00
Marko Pusljar
ff8ce634e3 DSPLLE - addaxl,mulc,'ln fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5138 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-27 21:24:25 +00:00
Glenn Rice
0425ff2f06 Add rodolfo's safe texture cache options to the OGL plugin dialog
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5137 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-27 16:07:29 +00:00
Rodolfo Osvaldo Bogado
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.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5136 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-26 22:14:29 +00:00
Rodolfo Osvaldo Bogado
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.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5135 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-26 12:54:08 +00:00
luisr142004
0718385f27 fix modal state for pad plugin configs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5134 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-25 22:47:40 +00:00
sl1nk3.s
6da7695843 Fix issue 2364 + another issue introduced in r5129 causing the main window to lose the focus on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5133 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-25 17:50:08 +00:00
Glenn Rice
f1ed7e5656 Build fix for linux. sprintf_s does not exist in linux. Does it in windows?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5132 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-25 12:35:31 +00:00
luisr142004
7f5a10222e heh, builds fix, sorry :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5131 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-25 07:31:03 +00:00
luisr142004
5d81b93189 woops missed a file :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5130 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-25 06:38:09 +00:00
luisr142004
816febd3b0 finish proper window handling, fix the modal state of the config dialogs, plus some minor cleanup/changes :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5129 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-25 06:12:35 +00:00
donkopunchstania
4915097d93 fix some D3D memory leaks
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5127 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-25 03:14:40 +00:00
Glenn Rice
aa1081348d Oops, should have tested my copy and paste from wiimote to gcpad
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5126 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-25 03:08:50 +00:00
Glenn Rice
a048ad52b4 Fix input focus in fullscreen on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5125 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-25 03:05:53 +00:00
nodchip
609151c6e8 Reverted because of some processor and performance issue. I will develop in a branch about SSSE3/SSE4.1.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5123 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-24 23:58:48 +00:00
skidau
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.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5122 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-24 20:06:13 +00:00
j4ck.fr0st
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5121 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-24 19:32:32 +00:00
nodchip
b7e73102ca Fixed the issue that cpu_info is not initialized in plugin. This commit enables SSSE3/SSE4.1 codes in rev5119.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5120 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-24 10:10:48 +00:00
nodchip
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5119 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-24 09:56:41 +00:00
skidau
dc9d533d4f Aligned the stack before calling the LoadStorePaired asm functions. Fixes issue 2053.
The Linux x64 change is untested and has been commented out.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5118 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-24 08:30:50 +00:00
Glenn Rice
1d40b8a5ae Systematically eliminating compiler warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5117 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-24 03:38:36 +00:00
Rodolfo Osvaldo Bogado
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:

this 3 parameters gives the number of samples taken to calculate the final hash value, less samples = more speed, more samples = more accuracy
if 0 is specified the hash is calculated using all the data in the texture.
SafeTextureCacheColorMaxSize, SafeTextureCacheIndexedMaxSize, SafeTextureCacheTlutMaxSize:
this parameters limits the amount of data used for the hash calculation, it could appear as redundant but in some games is better to make a full hash of the first bytes instead of some samples of all the texture.

color, indexed, tlut : define the texture type, full color data, indexed, and the tlut memory.

the parameters are available in the config , no GUI at this time, if the test are OK will add it to the GUI.
if someone needs it will give more examples on how to configure the values for specific games.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5116 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-23 21:52:12 +00:00
Glenn Rice
ba25f08d62 Convert a few other EVT_COMBOBOX's to EVT_CHOICE's that I missed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5115 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-23 02:20:35 +00:00
Glenn Rice
74883a1735 Fix some wxChoice events that were still wxComboBox events.
Fixes issue 2334


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5114 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-23 01:59:59 +00:00
sl1nk3.s
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5113 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-23 01:57:26 +00:00
Shawn Hoffman
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

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5112 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-23 01:18:57 +00:00
Shawn Hoffman
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* :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5111 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-22 21:57:05 +00:00
Glenn Rice
303769d31c Revert commit 5105 until we sort out how we want this to work in linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5110 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-22 16:10:08 +00:00
sl1nk3.s
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...).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5109 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-22 04:59:57 +00:00
Sonicadvance1
ae945ec90e More conversions to wxChoice, weee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5108 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-22 01:08:42 +00:00
Shawn Hoffman
11eb1bba9b add example of how you can use dspspy to dump results from an entire ucode (commented out)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5107 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-22 01:06:11 +00:00
Glenn Rice
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


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5105 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-22 00:39:38 +00:00
Marko Pusljar
74a6b5638f DSPLLE - 2 new opcodes (TSTPROD,MULAXH)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5104 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-22 00:22:04 +00:00
Sonicadvance1
1824b5b25a Remove the AO dependency for DSP LLE, which is silly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5103 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-22 00:19:27 +00:00
nakeee
a3f7e4fc73 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5102 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-21 20:28:33 +00:00
nakeee
7de17cb9c2 SFML on linux/osx now compiles from external (static)
removed HAVE_SFML ifdefs


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5101 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-21 20:09:49 +00:00
sl1nk3.s
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5100 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-21 19:19:16 +00:00
Shawn Hoffman
d2a3dd435a remove gbapipe from the SConscript
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5099 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-21 18:57:56 +00:00
j4ck.fr0st
fdd635d273 Warning cleanup, mainly shadowed variables, const/non-const and ctor initialization order
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5098 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-21 18:55:00 +00:00
j4ck.fr0st
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)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5097 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-21 18:53:11 +00:00
Shawn Hoffman
b6a3df2fcf commit current GBA link cable work. no touching (unless you're skid_au or ask first) :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5096 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-21 18:50:44 +00:00
Marko Pusljar
f7bf29a528 DSPLLE - 'L ext opcode fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5095 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-21 13:23:29 +00:00
j4ck.fr0st
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.

Fixes Issue 2334

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5094 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-21 12:56:18 +00:00
Marko Pusljar
885299d985 DSPLLE - flags&stuff (more later)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5093 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-21 10:35:28 +00:00
XTra.KrazzY
2aa03f5b3b Some really (REALLY) old changes that were hanging on my computer for a while
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5091 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-20 09:36:22 +00:00
Glenn Rice
154bc956ad Some code clean up, and take care of some compiler warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5090 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-20 04:18:19 +00:00
Glenn Rice
f74b5463d5 Add a SetSelectin I forgot.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5089 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-19 23:24:33 +00:00
Glenn Rice
f0716a30b7 Fix some Set/GetValue's Sonic forgot.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5088 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-19 23:20:13 +00:00
Sonicadvance1
f833cc7601 Convert a few Comboboxes over to choiceboxes. WX OSX doesn't support Comboboxes with Readonly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5087 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-19 22:56:37 +00:00
Sonicadvance1
227be30f98 Woops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5086 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-19 20:41:40 +00:00
j4ck.fr0st
368cce2ec2 Revert the SysConf change, since it was intended by shuffle.
Attempt to fix some of our singleton failures.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5085 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-19 18:50:01 +00:00
Shawn Hoffman
f41686e926 apply baby.lueshi's patch from issue 2245 to fix lua's handling of large integers. fixes issue 2245
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5084 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-19 18:40:38 +00:00
Sonicadvance1
f9f9b1bc14 No message
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5083 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-19 18:32:40 +00:00
j4ck.fr0st
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.

Fixes Issue 2332

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5082 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-19 17:05:26 +00:00
Marko Pusljar
0819740b6a DSPHLE - GC intro audio (IPL) now working - only for pal games atm
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5081 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-18 20:07:20 +00:00
Shawn Hoffman
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.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5080 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-18 12:06:13 +00:00
Glenn Rice
d5c094df75 In linux when in fullscreen, make escape leave fullscreen then pause.
More like on windows?


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5079 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-18 00:50:08 +00:00
Glenn Rice
967c5891e9 Make the Escape key pause the emulator in linux when not in fullscreen.
I believe this is the same as in windows?


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5078 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 23:44:07 +00:00
Glenn Rice
2c7b484869 Fix software plugin in linux. I broke it in revision 5048.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5077 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 23:15:58 +00:00
Sonicadvance1
5e5e03daeb Update Video software plugin with latest cocoaGL.m file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5076 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 21:04:26 +00:00
Marko Pusljar
377ece3294 DSPLLE - SR_10 flag implemented (no idea what name should it have or how/when this is supposed to be used)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5075 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 19:10:31 +00:00
Glenn Rice
634f6e512e Minor tweaks to fullscreen in linux, and make FullScr button in GUI work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5074 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 17:53:08 +00:00
Marko Pusljar
bd1b12e357 DSPLLE - SR_TOP2BITS 16bit fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5073 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 10:21:25 +00:00
donkopunchstania
c3697df665 More memory leak fixing.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5072 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 07:15:39 +00:00
Shawn Hoffman
b88f510984 dsp: lrs is also sign extended in "40bit" mode. tested (correctly, this time :D )
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5071 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 05:50:22 +00:00
Shawn Hoffman
16b21f3790 oops, dsp assembler can't handle labels with whitespace before them :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5070 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 02:37:58 +00:00
Shawn Hoffman
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


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5069 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-17 02:33:21 +00:00
Marko Pusljar
dc76856736 dspspy - small fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5068 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-16 21:12:50 +00:00
Sonicadvance1
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
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5067 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-16 08:46:21 +00:00
Glenn Rice
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).


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5065 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-16 04:59:45 +00:00
donkopunchstania
9254a2ddb5 Fixed a few memory leaks. Made Init and Shutdown functions for some core systems.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5064 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-16 04:34:41 +00:00
Glenn Rice
666a33eeed Fix mouse emulation in fullscreen mode in linux. The window doesn't have focus then.
Also minor tweak to mouse hiding.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5063 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-15 01:09:34 +00:00
hrydgard
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.
this is probably not the best way to fix it but it'll do for now.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5062 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-14 22:37:46 +00:00
j4ck.fr0st
14bb1b5f01 ...and a buildfix for non-win32
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5060 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-14 16:44:16 +00:00
j4ck.fr0st
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

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5059 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-14 16:33:53 +00:00
Glenn Rice
dc7029e7f4 Remove HaveFocus, and put that code into IsFocus. Thanks ayuanx.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5058 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-14 14:48:19 +00:00
Sonicadvance1
a8793cbe52 うそ!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5057 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-14 14:33:04 +00:00
Sonicadvance1
5b1d21d1a1 Bunch of tiny memory leaks fixed and cleanup, フウ〜!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5056 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-14 14:06:33 +00:00
Shawn Hoffman
98c7993a8a re-add alignment for dspbuffer in DSPSpy...turns out it's needed :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5054 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-14 02:31:42 +00:00
Glenn Rice
e5afde67ce In linux only read keyboard and mouse input when the emulator window has focus.
Also other code clean up.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5053 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-13 23:56:24 +00:00
Glenn Rice
5e6eecf0af Ok, this really does it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5052 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-13 21:19:41 +00:00
Glenn Rice
24a4d1a1e0 Ok, now the mac build should be fixed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5051 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-13 21:12:16 +00:00
Glenn Rice
47609c4524 Mac build fix to the issue caused by my last commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5050 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-13 21:06:19 +00:00
Glenn Rice
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.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5048 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-13 20:47:23 +00:00
Sonicadvance1
c63446827f Fix crash when stopping and starting a game with OpenCL enabled
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5047 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-13 10:09:54 +00:00
j4ck.fr0st
df1be33ba9 Some more leak hunting/housekeeping, probably wont affect Issue 2184 in a noticeable way tho.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5046 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-12 19:28:51 +00:00
Sonicadvance1
99ea22bbf3 Fix a ~8MB mem leak with AXWii Games
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5045 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-12 18:01:36 +00:00
Sonicadvance1
0ab6c117c1 Fix a memory leak in OpenCL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5044 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-12 17:20:01 +00:00
Sonicadvance1
c9b7f67c3a This line didn't need to be changed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5043 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-12 16:46:27 +00:00
Sonicadvance1
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
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5042 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-12 16:40:13 +00:00
Sonicadvance1
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5041 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-12 12:41:53 +00:00
Glenn Rice
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5040 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-12 02:53:45 +00:00
j4ck.fr0st
e4dcdf796f OSX build fix.
Fixes Issue 2260

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5039 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-11 17:54:16 +00:00
Rodolfo Osvaldo Bogado
6200c99dd4 test commit: please test if this improve the performance with the safe texture cache
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5038 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-10 15:55:24 +00:00
Shawn Hoffman
0b733d36c4 stop annoying behavior of enabling cheats each time you open the ISOProperties dialog
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5037 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-09 06:48:16 +00:00
Shawn Hoffman
eb38e858bf buildfix; don't try to save frameskip value (and fail D:< )
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5036 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-09 01:06:41 +00:00
luisr142004
c291a2db67 make ESC pause the game now instead of quitting plus fix another bug with key and window handling
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5035 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-09 00:34:27 +00:00
Rodolfo Osvaldo Bogado
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.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5034 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-08 23:23:04 +00:00
Shawn Hoffman
2d58a2a864 DiscScrubber: er, actually we don't need to store/check for a flag on the original image anymore either.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5033 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-08 22:54:16 +00:00
Shawn Hoffman
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 :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5032 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-08 22:46:04 +00:00
Shawn Hoffman
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 :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5031 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-08 22:22:20 +00:00
luisr142004
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

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5030 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-08 09:57:52 +00:00
Glenn Rice
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5029 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-08 04:30:01 +00:00
sl1nk3.s
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

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5028 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-07 19:36:29 +00:00
j4ck.fr0st
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.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5026 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-07 14:51:12 +00:00
ayuanx
7be712808a Makes ESC always toggle full screen as requested in Issue 2225
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5025 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-07 08:34:46 +00:00
ayuanx
0978551269 EXPERIMENTAL: an attempt to fix Issue 1725
Please test, especially on multi-Wiimote.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5024 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-07 06:07:56 +00:00
Glenn Rice
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!


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5023 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-07 02:41:02 +00:00
Shawn Hoffman
887d61ec17 DSPTool: show hex and substitute names by default for disasm
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5022 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-07 01:03:31 +00:00
j4ck.fr0st
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

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5021 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-06 16:20:54 +00:00
Rodolfo Osvaldo Bogado
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

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5020 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-06 16:05:48 +00:00
Glenn Rice
a9db66a41a Completed TODO: Core::GetStartupParameter is dead
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5019 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-06 05:22:53 +00:00
Glenn Rice
d979532c00 In linux process events from the main frame regularly to update statusbar text
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5018 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-06 01:08:36 +00:00
Rodolfo Osvaldo Bogado
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

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5017 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-05 21:55:02 +00:00
Glenn Rice
33a9e4c674 This should fix the program not finding SYSCONF on macs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5016 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-05 16:54:45 +00:00
j4ck.fr0st
e83104c5db fixed a typo glennric left behind. shouldn't break anything tho, just generates a preprocessor warning with VS
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5015 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-05 14:37:32 +00:00
Sonicadvance1
0db532cca2 Oops, forgot this header. Fail sauce
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5014 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-05 10:52:27 +00:00
Sonicadvance1
675e1f668e Correct stopping of Core in OSX via Command+Q, and fix a thread from not dying when stopping with CoreAudio
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5013 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-05 10:48:31 +00:00
Glenn Rice
722488a0b3 Get the status bar working in linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5011 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-05 04:22:48 +00:00
Rodolfo Osvaldo Bogado
f4e8385973 fix for my last commit please test, and sorry for the error :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5010 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-05 03:37:11 +00:00
Rodolfo Osvaldo Bogado
b4d7a0e20d fixed some glitches caused by SSAA when resolving the supersampled efb to Textures.
improve speed a little in games that have large viewports.
please test and let me know the results

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5009 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-04 22:25:09 +00:00
Glenn Rice
0bad7e2a71 Removed main configuration show/hide mouse options and associated wxTimer in
linux.  This could confuse users, as it does nothing in linux.  Mouse hiding is
set from the GL video plugin.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5008 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-04 21:50:02 +00:00
Glenn Rice
6e2104b050 Implement hiding of mouse cursor on linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5007 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-04 04:49:29 +00:00
Rodolfo Osvaldo Bogado
090d7ec534 a lot of people don't get convinced by my "Pseudo-antialiasing " effect and is true is not near the quality of the true effect so :)
true antialiasing using supersampling:
3 modes implemented:
2x = is a one and a half samples supersampled buffer with a linear texture fetch, this produce a similar result of a 2x MSAA
4x = four samples with a aligned texture fetch in the center of the 4 samples, this produce a little best effect that the first mode.
8x = is a four samples with a  rotated grid fetching producing a nicer (really nicer in some cases) antialiasing.
please test an let me know if you like this :)
i remember to everyone that supersampling is expensive so don't complain in speed drops :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5006 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-03 22:19:00 +00:00
j4ck.fr0st
d89c5dddcd whoops, forgot to remove this one. closing gci twice might not be that good...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5005 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-03 20:46:22 +00:00
j4ck.fr0st
43051ffe41 some cleanup, housekeeping for error cases and increased a few buffer sizes that are overflown by its content.
Thanks to Fatalis for the initial patch and pointing us to cppcheck.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5004 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-03 20:29:49 +00:00
Glenn Rice
8281564b5c Fix issue that prevented the user from being able to open the Wii save folder
for a game.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5003 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-03 15:13:13 +00:00
Rodolfo Osvaldo Bogado
a319a77be4 sorry forget one file :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5002 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-03 14:17:03 +00:00
Rodolfo Osvaldo Bogado
e98a273b54 fixes for my last commit:
chage the global format of the screenshots to bmp, is correctly supported by both plugins and is faster.
reverted the changes in safe texture cache, will try to make them more stable then commit them, this should fix compilation in linux and macand error introduced in MP games
corrected all the issues commented by ector, thanks for the comments alway is good that the code is revised by others to find missed spots.
please report any remaining issue to solve them.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5001 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-03 14:13:03 +00:00
Rodolfo Osvaldo Bogado
9e2bbec47f a lot of modifications here :)
first fixed scaling when updating backbuffer to make it friendly with encoders, now frame dumping must work without errors in any codec.
clean screenshot and frame dumping code now is more correct, faster and stable.
improve safe texture cache, improving the distribution of the hash algorithm, including tlut hash in the final hash of the texture, and making use of a 64 bit hash to make it more accurate.
clean a lot of code and corrected some missused vertex formats when drawing full screen quads.
and biggest change last:
implemented pseudo antialiasing: a image post-process algorithm that mimics antialiazing and is fare more easier to implement in this scenario.
you can change the intensity of the effect changing the values of the antialiasing combo. the right value depends on the game.
for example mkwii looks awesome with 8x.
please try all the changes and let me know the results.
if something is broken, please let me know and will fix it asap.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5000 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-03 03:52:50 +00:00
Glenn Rice
afbf86eaee Revert commit 4997 and fix in a way that is more consistent with the structure
before the global build patch


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4999 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-03 03:27:32 +00:00
ayuanx
fb4f0edb85 Falcon4ever prefers to keep a standalone code copy of nJoy in repository.
Nakee, please make a branch/tag after release so that the code of nJoy will be saved as a standalone plugin

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4998 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-03 02:54:31 +00:00
Glenn Rice
e17c872d8f Fixes detection of some wii root files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4997 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-03 02:40:29 +00:00
ayuanx
961aad5aa6 Merges the original copyright header from both nJoy & PadSimple
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4996 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-03 02:12:46 +00:00
Glenn Rice
05a998f777 Code cleanup to improve readability.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4995 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-02 23:21:19 +00:00
Glenn Rice
feba09f7a3 Linux global build. At least the basic footwork is done here.
Basic usage:  "sudo scons install=global install"
Hopefully this doesn't break builds on Macs.  I have tested this on linux and windows.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4994 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-02 21:56:29 +00:00
j4ck.fr0st
a090876bbd Disable LoadStorePaired on Linux, this seems to cause the crashes reported in Issue 2097
Update issue 2097
Summary: Linux segfault with LoadStorePaired enabled
Disabling LoadStorePaired might affect performance just as Sonics change in r4897 does with OSX.
Leaving this issue open since this is not a fix, just a workaround; this and Issue 2053 might suffer from some problem with Paired instructions altogether.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4993 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-02 18:15:03 +00:00
ayuanx
6d309751d5 This fixes some of the crash-on-stop when your joypad is plugged in.
The problem is that there is no cheap method to do communications between two DLLs that employ the same device.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4992 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-02 13:09:07 +00:00
nakeee
8bb96156a2 Some small clean up + fixes to make valgrind happy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4991 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-02 08:10:23 +00:00
ayuanx
4692f1084f Re-added Semi-Pressure
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4990 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-02 02:39:21 +00:00
luisr142004
c28ef357f5 Fixes issue 1777.
plus a fix for wiimote detection on win32 when using the default MS stack

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4989 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-01 18:22:58 +00:00
Glenn Rice
5da315337e Fix minor issue with inclusion of OpenAL headers
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4988 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-31 23:46:50 +00:00
ayuanx
da56b42ae2 Enables detecting pad axes whose range is smaller than usual ones, e.g. from 0 to 255
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4987 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-31 14:51:41 +00:00
j4ck.fr0st
909dce4caf Changed OnLoadWiiMenu to walk the same path as starting a game from GameListCtrl.
This fixes some flickering and resizing stuff when using Render-to-main, where the GameListCtrl would not be hidden (and show over the rendering surface)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4986 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-30 15:05:16 +00:00
j4ck.fr0st
e282d5c7f2 Fixes Issue 2176 (SysConf on OSX), plus some initialization order warning fix in VolumeDirectory.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4985 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-29 19:45:01 +00:00
ayuanx
8b129fca0c Fies Issue 1584
OSD and Hotkey to do quick config toggling

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4984 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-29 07:44:21 +00:00
nakeee
fefcc6f5b5 Build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4983 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-29 07:29:11 +00:00
ayuanx
fdaa0e8d4c Fixes Issue 2164
Conflicts are due to same file name when omitting full path

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4982 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-29 04:42:19 +00:00
ayuanx
f9dd509459 Fixes Issue 2180
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4981 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-29 03:11:29 +00:00
ayuanx
9a49e91e41 Fixes an issue caused by r4964
FrameUpdate() must be called even when a frame is skipped, otherwise frameskipping will freeze.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4980 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-28 14:37:03 +00:00
ayuanx
4d0b87fdde Revert r4978.
Until anti-alias is implemented, turning it on will only slow things down.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4979 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-28 13:38:09 +00:00
ayuanx
b12ed5d171 This should make anti-alias effective again in DX9, though it seems it was turned off deliberately.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4978 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-28 13:25:40 +00:00
Rodolfo Osvaldo Bogado
2b5cadfeb4 small fix for my last commit, resizing is working again but screenshot do not work when rendering to main window, will fix in my next commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4977 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-28 04:30:07 +00:00
ayuanx
802504dd18 PadSimple is out of phase.
Thanks to glennricster for testing GCPad on Linux.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4976 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-28 03:29:49 +00:00
ayuanx
0cb77776bd This should fix some of the crashes after loading a state for Wii games.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4975 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-28 03:19:32 +00:00
Glenn Rice
e780d844fb Oops. Forgot a semicolon. Sorry, I usually test before I commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4974 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-28 01:46:46 +00:00
Glenn Rice
cc05d8928f Fix mistake from last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4973 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-28 01:03:07 +00:00
Glenn Rice
f32fc9667c In linux the controller plugins need to put back some events for the video plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4972 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-28 00:35:35 +00:00
Rodolfo Osvaldo Bogado
e856d0b3ed EXPERIMENTAL:
rewrite frame dumping and screen shots to make them more stable and correct
enable viewport resizing for all cards, the emulation is more correct in this way
test this a lot please.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4971 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-27 22:07:59 +00:00
Glenn Rice
a241a469b8 Make arrow keys (and others) work with the GCPad plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4970 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-27 15:55:04 +00:00
Glenn Rice
10192a9a4b Change default wiimote emulation key settings to lowercase in linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4969 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-27 13:46:30 +00:00
ayuanx
feea557019 Fixes Issue 2125
An XInput trigger should not be mapped to a button.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4968 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-27 03:29:35 +00:00
Glenn Rice
36a5015bc0 Make arrow and home keys work in wiimote emulator.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4967 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-27 02:39:59 +00:00
Marko Pusljar
8fdc293328 small wad startup patch (if only wad-s were enabled, there was gamelist refresh instead of game starting)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4966 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-26 20:18:44 +00:00
Rodolfo Osvaldo Bogado
438bf20771 quick fix for issue 2086
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4965 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-26 15:19:57 +00:00
ayuanx
40cc180dfd OpenGL fix: s_swapRequested must be volatile.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4964 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-26 14:56:51 +00:00
ayuanx
e988a7487c Adapts emulated trigger range to Gamecube trigger range
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4963 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-26 05:43:00 +00:00
Glenn Rice
20704509bf Fix a compile issue on platforms other than windows and linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4962 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-26 03:05:23 +00:00