tmator
0255f775da
fix osx plugin dir
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2523 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 19:28:30 +00:00
nakeee
3f46618e2d
Forgot the non logging case
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2522 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 13:11:27 +00:00
nakeee
d419d3fc29
More log cleanup. Commented the old macros in Log.h, uncomment it if there are any problems.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2520 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 11:43:38 +00:00
nakeee
4e9746877e
an attempt to clean up the logging a bit
...
1) The new ERROR, WARN, INFO, DEBUG _LOG macros were used
ERROR, // Bad errors - that still don't deserve a PanicAlert.
WARNING, // Something is suspicious.
INFO, // General information.
DEBUG, // Strictly for detailed debugging - might make things slow.
2) Made all LOG macro use into some of the logging level supporting macros
LOG is commented out on linux can someone try it on windows? (it's in Log.h)
3) Added ERROR_lOG next to each panic alert
I hope I helped making the logs a bit more useful/readble
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2510 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 01:49:16 +00:00
nakeee
834ec30d4e
osx compile fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2508 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 23:06:29 +00:00
nakeee
5b033732b8
Small fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2492 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 00:12:05 +00:00
nakeee
324abc9a7f
fix compile on osx and linux
...
added GetPluginDirectory (please check on windows)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2490 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 23:21:51 +00:00
nakeee
7547f0948f
linux/osx compile fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2477 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 19:37:00 +00:00
hrydgard
6dc4194767
OGL plugin: +Autoscale option (attempts to remove borders, even without XFB). Lots of cleanup, especially around aspect ratio and similar stuff. MP2 scanner still broken, wonder when that happened?
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2470 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 16:33:59 +00:00
hrydgard
34b4a51973
add missing ;
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2466 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 08:38:37 +00:00
hrydgard
4bdb4aa0d1
Merge large parts of nakeee's "Soap" branch into trunk, after fixing a few crash bugs in FileUtil.cpp.
...
Not really anything interesting, just some better comments, some slightly more portable/cleaner code in places.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2459 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 01:26:56 +00:00
fires.gc
c76c477a6d
restructured NAND application loading... it isn't complete but an improvement
...
i have changed the update of the IPC too... update for the command queues and update of the devices are split in two functions now
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2455 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-27 23:44:15 +00:00
nakeee
25b569e152
osx compile fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2453 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-27 10:40:16 +00:00
bushing
6ff164585c
omgkeyz
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2447 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-26 13:29:51 +00:00
John Peterson
bd891cfff6
Paths: Made a WII_SYSCONF_FILE path for the Wii configuration, and removed an unused variable
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2444 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-26 08:12:40 +00:00
tmator
0b8f7439cb
fix plugin dir on osx
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2443 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-26 07:24:50 +00:00
nakeee
4812f02b69
Revering stringutil (don't you hate it when ector is right?;)
...
And small compile fix on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2434 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-25 13:31:13 +00:00
nakeee
bec2a115d8
Added set and get in ini for comma seperated list
...
Also merged the StripSpaces with StripNewline and
cleaned it up a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2433 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-25 10:33:09 +00:00
donkopunchstania
b7c398574f
Memory pools are set up in core timing to avoid frequent calls to new and delete. This reduces memory usage and gives a very minor speed boost in windows debug.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2430 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-25 07:06:02 +00:00
nakeee
ab93b00385
Ported wxutils from soap branch (Should make launch and explore work in Linux and osx as well) please test on windows.
...
Fixed a compile bug and a small bug in the cdutils(thanks lp).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2420 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 19:31:32 +00:00
daco65
2d6a977dc5
made the menu display the drive path in a more common way instead of the NT device path
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2416 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 17:06:27 +00:00
nakeee
136dc45522
Forgot to svn add CDUtils
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2414 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 15:06:52 +00:00
nakeee
9b1f0f9083
Added cdutils which suppose to scan for devices in a portable way (ripped from cdio)
...
Changed the Code to use it instead of DriveUtil code.
Please test the code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2413 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 15:04:12 +00:00
LPFaint99
5dfbb9438e
Attempt at raw drive access for linux / osx, test please :)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2410 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 07:30:10 +00:00
fires.gc
595dc42dcb
added check if "file open dialog" changes the working directory. i dunno why but some times the file open dialog changes my working directory... the code is for further investigations
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2408 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 07:18:08 +00:00
omegadox
8c93e39ddd
Linux build fixes and some warning cleanup for GCC
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2406 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 05:20:52 +00:00
John Peterson
af225bc9d2
Last Commit (Threads and Stop): Another Linux build fix, hopefully it works now
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2404 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 04:54:00 +00:00
John Peterson
04def4f7b8
Last Commit (Threads and Stop): Linux build fix, I forgot to change the definition of the function there to
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2402 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 04:24:58 +00:00
John Peterson
5f4d304ebc
Threads and Stop: How about this? A timeout only for the shutdown process? That way the shutdown can either work anyway, or crash, which is simpler than having to open the Task Manager and manually end the deadlocked process.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2401 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 03:03:11 +00:00
hrydgard
042034f199
Restore proper functionality of events and thread waits. The arbitrary 5 sec timeout ( ??? ) broke stepping in the debugger.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2397 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 20:52:52 +00:00
facugaich
cd93093cc8
Fix: Memcard Manager dialog in Linux
...
Fix: IniFile's handling of CRLF in Linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2391 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 18:08:03 +00:00
nakeee
d43c22b8dc
Linux compile fix,
...
added SLEEP to common, please use this macro if really don't want to use the sleep in thread
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2390 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 09:54:12 +00:00
LPFaint99
473cd01181
UUpdate svn:eol-style=native ( r1438 ) for Source/*.h
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2385 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 06:17:57 +00:00
LPFaint99
578c402d2c
Update svn:eol-style=native ( r1442 ) for Source/*.cpp
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2384 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-23 06:15:48 +00:00
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
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
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
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
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
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
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
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
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
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
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
d3f7349692
pow is total overkill for x*x, introduce pow2 inline function to fix it.
...
fix a warning.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2323 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 22:17:26 +00:00