Commit Graph

1346 Commits

Author SHA1 Message Date
magumagu9 c3bfd73f40 Enable JIT of paired instructions on Linux, and enable a couple of store
instructions that weren't JIT'ed on 32-bit before.  This is enabling a 
bunch of codepaths that weren't in use before, so it's likely to cause 
regressions, although hopefully it'll just work.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1255 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 21:05:00 +00:00
magumagu9 fcce3240ea Remove code disabling jit of stb on linux; it seems to work fine
here.  Please tell me if there are any issues.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1254 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:59:06 +00:00
magumagu9 9fe8f8b6dd Obvious enhancements to load generation; should be a slight speedup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1253 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:54:41 +00:00
magumagu9 a6d5a7ea9e Fix the dirty bit and make the register cache use it to be a bit more clever:
it skips storing a register back to memory if its value hasn't changed. 
This happens with stuff like compares and fast memory loads.

This is the first in a series of enhancements I have in my tree for the 
jit that I plan to commit over the next few hours.  I'm likely to 
cause some breakage, so if you see regrassions, please report them; if 
you can track them down to a specific revision, that would be very 
helpful.  I'm trying to make the changes small to allow pinpointing 
regressions more easily.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1252 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:49:58 +00:00
hrydgard a534971d15 Remove "Cant delete temp folder" error message.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1251 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:44:02 +00:00
XTra.KrazzY af9c6ec6ce Fixed the disable EFB hot-key setting in OGL plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1250 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:40:20 +00:00
magumagu9 05058b9684 Another Linux build fix.
Also, some trivial changes I'm too lazy to separate out.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1249 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:20:14 +00:00
magumagu9 eab369321c Linux build fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1248 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:11:26 +00:00
XTra.KrazzY 159e3f5b49 Fixed saving/loading states in OGL plugin.
Turns out the BPReload function is written plain wrong. Also, most chances are that the state will load correctly when not reloading the BP (not now though).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1247 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:06:20 +00:00
magumagu9 0a47860bcf oprofile integration for jit, as described in issue 323. Disabled for
reasons explained in code, but I suggest turning it on and using oprofile if 
you're looking at performance issues on Linux.

The build system change required is attached to issue 323... I would 
have committed something for that, but I'm not really familiar with the 
build system.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1246 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 19:38:18 +00:00
John Peterson f2448aed15 Cosmetic change to config dialog, the throttle explanation is already in the tooltip so no need to have an excessively long option name
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1245 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 17:21:43 +00:00
John Peterson e4d4d2602c Minor bug in latest commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1244 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 16:56:05 +00:00
John Peterson f0596fee55 Added Copy EFB hotkey to OpenGL plugin (to be able to easily switch back and forth during emulation). Added Unlimited JIT cache option to debugger. It may fix the Zelda TP crashes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1243 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 16:46:12 +00:00
memberTwo.mb2 36bf2fedf6 More CP/GPFifo work. Fix Super Monkey Ball SC/DC. SMB force us to hack CP differently: CPU really thinks the fifo is always empty and on idle now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1242 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 15:25:04 +00:00
XTra.KrazzY 145f80fc00 Committing magumagu9's work on IMUL JIT
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1241 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 12:10:35 +00:00
Shawn Hoffman fb2b57a47c build fix for nix (for the last commit)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1240 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 00:20:33 +00:00
Shawn Hoffman 016d9c1ba1 Fixed ISOProperties handling of manually editing the GameConfig file, and made clear that the patch and cheat gui does, in fact, do nothing at the moment.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1239 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 00:03:37 +00:00
nakeee e17e084a15 make DSP LLE work on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1238 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 11:51:46 +00:00
omegadox 1f70dfbeed Added conditional codes support to AR, also some cleanup too. Add code for "float" does not seem to work, needs more debugging. Also killed the w var.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1237 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 11:50:29 +00:00
nakeee 081b7bf1ff compile fixes linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1236 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 08:14:39 +00:00
John Peterson 7f47db5d92 Removed auto generated code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1234 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 03:09:05 +00:00
John Peterson f1e8b46c6c Added Enable Other Audio option to DSP HLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1233 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 02:53:54 +00:00
John Peterson 8a77ca8189 Made the OpenGL iLog setting changeable from the debugging window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1232 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 01:28:00 +00:00
XTra.KrazzY f5a92e2e9e Floating point printf parsing by jeffjohnson0. Solves issue 302.
Thanks jeffjohnson0.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1231 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 22:39:07 +00:00
omegadox 601f65f071 Added projection hacks back and a "default: breal" on the switch-case of "event.getId()"
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1230 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 19:44:41 +00:00
nakeee 25e307c130 fix crash on stop in linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1229 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 18:35:35 +00:00
John Peterson 748da8b464 Prevented that an empty SYSCONF file is saved if it's missing from the config dir.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1228 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 15:29:35 +00:00
nakeee 12a8174446 some cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1227 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 14:38:32 +00:00
nakeee 58f998cb55 make config box open on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1226 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 14:17:12 +00:00
nakeee 2ad407e477 added linux support for fileutils
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1225 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 13:37:57 +00:00
memberTwo.mb2 337ff1f56b More GPFifo works. PEToken management as I think it should be. Super Monkey Ball Adventures fix (the token check loop was stuck in one JITed block without any Advance() call).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1224 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 12:16:51 +00:00
nakeee ba7f7cd8b7 delete the thread o stop
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1223 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 10:14:56 +00:00
John Peterson 5fb23f879e Fixed emulated Nunchuck in Mario Galaxy and Wii Sports
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1222 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 08:46:16 +00:00
nakeee aabee66444 forgot the lib path
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1221 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 15:00:19 +00:00
nakeee 486d5603c8 no need for flags there
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1219 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 11:45:58 +00:00
nakeee d73eaf1c34 added rpath to LIBS
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1218 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 11:41:42 +00:00
nakeee 167196aa10 move it to Libs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1217 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 10:49:36 +00:00
omegadox 33edd6c553 1: Added logging to the AR.
2: Small fix to Fill and Slide and Memory Copy, but Fill And Slide does not actually work...:(.
3: Moved the AR code files into an "ActionReplay" VS Filter (a folder in VS, but not a real one on the FS).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1216 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 10:49:23 +00:00
nakeee a006e258ec export symboles
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1215 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 10:43:10 +00:00
nakeee 2e332c1094 forgot a file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1214 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 10:32:11 +00:00
nakeee ec19b6b024 some linux wiimote stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1213 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 10:22:29 +00:00
John Peterson 76ca6ac031 Preliminary emulated Wiimote Extension support. It works in some games. The nunchuck controls are numpad 4, 5, 6, 8 for up down left right and C and Z for the c and z buttons. You have to select Extension connected from the settings to enable it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1212 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 08:31:31 +00:00
LPFaint99 482cc819fb Update for GetFileData to check for incorrect values
in the first block, so no more crashing if your memcard
tries to use an invalid dir entry. Fixed titlePresent so
it checks the full filename instead of just the first
4 characters.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1211 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 06:37:35 +00:00
memberTwo.mb2 e069e5997a DC fix: Since game's frame-finish-watchdog have nothing to do with RTC, the faked GP watchdog moved in scheduler. DC should work for everyone now, we just may need to adjust FAKE_GP_WATCHDOG_PERIOD. TODO if it worth it: the actual re-scheduling of the new callback is stupid, so... + Some clean up. + Remove the unused GPUCallBack.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1210 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 13:08:46 +00:00
nakeee 9e31e3796a fix 2 more warnings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1209 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 09:47:59 +00:00
nakeee aa885ab14c small clean up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1208 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 09:22:06 +00:00
nakeee db6f69c010 warning fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1207 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 08:58:31 +00:00
nakeee fc97253e0c another osx fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1206 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 08:56:29 +00:00
nakeee 759441082a mac fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1205 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 08:33:49 +00:00
John Peterson f67a608c7d Made Wiimote config dialog change generate Status report. Still no working connection however.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1204 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 07:40:56 +00:00