Commit Graph

282 Commits

Author SHA1 Message Date
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
donkopunchstania 77c7161e7d Add projection hack back. The previous commit helped, but did not fix all the problems. Projection hack values may need to be changed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3428 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 19:36:19 +00:00
donkopunchstania fcd7fa997b Possible fix for projection hacks
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3427 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-13 17:44:14 +00:00
John Peterson 33a0f0838b Debugging: Added 'insert nop' to menu, added 'show history' code for interpreter mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3388 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09 05:26:39 +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
Marcus Wanners 4f057ecb0b Compile fix :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3323 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-04 16:33:48 +00:00
Marcus Wanners 475b4afb1f Got rid of warning (see http://code.google.com/p/dolphin-emu/issues/detail?id=360#c92).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3322 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-04 16:25:53 +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 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
death2droid 80e2052372 Make some updated to hires texture loading ect.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3235 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-15 07:07:24 +00:00
donkopunchstania 14a67bc8bc Changing where depth is read. Trying to use the same depth buffer GL uses when copying depth to a texture. This eliminates some quirky code and gets depth copies working in AA, but may not work on older graphics cards.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3234 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-15 02:39:55 +00:00
death2droid d0653aa53a A attempt for a fix for the Zelda TP Bloom hack
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3228 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-14 06:28:10 +00:00
omegadox 136dc16f94 Possible fix for S3TC Texture Decoding (Grass in ZWW is now properly alpha tested), and some code formatting cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3224 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-13 23:37:26 +00:00
death2droid 5cefdb2c4f Small tiny fix to repair some of the hacks.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3216 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-13 13:32:00 +00:00
death2droid 03b0936fa1 Clean up of OpenGL hacks.
Removed now useless code.
Also fixed a problem with the iso properties.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3215 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-13 13:28:49 +00:00
Nolan Check dcad8a779d TextureDecoder now indicates I4 and IA4 texture formats. It also decodes paletted textures more efficiently.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3213 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-13 02:06:02 +00:00
hrydgard e7af5a31bd Disable PC-native DXT texturing. Too many problems for now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3203 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-11 19:04:46 +00:00
death2droid 7011b9c1e4 Newer version OpenGL game hacks by val532.(Has a lot better way of handling specific game hacks)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3196 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-11 06:40:03 +00:00
death2droid be45b223bb A fix by baby.lueshi that fixes the problems with rev 3187
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3190 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-09 07:55:30 +00:00
death2droid 8e535bf2c0 Revert r3187 causes games to return lots of errors.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3189 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-09 06:25:03 +00:00
Nolan Check b277102796 Use correct width and height for compressed textures
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3187 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 23:33:23 +00:00
Shawn Hoffman 79aa90b876 really fix SOIL-related troubles, i think :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3183 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 16:41:08 +00:00
death2droid 1d593069b5 x64 SOIL fix thanks to baby.lueshi
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3180 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 13:16:30 +00:00
death2droid 49b527cc6e Fix problem caused by my attempted revert.
Sorry everyone....

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3179 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 12:03:54 +00:00
death2droid 6c09fe5217 Revert some changes again :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3178 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 11:35:47 +00:00
death2droid 08179aa16c Fix windows build problem with SOIL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3177 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 11:20:27 +00:00
nakeee 1e07b26356 Move soil to external, this breaks windows build until deathroi will commit the windows part
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3175 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-08 09:31:57 +00:00
Shawn Hoffman 9414d02011 add missing file HiresTextures.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3171 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-07 18:46:07 +00:00
death2droid 14f9d84e60 Forgot to upload some files crucial to SOIL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3169 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-07 09:32:26 +00:00
death2droid 58058311f4 Fix some problems :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3168 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-07 08:56:20 +00:00
death2droid d0304dc997 Add hires texture support to OpenGL
Currently still only dumps files as .tga but supports loading as .png, .bmp,.tga , .dds

This is by  baby.lueshi

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3166 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-07 07:43:56 +00:00
Nolan Check 3ba23768e8 Add PC-native DXT1 support to VideoCommon and VideoOGL. Thanks to XTra.KrazzY and death2droid.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3159 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-06 02:10:07 +00:00
Shawn Hoffman c25346773d revert r3060, instead call RecomputeCachedArraybases() once on init.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3065 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24 16:40:58 +00:00
Shawn Hoffman 6c29abe2ef fix existenze demo! warning: this may be a bad hack :( paging ector
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3060 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24 03:59:32 +00:00
donkopunchstania 93348abc18 Created a free look utility which only works on win32 right now. It lets the user fly around with the mouse and keyboard. Had to add some ugly matrix functions to the math utilities.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3005 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-19 10:10:45 +00:00
donkopunchstania 66ca49d3b8 revised how texture scaling is handled. it now works correctly when adding output together from indirect stages which use power 2 and non power 2 textures and it is simpler.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2972 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-15 03:55:38 +00:00
nakeee 5f862cf297 more scons build fixups
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2960 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12 21:30:22 +00:00
hrydgard f6474b98a8 DSP assembler: Error message improvements.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2956 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12 13:12:42 +00:00
donkopunchstania 2b2c2afa3c Did clean up of indirect texture look up and fixed some bugs related to indirect unit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2954 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-11 07:05:57 +00:00
nakeee e84ec7855a smg projection hack, taken from http://forums.dolphin-emu.com/thread-165-page-3.html
maybe we should just make configurable linear trasnformation hack;)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2949 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-10 10:25:53 +00:00
omegadox 449aa57de3 Some commenting fixes and use INFO_LOG again.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2923 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 01:20:52 +00:00
omegadox d1c9d2463c More commenting.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2921 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07 21:17:15 +00:00
omegadox 13ac45db1a More commenting and cleanup and added another BP Function.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2903 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 18:20:28 +00:00
XTra.KrazzY e3e7c88ff1 Added separate log for DSP LLE.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2901 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 17:12:05 +00:00
omegadox 80d48a08d8 Change "BreakPoint" to "Bypass", YAGD says BP REG is a "Bypass Raster State Register"
Also some cleanup in BPStructs and I think this should be SETTLUT not LOADTLUT, because there is already a LOADTLUT earlier in the reg list.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2898 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 16:10:45 +00:00
omegadox 67834f960e Direct3D9 plugin now uses BPFunctions and removed its BPStructs. Some cleanup and commenting in BPStructs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2897 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 15:24:40 +00:00
omegadox 1ad5c7c9aa VideoCommon: Fixed a case when in debug build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2887 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 20:14:23 +00:00
omegadox 1578e3e195 Recoded and moved BPStucts to VideoCommon. Some cleanup in PixelShaderManager. TODO: Have DX use BPFunctions. Note: Compiling DX plugin will not work atm.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2870 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 10:49:19 +00:00
Shawn Hoffman ec8548dc00 last commit missed AVIDump.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2782 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-28 21:27:48 +00:00