Commit graph

667 commits

Author SHA1 Message Date
hrydgard
6c52ab1c39 give the DSP breakpoints that can be toggled but don't work yet :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3568 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 12:30:34 +00:00
hrydgard
5c7fc8ed7b DSP: build fixin', more movin', some comments.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3564 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28 10:24:44 +00:00
Nolan Check
d4625bcd3a Fix vertical squishing in Real-XFB mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3548 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-26 10:47:37 +00:00
Nolan Check
ade9479005 Display buffer flips are now triggered by the CPU thread through the Video_UpdateXFB function. This is a fairly significant change of behavior, but it improves performance.
Also, render target code is cleaned up. Post-processing shaders now work with multisampling and Real-XFB mode.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3545 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-26 08:57:53 +00:00
nakeee
6b2855de5e revert last 2 commits
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3533 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 09:31:30 +00:00
omegadox
5bcf69cbd6 Forgot to add the source files...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3532 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 07:44:20 +00:00
omegadox
6de0cd1e4b They should be called SU Registers (Setup Unit/Rasterization). BP (Bypass) is really the name of the commands that are passed in.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3531 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22 07:40:28 +00:00
Nolan Check
8cdd8cf2a7 Return render-target alpha because of a problem report. "Stage Clear" background in SSBM is black again. More investigation is needed into render-target alpha.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3510 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 12:07:04 +00:00
Nolan Check
4292962ea2 Changes for OpenGL plugin:
- Render targets should not have an alpha channel
- Use correct source rectangle for render-to-texture effects
- Use "GL_INTENSITY8" instead of just "GL_INTENSITY" (makes no difference)

The background of the "Stage Clear" screen in SSBM is now fixed!

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3502 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-20 09:29:28 +00:00
nakeee
75045807a7 linux compile fix, I'm not sure it was right of me to remove the mmsystem include (was it used?) but if it's
for the timer function please put it in Timer.h and not in each seperate file.
(And yes, I have a script that does that).


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3448 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 06:39:26 +00:00
John Peterson
5c04af50a4 Attempt to calculate actual refresh rate (i.e. a CPU-GPU synced Mhz), no real success. Anybody have any ideas?
Is there no indication from the game when the screen refresh should occur? No, not what I could find, we currently calculate the refresh rate and m_VBeamPos from the CPU ticks progress. That works perfectly if the CPU and GPU is perfectly synced as in the single core and no-idle skipping mode. So I guess it's possible that the game doesn't indicate when the screen should be refreshed, but rather that the hardware calculate that from the CPU ticks progress. That leaves us with a problem in the dual core and idle skipping modes to calculate a CPU-GPU synced CPU ticks progress.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3447 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15 04:30:02 +00:00
hrydgard
ac50318a8b OpenGL: Fix problem with OSD text not showing up with post-processing enabled, causing gl errors.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3443 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-14 11:56:48 +00:00
hrydgard
31f7020b2d Add mini unit testing framework to Dolphin itself - use it to find bugs and verify the portable powerpc fp number classifier. also random cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3432 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 22:08:01 +00:00
sl1nk3.s
d99deae17d Fix for tatsunoko vs capcom and those wii games getting corrupted memory error
+ a couple of (serious...) fixes for some of my mistakes, and some warning fixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3411 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-12 15:47:41 +00:00
death2droid
a9728b50b9 Fix for setting projection hacks in ISO Properties.
And added a projection hack for Skies of Arcadia by downloadaja.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3402 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-10 01:26:42 +00:00
sl1nk3.s
ca7e4bd179 One char fix for the Wii menu and the cdb.vff issue as well as issue 1011, also fixed the Post build event, now copies files and directory if they're more recent without asking...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3401 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-10 01:15:41 +00:00
nakeee
24e0f8926c *blink*
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3398 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 21:29:54 +00:00
nakeee
da30c24c5e compile fix or why I hate wxstring
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3396 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 21:10:14 +00:00
hrydgard
df91fc8648 Post-processing: Added options to graphics config dialog.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3391 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 19:40:47 +00:00
death2droid
d124ceaf92 Add some OpenGL projection hacks by downloadaja
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3390 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 14:24:20 +00:00
John Peterson
3a3ee9131e OpenGL: GUI fix for 1x and 2x
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3389 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 13:01:50 +00:00
hrydgard
e9a08dc281 Add vignette to bloom shader, for that NEXT GEN FEELING!!! :D (eh)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3382 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 20:29:20 +00:00
John Peterson
63ae48d9f9 OpenGL: Fixed initial framebuffer so it's not too small
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3381 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 20:07:20 +00:00
hrydgard
085fa5f526 Simple post-processing shader implementation. No UI yet. Does not work together with AA yet. To use shader bad_bloom, for example, set PostProcessingShader under [Enhancements] in gfx_opengl.ini.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3380 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 19:42:25 +00:00
hrydgard
fd5a4ee71a minor cleanup - don't leak so many fragment shaders :p also fix address range for the Generate Symbol Map feature
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3379 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 18:34:24 +00:00
John Peterson
3b55c26367 OpenGL: Changed the AVIDump framebuffer source to the same as for screenshots
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3374 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 10:16:08 +00:00
John Peterson
d3ddfef93c OpenGL: Added 2x mode for pixel exact 2D together with high-res 3D
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3371 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 06:05:09 +00:00
John Peterson
299c4f8f1b OpenGL: Fixed crop
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3370 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 03:17:15 +00:00
John Peterson
6691469164 OpenGL: Added OSD menu from 3, 4, 5 keys
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3369 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 02:48:38 +00:00
John Peterson
09a295779d OpenGL: Fixed the screenshot function now that I found all the buffers
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3366 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-08 00:44:48 +00:00
sl1nk3.s
c9b5fbd9bd Change the screenshots rescale function to always work according to the A/R setting, and not just on native res: fixes 16/9 wii games.
remove IsATIDrawBuffer(), this might have been fixed in the drivers since some years already ?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3359 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-07 21:10:02 +00:00
daco65
9bd36858c6 forgot something. moved fullscreen to display options cause hey, ITS AN DISPLAY OPTION :o :o
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3355 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-07 14:50:16 +00:00
daco65
3b5118f385 i STILL dont like the new gui jp made it but its somewhat better and render to main is false by default again. almost wanted to kill auto scale (and always do it) but there are some bugs there sooo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3354 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-07 13:50:57 +00:00
John Peterson
dc35bc0afb OpenGL: Tried to create some order in Render.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3353 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-07 12:06:15 +00:00
John Peterson
8392d6bcd4 OpenGL Screenshot: Fixed AA and wireframe screenshots again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3352 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-07 11:51:53 +00:00
John Peterson
8cbe39dc11 OpenGL: Another one
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3339 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-06 17:36:19 +00:00
John Peterson
401ae629d4 OpenGL: Adjustment to my last commit, forgot a return for example
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3338 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-06 17:34:54 +00:00
Shawn Hoffman
695fe31b2c ...and the days of ceaseless build fixing begin anew
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3337 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-06 15:51:03 +00:00
John Peterson
a8dafb8dc5 OpenGL:
1. Reorganized display settings
2. Let render to main window also have the internal resolution setting
3. Set render to main window as default setting, it's the most common and best option used by the best emulators
4. Changed screenshot to capture the internal picture, independent of whatever the window size may be

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3335 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-06 13:36:33 +00:00
John Peterson
ac9111c1f7 OpenGL: Made it load the UsePanicHandlers option
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3327 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-04 21:21:07 +00:00
Shawn Hoffman
43c18bb552 OpenGL: save projection hack setting
wii: pass 002 check correctly (i think :p ) also copy 10bytes from disc start instead of just 6

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3316 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-03 23:38:31 +00:00
death2droid
e97315d0ff Remove the flickering hack by Orbb(From the Dolphin-Emu forum)
I think i got the most negatives in a row for the SVN :(

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3279 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-23 12:35:16 +00:00
death2droid
c85510130b Clean up of the flicker fix.
(People don't seem to realise im not the original author of the hack)

Removed the code i left before just in case someone wanted to fix it.
As at the moment the hack works so it's fine for now plus glReadPixels is a bugger to work with(For me).


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3278 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-23 10:04:19 +00:00
death2droid
d9e661123c Source code clean-up and a comment
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3277 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-23 09:22:49 +00:00
death2droid
727f8aad87 Update the flickering fix.
Should work a lot better.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3276 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-23 07:55:38 +00:00
death2droid
d6b86232e0 Add's a little hack to try and reduce flicking in some games.
Can also break some games or cause them to have flickering so I made it so it can be turned on and off :P
Original fix by orbb then modified by LuisR14 and me.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3274 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-23 02:47:11 +00:00
death2droid
cdc1432550 A fix to the Mario Kart Wii hack
Changed value 0.00006f to 0.0006f

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3257 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-17 01:41:21 +00:00
death2droid
254edc3813 Some more modification of texture dumping and loading.
They now use gameID instead of game name for the folders.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3247 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-16 01:21:57 +00:00
death2droid
700742c30c Small little change and clean up.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3242 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-15 12:41:56 +00:00
death2droid
b6cfaf5653 Added features to hires loading and texture dumping so it now dumps the files into a specific folder like for Mario Party 7 the textures will be dumped into a folder named Mario Party 7.
For texture loading it now only checks the folder with the same name as the game.
Like same as before moddified texture of Mario Party 7 would go in the folder named Mario Party 7 :P


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3241 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-15 12:28:32 +00:00