Commit graph

2593 commits

Author SHA1 Message Date
Sonicadvance1
dde693afb8 Fix a few things I missed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4370 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 03:11:52 +00:00
Sonicadvance1
0146f3f58f More OpenCL work, got XFB converting which needs more optimization. I haven't checked for FPS changes. My desktop isn't the best to test on anyway (Phenom 1, 32 stream processors). The package check doesn't work for me, so I just checked true if you compile with opencl=true. Requires a bit of cleanup still
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4369 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-07 02:48:21 +00:00
Shawn Hoffman
f474788e01 remove some "debug" stuff left in there from last commit...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4368 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-06 23:14:21 +00:00
Shawn Hoffman
53de453958 correct some register initializations in IPL HLE. (Just setup global pointers so apploaders don't complain)
I only know that it makes Luigi's Mansion's apploader stop complaining, and didn't break any games I tested. :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4367 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-06 23:11:39 +00:00
Shawn Hoffman
4c22bea4d4 Add ability to use Reset (reset button interrupt, still figuring out the other reset modes)
Add support for button combos that are built-in to controllers:
y+x+start for three seconds updates the origin
b+x+start for three seconds resets
Changed CPeripheralInterface to a namespace and renamed to ProcessorInterface

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4366 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-06 15:49:20 +00:00
Rodolfo Osvaldo Bogado
19b8e6bc08 Sps fixed in all the games tested, code cleanup and reordering
implemented buffer format fall back to allow hardware that don't support lockable formats to run the games with Z peeking disabled, applied as well the patch suggested in issue 1494 please give heavy test to this commit

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4365 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-06 14:24:10 +00:00
XTra.KrazzY
58df543e6a Lua: Basic groundwork. Needs a lot more.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4364 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-05 22:59:11 +00:00
Shawn Hoffman
89a1677365 fix windows compile
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4363 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-05 07:38:03 +00:00
nakeee
188e3b9172 Trying to get gui to compile with wx 2.9
Shouldn't affect normal compile.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4362 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-05 07:31:38 +00:00
LinesPrower
06e79364b0 oops, another one. sorry
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4361 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-04 10:46:54 +00:00
LinesPrower
08d87d5b7f Removed some debug code I'd left accidentally
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4360 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-04 10:42:14 +00:00
LinesPrower
d52f0fc915 ExRAM iCache support in JIT IL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4359 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-04 08:19:51 +00:00
LinesPrower
26a60eb9bf Added the ExRAM support to the iCache (only JIT and Interpreter for now, JIT IL fix will be a bit later)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4358 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-04 05:13:56 +00:00
LinesPrower
b843378636 Lots of work on JIT (Implemented "unlimited instruction cache" CPU emulation. Works in JIT and JIT IL). Implemented correct PowerPC instruction cache (IC) emulation in the interpreter mode (including HID0 cache management stuff). Removed the "dcbi->dcbf" hack (again... this time it shouldn't break anything ;) )
Fixes issue 917. Fixes issue 1183. Fixes issue 1190. (those are really need to be verified)
Maybe fixes something else. Maybe breaks something. I can't test everything, so please report if you find out something.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4357 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-03 12:29:27 +00:00
Rodolfo Osvaldo Bogado
9d67518f71 I hope you all like this. Changes:
Opengl:
Reorder the rendering path to make it more generic, and a little bit faster i think.
Reduce the index Buffer size to make it more Friendly to older video hardware.
get rid of the remaining annoying sps (I hope).
D3D:
Implement the same path as opengl to make the plugins more similar and maintainable.
Fixed Peek_Z this means, Pushing stars in SMG Now Works.
Please give heavy testing to this changes and compare the performance with the old path.
Thanks to hrydgard for let me participate :).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4353 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-02 14:03:07 +00:00
Marko Pusljar
f099ea7be4 DSPSPY improvements
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4352 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-01 15:12:12 +00:00
XTra.KrazzY
c6f0335b62 OpenCL: More work on centralization (need SCons reflection)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4351 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-30 21:01:34 +00:00
XTra.KrazzY
4499444a86 OpenGL and OpenCL are NOT related! (Committed here are some scons fixes)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4349 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-30 12:58:02 +00:00
nakeee
ffe12ec752 OpenCL: added opencl=true option to scons and fixed the case on the way.
Add ifdef for osx ocl include.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4348 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-30 06:49:08 +00:00
XTra.KrazzY
aa1fd81e37 OpenCL: A bit more work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4347 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-30 00:39:32 +00:00
Sonicadvance1
fb258e3ca5 Base of OpenCL code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4346 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-30 00:28:27 +00:00
omegadox
076e727376 Some warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4345 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-29 22:32:53 +00:00
hrydgard
e6b30e574e Let's try rodolfo's fix of 4322
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4343 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-29 18:27:41 +00:00
Marko Pusljar
4d5eba2ec9 just a small fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4342 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-29 18:10:54 +00:00
nakeee
6d395d3ab0 Linux COmpile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4341 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-29 13:51:59 +00:00
Marko Pusljar
d1f0294053 DSPLLE + 2 small fixes, many GC AX games are almost perfect (sound wise, ex. Super Monkey Ball 1/2), if PC is fast enough (3GHz C2D+), Zelda type games too slow to be testable
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4340 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-28 16:39:29 +00:00
LinesPrower
0032d2746f Revert removing of the "dcbz->dcbf" hack
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4338 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-28 03:39:14 +00:00
sl1nk3.s
56b8b6493c Debugger : fixed Breakpoint "toolbar", re-enabled a couple of host messages for dialog updates and other stuff, breakpoints in memory view are now memory checks instead of PPC breakpoints
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4337 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-27 21:28:09 +00:00
LinesPrower
b4e12ad5c9 Some improvements of FP and DMA
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4334 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-27 14:19:38 +00:00
hrydgard
e102fdaac3 r4322 commented out an important Flush() call - restore that.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4323 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-26 21:00:04 +00:00
hrydgard
29808cdde2 OpenGL: commit rodolfoosvaldobogado's (what a name!) speedup patches.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4322 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-26 12:39:12 +00:00
sl1nk3.s
d2f4183a6b Some GUI changes, added keyboard search and reworked "emulation state" a bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4320 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-25 16:29:00 +00:00
nakeee
bb9d5197ce Pngs of stars for game rating (thanks slink)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4319 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-25 14:25:59 +00:00
LinesPrower
704bf66660 Things I forgot about in r4314
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4318 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-25 03:47:10 +00:00
Sonicadvance1
804b9e99f8 Add CoreAudio Backend, still needs a bit of work. Will cleanup AudioCommon.cpp, and finish off CoreAudioStream.cpp if I ever get running games working in Snow Leopard. Interpreter seems to run in to a spinlock, dunno why yet, and Jit just crashes out. Core problems is probably something I won't be able to fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4316 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-24 21:35:06 +00:00
nakeee
578fc8d54a Fix compile on linux
and add png version of the flag and platform xpms


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4315 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-24 21:00:24 +00:00
LinesPrower
7d74e55109 Lots of work on improving the floating point emulation. Note that most changes affect only the interpreter mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4314 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-24 17:43:46 +00:00
Shawn Hoffman
8c5285eddf fix some path issues on OSX, also libao for osx only supports 44.1kHz...awesome...who calls writing the CoreAudio backend so we can kill libao? :D
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4311 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-21 20:28:17 +00:00
Marcus Wanners
10962d5e10 The last //////// lines are now gone! There will be no more in future.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4309 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-21 19:22:44 +00:00
hrydgard
7a8f6bdd6d D3D various: "Safe texture cache" option, texture replace instead of destroy/create when possible, a commented out "optimization" that didn't speed things up (use DrawPrimitive instead of DrawIndexedPrimitive when possible), reduce code duplication in Flush(), don't periodically clean out the shader caches since it's not really beneficial - shaders are cheap to keep. some code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4302 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-19 13:14:55 +00:00
hrydgard
dae1a68bfc D3D: minor vs constant-setting optimization, remove a stupid memcpy that doesn't do anything, don't see much benefit though :/ At least the PIX logs will be cleaner.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4301 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-19 10:46:25 +00:00
Sonicadvance1
ced92d8544 Fix compiling in Snow Leopard, the Update stuff in the Video plugin shouldn't be in the GUI since it breaks nowx builds, wasn't sure where to put it, but Render.cpp seemed like the best place. Fixed wiiuse.c, and the SConscripts needed updating for Snow Leopard. Building 32bit in Snow Leopard is apparently broken. and Running 64bit in Snow Leopard seems to fail. Haven't tracked this down yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4299 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18 19:56:49 +00:00
LPFaint99
8beeaff896 WIIMENU:move call to filemon to verify that std::string(null) is not called
fixes issue 1421.
D3D: fullscreen use 640x480 if ini setting is invalid
Externals/Memcard Manager: fix build since change to lib files for wx

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4290 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 05:57:38 +00:00
rice1964
7f2d4fc2c8 FPU: some fixes about NaN, SNaN, QNan in related opcodes, according to the CPU manual. Ector, please double check. I don't see any side effects yet.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4288 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 04:05:14 +00:00
XTra.KrazzY
a8270d50ee Tiny shader syntax fix that was here for a while now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4285 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-16 06:33:05 +00:00
rice1964
ce029df144 FPU: not need to check NaN, slightly faster. The fcmpo opcode is used a lot, really need to be much faster than it is now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4284 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-16 06:07:36 +00:00
hrydgard
20922cf3f0 D3D: More reset fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4282 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 21:49:15 +00:00
sl1nk3.s
c71f76834e GUI : Added possibility to move the logwindow around in non-debugger mode, fix toolbar size issue, fix changing themes (again...) and added abort button to extract all as well as misc changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4281 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 21:35:32 +00:00
hrydgard
dc4f712f74 D3D: Save some video RAM by turning off the "default" Z buffer (we create our own). probably doesn't matter on most video cards..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4277 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 19:53:22 +00:00
hrydgard
e6b87febe5 Save states: Stabilize loads (no more LZO crashes, hopefully), make sure we don't crash if user loads state too quickly in succession
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4276 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 18:54:10 +00:00