Shawn Hoffman
cf7101ef08
use jit64's implementation of divwux instead of always falling back to interpreter. please test for stability...tho it looks fine.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5223 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-23 03:30:25 +00:00
Sonicadvance1
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>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5222 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-22 18:19:41 +00:00
Marko Pusljar
cac8fa8afc
DSPLLE - small fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5221 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-22 16:32:48 +00:00
Marko Pusljar
11a215567b
DSPLLE - idleskip-ing improved a little (it still fails totaly for zelda type games (exp7))
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5220 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-22 13:46:00 +00:00
Shawn Hoffman
020ff8c62b
forgot to remove the check that would detect proper DSCR setting during DMA as an error
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5218 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-20 21:18:41 +00:00
Shawn Hoffman
e94229cba0
small cleanup in dsp lle
...
I wonder if we should bother making DMAs take time?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5217 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-20 20:56:33 +00:00
Marko Pusljar
503bf545a3
DSPLLE - 0xa100 figured out = abs(), small mul fix, cleaning, some extra comments
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5216 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-19 21:53:41 +00:00
Shawn Hoffman
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
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5215 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-18 23:01:04 +00:00
Glenn Rice
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5213 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-18 14:34:37 +00:00
XTra.KrazzY
14bb53dcc6
DSPLLE: Run the threaded mode a bit differently and with respect to idle loops.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5212 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-18 06:20:52 +00:00
Marko Pusljar
d9714c3c9d
DSPLLE - tons of bugs fixed... try Zelda ucode games under LLE now (like Luigi Mansion :)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5211 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-18 00:18:36 +00:00
Glenn Rice
02edaf3db8
Added several XKeyToString translations.
...
Fixed minor font issue with wiimote pad button dialog.
Removed unnecessary OpenGL_MakeCurrent call from DoState.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5209 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-17 18:58:19 +00:00
Sonicadvance1
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
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5207 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-17 11:23:24 +00:00
Sonicadvance1
fa9ae47d02
Woops
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5206 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-17 10:13:58 +00:00
Sonicadvance1
4e9be9aa59
This fixes JIT Loading Store Floating in 64bit OSX
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5205 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-17 09:38:13 +00:00
Glenn Rice
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.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5204 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-17 01:54:40 +00:00
Glenn Rice
a7b03fd2cd
Implement pausing (with the Escape key) for the NoGUI build in linux.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5203 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-16 13:30:52 +00:00
Glenn Rice
d6b9a2ec81
Shutdown NoGUI build properly in linux.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5202 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-16 13:18:52 +00:00
Glenn Rice
6723a91664
No gui fix in linux.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5201 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-16 03:34:27 +00:00
Glenn Rice
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.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5199 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-15 23:25:11 +00:00
Marko Pusljar
c5a0e86123
DSPLLE - u16 aram reads (zelda type) fixed
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5192 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-13 10:29:32 +00:00
Marko Pusljar
34d1d7a41e
DSPLLE - AX PCM16 fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5191 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-13 02:28:21 +00:00
Glenn Rice
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.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5190 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-12 04:10:48 +00:00
Shawn Hoffman
b2ab31681a
rewrite (lowish level) wii ipc to be more like wiibrew ( http://wiibrew.org/wiki/Hardware/IPC )
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5189 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-11 17:22:13 +00:00
Shawn Hoffman
e6efc4a611
remove wiimote led/speaker status from statusbar
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5187 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-11 17:20:32 +00:00
Glenn Rice
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.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5186 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-10 17:29:19 +00:00
donkopunchstania
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.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5185 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-10 06:45:13 +00:00
Glenn Rice
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?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5182 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-09 22:17:33 +00:00
Sonicadvance1
914cb632fb
Woops! I put subfcx in to subfex on accident, silly me
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5181 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-09 21:32:50 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Shawn Hoffman
dacc0a19a7
...comment out some PanicAlerts added in last commit that people will probably find annoying
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4959 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-25 15:55:58 +00:00
Shawn Hoffman
cdb829edd5
Should fix crashes caused by aram dma reading off the end of our aram size.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4958 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-25 15:38:58 +00:00
ayuanx
e3730a2440
If the saved position is out of screen, start Dolphin in default position.
...
e.g. When last time you closed Dolphin on a second monitor but now you have ejected that monitor or have changed the position from horizontal tile to vertical tile.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4957 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-25 12:17:48 +00:00
ayuanx
efc7cd6581
Sanity check, this could help us to figure out the ARAM DMA crash.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4956 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-25 09:48:27 +00:00
ayuanx
85c2310b03
Minor fixes.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4955 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-25 05:12:24 +00:00
Shawn Hoffman
675e984514
fix issue caused by r4941: ppc debugger would think the instruction size was 0, which is rarely a good thing
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4952 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-24 18:29:50 +00:00
Glenn Rice
b17c5f3cf3
Fix the linux keyboard.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4951 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-24 18:23:47 +00:00
Glenn Rice
177ec96472
Make sure wiiuse is cleaned up on exit.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4947 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-24 14:14:47 +00:00
Shawn Hoffman
d81555108c
gcc buildfix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4942 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-24 06:51:32 +00:00
Shawn Hoffman
2f8a6f86b9
quiet some compile-time warnings
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4941 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-24 04:49:33 +00:00
LPFaint99
ed8742dd4d
Fix changing disc on win32, (my dumb mistake, strlen doesnt include \0)
...
make changing disc a little less ugly
Fixes issue 2114
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4939 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-24 03:17:42 +00:00
Marko Pusljar
fbdf721e0e
ROM dissasm "refresh" + RE + small fixes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4938 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-24 00:31:20 +00:00
skidau
1f37bb2177
Reverted the FIFO thread change
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4937 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-23 21:06:12 +00:00
ayuanx
0128e92068
Fixes the capital letter as well as path that could cause problem in future (Finish)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4935 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-23 17:30:40 +00:00
skidau
35b6e71f03
Experimental FIFO thread. Speeds up the emulator by moving FIFO to its own thread. This will work best with quad cores, though there is a noticeable improvement on my dual core.
...
Enable the thread by adding this line to the video plugin ini files, "User\Config\gfx_dx9.ini" and "User\Config\gfx_opengl.ini":
UseFIFOThread = True
The line should be added under the UseXFB line.
To disable the FIFO thread, use this line:
UseFIFOThread = False
If the line is not in the ini file, the default is disabled (i.e. False).
The FIFO thread causes an error when the OpenGL plugin is used. The D3D plugin works.
Only top left quarter of the screen can be seen when rendering to main window. The entire screen can be viewed when running in a window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4930 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-23 12:50:56 +00:00
ayuanx
1ecbcb39ea
Added support for X360pad rumble
...
Need someone who has a X360pad to test.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4929 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-23 12:36:30 +00:00
death2droid
2098271bc8
Fixes Issue 2115
...
Fix Dolphin from saving the minimized position causing it to load up at Xpos:-32000,Ypos:-32000
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4928 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-23 06:15:17 +00:00
interdpth
267fd392d7
If you're Wiimotes input was a real Wiimote and you decided to play a Gamecube Game, then you'd eventually get the message "Wiimote has been disconnected", and it would harshly mess up your game play. Fixed it so that message only appears during Wii game play. Should we checked if Wiimote was ever connected for that gaming session?
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4925 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-22 23:24:43 +00:00
ayuanx
68a4eacb62
Merged PadSimple with nJoy
...
(Linux build could be broken, X360Pad support could be broken)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4924 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-22 23:19:16 +00:00
Glenn Rice
c09ec17bb2
Play button is now be enabled and disabled at the correct times.
...
Game list is hidden while games are running.
Fixes issue 2078
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4923 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-22 21:41:25 +00:00
hrydgard
a43428253b
Kill the last timeGetTime calls.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4921 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-21 21:27:52 +00:00
hrydgard
8f4149b370
linux build fix, sorry
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4919 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-21 20:49:45 +00:00
hrydgard
420d2bc502
(Minor timer library code cleanup)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4917 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-21 19:55:01 +00:00
hrydgard
9893122a58
Attempt at fixing the colors of loaded "hi-res" replacement textures in D3D. Fixes issue 2074. Delete some obsolete commented-out code.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4916 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-21 19:31:48 +00:00
Marko Pusljar
49d9180266
small fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4915 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-21 14:30:52 +00:00
LPFaint99
98583da7ba
Reenable my change from r3999, works correctly now due to godisgovernment's change in r4437 (adding EXIDEVICE_NONE)
...
Fixes issue 1152.
Fixes issue 1229.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4913 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-21 06:35:58 +00:00
hrydgard
fa309ab0ee
Update the about box a little bit, it's actually 2010, not 2003.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4911 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-20 20:04:42 +00:00
j4ck.fr0st
57d6eabace
Updated Dolphin.icns with data from Dolphin.ico, Macs also want nice icons!
...
(someone more gifted with gfx skills could probably improve it?)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4909 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-20 18:44:27 +00:00
ayuanx
1426a5c768
This should fix Issue 1982 & Issue 2042
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4908 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-20 17:01:38 +00:00
Marko Pusljar
2eeb3d5e9d
Nullsound killed - Fixes Issue 1082
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4907 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-20 14:35:48 +00:00
Sonicadvance1
40ac160f37
Some clean up in io_osx.m, the if not confused me in the SConscript. I made the frames work with WX 2.9. Disabled rumble in Wiimote in OSX. Wiimote MAY work in Dolphin in OSX, not 100% sure. Made a test app and it works in that. Couldn't build a WX build of Dolphin in OSX because Macports doesn't compile in AUI apparently
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4904 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-20 11:49:11 +00:00
skidau
f76e9db1a7
Fixed a Wx assertion in the debug builds. The JIT off menu items were being enabled when they did not exist.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4903 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-20 11:31:38 +00:00
ayuanx
dab40bc6fb
Minor UI enhancement
...
(Resource from miloszwl.deviantart.com)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4901 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-20 10:11:53 +00:00
skidau
292627a31e
Fixed the game list not reappearing after the close button was used.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4900 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-20 09:24:06 +00:00
ayuanx
82ccf1d34c
Fixes Issue 2070
...
Fixes Issue 1886
Fixes Issue 1519
Fixes wxWindow Destroy Issue
Quits DX9 full screen when a message box pops up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4898 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-20 07:47:41 +00:00
Sonicadvance1
d70bb07580
These are required to be set to get JIT and JITIL working in OSX, will be looking in to it a bit to see why these break it, if I can
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4897 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-19 20:59:18 +00:00
j4ck.fr0st
832a616cb0
removed now obsolete build configurations Release_JITIL from vcproj and jittest from scons
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4896 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-19 20:21:17 +00:00
ayuanx
1c09cba69a
Create wxWindow in heap rather than stack
...
Center DX9 window
Bring Wiimote reconnect confirm dialog to topmost, now only works with OpenGL.
(It seems DX9 in full screen doesn't like other windows overlapped upon it.)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4895 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-19 20:18:41 +00:00
j4ck.fr0st
05b1bfd733
linux build fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4894 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-19 19:50:31 +00:00