Commit graph

628 commits

Author SHA1 Message Date
hrydgard
e8b9e93465 DSP: Move the LLE core to a library. Added DSP assembler from gdtool, start cleaning it up. Create a new program called "DSPTool" which will become a more up to date replacement for gdtool from the devkitpro, automatically incorporating all our findings as we make them. This program depends on the new library. It can *ALMOST* roundtrip (asm->disasm->asm) hermes' DSP mixer at this point. Sorry about the unfinished Sconscript work - I'll fix it soon if nobody else does it first.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2955 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12 10:21:40 +00:00
hrydgard
0c4d4835ac DSP: Add cycles parameter to all Update functions in HLE, might be useful someday :p A couple more signatures for the idle skip detector. no big functional changes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2932 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08 18:36:53 +00:00
hrydgard
0fd2edbf98 DSP: Remove all mentions of the mysterious DROM. Write protect the ROMs and IRAM as much as possible while loaded (to make sure they don't get corrupted by some memory overwrite or whatever). Make instruction reads stricter - iram and irom don't wrap anymore (not 100% sure about this one). Misc cleanup + changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2904 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 18:47:21 +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
LPFaint99
956b06700d When searching iso directories subfolders, do not include folders multiple times
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2892 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06 06:58:00 +00:00
hrydgard
a583950f82 DSP: Unbreak disassembler (broken since 2866), commenting, logging changes, minor cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2878 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05 15:46:47 +00:00
Shawn Hoffman
f72d883340 enable old code to record unknown dsp opcodes to their own file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2862 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-03 22:23:15 +00:00
Shawn Hoffman
ccdec4308a really fix building without OAL, and disable it (for time being i guess) on windows...crazy non-static libs no one wants to deal with
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2811 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-31 03:58:47 +00:00
nakeee
ce7ee4d4a3 Small fixup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2806 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 17:45:35 +00:00
Shawn Hoffman
7cfd2b9999 add some docs to the lle-testing vcproj and try to shutdown the plugin without crashing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2794 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-30 06:28:15 +00:00
Marcus Wanners
711f08c29b Added support for dumping avi files (thanks baby.lueshi). Use Microsoft Video 1 codec for starters. Make sure to check the dump rendered frames box in the video plugin settings, or it won't work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2781 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-28 21:07:16 +00:00
Shawn Hoffman
da07d04da9 Add precompiled headers back...I like being able to compile in less than 2 hours, kthx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2780 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-28 17:50:32 +00:00
omegadox
eb0cab140f Some code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2768 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-28 08:57:34 +00:00
Shawn Hoffman
bdabcd4bf5 disable boot from drive when emulator is running (issue 781)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2767 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-27 23:07:28 +00:00
nakeee
8cfc832599 moved wavefile to audiocommon, you might need to add audiocommon include/lib paths to DSP-LLE on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2753 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-25 19:03:32 +00:00
Shawn Hoffman
c1679c0d9e replace SubWCRev.exe with a statically linked one... >.>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2735 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-22 22:11:27 +00:00
Shawn Hoffman
6a00d8bfde 32bit SubWCRev wouldn't work for me unless these libs were in the same dir... :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2731 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-22 17:09:12 +00:00
daco65
fb1ed107cf im guessing ector uses 64bit tortoisesvn. replaced with the latest 32bit SubWCrev.exe
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2727 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-22 12:00:58 +00:00
hrydgard
4dc6dd7db7 Upgrade SubWCRev to the latest version, so that we can successfully build even with a checkout from the latest TortoiseSVN.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2725 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-22 10:55:51 +00:00
nakeee
d88a10d55c fix time printing in linux
No idea why it should be needed though...


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2721 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-21 23:00:25 +00:00
hrydgard
d046b55d1b Change a bunch of project settings to reduce the flood of warnings you get when building in debug mode. Tweak bootup logging a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2706 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 22:54:59 +00:00
Shawn Hoffman
46c0e5b659 give ConsoleListener a ctor to initialize vars
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2704 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 22:21:04 +00:00
hrydgard
f5e643bf34 neato line coloring (time in white, rest colored)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2702 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 21:41:03 +00:00
hrydgard
866e393426 More log fixing: Write to Window checkbox added, fix some log levels again, clean some code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2701 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 21:23:36 +00:00
hrydgard
aa7fe1edee Fix DEBUG logging (didn't work!). Shuffle around the log levels to make more sense (now NOTICE is the top one and always on), the rest is ERROR, WARNING, INFO, DEBUG. Fix the log levels of a lot of stuff. Use macros instead of numbers for various log level checks.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2700 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 20:52:37 +00:00
hrydgard
6c4778287b disable the annoying deprecation warnings in debugfast
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2698 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 19:41:38 +00:00
hrydgard
482ea5c0e7 Make the OptimizeQuantizers option apply to the IL build. More cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2696 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 19:12:04 +00:00
Shawn Hoffman
eacb9ccd80 Improve behavior of the console window on windows. Remove coloring from logwindow for the time being. Now you can use wxGetApp if you #include Main.h, and GetCFrame, etc...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2694 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 18:25:36 +00:00
hrydgard
f126378de6 Don't log when File::Exist fails - that's just obnoxious. fix a const.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2692 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 17:22:55 +00:00
nakeee
ad76edd157 Fixed some log messages
Fixed a crash when no game ini exists


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2690 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 15:01:49 +00:00
nakeee
623671df7a making section names case insenstive
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2688 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 12:23:05 +00:00
nakeee
f22af37320 Trying to make gameini support some gl options
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2687 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20 11:51:22 +00:00
nakeee
70f75e1c99 Change the return value of panicyesno to true
It somehow escaped last commit


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2684 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-19 12:55:20 +00:00
nakeee
dc9a4860b9 Trying to make a button that disable panic alerts popups please test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2680 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-18 22:05:31 +00:00
nakeee
2d167fa3f0 remove some unused files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2678 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-18 20:24:08 +00:00
Shawn Hoffman
d72c35fffc more sane colors for the windows console
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2677 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-18 18:04:25 +00:00
Shawn Hoffman
a110a8caef add some colors to the windows console. feel free to change them/add bolding or whatever
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2676 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-18 17:51:09 +00:00
Shawn Hoffman
2301d072a6 nakee's new logmanager. added a console window for windows builds (prints to parent console on non-win32). also fix some random wxw bugs: main window's position is saved when using debugger, disabling windows from the tools menu are saved settings, some other small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2675 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-18 17:17:58 +00:00
Shawn Hoffman
34e8b88c8c fix Timer::GetTimeFormatted
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2659 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-15 05:34:35 +00:00
Shawn Hoffman
19921c057a fix annoying debug break in win32. some cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2639 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-10 05:43:18 +00:00
tmator
9635b50a35 fix main config dir on osx and autodetect ogl version when it build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2630 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09 10:43:56 +00:00
LPFaint99
f4ba5b3589 Some scons updates,
windows scons will build if dirs = 
    'Externals/Bochs_disasm',
    'Externals/LZO',
    'Externals/WiiUseSrc/Src', 
    #'Source/Core/Common/Src',
    #'Source/Core/Core/Src',
   # 'Source/Core/DiscIO/Src',
   # 'Source/Core/VideoCommon/Src',
    #'Source/Core/InputCommon/Src',
    'Source/Plugins/Plugin_VideoOGL/Src',
    #'Source/Plugins/Plugin_DSP_HLE/Src',
    'Source/Plugins/Plugin_DSP_LLE/Src',
    'Source/Plugins/Plugin_PadSimple/Src',
    'Source/Plugins/Plugin_PadSimpleEvnt/Src',
   # 'Source/Plugins/Plugin_nJoy_SDL/Src',
    #'Source/Plugins/Plugin_nJoy_Testing/Src',
    #'Source/Plugins/Plugin_Wiimote/Src',
   # 'Source/Core/DolphinWX/Src',
    'Source/Core/DebuggerWX/Src',

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2627 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09 00:36:59 +00:00
omegadox
9e3db8d1b5 1.] GL Textures dump to User/Dumps/Textures instead of picking a dir 2.] Some code cleanup in OGL plugin 3.] Added new dump feature "Dump EFB Target", its a bit unstable and needs a fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2593 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 09:29:25 +00:00
LPFaint99
3f44ccb75e eol-style native update, small warning fix in EXI_Channel.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2591 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 08:35:01 +00:00
LPFaint99
f0431631a8 fix some gcc warnings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2590 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-07 08:07:11 +00:00
hrydgard
02a4b49df1 just some compiler warning cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2562 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-05 22:35:06 +00:00
nakeee
0708677b53 Added LOGLEVEL support, release will now defined LOGLEVEL 2 (errors and warnings)
LOGGING should not be affected. 


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2550 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-04 22:29:03 +00:00
nakeee
e9430a0252 fixed crash on linux, added DISCIO logging type, some extra logging messages and some logging cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2533 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-03 00:21:08 +00:00
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
53060dff38 Trying to manually edit vcproj
Hopefully I can add/remove files manually there from now on


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2415 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24 16:05:09 +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
hrydgard
6cd34b318f The Mega Change Of Doom - or, fixing Stop. Almost. At least it's better than before. However, the OpenGL plugin seems to lose textures a lot between game restarts :P I think the GL plugin needs to do a lot more cleanup.
This change also includes tons of minor code formatting cleanup. Yeah, should've separated it ... sorry :(

Kills the old CPUCompare support. I'll resurrect it if I need it again, right now it mostly clutters the code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2321 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 22:04:52 +00:00
John Peterson
59734ddc86 Emulated Wiimote: Added game specific Wiimote cursor configuration. The IR pointer settings will be saved for the ISO id of the ISO that is loaded. This is necessary because there is no common way of treating the IR pointer positions. The IR data use a virtual resolution of 1024 x 768, but there is no consistency of where such a point is on the screen.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2314 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 03:13:22 +00:00
hrydgard
41ce35deb3 fix crazy codegen bug and unban R12 from register allocators
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2295 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:18:21 +00:00
hrydgard
1c1425a406 Assorted jit64-related bugfixes. Discovered and papered over nasty codegen bug. No, IL64 still doesn't work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2281 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 22:06:11 +00:00
John Peterson
9afd7fb620 Rerecording: Wind back the frame counter in the status bar when a save state is loaded. Issues: The frame updates do currently not occur as often as the input updates. The input updates occur more frequently, perhaps closer to 60 times per real seconds.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2274 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 07:17:34 +00:00
John Peterson
718aa585e2 Rerecording: Added frame step function and status bar for the input recording. Turn on frame stepping with Ctrl, step with Space. Build the Rerecording version with the setting in Setup.h.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2273 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 06:18:18 +00:00
LPFaint99
7d3e84c182 Preliminary support for having MasterKey for U/P/J and MasterKey for Korean wii games. Needs testing by someone who has a Korean wii game
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2272 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 06:17:21 +00:00
John Peterson
7c638f3a51 Emulated Wiimote: Added option to use Analog 2 for roll and pitch. Now you can use the regular controls on Analog 1 and roll and pitch on Analog 2.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2240 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 13:03:21 +00:00
John Peterson
94583cbab0 DSP HLE: Fixed a sound problem with a new Setup.h option. For some reason all the SoundSyncEvent->Set() caused a lot of static for me in Wario Land.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2236 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 01:07:20 +00:00
John Peterson
5be14f1b72 Core: It seems like different settings work on different systems. So I added a Setup.h file to allow local custom compilation settings. I avoided placing this in Common.h to avoid having to rebuild many files when the settings are changed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2208 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 17:41:38 +00:00
John Peterson
72424eeadc PadSimple: Added rerecording option in that the input saving counter it saved with the save state and rewinded when a saved state is loaded
Core: Tried to a address a semi-frequent hanging that would occur in single core mode and render to main frame

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2191 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 23:12:15 +00:00
hrydgard
5822e284f3 Add Release_JITIL configuration to use magumagu's JIT instead under windows (currently 32-bit only) (this is intended to be temporary). Add comment about crashes with JITIL in Burnout2 and Animal Crossing. Some warning disables and cleanups.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2145 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 13:09:58 +00:00
John Peterson
f610f7e197 Video and DSP plugin management: Fixed Stop and Start again, it was necessary to call FreeLibrary() on Start instead of on Stop, I don't know why but that's how it works
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2139 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 10:09:26 +00:00
John Peterson
fcdd2a8e17 Wiimote:
1. Fixed the dual mode. You should now be able to change between the real and emulated Wiimote at any time, even when the Nunchuck is connected. It also supports third party Wireless Nunchucks that never sends any calibration values. The Nunchuck status should be automatically updated. The Nunchuck stick may get stuck, but that should fix itself if you disconnect and reconnect again. The only important problems seems to be that the real Wiimote fails to answer sometimes so that the Core functions disconnect it.

2. Began looking at how to reconnect the Wiimote after an unwanted HCI disconnect command

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2129 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 03:16:41 +00:00
hrydgard
81631d8452 Nothing important, just cleaning my dev folder. (mostly formatting changes, removed a superfluous strlen from logging in ogl plugin)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2126 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 18:04:24 +00:00
XTra.KrazzY
77215fd27c Joined work of nakee and mine, cleanup the logging code a bit.
This solves the random __Log symbol and crash problem on linux
Please tell us if you find problems in the logging code


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2109 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 15:28:39 +00:00
John Peterson
cf303e70e9 Wiimote: Show the decrypted Nunchuck calibration values in the log when a real Wiimote and Nunchuck is used. Fixed an earlier bug that made the neutral emulated nunchuck accelerometer values zero, now they are back to 0x80,0x80,0xb3.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2104 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 06:40:05 +00:00
Shawn Hoffman
5f0ae71fd1 relocate the mainram dump to the dump dir
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2101 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 03:17:29 +00:00
John Peterson
220eafad0e Wiimote: The first working IR recording, use Alt + the numerical HotKey to play back the IR data associated with a recording
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2078 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 00:59:26 +00:00
Shawn Hoffman
cfc128abff reorganize SI and EXI interfaces, add a gui for picking devices. XK, that was annoying. Now, you can deal with SI_Channel. This commit changes how memcards are handled a little, now they are .REGION.raw, like .USA.raw, and can be in any dir.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2075 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 22:29:33 +00:00
hrydgard
411fdca4fd kill useless unit testing framework that doesn't work :p
might make or add a better one later.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2053 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 14:21:08 +00:00
nakeee
529bf35d6a trying to clean all plugins on shutdown
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2047 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 23:47:45 +00:00
nakeee
f8064316b1 Some code clean up
console now prints to file and stderr on windows someone feels like creating a wxw version?



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2046 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 21:49:06 +00:00
Shawn Hoffman
b4158a28ee cross-platformize strncasecmp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2029 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 02:13:36 +00:00
John Peterson
946fb12752 Wiimote: Partial work on movement recording (not working yet)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2021 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:09:08 +00:00
nakeee
356db07cbf fixed compile,
fixed crash,
added panicalert`


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2017 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 16:27:01 +00:00
John Peterson
3c4a73d5a6 Core and PluginManager: Fixed Stop and Start again, the video plugin needed to be completely reset
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2012 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 01:14:04 +00:00
memberTwo.mb2
2a13bedfc8 break my BOOLs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2002 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 22:02:27 +00:00
memberTwo.mb2
1e7655b5db 1) XFB in DC proposal. This impact video plugin interface. WARNING: XFB_Draw is not CPU->VI dependent anymore. It's up to GP now. Except for some 2D homebrews which never use GPfifo&CP but direcly XFB. Well, in other words: emulated VSync is uncorrelated with CPU timings now. Tell me if it's too much hacky.
2) DC/GPfifo work: GP quicker to react. PeekMessages at a more steady rate.
3) Fix XFB address to avoid crash like with Animal Crossing gc. TODO: VI regs need proper typedef and logic.
4) Few misc. changes on the fly.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2001 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 14:43:17 +00:00
John Peterson
fa7e857161 nJoy: Readded some fixes to nJoy (Notice: these changes have nothing to do with the argument earlier. These are only for fixing nJoy (point one and three in the 1991 revision)). Now opening the Wiimote plugin doesn't crash either (it was just a typo in GetWiimote()).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2000 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 12:09:30 +00:00
omegadox
8f98f0b778 Some warning and code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1998 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 00:45:46 +00:00
hrydgard
70bc8167f8 Warp back to 1983!!! (rev 1983, that is, not the year :P)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1997 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 21:28:55 +00:00
John Peterson
63ad74f9e8 nJoy and PluginManager:
1. Avoided LoadLibrary() and FreeLibrary() in favor of using an existing LoadLibrary() because of an unresolved crash related to LoadLibrary() and nJoy. After several times of LoadLibrary() and FreeLibrary() of nJoy these seems to be some kind of memory corruption that brings up several error boxes from different places (not just nJoy) and then cause a crash.

2. Slowed down the moving of the pad initialization to InputCommon. I'm not against InputCommon at all, but I have to spend some more time with it before it works on Windows

3. Partly fixed a somewhat frequent failure of nJoy with SDL 1.3 that would give a strange DirectInput error message and cause the pads to not function. It's still present before the nJoy config windows is opened. It's only fixed on booting a game.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1991 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 10:00:59 +00:00
nakeee
87bfe821eb Added input manager handles the sdl init/quit for now
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1984 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 22:32:57 +00:00
John Peterson
e332e18ce6 nJoy and SerialInterface: Fixed the crashes with MAXPADS more than 1, the downside is that it doesn't work well one the second boot
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1980 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 11:18:46 +00:00
hyperiris
b71d92126d Debugger: add a tiny function, dump main memory to a file, mainram.dump in .\User\Cache\,
this is for ram data analysis, open the dump in hex/tile editor we can do something...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1973 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 17:02:01 +00:00
hrydgard
8f0ca9998b Remove some unnecessary includes, clean some ////////
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1961 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 18:45:43 +00:00
hrydgard
c64bae837f Initial work on F-Zero - map & gameconfig. Far from playable - wacky math errors. NOTE: The game only boots if you disable LoadStore in the debugger window menu.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1941 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 21:42:24 +00:00
John Peterson
8f40075f8f nJoy: Fixed the analog trigger buttons
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1934 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 17:47:00 +00:00
John Peterson
4a88f31ddb nJoy: Preparation for fixing the digital pad and the analog triggers
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1928 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 05:49:25 +00:00
John Peterson
d60fea1d99 SerialInterface and pads: Allow MAXPADS lower than 4
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1923 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 03:45:28 +00:00
nakeee
38f8221bfc reverted 1914, but updated the default handler instead
windows now suppose to use it until we fix the debug window


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1915 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-18 08:47:24 +00:00
magumagu9
0099b5c957 Misc Linux build fixes in the wake of r1887; still doesn't work right
because Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Logging.cpp appears 
to be missing, and I haven't looked at the fallout of r1884 yet.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1897 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 19:59:20 +00:00
John Peterson
86891bcf09 Recent commit: Missing file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1895 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 18:15:00 +00:00
John Peterson
ae9cfbd8e3 Common: Moved Windows console functions to common
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1887 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 14:28:09 +00:00
John Peterson
2bc791a173 Common project: Added Plugin filter
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1883 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 08:05:11 +00:00
LPFaint99
7afc53c3a1 Revert r1861
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1879 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-16 02:58:34 +00:00
nakeee
5d230ee9ab compile fix
(event handler works on linux with gltest and padsimpleenv)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1877 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 11:46:09 +00:00
Shawn Hoffman
ba8c2aa7e4 nakee's work on dolphin events. Also get wxw out of logmanager. This commit wants your comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1875 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 06:48:15 +00:00
Shawn Hoffman
1ba2708bbd put the handy items on the first page of ConfigMain. Fix for plugins not loading on first boot. We should figure out how to get a pointer to the main app (see OGL main.cpp line 118)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1870 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-14 16:36:43 +00:00
LPFaint99
f1a3bc1397 Move #include <window.h> from all files that include it and common.h to common.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1861 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-13 04:23:26 +00:00
XTra.KrazzY
3a64c36c66 fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1850 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-11 13:25:05 +00:00
XTra.KrazzY
9d9de41c0a Printf compile warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1849 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-11 13:05:43 +00:00
daco65
726fd4baf0 fixed thread.h building and moved the pluginmanager from windows as well
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1841 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-09 13:24:55 +00:00
bushing
969496d93b properly support POSIX threads kthx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1838 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-09 12:10:02 +00:00
hrydgard
4916bf54b6 rollback 1829. Seriously, WTF?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1831 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-09 00:09:07 +00:00
tinctorius
e94ba056b6 Removed unused code, removed inclusion of unused headers.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1829 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-08 22:31:02 +00:00
nakeee
3a9eeeb144 addded the setdllglobals function to the specs
(no failure maybe warning on symbols


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1825 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 22:07:51 +00:00
John Peterson
fa27a97fbb Wiimote:
1) I fixed the emulated Nunchuck in Zelda - TP, however I chose the minimum workable delay time that worked in my PC, in fact it's so short that the Nunchuck still fails sometimes. If you have a very fast PC or something like that so that the Nunchuck still don't work please let me know.

2) I also made the Wiimote work after Stop and Start

3) I changed /Dev/USB to initialize the emulated Wiimote directly after ScanEnable, not wait for any countdown

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1814 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 02:59:19 +00:00
John Peterson
0e9689a1a8 Build Settings: Added DEBUGFAST Preprocessor Definition for the DEBUGFAST Configuration
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1803 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 04:54:18 +00:00
John Peterson
b7f1e937bb LogManager: Opt out of <wx/datetime.h> even if you have wx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1765 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 16:52:28 +00:00
magumagu9
412626c327 Add CVTPS2DQ implementation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1759 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 08:29:47 +00:00
magumagu9
dbd9d5fb2d Fix assembly of 16-bit immediates.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1732 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-02 04:34:23 +00:00
magumagu9
2e58a5bef0 Slightly shorter version of 16-bit BSWAP.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1726 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-31 20:46:55 +00:00
magumagu9
05df5c8f3f Minor fix to rotation helpers so they don't do undefined shifts.
Probably not a big deal realistically, but better to be safe than sorry.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1725 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-31 20:42:23 +00:00
nakeee
b46d1d403a unexplained warning fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1722 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-30 19:12:04 +00:00
bushing
20e14bebc4 implement ScanDirectoryTree for POSIX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1710 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29 02:11:56 +00:00
John Peterson
5e5e507121 nJoy: Enabled keyboard input (only for buttons so far) through wxWidgets in the main application. It only works when you render to the main window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1706 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-28 18:50:24 +00:00
nakeee
f514f161b5 stop blamming SDL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1704 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-28 16:05:07 +00:00
hrydgard
6c916151ab Split out the shader caches into their own files. The goal is to eventually be able to move the "Managers" to VideoCommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1681 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:23:59 +00:00
hrydgard
fa9f5c44fb More code movin' .. split Vertex/Pixelshadermngr into xxCache and xxManager.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1677 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 10:43:18 +00:00
magumagu9
be4c7e1399 Add a helper to make zero-argument calls from an aligned stack
correctly.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1663 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 22:10:36 +00:00
magumagu9
b92c831857 Reverting r1650. I don't think this change is the right approach: it
actually ends up *misaligning* the stack for the normal ABI_CallFunctionC
and friends.  I'll try to help come up with the correct fix; look for
another commit in a bit.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1662 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 22:05:22 +00:00
hrydgard
dcc48d6c41 just a bunch of random code cleanup i did on the train bored, plus a d3d implementation of NativeVertexFormat which isn't actually used yet.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1658 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 15:56:36 +00:00
bushing
34b92fe7c5 We need to be more careful about stack alignment on Darwin. These patches
fix the alignment of gcc-generated code (as opposed to JIT code).

There are probably more places this is needed :(


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1651 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 02:53:56 +00:00
bushing
84711122ee Linux may not care, but Darwin will barf if we don't actually
align the stack on the code we generate.  Fix some existing code
to do what the comments claim it already does, and then actually
use that code. :)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1650 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 02:24:46 +00:00
nakeee
02ce244d52 Should this fix compile on linux64?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1618 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-21 14:40:43 +00:00
magumagu9
7ad6b0b5bb Add a missing include; this was causing a crash on 32-bit Linux because
the _M_IX86 define was getting missed when this was included in 
JitAsm.cpp.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1598 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 06:41:15 +00:00
hrydgard
347fc18542 misc cleanup, bugfix for x86 display in jit window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1596 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 22:21:29 +00:00
hrydgard
104acd5bc1 Turn the X86 emitter into a class, so the code pointer is no longer a global, yay! Created XCodeBlock that derives from XEmitter, and the Jit now derives from XCodeBlock so it can call all ADD SUB JNZ etc without having to prefix them with "emit.". I think someone's gonna like this.
There's some cleanup still to be done, but hey, it works. There shouldn't be a noticable speed difference.

I hope GCC doesn't have a problem with the "member function pointers" I used.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1594 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 21:24:52 +00:00
nakeee
db15121b5d Some cleanup Should affect windows tell me if it does
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1592 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 11:46:52 +00:00
nakeee
2bb169ce37 Moved the wx anti debug flag to scons
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1591 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 09:36:27 +00:00
Shawn Hoffman
3d9c903a3b fix crash due to AR, remove LOGGING from Common.vcproj (Why won't njoy test build in debug?!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1587 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 16:06:27 +00:00
magumagu9
97e01e31d0 Some small emitter enhancements; I was originally planning on actually
using these, but I changed my mind.  They could potentially be 
useful in the future, though.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1574 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 06:46:32 +00:00
nakeee
e6424f750b scons changes
added fastlog flavour with LOGGING and -O3
changed debug to include _DEBUG
changed devel to include DEBUGFAST
for now wxonassert is disabled as I couldn't make it work


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1571 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 00:37:24 +00:00
Shawn Hoffman
0159a027e4 remove a line that was meant to be temporary. I tested a bunch of times, and couldn't get it to hang.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1567 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 18:20:41 +00:00
nakeee
62d44c9166 Clear errors, fixed unload on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1566 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 17:49:38 +00:00
nakeee
fb3c13588b compile fix for windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1565 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 16:24:03 +00:00
nakeee
eea2f0520b code clean up, for dll loading, note that this didn't add new errors
just made old one visable, so complains about DllDebugger and missing symbols
should be refered to the one who added the symbol without making sure the plugin actually has it.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1564 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 15:34:27 +00:00
nakeee
2a2a83b7c8 small clean up
enabled njoy_test


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1563 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 10:30:44 +00:00
Shawn Hoffman
4a5d9ded94 namespace-ified ActionReplay, and made ISOProperties use the existing AR code. bonus: encrypted arcodes are saved as unencrypted codes just by closing the isoproperties dialog. also added ARCodeAddEdit, but once again, it only views entries atm. some misc wxw cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1560 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 04:14:24 +00:00
hrydgard
af501556b3 Comment out slightly annoying error message - not even sure that creating a directory that exists should be called an error.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1558 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 00:57:55 +00:00
nakeee
b0f17043bd new MsgHandler replacing common
Most things moved to macros



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1542 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 22:00:18 +00:00
hrydgard
0412d0811a Fastmem for linux. Not yet activated, Cg goes nuts, for some reason.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1534 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 18:25:33 +00:00
hrydgard
522752c77d small speedup of logmanager, minor logging improvements, misc code standard improvements, replace a crash with an error message in ppcanalyst
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1521 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 16:58:06 +00:00
memberTwo.mb2
82cd659638 Fix time in some games (AC and ZWW at least). Many games doesn't use RTC but TBRs. So a TB offset is initialized at boot with localtime now. There are, indeed, side effects since time is CPU cycle dependent in this case.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1519 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 11:57:01 +00:00
omegadox
8149e1481a revert
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1511 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 11:27:50 +00:00
omegadox
2c9f66e3b2 some fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1508 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 10:33:02 +00:00
omegadox
45201abb9e PanicAlert, PanicYesNo, AskYesNo now use wxMessageBox. Also some very minor fixes in Fill'N'Slide.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1506 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 08:47:13 +00:00
daco65
607f5b289f build fixings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1500 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-11 15:12:17 +00:00
nakeee
aa9b2e1073 forgot 2 files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1495 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 23:41:33 +00:00
hrydgard
0ad52a4fee Workaround for StringFromFormat-under-linux problem, random cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1491 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 22:36:26 +00:00
Shawn Hoffman
514826f282 Fix up wxw asserts and exceptions caused by: the "booting..." msg, hacked up tooltips in the debugger, and the staticbitmaps in wiimoteframe.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1479 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 08:57:57 +00:00
hrydgard
0e47a7986d Fix filesize computation broken by XtraKrazzy in R1405
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1468 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 22:54:57 +00:00
hrydgard
d01e05b7b5 make all disassembler calls threadsafe .. hopefully.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1462 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 21:24:12 +00:00
John Peterson
fee145244c Wiimote: Added optional status icons for the Wiimote speaker and leds. And a few other small changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1455 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 05:37:15 +00:00
John Peterson
5ede71fb84 Turned on logging with debugging in windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1453 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 03:14:44 +00:00
bushing
8566df386b oops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1449 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 11:59:51 +00:00
bushing
f0758fc3e2 begin using GetUserDirectory()
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1448 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 11:34:26 +00:00
bushing
d26dabd3b9 redefine LOGV macro to avoid use of __Logv -- makes compiling easier
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1446 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 09:56:05 +00:00
bushing
cda50a3a82 add missing include
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1445 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 09:55:02 +00:00
bushing
49cfded60b set svn:eol-style=native for **.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1442 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 05:30:24 +00:00
bushing
30c883bcfc set svn:eol-style=native for **.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1438 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 04:46:09 +00:00
bushing
0ab3ee9dfb Teach Dolphin that dynamic libraries end in .dylib on OS X
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1434 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 03:13:06 +00:00
John Peterson
9e0439a193 Elf loader etc: Added command line elf loader so I can build and run homebrew with F5, use it with -e file.elf. Made some comments towards finding why lwbt fails to complete the HCI negotiation. I found that it worked in revision 800 so I will try to figure out what broke it along the way. Made some other small changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1432 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 00:25:01 +00:00
John Peterson
3b20086dc3 Fixed Homebrew again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1423 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 10:51:48 +00:00
John Peterson
9d9c2fc983 Wii IOS: Some comments, logging changes and other small changes, no noticeable effects except that the MP3 WiiConnect24 error message has changed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1422 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 10:15:36 +00:00
nakeee
fd0cb4afaa missing define
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1421 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 07:06:25 +00:00
Shawn Hoffman
e7dacb5655 cleanup: delete old files and don't use SanitizePath where it's not needed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1416 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 00:12:15 +00:00
bushing
7b2e74b6fe Dolphin can now be built on OS X using Xcode instead of scons.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1410 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-06 03:31:24 +00:00
bushing
14ff55d13b add support for GCC 4.0
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1407 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-06 03:17:42 +00:00
Shawn Hoffman
5c805163bf replace per-platform DIR_SEP and DIR_SEP_CHR with "/" and '/', cleanup some wii fs things, made CWII_IPC_HLE_Device_fs::ExecuteCommand DELETE_FILE also delete the device if it's a dir.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1406 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-05 20:00:34 +00:00
XTra.KrazzY
116509985a More portable file management. Verify on linux and check Wii's un-save-able games.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1405 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-05 17:04:15 +00:00
nakeee
064d45024c (requires review for windows/mac)
Fix up so that various libraries wont be fatal for build with scons
wiiuse lib is used only if HAVE_WIIUSE is defined to 1 
made major cleanup for darwin and osx64


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1404 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-05 13:46:19 +00:00
memberTwo.mb2
f66b7999d8 Fix windows build. Fix InterlockedIncrement for old gcc. TOTEST on linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1394 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 13:43:03 +00:00
nakeee
2e9ffbc136 query replace mistake
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1393 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 12:07:38 +00:00
nakeee
c6e1418ab3 forgot a file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1392 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 11:59:03 +00:00
nakeee
b64877d464 merged windows/linux atomic operations,
please test on windows


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1391 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 10:58:45 +00:00
nakeee
a37376f1cd removed old logging left over
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1387 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-03 21:35:36 +00:00
nakeee
751124bb68 small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1369 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 15:41:02 +00:00
John Peterson
159d33a251 FileUtil: Fixed CreateDirectoryStructure(), I don't think you can use double quotes "" in find, it must be ''
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1368 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 12:18:50 +00:00
nakeee
e6022acf26 small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1364 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 08:34:51 +00:00
fires.gc
df6cc66d87 added GetCurrentDirectory function
some times "something" changes the current directory if you open a file with the file browser dialog...
i need this function to investigate the problem :)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1357 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 06:46:50 +00:00
nakeee
7df394955c use DIR_SEP
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1347 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 17:23:38 +00:00
nakeee
b46152cdbd few more small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1337 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 13:39:11 +00:00
nakeee
cf2468ec4d linux fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1335 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 11:19:05 +00:00
John Peterson
852c6aaca1 Create a dir for setting.txt to
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1328 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-29 09:54:39 +00:00
John Peterson
409720b91a Wii IPC file handling: Made some comments and changes to try to locate the Mario Kart and SSBB errors, in case they are file handling errors
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1327 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-29 08:49:22 +00:00
nakeee
8777917177 warning fixes
(may break sound on wii, look in the changelog of 
Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AXWii.cpp
if you wish to know why)



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1306 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 19:42:22 +00:00
nakeee
d0cd722e81 some cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1303 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 17:16:54 +00:00
gigaherz
3f52c69513 Added some ugly shitty code which will let ppl paste the masterkey in hex into a masterkey.txt file and let the emu convert it to binary.
Feel free to make it nicer if you want to.
Requested by ector.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1300 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 02:07:29 +00:00
nakeee
4dd91ec191 fix getsize on 32 bit linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1288 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 17:31:30 +00:00
memberTwo.mb2
0f13d327b8 DC + fifo: small fix/correction ;). Remove old stupid OnIdleDC stuff. Interesting: DSPnull with DC + IdleSkipping show invalid read addr sometimes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1286 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 16:33:38 +00:00
hrydgard
5c58227702 Optimize vertex loader with a mini JIT (only first step, more optimizations may follow). Some various error message and warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1276 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 17:46:14 +00:00
hrydgard
f87c709aa9 Added speed hack engine (way to make block take more cycles). Added example speed hack for Metroid Prime 2 PAL. (Speedhacking is only useful on games with really stupid idle loops, like the Metroids).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1271 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 12:59:10 +00:00
nakeee
6e4a5d8cda Moved wiimote_test to wiimote
Some linux compile fixes


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1266 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 08:44:02 +00:00
omegadox
441072d31e 1. You can now toggle cheats with the ISO properties GUI.
2. Added "SetLines" function in the IniFile class.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1264 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 05:55:48 +00:00
magumagu9
05058b9684 Another Linux build fix.
Also, some trivial changes I'm too lazy to separate out.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1249 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:20:14 +00:00
XTra.KrazzY
159e3f5b49 Fixed saving/loading states in OGL plugin.
Turns out the BPReload function is written plain wrong. Also, most chances are that the state will load correctly when not reloading the BP (not now though).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1247 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:06:20 +00:00
XTra.KrazzY
145f80fc00 Committing magumagu9's work on IMUL JIT
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1241 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 12:10:35 +00:00
nakeee
2ad407e477 added linux support for fileutils
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1225 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 13:37:57 +00:00