Commit Graph

3818 Commits

Author SHA1 Message Date
rice1964 81e7ce9ad2 D3D: get rid of flickering in various games by changing way and time to flip backbuffer to frontbuffer. Also added some debugging messages. ZTP intro seems to be additionally 10%+ faster now, maybe only for me in windows mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4303 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-20 03:29:43 +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 0d9543030b Missed some stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4300 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18 20:04:54 +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
rice1964 2bd989d4c8 D3D: More not very interesting debugger fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4298 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18 03:12:32 +00:00
rice1964 8b4839a4f4 D3D: some changes about debugger, not useful for anyone else, and should not affact anything. So not very interesting, just get ready to do some debugging.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4297 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18 02:03:56 +00:00
XTra.KrazzY 47a1d2da9c DSP HLE: External ops oops (thanks, lordmark)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4294 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-18 00:12:10 +00:00
XTra.KrazzY eb8ddbf3e5 A basic, un-resampled version of Zelda UCode cases 0x4,7,b,c. These are used a lot in Pikmin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4293 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 22:53:36 +00:00
XTra.KrazzY 0ebb7376c8 More WaveTable (ucode case 0x4,0x7,0xb,0xc) work (thanks for noticing they're the same, LordMark!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4292 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 12:09:10 +00:00
LPFaint99 dbf68d9b0d PadSimple: move DInput init to new function OnShow (called every time dialog is shown instead of just once in the constructor)
fixes issue 1341.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4291 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 08:17:31 +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
LPFaint99 43021a8a1e D3D: actually use the resolution setting for fullscreen mode
(really dumb mistake of mine, due to lack of sleep :p)
fixes issue 1426.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4289 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-17 05:07:16 +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
hrydgard 2eece4c2f4 D3D: Fix render states on reset (resize). Add detection of INTZ texture format (undocumented, but both nVidia and AMD aupport it). Not sure if we'll actually use it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4286 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-16 20:12: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
rice1964 f7e15ec7f2 Fix some shader problems caused by my previous commits to reduce API calls (back screen after a while in Zelda WW intro, maybe also in other games).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4283 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-16 05:31:19 +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 3117bde5fb just code indentation
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4280 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 21:25:34 +00:00
hrydgard ef6e574ea1 D3D: Handle device resets (resizes) a little bit better .. not quite there yet. some random cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4279 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 21:05:31 +00:00
hrydgard e0baa817e4 D3D: Switch color render target to a texture. Should not have any visible effects - if this causes slowdown compared to the previous revision right before this one, let me know in the comments. This is a prerequisite to do postprocessing, and also things like copy-efb-to-ram.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4278 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 20:18:25 +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
hrydgard adbfea0a09 Unbreak the D3D plugin in case of bad/old resolution settings in the .ini file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4275 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 18:00:16 +00:00
nakeee 1619433ae7 DSP: added automatic alsa test.
Should fix issue 1403


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4274 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 10:47:19 +00:00
LPFaint99 ca7a5b36dc only load gameini settings if they exist
change D3D to use char[] for resolution settings in ini
warning fixes for FrameAui.cpp

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4273 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 08:13:45 +00:00
nakeee b7d6259405 Videcommon: removed double settings (how did full/window res work so
far?)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4272 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 06:14:45 +00:00
Shawn Hoffman 9f0ff64398 Fixes issue 1356.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4271 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 05:38:49 +00:00
Shawn Hoffman 65b6b15c6e normalize wiimote logging: no more crazy newlines, plugin logs to...wiimote plugin log, ipc wiimote stuff logs to...WII_IPC_WIIMOTE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4270 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15 02:12:55 +00:00
Shawn Hoffman f08c482cc9 update SConscript for last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4269 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-14 06:44:11 +00:00
Shawn Hoffman aff34e6789 revamp handling of wii sysconf. it's in Common lib so that plugins can (possibly) utilize it if they like
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4268 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-14 06:26:49 +00:00
Shawn Hoffman a08c801256 psyjoe's patch to shader compilation. ector/some "shader person" check this please :) looks reasonable to me though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4267 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-14 06:25:00 +00:00
sl1nk3.s e76d2a1a4c Various fixes for ISOProperties's filesystem viewer, bugfix for empty folders not being empty thanks to j4ck.fr0st (issue 702), also added icons and fixed dumping all files from a wii game.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4266 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 22:03:18 +00:00
hrydgard c7431401be D3D: Fix 8-bit signed normals. Fixes lighting problems in Super Smash Bros Melee. misc tiny things
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4265 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 21:18:04 +00:00
hrydgard 2dc3f2c762 D3D: Unbreak frameskipping
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4264 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 19:13:07 +00:00
hrydgard a7c70ddb66 D3D: Eliminate black borders, add 4:3 and 16:9 settings, and the widescreen hack. Unfortunately this temporarily breaks MSAA (in d3d only) until I have time to fix it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4263 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 17:46:33 +00:00
hrydgard 5911abc600 debug mode compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4262 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 15:03:21 +00:00
hrydgard 73d2b3e968 more uninteresting cleanup, fixed a minor race condition when toggling efb copy mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4261 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 10:18:01 +00:00
hrydgard 2d93c654f0 Rename Config.cpp/h to VideoConfig.cpp/h.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4260 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 09:23:30 +00:00
hrydgard 3ff95019b7 *nix build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4259 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 09:07:22 +00:00
LPFaint99 be702ce750 patch by Daco for extracting directory contents from a gcm (which also allows dumping an entire partion other than 0 from a wii disc)
plus a small fix for File::GetSize log

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4258 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 09:03:38 +00:00
hrydgard 512053fa5e Kill some horribly ugly hackery :( It's just not right to pass entire IniFile objects across DLLs. Only POD (plain-old-data, like int, float, char, char[] etc) are safe to pass across DLL boundaries.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4257 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 08:54:46 +00:00
hrydgard 700f2ff694 Lots of code and warning cleanup. OGL/D3D: Moved to a shared config class in VideoCommon. This lets VideoCommon code read the config without ugly hacks. Fixed various config race conditions by keeping a copy (g_ActiveConfig) of the g_Config struct which is updated once per frame.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4256 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13 08:21:35 +00:00
hrydgard 52ea8a0fd1 D3D supports setting multiple shader constants at once, so let's add support for that. Very tiny speedup. Also remove the annoying black window in the background when configuring D3D before starting a game. Also make sure to write all values when converting normals - might help the cpu's write gather cache.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4255 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-12 15:00:08 +00:00
LPFaint99 e31cc7d1fe Experimental support for dumping all files from a gcm
supports partition 0 on wii discs (disabled) and will fail on dir structures that are too deep
no progress bar yet, so it looks like dolphin does not respond while dumping

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4254 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-12 09:09:47 +00:00
LPFaint99 674334f53e fix loading wads on both windows (FileMonitor.cpp) and linux/mac (std::transform toupper not sure why it was there :/)
fixes issue 1388.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4253 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-11 06:55:43 +00:00
rice1964 e1a0f8884a D3D: Projection hack feature. Have also moved related functions and constant definitions from OGL to VideoCommon, will clean up the code better if it works for D3D.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4252 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-11 05:50:02 +00:00
rice1964 5ffb48c33b D3D, enables the EFBCopyDisable option.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4251 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-11 05:18:45 +00:00
rice1964 f46aab0d3f D3d: safeTextureCache fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4250 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-11 05:05:00 +00:00
rice1964 f0d1278eff D3D: load game ini options, to be used later.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4249 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-11 04:47:49 +00:00
Shawn Hoffman 39465e5fd8 lib dxerr9 -> dxerr as of august09 dx sdk
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4246 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-10 05:51:18 +00:00
rice1964 891aa44dd0 OGL: API call reduction. Again, I don't see much a difference on my 9800GT, maybe make some games running faster.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4245 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-10 05:02:31 +00:00
rice1964 c046c27815 D3D: Minor bug fix and some code cleanup for DirectX API call reduction.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4244 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-10 03:36:32 +00:00
death2droid b3194e596e Fix win32 build and remove a warning from sln.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4243 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09 23:19:24 +00:00
hrydgard 77eb45cb24 hopefully unbreak win32 build. yeah, this was sloppy of me :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4242 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09 22:56:23 +00:00
hrydgard 987a6185e6 Linux: Alsa backend for the audio plugins. Didn't succeed in reducing latency though, but hopefully will work better than libao - shouldn't hang weirdly at underruns, I hope, like libao does.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4240 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09 21:26:33 +00:00
nakeee e0dfe17ca4 OGL:
Kill not working sdl backend
remove some wxgl code
change defined a bit so resolution detection can be done right with wxgl 
and X11


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4239 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09 20:47:11 +00:00
nakeee bc6323ea0e removed the failed gltest code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4238 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09 19:52:45 +00:00
rice1964 c1665ec6cd D3D: Reduce the number of DirectX API calls. However, it does not seem to give tiny speed up. If anyone find that this change actually slows DX9 down, I will revert it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4237 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-09 05:22:16 +00:00
hrydgard aeac44596a quickfix for the build problem. no, I don't like all these globals either.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4236 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-08 22:24:08 +00:00
hrydgard 69535bef92 IPC_HLE_Device_es: Change some asserts to WARN_LOGs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4235 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-08 21:23:25 +00:00
hrydgard 0a576c7508 Linux: Tons of warning cleanup plus workaround a nasty crash problem in StatusBarMessage.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4234 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-08 21:16:05 +00:00
hrydgard e3d505c631 Build fix for linux (don't want to require the very latest wxWidgets).
Very minor cleanup.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4233 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-08 19:54:31 +00:00
Shawn Hoffman 3b76f6dc80 get rid of the '¯' chars in source code...non ascii chars are not really good to have floating around for no reason. http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Non-ASCII_Characters#Non-ASCII_Characters
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4231 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-08 16:07:13 +00:00
Shawn Hoffman 463e93c41a fix debugfast build (msvc)
external libs go to $(SolutionDir)\$(ConfigurationName)\$(PlatformName), and debugfast build uses Release build of external libs.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4230 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-08 15:46:51 +00:00
nakeee c8ef2fe798 Removed the overflow from the toolbars
Commented out the restart in the file menu until someone fix it
If someone knows how to get rid of the ugly hack please say so,
from what I saw in wxw it's some bug of them.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4229 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-08 08:47:33 +00:00
nakeee a9c9e9fa46 GUI make logwindow into a panel TODO: figure out how to make it
floatable


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4228 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07 21:37:27 +00:00
nakeee 5a99432f1b GUI: make some elements such as memory jit and breakpoint windows into
wxpanels. It should now work in linux as well. I had to remove the bar 
off the breakpoint panel though, so we need to decide what to do with 
it.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4227 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07 20:51:02 +00:00
John Peterson 24d68da653 GUI/OpenGL: Video debugging window crash fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4225 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07 13:33:40 +00:00
John Peterson 7dffe43eaa VS solution: OGL and SOIL path fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4224 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07 13:12:40 +00:00
John Peterson 7e115dcb00 GUI: Fixed some GUI related start/stop crashes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4223 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07 12:40:43 +00:00
nakeee 49601e0af2 DSPLLE added carry and overflow now we (lordmark) should add them in
the right ops ;) 


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4222 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07 10:46:22 +00:00
rice1964 4c36a5280c D3D: Revert r4215, ector may come out a better way to do so in the future.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4221 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07 00:04:32 +00:00
John Peterson a758de106d VS solution: OpenGL DebugFast pathfix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4220 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 20:03:19 +00:00
John Peterson 0206b68b9c D3D: Double click to fullscreen
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4219 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 19:30:24 +00:00
John Peterson 228bd6880a OpenGL GUI: Text change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4218 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 18:58:53 +00:00
John Peterson 735c560f00 GUI: Typos
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4217 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 18:54:20 +00:00
John Peterson 0f794fe9cc GUI: Save floating setting, float console window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4216 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 18:45:22 +00:00
rice1964 aef1f943f3 D3D viewport fix to get rid of the black borders. Seems to work fine in Window mode, not working yet for full screen mode.
Also a minor fix for the command line switches to specify pad and wiimote plugins.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4215 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 17:47:48 +00:00
John Peterson 21e0bad21e DiscIO: Augment the filemon to not slow down ISO properties for GC games
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4214 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 16:06:49 +00:00
John Peterson f8e80a317e OpenGL: Added fog and lighting to the OSD menu. GUI: Removed old and removed Gfx setting from ISOProperties.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4213 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 15:39:06 +00:00
John Peterson 1320e21ded OpenGL: OSD menu live resolution change fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4212 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 15:11:21 +00:00
John Peterson a3345ea942 GUI: Fixed a double keydown event in the main frame, the double click in the video window (didn't know about CS_DBLCLKS)
OpenGL: Fixed the live resolution setting

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4211 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 13:36:05 +00:00
death2droid 49e849dc94 NETPLAY: Fix netplay joining only problem now is that the chat is kind of dodgy.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4210 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 11:35:01 +00:00
death2droid 5fbeb7927b NETPLAY:Disable the Close button and add two buttons in the Connect and host screen to exit the window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4209 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 10:13:32 +00:00
rice1964 c30ed92e75 Add some command line options to directly specify plugins. You can use "dolphin /V Plugins/Plugin_Video???.dll" in the command line to start Dolphin with the ??? plugin. This can be done also for other plugins. There are a couple of reasons to do so. For example, Dolphin compiled in DEBUG would often crash if loaded with non-DEBUG plugins. Therefore, you may want use to DEBUG plugins when running the DEBUG dolphin by giving all the command switches.
Also add some code to show the version of the plugin in the plugin configuration window title, so we can see clearly which version of the plugin we are using.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4208 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 02:55:14 +00:00
death2droid 8b2d991be4 NETPLAY:Changed it so if your set to ready the disconnect button is greyed out if your host the change game button is also greyed out.
OTHER:Some other misc ///////////'s clean up.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4207 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 01:40:44 +00:00
death2droid eb9f6cd7a1 NETPLAY:Changed chat sending so it will only send a message if the message size is greater then 0.
OGL:Added a tool tip for the wide screen hack tho its probably wrong
OTHER: Just some clean up of the ///////////////////////////////////'s

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4206 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-06 00:11:16 +00:00
John Peterson e04c176bba GUI: A little more creative solution to the 2x setting. Apart from this the OSD setting for it has to be unbroken.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4205 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-05 05:42:51 +00:00
John Peterson 0f58b17c71 GUI: Float notebook pages, unfinished (will save setting and other the other windows)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4204 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-05 04:50:45 +00:00
hrydgard 6f5abbdfa3 r4195, redux...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4203 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 18:25:43 +00:00
hrydgard f190050c46 fix for "properties-crash" by lpfaint
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4202 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 18:21:10 +00:00
hrydgard 0d1662e020 GL: Delete "exact-2x" feature. The way it's currently implemented it requires us to allocate double-sized buffers, which really hurt some GFX cards. So, it's gone for now but may return later in some form.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4201 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 17:29:16 +00:00
death2droid 8d4ecacb4b DiscIO:Quick fix for the includes again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4200 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 13:50:22 +00:00
death2droid 0ccd9d1e8f DiscIO:Fix the includes up Dolphin should now compile.
D3D and OGL: A minute clean up with texture dumping

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4199 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 13:46:04 +00:00
nakeee 81c4982a0a Revert accidental change to stringutil
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4198 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 11:48:49 +00:00
nakeee e147b9eb91 Fixed up the filemon a bit, added isEnable function to the logmanager
and moved the FileMonitor from debug to discio to prevert cross 
dependencies


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4197 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 11:34:21 +00:00
hrydgard 7badedf054 fix annoying warning starting kuru kururin (jpeterson, this got to have something to do with your file logging?)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4196 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 06:52:34 +00:00
hrydgard 5345c98a9c quickfix slowness caused by 4193
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4195 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 06:43:46 +00:00
sl1nk3.s 5a21d72693 Fix screen flickering with frameskip on D3D plugin, also fix occasional hang when turning frameskip off
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4194 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 06:09:21 +00:00
death2droid 08d3dee74c D3D: Some more small texture dumping changes, It should be even more like the OpenGL now.
Need to find out a better way to check if a texture is already dumped.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4193 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04 05:26:19 +00:00
John Peterson f8ea1824b7 GUI: Gray step button in JIT mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4192 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 23:28:28 +00:00
John Peterson 276a2da982 GUI: Logwindow font choice saved
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4191 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 22:52:58 +00:00
rice1964 664d973dee DX9 DEBUG and DEBUGFAST build fix, no big deal.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4190 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 22:27:47 +00:00
hrydgard 400381a24f Fix crash in non-debugger (/d) mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4189 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 22:08:54 +00:00
hrydgard efc74c77a9 D3D: Basic EFB copy-to-texture support. Fixes star domes in SMG (but does not fix the pull star, need EFB reads for that) and some other things.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4188 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 21:56:08 +00:00
hrydgard baede3a7f3 Moving more things out of GL into VideoCommon...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4187 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 20:37:35 +00:00
John Peterson fd06a656f5 GUI: Forgot the new files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4186 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 20:13:50 +00:00
John Peterson a69eb43019 GUI: Added file monitor log
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4185 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 20:00:09 +00:00
hrydgard 2b1022f152 More tidying up - share the stats print between the two plugins, etc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4184 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 19:42:45 +00:00
hrydgard 562a4e25ac Some housecleaning around the D3D plugin, start of preparations to share even more code with the GL plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4183 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 19:24:16 +00:00
rice1964 2091fb3ceb D3D, revert the incorrect change I did in r4154 about D3DCREATE_MULTITHREADED
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4182 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 15:41:13 +00:00
John Peterson 8cd6e1d409 GUI: Made the symbols menu talk more
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4181 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 09:13:41 +00:00
John Peterson 486798c580 GUI: Fixed boot settings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4180 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 07:59:24 +00:00
death2droid c82c0b0b93 Clean up some of the commenting.
You do NOT need to use ///////////////////////////////////////////////////////////////////////////////////////////////////////// to signify the closing of a section when you are clearly showing the start of a new section after it.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4179 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 07:56:35 +00:00
LPFaint99 8ecfc72963 change SetButtonFont to SetFont (Works the same on windows, SetButtonFont is not available on linux)
fix char* to wxstring in netplay (unicode bugs)
fix changegame in netplay to show the correct name for the chosen game

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4178 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 07:51:18 +00:00
John Peterson 573baf733a GUI: Reorganized menu bar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4177 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 06:54:46 +00:00
John Peterson 566b5df761 GUI: Stop the double posting of menu and toolbar events to the code window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4176 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 05:24:30 +00:00
rice1964 47a16da49a Some shader manager changes, to avoid a shader be re-generated / re-compiled again, and again, if it is failed at the first time. There used to be cases that a vertex shader was failed, and Dolphin tried to generate/compile it forever, and caused the entire game slow down. It maybe not the case anymore after recent changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4175 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03 02:21:14 +00:00
John Peterson 99d7bf724d General: Removed duplicate comment and an old comment about wx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4174 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 22:31:02 +00:00
John Peterson bbd56ec92c GUI: Added restart option to File menu
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4173 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 21:54:53 +00:00
hrydgard 97af2f1126 GL/D3D: slightly more accurate and faster DXT decoding, thanks to Orphis
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4172 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 21:30:54 +00:00
death2droid 2be5d013e0 Add the wide screen hack by <---Does the person even have a user name?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4171 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 21:30:19 +00:00
hrydgard 1e016dd522 Fix a vertex shader generation bug that crashed Super Monkey Ball. Better shader error handling. Random warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4170 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 21:19:35 +00:00
Marcus Wanners 50593397f3 Got rid of all of jp's ////////////////////////////// lines (nearly 500 of them)!
Yes, I used a script :D

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4169 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 21:00:45 +00:00
hrydgard c64b1ca5dc D3D: Fix nonpow2 textures (simply turn off the rect texture stuff since it's not necessary under D3D). some cleanup. Add a TODO (tip from Orphis)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4168 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 19:59:41 +00:00
John Peterson 4d9a47f6dc VS solution: Fixed sln file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4167 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 19:26:52 +00:00
John Peterson 5d3814aa68 VS solution: Removed duplicate DebugFast configuration for non-wx externals to avoid double linking errors. If there is a need for a third configuration for an external library, file names needs to be adjusted, for example.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4166 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 19:21:09 +00:00
hrydgard e97bc516e6 Warning fixes/suppressions(aui), assorted code cleanup, d3d vertex shader cache expiration interval increased.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4165 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 18:55:36 +00:00
daco65 dd7eba0bb9 nothing special >_>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4161 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 15:38:04 +00:00
John Peterson 6f4a0903c0 GUI: Small bugfix, new panes were unfloatable by default
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4160 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 15:23:53 +00:00
John Peterson b6c3d5d530 GUI: Small logwindow change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4159 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 13:05:32 +00:00
John Peterson e382d8add6 VS solution: Path fixes for DebugFast
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4158 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 12:52:56 +00:00
John Peterson ad491dd9f0 GUI: Log window colors in windows, font and word wrap option
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4157 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 12:09:51 +00:00
nakeee b2533a5ef2 Fixed various warning fixes and potencial POD/crash bugs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4156 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 07:59:06 +00:00
rice1964 7343382f80 Fix the DEBUG builds that were broken in r4154.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4155 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 07:25:22 +00:00
rice1964 d616f132d7 Debugger for DX9 plugin.
Debugger panel is displayed only if Dolphin is started with /d option.
Dump features are not implemented.
Pause/Resume buttons works, only if the plugin is built in DEBUG or DEBUGFAST configuration, not in RELEASE. These features are really only for devs, not for regular gamers.

You will be able to pause frame by frame, or by n frames, or by n primitive flushes. Other pausing options are not implemented yet.

When other pausing and dumping features are implemented, debugging will be much easier.

I have changed the DX9 project setting to use unicode character set in order to use wxWidge tools. If this causes Dolphin building problems for you, check your project setting.txt




git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4154 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 06:33:41 +00:00
sl1nk3.s 3bba897799 D3D: Fixed dstAlpha, aka "when everything is broken, at least mario have a nice shadow", and removed Cg leftover from it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4152 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02 04:10:40 +00:00
hrydgard 246e0ec2fc D3D: Don't request a multithreaded device. Minor speedup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4150 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 21:32:32 +00:00
hrydgard 96c2247fbe D3D: Don't set mip filter to aniso, only min/mag. (trying to get rid of errors, looking at the debug d3d runtime log)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4149 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 20:56:19 +00:00
John Peterson 08296f8d07 GUI: Forgot to reset the console rows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4148 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 20:23:05 +00:00
hrydgard 28495eae47 D3D: Fix IA4 textures
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4147 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 20:21:59 +00:00
John Peterson b059e405f2 General: Reordered the CFrame definitions
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4146 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 20:09:15 +00:00
hrydgard 2599659022 D3D: Fix bugs in the shader cache, fixes crashes on x64. added some debugging stuff (only active in debug builds). assorted code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4145 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 19:48:45 +00:00
John Peterson b15320bc02 GUI: Some changes, small bugfixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4144 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 19:47:04 +00:00
facugaich c247805b28 Linux: Fixed some initialization orders
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4143 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 18:34:26 +00:00
John Peterson 6168ab75c6 GUI: File split
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4142 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 15:16:44 +00:00
John Peterson faafd409ba GUI: Save fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4141 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-01 14:50:52 +00:00