John Peterson
472582022b
Core and Common Threads Stop and Start: Added timeout to the thread waiting loops. If we have waited more than five seconds we can be pretty sure that the thread is deadlocked. So then we can just as well continue and hope for the best.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2383 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 00:15:19 +00:00
Shawn Hoffman
6bc6731f51
"load symbol map" now loads <filname>.map if you booted in dol or elf mode
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2382 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 23:36:13 +00:00
hrydgard
14d8db715f
don't reject wii backups
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2381 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 23:36:00 +00:00
nakeee
cc3073b528
Fixed ogl config on linux, please when you change code, make sure you changed all the ifdef cases
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2380 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 22:57:56 +00:00
hrydgard
68f5cc1873
Attempt to workaround some stop hangs by using MsgWait instead of Wait. change order of dsp / video shutdown. some comments.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2379 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 22:49:42 +00:00
magumagu9
a32e29aaa5
Attempt at fixing Linux build. The OpenGL configuration dialog is
...
broken, though, so I'm not sure if this is quite right.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2378 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 22:04:31 +00:00
nakeee
9ec81d4bf0
linux compile fixes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2377 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 21:37:36 +00:00
John Peterson
927815bc9b
Core Stop and Start: Added alternative separate thread timer/loop based waiting, instead of same thread loop waiting. You can try it with the SETUP_TIMER_WAITING option in Setup.h.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2375 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 21:16:12 +00:00
hrydgard
769160dfbd
Fix crash clearing the texture cache on shutdown.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2374 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 20:21:56 +00:00
XTra.KrazzY
16584c83d1
(Itsy Bitsy) Reindentation.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2373 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 18:15:31 +00:00
XTra.KrazzY
0a3f193cbc
(Tiny) Collapsing
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2372 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 18:13:50 +00:00
hrydgard
3dfac4fcc8
Better drive detection - won't return flash drives and stuff anymore, just disc drives, real + virtual.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2371 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 17:13:20 +00:00
hrydgard
8224c3b449
Fix bug, reenable the drive optimization.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2370 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 16:59:22 +00:00
hrydgard
925a66d498
Hm, disable previous change - seems to have broken gcz reading
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2369 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 16:54:28 +00:00
hrydgard
e3d1704979
Attempt to speed up drive reading by doing larger block reads - didn't help very much. we need to support async reads, I think.
...
Also delete some copypasta in DriveBlob - it already inherits those functions so it doesn't need them itself.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2368 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 16:48:54 +00:00
hyperiris
42a7d2fc85
Fix of issue 408, the game still can't boot.
...
Implement DVDLowUnencryptedRead, Medal Of Honor Heroes 2 use it to get DVD PartitionsInfo (disk offset 0x40000).
and the game try to use IOCtlV, code 0x8b, bushing point out, IOCtlV 0x8b is DVDLowOpenPartition too, so I just return 0 for success.
need further work on this.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2367 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 13:59:06 +00:00
hrydgard
03a950a1e5
Some menu tweaks
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2366 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 12:53:29 +00:00
hrydgard
564bc674a5
forgot to update the sconscript
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2365 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 12:44:13 +00:00
hrydgard
aff0f1fbe3
Consolidate the three implementations of Decode5A3 found in Core into one. Fix some warnings.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2364 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 12:43:25 +00:00
hrydgard
8276ca3b21
Attempt to fix 64-bit seeks in DriveReader. Please test.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2363 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 12:40:38 +00:00
hrydgard
8741026ba0
fix tiny buffer overflow in Hex2Ascii()
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2361 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 11:01:08 +00:00
LPFaint99
e5cf9c8b8c
Fix for read from raw drive on some machines,
...
must have been a fluke that it worked for me and a few others
thanks to shuffle2 and daxtsu for testing patch
some linux compile fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2360 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 07:52:02 +00:00
John Peterson
42101f0ce6
OpenGL: Added a Setup.h option to avoid another annoying WaitForSingleObject() hanging. WaitForSingleObject() in Fifo_ExitLoop() would hang the thread it was waiting for when it arrived at Callback_PeekMessages(). Can't these waiting loops be replaced by a timer somehow? They are pretty ineffective if they hang the loop they are waiting for all the time.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2359 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 06:47:27 +00:00
John Peterson
2a94635523
OpenGL: Added option to build without WxWidgets in Windows to, if it has anything to do with the FreeLibrary() hanging. It doesn't seem to do, but now it's easier to compile without it at least.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2358 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 05:21:54 +00:00
LPFaint99
db691a4f0d
linux build fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2357 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 04:26:09 +00:00
John Peterson
fc6a7c47d5
Core Stop and Start: Fixed stop and start again by avoiding FreeLibrary() of the OpenGL plugin, and avoiding a crash in its ShutDown() function. You need to use SETUP_FREE_PLUGIN_ON_BOOT to compile with this option that works on my system. Also, I noticed that I don't need the SETUP_AVOID_CHILD_WINDOW_RENDERING_HANG anymore, I can now delete the g_EmuThread without having it hanging in its waiting function.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2356 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 04:24:53 +00:00
LPFaint99
5057d3b446
Linux build fix.. I think..
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2355 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 04:21:32 +00:00
XTra.KrazzY
691be5eec4
naming conventions...
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2354 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 03:49:50 +00:00
LPFaint99
341ac26401
MemcardManager general cleanup, ini settings fixes
...
disallows multiple formats for icons
adds export all saves to right click menu
sets exported save name to gamecode+filename.gci
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2353 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 03:23:48 +00:00
LPFaint99
3d0fcfaaac
Enable Loading backup from drive for GC for windows
...
takes about 60-90 seconds on loading
about the same speed ingame as running from the hard drive
changed to the correct flag for CreateFile
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2352 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 02:39:16 +00:00
hyperiris
cfd2a12857
some prepare / debugging of issue 408, can't work now
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2349 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 00:54:53 +00:00
fires.gc
5c2694a629
added support to load WAD files of the WII
...
the WiiWAD loader encrypts the WAD, loads the NAND AppLoader and executes it. The NAND Loader will load more parts of the WAD to memory and execute them.
Some WADs show the loading screen but hanging because the BT devices cant be initialized. Dolphin is not able to connect to devices that arnt validates per SYSCONF. Perhaps a global flag is wrong or missing or we have to preload the SYSCONF by hand (or fix/improve the BT handling :))
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2348 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 00:40:52 +00:00
hrydgard
ffa56ed61a
fix off by one error in OSD
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2347 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-22 00:06:15 +00:00
omegadox
2b48640441
small cleanup in OGL/VideoCommon and small fix to ARCodeAddEdit by slink
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2346 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 23:56:10 +00:00
LPFaint99
9cfa4e9385
Adds IsDrive to FileUtil for win32,
...
Adds booting from drive to gui. disabled as it is currently too slow unless it is a virtual drive
Changes DriveUtil to start checking at D: as it is unlikely that a, b, or c will be a cd/dvd drive
Addes DriveBlob functions, untested on linux/osx probably needs more work
Removes duplicate message from EXI_DeviceMemoryCard.cpp when creating a brand new memcard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2345 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 23:44:40 +00:00
John Peterson
b4b94fe594
OpenGL: Fixed the screen size adjustment by moving it to Render::Swap(), where the final version of the picture is placed
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2344 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 20:59:30 +00:00
XTra.KrazzY
ca47268669
Vertex Shading / Projection Matrix done right (D3D)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2343 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 17:17:24 +00:00
XTra.KrazzY
0c13bf4761
Some more info in the memmap getpointer error.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2342 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 15:45:38 +00:00
XTra.KrazzY
df6bfe7662
Clarified some names in the solution
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2341 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 14:52:10 +00:00
daco65
6222414ba5
Killed the issues column and made emulationstate "Problems" provide more info when its set in the gameini. the config looks a bit ugly imo but thats cause im horrible in such stuff :P
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2340 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 14:40:34 +00:00
hrydgard
26f951d9d5
delete unused variables, rename some functions - minor stuff.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2339 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 13:53:26 +00:00
hrydgard
a1685984a0
Forgot to check in this.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2338 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 13:48:22 +00:00
hrydgard
3331a024c0
More cleanup in gl plugin
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2337 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 13:11:49 +00:00
hrydgard
b211200460
Fix potential buffer overflow in OSD
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2336 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 12:56:43 +00:00
hrydgard
fe0be64bd3
Move the message display thing out of Render.cpp
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2335 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 12:53:10 +00:00
hrydgard
731dec6889
delete some junk from gl's main.cpp. fix potential crash if number of resolutions > 100 (hey, it may help someone in 2050 or so when we have 1Mx1M displays)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2334 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 12:25:43 +00:00
hrydgard
98a86325ce
Fix bug in audio queue. This will hopefully fix the screechy noises that sometimes happen when starting a game.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2333 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 12:07:51 +00:00
hrydgard
28cbd0a6ba
CPlugin had a non-virtual destructor. This fixes that, plus reindents a bunch of code.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2332 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 12:07:03 +00:00
hrydgard
76a78dd60d
Make InputCommon build in debug mode. Seriously, WTF? Debugging code relying on functions that simply aren't there. Nakee?????
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2331 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 11:49:14 +00:00
donkopunchstania
5a66927610
Fog uses depth from z texture if it is available.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2330 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21 06:59:44 +00:00