Commit Graph

6622 Commits

Author SHA1 Message Date
hrydgard 7de995c00c Even more code reorganization + first step towards being able to single step directly in JIT mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1609 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 17:22:30 +00:00
hrydgard 01598750b9 Cleanup the breakpoint code a bit, fix updating the breakpoint window when clicking in the bp column in the code view.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1607 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 14:00:33 +00:00
hrydgard 66853d6f1b Fix 32-bit lmw/stmw (well, disable). Merge the two dispatchers.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1606 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 12:46:14 +00:00
hrydgard 614dc1069e More code reorganization.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1605 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 12:10:59 +00:00
hrydgard f0bb8f430a small build fix in debug mode, misc cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1604 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 11:20:47 +00:00
hrydgard 4f4edc05a0 stfsx is now implemented in 64-bit, too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1603 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 11:18:23 +00:00
hrydgard 7adccb616f Implement lmw, stmw in jit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1602 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 11:15:03 +00:00
LPFaint99 c652c5e1f0 a few more changes, you can now set a default memcard to load, error messages made a bit more clear
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1601 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 08:47:38 +00:00
LPFaint99 c695ebd6f1 simplified EXI_DeviceMemoryCard.cpp,
warning fix for WII_IPC_HLE_Device_usb.cpp,
codecleanup and added the ability to create a formated
16Mb memcard in MemcardManager,
calibrate button is now easier to read in nJoy Testing

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1600 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 08:07:04 +00:00
magumagu9 a2a8be006a A couple of minor Linux compile fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1599 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 07:13:38 +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 c4f27aaae1 Avoid GetCR/SetCR in the cr bitwise ops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1597 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 22:46:28 +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 cd62fc5c0c Some stats for the jit window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1595 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 21:35:57 +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
nakeee 54c6a624ea fail array was too small
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1590 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 23:38:07 +00:00
nakeee 27dce100f3 removed wxcode from core.
Note that while that now logs will not have the date in natural format.
it will have the standard sec since epoch notation. Which is faster to log, and not wx depended.
 


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1589 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 23:02:19 +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
nakeee f80639218f small compile fix for previous commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1586 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 15:10:23 +00:00
hrydgard b8f619550d add ppc disassembly to jit results viewer windowTurn the JIT into a class. Indentation cleanup will be in a separate CL, and the block cache will later be split out into its own class. Cannot detect any speed difference whatsoever - the games spend 99.9% of their time in already jitted code anyway. I have a good reason for doing this - see upcoming changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1585 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 13:21:02 +00:00
nakeee 74c1950495 Adjusted to fit some gcc weirdness
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1584 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 11:51:11 +00:00
hrydgard 772a29df28 add ppc disassembly to jit results viewer window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1583 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 11:09:03 +00:00
hrydgard 8cba6d933c remove a useless #define
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1582 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 10:52:55 +00:00
hrydgard 50d72c1e59 Remove global state from PPCAnalyst.cpp. Little bit of cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1580 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 10:44:03 +00:00
hrydgard feb8dc7e6b fix 64-bit build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1579 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 10:42:37 +00:00
magumagu9 af378dd111 Fix/enable JIT for ps_muls0/ps_muls1.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1577 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 09:39:05 +00:00
magumagu9 b43725d35f More JIT functions. Specifically, implementations of lfd and stfd for
those of us on 32-bit without SSSE3, and an implementation of stfsx 
(32-bit only at the moment, but should be easy to fix up for 64-bit).



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1576 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 07:10:10 +00:00
magumagu9 b3389c593f Implement some more JIT functions. If only all functions were so easy
to implement :)



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1575 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 06:58:12 +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
Sonicadvance1 8e127c38e2 Bit more BBA work. Still no idea what I'm doing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1569 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 22:55:03 +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
magumagu9 ea2045e536 A couple of compile fixes; standard string screwups.
I'm also running into an error in Source/Core/Core/Src/MemTools.cpp, but 
I'm not sure what the right fix is there.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1562 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 09:46:32 +00:00
Sonicadvance1 0944564cf0 Some more minor work on BBA, Seems I need a virtual network device sooner than I thought. Such a pain.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1561 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 09:11:03 +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
bushing 1e774a5db2 Added register struct defs for non-linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1559 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 02:08:11 +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
Sonicadvance1 5241b51d5f More work on BBA. Endianess problems are yes. I have no idea what I'm doing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1556 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-16 07:24:04 +00:00
Sonicadvance1 f2686589e9 Just a few spelling mistakes in both the DX9 and GL shader, probably won't change anything for games, but it's best to be correct in the code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1555 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-16 03:34:06 +00:00
hrydgard b3fc3b16da small ps bugfix and another couple of instructions implemented
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1553 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-16 00:21:17 +00:00
hrydgard a4fc0da8cc activate code reordering for better branch merging... it seems to work :P let me know if this breaks something.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1552 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-15 23:11:42 +00:00
hrydgard 3de4df29a3 merge cmp/branch when possible. smaller than expected (nearly unnoticable) speedup :P slightly bigger if you enable line 291 in ppcanalyst.cpp, but that's not fully tested yet.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1551 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-15 22:57:11 +00:00
hrydgard 060523a805 Consolidate all jit integer compare ops into one function.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1550 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-15 21:05:37 +00:00
hrydgard a44c421d01 Somewhat faster CR flag storage. Doesn't really make that much of a difference - but opens a possibility to merge cmp instructions with their following conditional branches in an efficient way.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1549 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-15 20:41:59 +00:00
hrydgard 5c831a934b More CR usage cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1548 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-15 19:40:12 +00:00
hrydgard 866d4e6bc8 Consolidate some compare instructions in JIT, preparations for separate CR flag storage, misc other cleanup in cpu core.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1547 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-15 19:22:34 +00:00
hrydgard 7790afb1f3 add (disabled) instruction reordering pass to PPCAnalyst. intent is to move cmp instructions towards their conditional branches, and merge them wherever possible.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1544 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 23:22:56 +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 a46392f243 linux build fix, hopefully
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1541 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 21:55:10 +00:00
hrydgard 64a74c2ba4 Only initialize the Wiimote plugin if booting in Wii mode.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1535 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 20:01:01 +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 bddc78383e Fullscreen option temporarily removed from Linux build since it doesn't actually work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1533 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 17:37:59 +00:00
hrydgard 7eefb7743b Get the "MemTools" and backpatching code to build on linux. Not yet activated.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1532 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 17:29:13 +00:00
memberTwo.mb2 b5b43f9408 Change PanicAlert for _dbg_assert_msg_ in case of PI_RESET_CODE (i122).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1530 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 13:55:12 +00:00
nakeee 03088eee2f returned WXpanicalert
it should be extended to get a message
and the code in common.cpp cleaned up


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1529 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 12:30:37 +00:00
hrydgard 162351d832 Fix a number of bugs in the ppc disassembler, causing valid instructions to show up as (ill). Also fix some broken indentation. Plus a panicalert for illegal instructions in ppctables. Remove some deprecated compiler flags.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1528 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 11:57:35 +00:00
nakeee 2c66b9d36f wxgl fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1524 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 22:40:10 +00:00
hrydgard f225f92f4d Tatsunoko has DVD trouble. This prevents it from corrupting RAM. This doesn't make the game work, though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1523 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 19:55:04 +00:00
nakeee 3c2a41c290 linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1522 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 19:49:19 +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
LPFaint99 d1712f15ca MemcardManager and GCMemcard fixes/code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1518 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 11:30:00 +00:00
LPFaint99 984a3ad699 Disable ETH device so that games that use it do not crash, mariokart GC should boot now. thanks to Chilango for testing the fix. Also rearange functions in GCMemcard to a more logical order
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1517 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 07:07:52 +00:00
hrydgard 4e1e220e71 Cleanup, some BOOL removal. tested to work, unlike a certain other change :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1515 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 17:59:33 +00:00
hrydgard 537cf69cce Revert 1513
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1514 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 17:36:12 +00:00
nakeee 8fa5b24472 made BOOL into s8
I tried hard not to break windows code but please check


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1513 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 12:56:11 +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
nakeee 13acef8793 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1509 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 10:42:18 +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
omegadox ffae8c51d6 Fill 'N' Slide fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1505 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 08:12:09 +00:00
LPFaint99 3e33e06844 memcardmanager: lots of code cleanup a few minor fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1504 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 07:14:37 +00:00
omegadox b743aad2a5 Added Action Replay logging support to the AR window and possible Fill 'N' Slide fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1503 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 06:44:02 +00:00
Shawn Hoffman 66536235e6 compiletime warning fixes, possible wxw crashes fixed, disable build of njoy_test until it's more mature.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1502 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 03:38:50 +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
LPFaint99 cf987d255d Memcardmanager fixes. Fix for missing return values in switch statement, fix for return value from importfile
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1498 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-11 06:20:39 +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
nakeee 900407c1fe scons osx cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1485 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 18:33:13 +00:00
Shawn Hoffman 761dfca9ed add bba to windows build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1482 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 10:15:40 +00:00
nakeee f82ee1faa6 first time I had to remove wxT() to make it compile:)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1481 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 09:57:15 +00:00
Sonicadvance1 6b6aa1bb17 Adding Current BBA code. Very much thanks from Masken of Whinecube. Doesn't work yet, so it's disabled saying it's not present. Byte swap problems for it not working? Will continue working. Someone in Windows needs to add the files to the project.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1480 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 09:46:44 +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
LPFaint99 4f40c79345 Adds a right click menu options to memcard manager, whether to use pages\ how many saves per page, which columns to show/hide
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1476 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 02:41:55 +00:00
Sonicadvance1 c889d03829 Use MIME type as backup to extension, just in case extension fails.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1470 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 23:27:08 +00:00
Sonicadvance1 05d2e470bf Made opening the ISO file more safe, so it doesn't seg fault when it can't find the filetype from extension and etc.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1469 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 23:19:44 +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 e450578710 TLB hack plus some project changes. I only get a Konami logo though in MGS. Sonic1, plz fix :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1467 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 22:20:50 +00:00
hrydgard f51a08c604 fix nogui build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1466 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 22:08:40 +00:00
John Peterson 61f6c097f4 Wiimote status: disabled logging
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1463 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 21:46:12 +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
hrydgard 6bf333c893 Remove WX stuff from core (boo!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1461 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 20:33:40 +00:00
nakeee 736409632e compile fix on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1460 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 18:10:16 +00:00
John Peterson 7f7f4e8ac2 Build settings: Fixed the win32 Release linking with a /NODEFAULTLIB:msvcrt.lib, DebugFast still doesn't link
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1459 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 17:07:26 +00:00
John Peterson 743a12f53e Made the Wiimote status go away in GC mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1458 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 14:57:55 +00:00
John Peterson 5c75ba6177 Fixed DebugFast wxAdv28 build to avoid wxOnAssert linking errors
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1457 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 14:07:51 +00:00
John Peterson 3c63813971 Fix to commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1456 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 05:41:55 +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
Shawn Hoffman 668337eb84 convert the register window to wxGrid, allows multiplatform colors. fix wxw debug build error msg.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1454 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09 05:29:14 +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
hrydgard b3421467ad add support for all seek modes (wii nand file i/o)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1451 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 22:02:06 +00:00
memberTwo.mb2 9d3d76837e Fix logging at startup (i383).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1450 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 21:38:38 +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 6f21c69828 Look for plugins in Dolphin.app/Contents/PlugIns on OS X
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1444 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 09:53:38 +00:00
bushing 05e9ae0f6f chdir to ~/Library/Application Support/Dolphin on OS X, to place our user root there
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1443 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 09:52:30 +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 bbb98d8e2e testing svn:eol-style=native on one file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1436 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 03:32:03 +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 f5fa53a397 Fix to last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1433 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 01:55:43 +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
nakeee 7f00e271e5 some nowx fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1431 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 22:42:49 +00:00
nakeee a683d2f5d3 no need for dis. It's done by wx (and the function is not portable)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1429 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 21:57:51 +00:00
nakeee cd24b37924 can run dolphin by double clicking (osx)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1428 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 21:13:26 +00:00
nakeee fcfb8ffdd5 some scons fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1425 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 17:09:40 +00:00
nakeee 3f4d2633dd ULL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1424 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 16:15:46 +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
nakeee 98f40d80b7 a not that is not suppose to be a not
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1418 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-07 00:28:00 +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
John Peterson 5a3ee9d7af Fixed the flashing problems in MP3
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1413 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-06 11:13:57 +00:00
LPFaint99 5712a74ffd Fix for memcard manager, now exporting and copying, deleting saves on pages other than page one will work correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1412 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-06 09:29:44 +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 e0f1a3b9cf don't include stdafx.h on OS X
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1409 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-06 03:19:25 +00:00
bushing 3edc2bfdfa make blend50 portable
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1408 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-06 03:18:10 +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
Sonicadvance1 be3094b6b3 Hey Look, Register window in Linux works now! Maybe we should use the same method for Windows, instead of the OS specific one? Also, I will probably make a window similar to this for video registers, so I can debug them. Fun for all!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1403 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-05 06:01:53 +00:00
memberTwo.mb2 bc3a7bdce3 Better tlut hash for fixing MPs font. Didn't notice any slowdown for now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1402 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 22:55:17 +00:00
memberTwo.mb2 83e4bd2e5f Fix MP1 & MP2 texture font issue. Not very robust but the general idea is there :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1401 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 20:21:32 +00:00
XTra.KrazzY 42e485ba0b Rename fix. Save files are now being created
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1400 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 19:34:35 +00:00
XTra.KrazzY 6ea10dfa22 PPCTables Housekeeping...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1399 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 19:17:37 +00:00
XTra.KrazzY f3fb99446d stwcxd and lwarx are now emulated properly. Sonic Unleashed boots!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1398 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 19:12:09 +00:00
memberTwo.mb2 aa05c2173e correct TexDecoder_GetTextureSizeInBytes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1397 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 15:51:53 +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
XTra.KrazzY e3fb58769c Some more work on stwcxd and lwarx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1389 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-04 05:53:10 +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 b08352d1e4 Some clean up
delete devices after reply


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1386 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-03 21:17:49 +00:00
nakeee c16732a012 print device id on open
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1385 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-03 19:36:47 +00:00
nakeee eecbfa3445 0 seems to be ok
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1383 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-03 06:42:21 +00:00
nakeee 27dc595d7c move enum to include
added log message


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1382 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-03 06:34:29 +00:00
nakeee ab36429fb0 making sense of if
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1380 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-02 22:52:02 +00:00
XTra.KrazzY d8a26fe9e0 stwcxd clarification (no implementation, as of yet, let alone a JIT one)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1379 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-02 21:16:09 +00:00
nakeee dc3f3eb190 warning fixes + compile on linx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1378 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-02 10:50:58 +00:00
Shawn Hoffman f27a08cf7f Improve the Patch editor a bit, it now works fine for viewing entries at least.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1376 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-02 04:25:52 +00:00
Sonicadvance1 4df7675d19 Commiting a Linux fix, and along with it is my current work on the nJoy plugin to make it better and use axises as buttons, buttons as axises, and axises as the triggers.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1372 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-02 01:08:21 +00:00
Shawn Hoffman e033e31064 fixed up CopySettingsFile and idef'd away MSWDrawSubItem
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1371 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-02 00:12:42 +00:00
Shawn Hoffman 9a7a02fe63 bugfixes for patches and isoproperties (and starting on edit/add patches)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1370 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 20:55:45 +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 0e6f7853c9 I love my call stack
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1367 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 10:31:03 +00:00
John Peterson 8485f108e1 Wii IOS /dev/fs IOCTL_READ_DIR: Made Mario Kart make a save file again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1365 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 09:27:03 +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
John Peterson 9549abb74d Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1362 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 07:59:16 +00:00
John Peterson 1a9192d2ba Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1361 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 07:54:18 +00:00
John Peterson a09a6330d5 Readded lost comment
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1360 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 07:51:23 +00:00
John Peterson c05b7df3ef Debugger: added save code option and darkened the code view colors so I can see them on my screen
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1359 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 07:37:35 +00:00
fires.gc 327662bce3 fixed IOCTL_READ_DIR command, removed some commands which are at best "misleading"
i dunno which games are using IOCTL_READ_DIR at all but i hope i havn't broken anything

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1358 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 06:52:02 +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
John Peterson ea575cf5df Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1355 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 03:34:18 +00:00
John Peterson 4c7d20e555 Wii memory bug: added debugging function to Memmap.cpp to trace the bug, uncomment the CheckForBadAddresses() calls to enable it
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1354 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-01 03:32:18 +00:00
daco65 ec7c4ad53f ported the fire emblem speedhack to pal.
also added size 3 to some action reply stuff (im not sure it works, all my size 3 codes are special codes)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1349 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 21:36:45 +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
hrydgard bebd135b7d Show iso filename in title of properties window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1342 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 14:22:47 +00:00
hrydgard 9ed23af1c2 Tweak some strings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1340 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 14:11:16 +00:00
hrydgard 278d54f0df forgot this one in 1275
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1338 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 14:02:07 +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 1c34151182 linux compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1336 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 12:01:36 +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
omegadox 2f528a3de4 Opps, forgot to add the files.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1334 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 11:14:52 +00:00
omegadox ca3e5befd9 Added a window for the Action Replay.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1333 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-30 11:13:14 +00:00
hrydgard 6ccf90bbba release mode build fix in wii_ipc_hle
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1329 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-29 11:55:06 +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
John Peterson f4cae8c9b7 Debugger: Made Insert blr toggle between blr and old value
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1326 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-29 08:38:03 +00:00
John Peterson e168f95257 Moved back SYSCONF to shared2/sys, it was probably unnecessary to have it in two places
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1325 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-29 00:06:38 +00:00
John Peterson 1bc53f87dc Mario Kart Wii now works if you use an old save file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1318 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-28 11:50:55 +00:00
John Peterson ca68a6f168 Allow me to see MEM2 in the debugger. I hope this doesn't break anything.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1317 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-28 11:34:56 +00:00
John Peterson 717aa36034 Added somme comments and cases for missing ES and NET commands, no actual fixes so far
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1314 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-27 15:43:19 +00:00
XTra.KrazzY 3b67df1b45 Fixed saving states in OGL Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1313 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-27 12:13:15 +00:00
LPFaint99 af46362f34 Fixes for crashes if firstblock or numblocks is > 2049
Fixes some memory leaks, removes duplicate function
some information about hdr added

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1311 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-27 05:30:18 +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
daco65 d2b726da59 replaced the ugly wx window with PanicYesNo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1305 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 18:20:28 +00:00
nakeee b84bf2f273 more warnings fixed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1304 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 17:40:28 +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
daco65 1580d6ecf1 Let the user decide to convert the txt to the masterkey.bin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1302 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-26 15:17:25 +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
hrydgard d0a48f654a Improve safe texture cache - now using sparse CRC to identify textures. Far less video glitches - metroid intro looks good.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1298 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-25 23:56:57 +00:00
hrydgard a95e804681 fix jit bug causing the "not so simple" error message
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1297 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-25 23:19:05 +00:00
Sonicadvance1 29faf7776b stb and stbu do not work under 64bit Linux, re-disabling
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1293 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-25 10:48:07 +00:00
nakeee 8e0823bf37 crash fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1292 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 20:43:46 +00:00
hrydgard b9c6f7cb89 Hacky fix for weird video hangs in Metroid Prime 1. May think of something better later.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1290 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 19:31:49 +00:00
Shawn Hoffman 0b5fed62c1 ISOProperties.cpp can now toggle and remove cheats/patches. Still have to do add/edit. Put PatchEngine in it's own namespace, changed format of patches.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1289 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 19:11:15 +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
John Peterson 2229d4e038 Unblock E key. I could not use E when changing a symbol name in the debugger, this seemed to fix that. While it still does its PostMessage.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1284 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 08:13:31 +00:00
John Peterson 67087170ab Fixed the emulated Wiimote in Rayman Rabbids 1, Sonic Rings and Wii Sports
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1283 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-24 02:29:38 +00:00
daco65 5672367b4c just some deleted comments or stuff left behind of the about killing in r787
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1281 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 22:54:39 +00:00
magumagu9 28ec5031ee A couple of minor corrections to the JIT cleanup commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1280 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 22:48:03 +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 464185a04e Make copy hex function in the debugger do so correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1275 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 17:44:06 +00:00
hrydgard 7dfbc574ae Increase default JIT cache size to 16MB. Tweak the mp2 pal speed hack.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1272 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 13:09:10 +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
hrydgard 117a05fa64 Some JIT cleanup. Have not been able to figure out the "dirty-flag" mystery yet :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1269 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 12:33:02 +00:00
nakeee 3e7c80ab69 moved logs to log dir
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1268 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 09:14:40 +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
LPFaint99 3fdfd6e234 MemcardManager no longer crashes when opening an
invalid file.
Only opens .raw and .gcp files that have
correct hdr.size and checksums.
it is no longer possible to open the same memcard on
each side
Buttons are now only available when memcard is loaded.
memcard is loaded into a maximum of 8 pages with 16
entries perpage. added fixchecksum to Slot B.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1265 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-23 06:41:27 +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 d0388f34a4 A few more JIT functions for loads; I had something somewhat more
aggressive, but it didn't really give a significant improvement over 
this.

This is probably my last checkin for today.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1260 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 23:57:40 +00:00
XTra.KrazzY a1707aafe5 Temporary fix for r1252's JIT breaking
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1257 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 21:24:32 +00:00
magumagu9 2742318e36 Enhancements to integer JIT; biggest change is the new function srawx,
but there are also some few more minor changes.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1256 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 21:09:38 +00:00
magumagu9 c3bfd73f40 Enable JIT of paired instructions on Linux, and enable a couple of store
instructions that weren't JIT'ed on 32-bit before.  This is enabling a 
bunch of codepaths that weren't in use before, so it's likely to cause 
regressions, although hopefully it'll just work.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1255 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 21:05:00 +00:00
magumagu9 fcce3240ea Remove code disabling jit of stb on linux; it seems to work fine
here.  Please tell me if there are any issues.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1254 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:59:06 +00:00
magumagu9 9fe8f8b6dd Obvious enhancements to load generation; should be a slight speedup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1253 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:54:41 +00:00
magumagu9 a6d5a7ea9e Fix the dirty bit and make the register cache use it to be a bit more clever:
it skips storing a register back to memory if its value hasn't changed. 
This happens with stuff like compares and fast memory loads.

This is the first in a series of enhancements I have in my tree for the 
jit that I plan to commit over the next few hours.  I'm likely to 
cause some breakage, so if you see regrassions, please report them; if 
you can track them down to a specific revision, that would be very 
helpful.  I'm trying to make the changes small to allow pinpointing 
regressions more easily.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1252 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:49:58 +00:00
hrydgard a534971d15 Remove "Cant delete temp folder" error message.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1251 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:44:02 +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
magumagu9 eab369321c Linux build fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1248 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 20:11:26 +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
magumagu9 0a47860bcf oprofile integration for jit, as described in issue 323. Disabled for
reasons explained in code, but I suggest turning it on and using oprofile if 
you're looking at performance issues on Linux.

The build system change required is attached to issue 323... I would 
have committed something for that, but I'm not really familiar with the 
build system.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1246 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 19:38:18 +00:00
John Peterson e4d4d2602c Minor bug in latest commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1244 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 16:56:05 +00:00
John Peterson f0596fee55 Added Copy EFB hotkey to OpenGL plugin (to be able to easily switch back and forth during emulation). Added Unlimited JIT cache option to debugger. It may fix the Zelda TP crashes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1243 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 16:46:12 +00:00
memberTwo.mb2 36bf2fedf6 More CP/GPFifo work. Fix Super Monkey Ball SC/DC. SMB force us to hack CP differently: CPU really thinks the fifo is always empty and on idle now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1242 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 15:25:04 +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
Shawn Hoffman fb2b57a47c build fix for nix (for the last commit)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1240 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 00:20:33 +00:00
Shawn Hoffman 016d9c1ba1 Fixed ISOProperties handling of manually editing the GameConfig file, and made clear that the patch and cheat gui does, in fact, do nothing at the moment.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1239 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-22 00:03:37 +00:00
omegadox 1f70dfbeed Added conditional codes support to AR, also some cleanup too. Add code for "float" does not seem to work, needs more debugging. Also killed the w var.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1237 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 11:50:29 +00:00
John Peterson f1e8b46c6c Added Enable Other Audio option to DSP HLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1233 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 02:53:54 +00:00
John Peterson 8a77ca8189 Made the OpenGL iLog setting changeable from the debugging window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1232 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-21 01:28:00 +00:00
XTra.KrazzY f5a92e2e9e Floating point printf parsing by jeffjohnson0. Solves issue 302.
Thanks jeffjohnson0.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1231 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 22:39:07 +00:00
nakeee 25e307c130 fix crash on stop in linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1229 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 18:35:35 +00:00
John Peterson 748da8b464 Prevented that an empty SYSCONF file is saved if it's missing from the config dir.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1228 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 15:29: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
memberTwo.mb2 337ff1f56b More GPFifo works. PEToken management as I think it should be. Super Monkey Ball Adventures fix (the token check loop was stuck in one JITed block without any Advance() call).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1224 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 12:16:51 +00:00
nakeee ba7f7cd8b7 delete the thread o stop
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1223 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 10:14:56 +00:00
John Peterson 5fb23f879e Fixed emulated Nunchuck in Mario Galaxy and Wii Sports
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1222 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-20 08:46:16 +00:00
omegadox 33edd6c553 1: Added logging to the AR.
2: Small fix to Fill and Slide and Memory Copy, but Fill And Slide does not actually work...:(.
3: Moved the AR code files into an "ActionReplay" VS Filter (a folder in VS, but not a real one on the FS).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1216 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 10:49:23 +00:00
John Peterson 76ca6ac031 Preliminary emulated Wiimote Extension support. It works in some games. The nunchuck controls are numpad 4, 5, 6, 8 for up down left right and C and Z for the c and z buttons. You have to select Extension connected from the settings to enable it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1212 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 08:31:31 +00:00
LPFaint99 482cc819fb Update for GetFileData to check for incorrect values
in the first block, so no more crashing if your memcard
tries to use an invalid dir entry. Fixed titlePresent so
it checks the full filename instead of just the first
4 characters.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1211 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-19 06:37:35 +00:00
memberTwo.mb2 e069e5997a DC fix: Since game's frame-finish-watchdog have nothing to do with RTC, the faked GP watchdog moved in scheduler. DC should work for everyone now, we just may need to adjust FAKE_GP_WATCHDOG_PERIOD. TODO if it worth it: the actual re-scheduling of the new callback is stupid, so... + Some clean up. + Remove the unused GPUCallBack.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1210 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 13:08:46 +00:00
nakeee 9e31e3796a fix 2 more warnings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1209 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 09:47:59 +00:00
nakeee aa885ab14c small clean up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1208 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 09:22:06 +00:00
nakeee db6f69c010 warning fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1207 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 08:58:31 +00:00
nakeee fc97253e0c another osx fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1206 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 08:56:29 +00:00
John Peterson f67a608c7d Made Wiimote config dialog change generate Status report. Still no working connection however.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1204 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 07:40:56 +00:00
John Peterson 5b5e21e4b4 Forgot a few things
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1203 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 03:22:14 +00:00
John Peterson 24cce4938f Added unify option to Log manager that basically disables the verbosity levels for those who wish that
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1202 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-18 02:52:50 +00:00
omegadox a26865be88 Added "Edit Config" button to ISOProperties window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1201 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-17 21:25:38 +00:00
John Peterson 45e8450e9d Fixed typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1199 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-17 19:54:12 +00:00
John Peterson 816b979128 Added extension option to Wiimote settings. It doesn't work currently. Renamed a file. Added log manager option to only show logs unique to that verbosity level.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1197 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-17 19:38:50 +00:00
John Peterson d463c3b6f4 Made all updates apply in DSP HLE
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1196 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-17 16:59:20 +00:00
John Peterson a88a644602 Temporary solution to prevent hanging when closing emulator when render to main fram is used. It may be related to issue 1080.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1195 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-17 13:01:41 +00:00
memberTwo.mb2 39e44b0482 TIMER_RATIO set to 12. Bus clock should be 1/3 of CPU clock.
This could slowdown games but it's indeed more accurate. So, possible perf hack there.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1194 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-17 10:06:18 +00:00
John Peterson 92b98d2d58 Forgot to remove this
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1193 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-17 00:37:37 +00:00
John Peterson ff29752ed3 Added comment
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1192 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-17 00:34:18 +00:00
John Peterson be6a6215c9 Calibrated emulated Wiimote aiming in widescreen mode. Added config menu to Wiimote. Added hide cursor option to OpenGL plugin. Added custom Wii settings and moved SYSCONF to User/Config (it will be copied by the game to Wii/shared2/sys when a game is run). Made the DSP and Video debugging windowses run on the same dll instance as the main instance.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1188 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-16 20:09:13 +00:00
nakeee ecf6825a97 Dont open log file unless you intend to write to it
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1187 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-16 19:22:10 +00:00
nakeee e2de566546 -dist is now -distToSend
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1185 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-15 22:32:20 +00:00
memberTwo.mb2 b1563afa8d DC "fix": "Better" watchdogThread. Need to be tested on others PC specs. Everything works with for me (nice Q6600 + 8800GT owners :p ). We may have to put some hardcoded value in GUI for helping debug on other PCs. If it doesn't work and if someone have time, tweak a bit the threshold "FourMsCount" in "GPWatchdogThread" and let me know.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1184 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-15 21:54:46 +00:00
nakeee 06aff848e3 more porting
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1183 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-15 20:36:45 +00:00
nakeee 2a06f76f81 porting 1180 to linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1182 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-15 20:01:24 +00:00
Shawn Hoffman f48a74a236 let dsp null build in debug mode. fixed typo(?) in wiimote emu, so now left click=A, right click=B. Fixed up ConfigMain to write to the correct offset for changing wii language, and the dialog doesn't get extremely wide anymore. Also ignore rcdefs.h.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1180 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-15 03:53:00 +00:00
memberTwo.mb2 ab1774b28a DC fix/hack: 1) now a GP-watchdog thread on core 2 locks CPU in gatherpipe (TODO better). 2) Video_SendFifoData send full fifo to GP (should be faster by avoiding the decoder to stall).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1178 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-14 22:33:48 +00:00
John Peterson dc123aeebf Four files had been misplaced in the Core project. I moved them back to their folder.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1177 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-14 19:12:11 +00:00
John Peterson 9763a52063 Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1175 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-14 16:38:19 +00:00
John Peterson 28fc0351fd Bugfix to log manager. Console and OSReport was mixed up.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1174 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-14 16:35:39 +00:00
John Peterson 2d90e4c62c Fixed Pokemon Battle Revolution sound too
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1172 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-14 13:04:42 +00:00
John Peterson 2976f3f1e3 Fixed Wii AX sound, for real this time
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1169 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-14 11:47:17 +00:00
omegadox 09e168beac shows "DC" for Dual Core else "SC" for Single Core in the caption bar / Status bar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1167 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-14 07:21:33 +00:00
John Peterson 1184d16864 Fixed Wii Sound
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1160 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-13 13:45:32 +00:00
nakeee 2c74f66070 No more Binary in svn + scons clean up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1158 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-13 08:12:48 +00:00
Shawn Hoffman a3abeed4f2 remove Binary/win32 and Binary/x64 from the svn, and auto copy everything there. Also fix a bug with padsimple where if you stopped emulation while the pad was rumbling, it would do so indefinitely.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1157 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 21:29:28 +00:00
Shawn Hoffman 497e6656cf now files in Data/ don't overwrite previously copied ones on the post-build step.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1153 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 18:48:28 +00:00
John Peterson b698ea376d Fixed emulated Wiimote again. Improved keyboard/gamepad controls for Wario Land.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1151 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 15:03:21 +00:00
daco65 85abf9d5f9 just a small building fix for the windows post-build process. should help ppl who's dolphin folder is in a directory with spaces like Documents and settings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1150 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 13:07:25 +00:00
Shawn Hoffman 3d56c23904 get rid of the old WII folder and put DSP.ini where it belongs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1149 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 10:03:42 +00:00
nakeee bde5118cfb no need for //
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1148 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 09:31:35 +00:00
nakeee 60e39d5ec6 forgot seps
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1147 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 08:58:06 +00:00
nakeee 00d554c599 Moved maps dir
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1146 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 08:33:56 +00:00
nakeee 4fd6b746d9 small fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1145 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 08:16:09 +00:00
nakeee 1e2120d5f2 moved logs dir
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1144 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 08:11:59 +00:00
nakeee a8c6e370e3 StateSaves dir now in new structure
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1143 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 07:57:30 +00:00
Shawn Hoffman f7cb34f1e0 Migration to the new dir struct (in code only!, no deletion of old dirs...yet). VS projects copy Data/* to Binary/<arch>. Added SConscript to some projects where it was missing. This is the time to move over all your files!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1140 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 04:54:17 +00:00
daco65 de170ee9fd just some minor actionreplay fixing for codes that used 03 size
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1137 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 23:57:59 +00:00
John Peterson d6f2a0f2e9 I could write a comment to since I'm at it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1136 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 23:55:59 +00:00
John Peterson ffa2b49903 Wii sound fix. May remove the broken sound that was sometimes heard in Wii Sports.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1135 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 23:35:51 +00:00
nakeee 47dfc9ad38 moved Gameini dir on linux to User/GameConfig
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1134 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 22:12:36 +00:00
nakeee 5e2142a901 more path updates
Dolphin.ini moved to User/Config on linux
waiting for windows ppl to do their job:P


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1133 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 22:00:09 +00:00
nakeee b47f349c96 Got rid of default Dolphin.ini
Default plugins are now in Paths.h
Important note for scons users, plugin names now match the one on windows!!!
make sure to remove the old ones!! and update your .ini!!



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1131 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 20:59:48 +00:00
Shawn Hoffman fa1c90a411 linux build fixes. I don't know why ConfigMain is sized oddly on linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1130 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 19:09:52 +00:00
John Peterson eaf0f3b583 Wii Sports sound works
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1128 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 18:46:48 +00:00
Shawn Hoffman e3f9886c72 GUI updates: filesystemviewer is now ISOproperties, beginning of gameconfig (gameini) editing. Some misc cleanup here and there.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1126 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 18:39:09 +00:00
John Peterson cfcd1b6dd5 Another small DSP HLE update.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1123 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 16:28:46 +00:00
LPFaint99 8373b94fd2 small update, adds check to importFile so only one save per game allowed, adds check to remove file so removing last file on memcard will not corrupt it
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1120 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-11 07:01:47 +00:00
hrydgard 48bce5a05a Map ARAM to MEM2 on Wii the way I think it works. If this breaks stuff or is wrong, please tell me or revert.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1116 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-10 21:54:11 +00:00
John Peterson 814aa547ac Added mail viewer to the HLE DSP plugin. Use it by selecting Mail > Scan mails in the sound debugger.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1109 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-10 10:32:18 +00:00
nakeee 814d3ddb0e small code fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1106 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-09 20:55:04 +00:00
hrydgard 530fb9ba3d Assorted warning fixes, small mixer improvement when both DTK and HLE audio are used
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1100 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-09 13:17:17 +00:00
LPFaint99 d2bbd6bda2 ImportFile and RemoveFile "fixed", should not cause corruption anymore, but still needs more work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1098 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-08 20:34:43 +00:00
hrydgard 8684b734e8 cleaner cpu string, a better error message
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1097 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-08 14:28:28 +00:00
memberTwo.mb2 8be6beed6a DC WIP: fifo set/reset hack
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1096 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-08 14:20:27 +00:00
John Peterson 83b8527085 Some Wiimote to Gamepad translations for Wario Land Shake It
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1095 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-08 06:31:18 +00:00
John Peterson 825335fc2c Readded log manager changes, now with a LOGV function to use the verbosity levels.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1093 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-07 20:08:31 +00:00
John Peterson 47f103567c Another small change
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1092 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-07 20:07:09 +00:00
John Peterson eb6afb7c05 Small changes that were lost in revision 936.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1091 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-07 20:01:06 +00:00
Shawn Hoffman 3bd72c5e3f revert memcardmanager.cpp changes made in r926
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1089 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-07 19:13:31 +00:00
omegadox 5a9b38d639 small cleanup on info in caption / statusbar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1088 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-07 04:37:50 +00:00
daco65 256474bd0e now AR only shows the names of active codes instead of all available codes in the ini...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1087 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-06 22:05:55 +00:00
fires.gc 03d5443636 it seems that "rename" overwrites files...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1086 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-06 22:01:09 +00:00
omegadox 2e4cde02fd added comments and a fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1085 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-06 03:48:03 +00:00
omegadox 9c4b7a4548 Small Fill and Slide fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1084 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-06 03:39:48 +00:00
fires.gc 135b6e1eb8 added close event so application got shutdown correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1083 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-05 22:58:26 +00:00
fires.gc 46c284f7a9 enable auto-connection-"hack" for linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1082 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-05 22:37:23 +00:00
fires.gc fafbbdfee5 wiimote code cleaning
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1079 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-05 21:05:43 +00:00
fires.gc e19f01c33b another wii banner fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1078 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-05 21:05:04 +00:00
fires.gc 4aed4eb1c7 small fix - games without banners aren't cached anymore so wii banners will be shown correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1076 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-05 19:07:38 +00:00
fires.gc 5e300155da added native wiimote support. The new native wiimote support isn't stable and works for windows only.
Follow this tutorial (http://www.wiibrew.org/wiki/Wiimote/Windows_Tutorial) to connect your wiimote and verify that your connections is established (you can do this is one of the wiiuse sample demos). After that start dolphin. At the beginning LED4 of your wiimote should be enabled and after the wii program has established its own connection only LED1 must be enabled. DONT ASK FOR MULTI-WIIMOTE SUPPORT :) Have fun

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1073 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-05 17:15:00 +00:00
fires.gc c429c7e275 save settings on close config dialog... dolphin crashes by far to often to save the settings on closing only
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1071 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-05 12:02:35 +00:00
fires.gc ff084ad22a wip of IPC
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1070 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-04 21:34:12 +00:00
Shawn Hoffman b6b61f0a9f changed ConfigMain and ogl config.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1067 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-04 09:56:25 +00:00
Sonicadvance1 1473512180 Tons more Microphone work, due to me sucking, it doesn't work yet though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1066 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-04 09:05:10 +00:00
Sonicadvance1 73b7b22214 Stabby Stabby old BBA code since I didn't even know wth was going on, and I still don't
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1064 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-04 03:03:32 +00:00
daco65 5507cc7b95 fixed the iso list refreshing (no more 10 times battalion wars shuffle :P ) and did some cleanup of the option to cache the iso's or not (which is now automatically anyway) and i see no reason why it should ever be optional o.O
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1062 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-03 17:18:35 +00:00
nakeee caa9a0bf2b compile on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1061 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-03 16:36:50 +00:00
fires.gc f274a86de8 crash fix - missing parameters in a vprintf can crash the program
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1060 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-03 15:21:13 +00:00
fires.gc c74a30b486 bugfix - GameListItem hasn't created the ISOCache folder
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1059 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-03 15:20:23 +00:00
fires.gc 4ad86ef180 added caching on GameListItem level and disabling current one... prolly it is a little bit slower, but it is robust
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1058 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-03 11:03:36 +00:00
memberTwo.mb2 5e261fbec3 GP fifo reset fix (ZWW reset in DC at least). revert r1051 for ppl who don't own quadcore :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1057 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-03 09:01:14 +00:00
Shawn Hoffman d62d517c72 fixed gamelist cache not dealing with long longs correctly :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1056 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-03 06:55:59 +00:00
Shawn Hoffman c9b1cced9c added banner image showing/saving to filesystemviewer. Cleaned up daco's cache code a bit (only coding style stuff), added default banner image. Commented out progress bar for plugin loading.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1055 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-03 04:17:57 +00:00
daco65 22153edc59 no more Wx windows saying " could not find xxxxxx.png "
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1054 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-03 01:52:03 +00:00
Shawn Hoffman 901577489f now you cannot add an ISO path which is already in the list
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1053 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-03 01:06:07 +00:00
daco65 43b302a000 Start of Iso list caching. its off on default but can be changed in the options/ini
also, the banners get saved as png's in the Gameini folder. they dont delete on their own you'll have to do that for now ;_;

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1052 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-02 23:25:21 +00:00
nakeee a1454f4f05 continue instead of sleep (please review)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1051 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-02 17:23:26 +00:00
nakeee 5ae0c91def added missing files on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1050 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-02 16:27:19 +00:00
fires.gc 5ae441d6bc some more HLE of the IPC
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1049 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-02 14:43:22 +00:00
donkopunchstania 342c559719 fixed an off by one error I created in the texture copy function in bpstructs.cpp. SSBM no longer has black on ground. sorry about that ;p
noticed the real HW doesn't clip some things it should. modified the projection matrix to account for this.
changed normal loader to better handle 1 or 3 index NBT data which fixed an underrun.
added missing z component in biasing section of indirect texturing.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1048 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-02 05:07:14 +00:00
fires.gc ef943ed065 several FS/FileIO fixes/improvements
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1045 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 18:33:37 +00:00
Maarten ter Huurne 277670a5a5 Removed unused Windows-specific #include.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1038 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 18:27:50 +00:00
nakeee f151ee9fd3 use direct.h on windows only
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1037 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 18:05:46 +00:00
Maarten ter Huurne c4923df779 Added new source "IPC_HLE/WII_IPC_HLE_Device_fs.cpp".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1036 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 17:48:38 +00:00
Maarten ter Huurne 619f144455 "FileSearch.cpp" was moved.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1035 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 17:44:27 +00:00
Maarten ter Huurne f27c6f514c Indent consistently. Please, no more mixing of tabs and spaces!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1034 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 17:07:35 +00:00
fires.gc 046ca53f8c updating the HLE FS and FileIO
added banner support of the savegames for wii... same games 

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1031 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-01 15:59:06 +00:00
fires.gc dad9f74b09 removed missing file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1029 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-31 22:59:06 +00:00
fires.gc 2d2a91b532 added support for IPC file system. i am sure it will break linux and osx builds and prolly we have to talk how we can do our file handling at all. perhaps we have to define an interface for file accesses.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1028 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-31 22:31:24 +00:00
Sonicadvance1 b7ec3a6691 Fix The About Window so it shows the text correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1026 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-31 16:48:25 +00:00
nakeee dfd3d01ceb semi fix for about box on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1025 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-31 14:05:51 +00:00
Shawn Hoffman 84614f31f4 made configmain a lot more pretty, fixed an annoying bug where closing njoy would send dolphin behind any other open windows, and ported the "old" about box to wxw. The message is just a huge string, so just change if wrong!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1024 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-31 05:40:52 +00:00
fires.gc 957441d2da added some new log types for wii
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1023 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-30 22:25:54 +00:00
Shawn Hoffman 60a75d861d fix some warnings and spellings from my last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1022 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-30 21:42:47 +00:00
Shawn Hoffman cf137e6f6f added sysconf editing to configmain. HOWEVER, it is based on offsets in the sysconf file, it doesn't search for the strings. nag me and maybe i'll do it?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1021 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-30 21:01:20 +00:00
nakeee c6a50d3b77 more sync removed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1020 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-30 20:53:56 +00:00
nakeee 9b05e301e9 removed unneeded critical section to match windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1019 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-30 20:46:12 +00:00
Sonicadvance1 0ab16c6af0 Added InterlockedExchange to Linux side
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1018 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-30 19:48:26 +00:00
memberTwo.mb2 a5ca940d64 A bit more proper GP fifo emulation: some DC fixes, some hacks too, more comments and TODOs.
TODO: the linux part.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1017 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-30 18:13:13 +00:00
nakeee 50e413ff77 fix gamelist disappearing on linux, I hope it didn't break windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1016 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-30 17:10:34 +00:00
nakeee dd54a916fd added empty Host_SetWiiMoteConnectionState
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1015 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-30 16:36:45 +00:00
fires.gc d378b9d31f added status of the wiimote to the statusbar
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1014 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-30 12:57:35 +00:00
Shawn Hoffman 34d408b860 linux x64 compile fix and a small spelling correction
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1013 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-30 06:24:21 +00:00
hrydgard 61ea15cfa6 fix idle skipping in wario shake dimension
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1011 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-29 22:43:27 +00:00
hrydgard 39abe6a9a3 Fix the palette loading fix to not crash MP2
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1009 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-29 22:28:57 +00:00
Shawn Hoffman 549e3d537f update for AR decryption, skips passing the verification code back to the AR simulator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1007 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-29 21:23:56 +00:00
nakeee 90bd960c5d linux compile fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1005 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-29 20:51:35 +00:00
fires.gc 8e91a5e0e1 added some data for wiimote support
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1002 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-29 20:06:05 +00:00
fires.gc 566d0cf9e3 wiimote code cleaning
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1001 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-29 18:22:05 +00:00
fires.gc 95b359ec89 wiimote improvements
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1000 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-29 13:12:07 +00:00
fires.gc d1f90c3e09 added some more debug info
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@999 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-29 11:24:49 +00:00
hrydgard 9e23e6aec4 32-bit build fix, proper fix for lfd. THP glitches are gone! (at least in the games I tried)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@997 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 23:04:28 +00:00
hrydgard 9e14b2575d Random grab-bag of stuff: Finer grained JIT disabling (jpeterson's debug tool), show activated cheats, some comments, one more jitted instruction, support in backpatcher for writes, currently disabled because Beyond Good and Evil crashes when using it. yes this change should be split but i'm just too lazy, sorry.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@996 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 22:38:53 +00:00
hrydgard 2899ebc84c Disable lfd in JIT for now - it appears to be the cause for the random glitches in THP videos and other weird stuff.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@995 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 22:32:06 +00:00
hrydgard 22e1ecbb51 Make it possible to turn off the tiny vertex format setup JIT, may help macosx compatibility work (pretty useless, a jit for the actual vertex loading would have been much more useful)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@993 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 21:04:14 +00:00
fires.gc 50547cdb58 removed function that doesn't need HLE anymore
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@992 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 17:01:08 +00:00
fires.gc f560fc61da fixes for IPC FileIO
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@991 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 17:00:23 +00:00
nakeee 467e8b92af added ifdef for windows.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@986 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 07:04:38 +00:00
Shawn Hoffman ce40a9964d enabled using encrypted action replay codes, just put them in the gameini file, and they are decrypted when read. Note: the first line of a "real" AR code is a verification code, which dolphin's simulator currently missreads. I'm unsure whether to bypass the code by skipping it in ARDecrypt.cpp line 489, or think of some actual solution :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@985 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-28 05:55:34 +00:00
hrydgard 30ebbe9e6c build fix in non-debug
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@984 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-27 22:27:26 +00:00
fires.gc d4a9f33754 WIP wiimote
i have reverted some changes (prolly to compile in linux or macos). some times it is difficult to avoid this if you are in WIP...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@983 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-27 22:18:38 +00:00
hrydgard 5129341a9c Aligned all vertex components to 4 byte boundaries - maybe ATI likes that? Renamed and reorganized misc things.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@981 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-27 21:38:30 +00:00
hrydgard d35fb4e2b0 Small codewindow tweaks
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@980 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-27 21:27:23 +00:00
nakeee 62b49ea2d6 few compile errors fixed on linux
(please check them out as I'm not 100% sure about them)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@975 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-27 07:34:57 +00:00
fires.gc 6b021b874c some more wpad stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@974 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-26 21:08:19 +00:00
fires.gc c9a8672987 some more wpad work...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@973 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-26 14:16:51 +00:00
omegadox fae0a612f9 Added controls to "Dolphin-Memory" window to let you change values in memory.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@970 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-26 09:09:53 +00:00
hrydgard 85145cb2dd roll back accidental disabling of fullscreen shortcut
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@968 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-26 08:16:39 +00:00
omegadox c1e94a0852 The AR will skip over any codes that causes any AR error and continue executing the working ones.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@967 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-26 07:10:11 +00:00
hrydgard d3da9a67d7 savestates work better in Metroid Prime 2 (can jump ingame from intro screens with no graphics corruption)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@962 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 17:09:06 +00:00
hrydgard 5247f6661b JIT a few more instructions. Very minor speed boost in a few games.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@961 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 15:59:09 +00:00
hrydgard f77624147d Cachable vertex loaders. Not a very big speedup in itself, but makes it easier to speed up vertex loading in the future.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@960 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 15:53:43 +00:00
omegadox 681a40dd36 revert
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@959 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 13:43:46 +00:00
omegadox 92f991dd2b AR will ignore the codes it doesn't like and keep executing the working ones.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@958 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 13:35:01 +00:00
hrydgard 2f6d41e413 Move moving things around and preparing for the next step (cached vertexloaders).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@957 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 13:27:28 +00:00
hrydgard bc79d22f5e Move pipeline back into VertexLoader. Started work on VertexLoaderManager, which will cache VertexLoaders. (yep, the design plan changed a little bit).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@956 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 12:35:55 +00:00
omegadox 3a3eebc313 Some rewording.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@955 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 12:02:37 +00:00
Maarten ter Huurne 7be6725459 Include PluginSpecs.h so __cdecl is defined on non-Windows.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@954 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 11:12:03 +00:00
omegadox 81a6259fd1 Added option "Enable cheats" to dolphin config and some AR code changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@952 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 10:11:35 +00:00
hrydgard f14fca914d OpenGL - Don't cache pointer to compiled code - cache pointer to NativeVertexFormat instead.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@950 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-25 09:59:00 +00:00
hrydgard 72d8c3344b Code movin' and cleanup again, in the GL plugin. Planning to turn NativeVertexFormat into something cachable, instead of locked to each VertexLoader.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@948 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-24 23:08:46 +00:00
tmator a03f39ac36 now core, padsimple and dsp null can be buil in 64bit on osx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@947 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-24 15:48:36 +00:00
nakeee 0422864245 fixed marco to accept useless arg
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@943 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-23 09:07:06 +00:00
nakeee f8762b7ec9 Fix library order (scons)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@942 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-23 08:59:31 +00:00
hrydgard 4d169987c2 Fix debug mode build, fix some profile stuff to not get compiled when profiling is off, cleaned a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@941 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 22:35:29 +00:00
hrydgard 39df6c5624 Move out Cg shader generators to VideoCommon (hope to use this in the DX plugin in the future). Also move out stats code. Comment a lot and cleanup. Kill DX9 Globals.cpp.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@938 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 20:54:40 +00:00
fires.gc ae0f0f8dcd reverted log manager... i hope that i havn't reverted to much but a lot of files are affected. if someone runs in any problems please tell me.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@936 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 10:36:26 +00:00
John Peterson 18f0bff153 Bigfix to bugfix in log manager. Enabled or disabled should update for all levels, the checkboxes should only be updated once.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@935 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 09:58:00 +00:00
fires.gc 415366634f last WIP wiimote code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@934 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 09:48:54 +00:00
John Peterson 054ff5a48f Bugfix to log manager. The checkboxes should update when they are first appended now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@933 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-22 09:03:03 +00:00
fires.gc d3660be648 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@928 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-21 16:51:52 +00:00
fires.gc 5ad0c43707 bug fixes for the wiimote emulation
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@927 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-21 15:33:16 +00:00
Sonicadvance1 9692f3dd9e This is a HUUUUUUUUUUUUUUUUUUUUUUGE commit, Make sure I didn't break too much ;p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@926 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 22:31:55 +00:00
fires.gc 6faea5668a wii finds a wiimote now
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@925 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 20:30:37 +00:00
tmator 03763372ac first step to get dolphin on osx 64 with a no wx version (WIP)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@924 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 17:32:15 +00:00
John Peterson b6356df508 Bugfix to last commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@919 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 08:07:54 +00:00
John Peterson f59ed4a8c9 Some fixes for the log manager. Small change to breakpoint manager.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@918 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 07:39:40 +00:00
fires.gc d7358df7fe bugfixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@917 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-20 06:27:05 +00:00
fires.gc 82cb4c0ca9 WIP code for the wiimote ... wii creates a channel with PSM 0x11 now :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@916 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-19 21:17:08 +00:00
John Peterson 290966a4f8 Addressed problem with map file compatibility. When a game used a map file the symbol lookup would make the game crawl to a halt right after booting. This was exaggerated because m_bEnable was true by default, I changed that to off by default so that only selected logging is picked up. I'm guessing the symbol map was disabled earlier because it was slow. I have still kept it enabled but only for the lowest verbosity levels. I also turned off the collected write to the master file, that's not very important however because it doesn't slow the program down very much unless there's thousands of rows per second written. I could probably be on most of the time without much of a speed difference. I'll add an option for it later.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@913 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-19 00:48:20 +00:00
John Peterson 1b76bd3863 Moved some routine logs to higher verbosity levels.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@912 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 20:34:06 +00:00
John Peterson f71cc4e609 Added a verbosity setting to the log manager. And a timestamp to the debug log.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@911 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 19:25:33 +00:00
LPFaint99 de4f4fc497 fix for error messages with memcard manager
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@910 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 16:17:59 +00:00
LPFaint99 f257434b93 Removing duplicate code, cleanup, adding error messages
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@909 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 05:33:52 +00:00
Shawn Hoffman cb14a17ff5 updated GCMemcard to fix the header's checksum. sidenote: replace the first 0x13bytes of your raw memcard dumps with 0x0750B25EC2A150A9E2047343000000000B1B595C to use them in dolphin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@908 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 05:19:44 +00:00
John Peterson ad589b7b6b Added a comment.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@907 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 03:04:08 +00:00
John Peterson b95ea6ceb6 Added option to specify a range of addresses in MemoryChecks.ini.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@906 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 03:01:28 +00:00
John Peterson 7804c2c026 Added option to load breakpoints and memory checks from a file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@905 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-18 02:21:59 +00:00
omegadox d75bf5ab97 More AR Stuff: Added support for most Zero codes, flip and slide codes has been tested and works. Memory Copy has not been tested. (not sure if I have any codes that use that)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@904 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 21:40:06 +00:00
fires.gc 636dfdd177 wiimote emulation improvements... wpad tries now to read out the HID attribs per SDP
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@902 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 18:01:13 +00:00
hrydgard 7bbd6fda63 more gl plugin cleanup, code moving
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@900 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 12:08:28 +00:00
hrydgard dcbc8e78d4 Massive style & comment cleanup of (mostly) GL plugin - also split some large files. A minor speedup for BP writes - merged the two switch()-es.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@899 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 11:30:14 +00:00
tmator 4477f77cf6 add InterlockedExchangeAdd for olds gcc version
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@898 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-17 11:12:34 +00:00
hrydgard 6b93b05b91 oops, didn't mean to turn off stack optimizations
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@895 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 23:33:40 +00:00
hrydgard 21b0d596e4 Kill lots of old outdated comments. Some new comments added. Misc style fixes. No effect on emulation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@894 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 22:06:06 +00:00
Sonicadvance1 3ae2d556ab Beginning of Test suite, someone else adding CPU tests and others would be helpful!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@893 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 21:58:59 +00:00
hrydgard caf0d58047 Further tiny XFB speedup: baked the bias constants into the R tables, and switched to aligned writes, and made sure efb_buffer is aligned.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@890 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 08:11:03 +00:00
omegadox 0667c925de AR fixes, more cheat codes work now! :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@889 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 04:44:42 +00:00
Sonicadvance1 dfd332e149 Some more Work done with Microphone, added a Semi-decent way of checking for Mic Button
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@888 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-16 01:15:15 +00:00
hrydgard db3a5e3822 More XFB speedup. It's all SSE now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@886 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 22:22:54 +00:00
hrydgard 34a4fee1c5 Substantial XFB speedup. There's more to get though, for example by using a shader for color conversion instead - but i like having a fast CPU implementation too. Also adds some sanity checks. PAL games still have problems.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@885 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 21:29:44 +00:00
Sonicadvance1 1972f9bf70 Flips the XFB around and some other things
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@881 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 21:12:43 +00:00
omegadox a3a948ac1d Re-committed code from R874, but fixed the build problem, and made some code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@880 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 16:33:22 +00:00
donkopunchstania bbbe898839 added option to use XFB in GL, but XFB support still needs work. modified viewport to include scissor offset.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@879 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 14:07:03 +00:00
fires.gc 70eebcb3a3 reverted stuff that doesn't compile...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@878 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 13:08:55 +00:00
fires.gc bac3f878e8 added support for instruction read exceptions in interpreter
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@877 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 12:47:43 +00:00
fires.gc 8e3bd6781e added compile time assertion for _SECURE_SCL=0. It is very important that all libraries are compiled with the same _SECURE_SCL if you want to share STL functions between libraries.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@876 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 12:40:31 +00:00
omegadox 2abedd28fe now you know an evil plan of mine :}
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@875 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 06:13:23 +00:00
omegadox a6365c758e Moved all the ActionReplay code into its own source/header file. Also updated the scons and vcproj file to include the added files.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@874 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 05:57:41 +00:00
Shawn Hoffman 38f1091c7b now you know an evil plan of mine :}
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@873 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 04:56:19 +00:00
Shawn Hoffman 1be0674ef0 added the mic to windows build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@872 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 04:50:04 +00:00
Sonicadvance1 f6f6ada9d5 Hah, forgot to add the files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@871 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 04:23:57 +00:00
Sonicadvance1 6fe6fd0b4c Fix Linux Building, Add failsafe check in volume deleting. Also started work on Microphone emulation, base work from Mem card. Just enough to make Odama think I have a Microphone in currently. It must be waiting for me to press the button on the Mic to continue to start, although I can wait through the intro and then use controller, is a pain though. More to come
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@870 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 04:23:02 +00:00
LPFaint99 f417aac20b Removes wx from gcmemcard, misc code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@869 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-15 02:27:50 +00:00
Shawn Hoffman 2195e645fd fix for the fix -_- committed wrong version before
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@868 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 18:00:15 +00:00
omegadox b75d63131c I just cleaned up the code a bit, but it should work the same as my last commit, it seems there are problems with pointer codes, and maybe Dolphin doesn't really support it? I still get errors with the MP2 codes, Dolphin showed a twi not supported error. I need someone to check over all my code in case my code is flawed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@867 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 17:43:56 +00:00
Shawn Hoffman 5157e69211 fix for memcards. the default is 128Mb now too. (shouldn't be a hassle, if there's a bunch of repeated data inside, they still compress nicely :) )
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@866 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 17:42:59 +00:00
omegadox e1ca5de156 Another possible AR cheat system fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@865 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 17:13:43 +00:00
omegadox 0cab388f1c Fixed a bug in AR cheat system, codes starting with 0x00 to 0x07 should work now as I tested this in ZTP and SA2,and most of the codes worked. One code in SA2 breaks dolphin now, and 1 code in ZTP messed up the graphics and breaks the game if trying to load a save game, else most codes work. Also SSMB codes work for me, there are some that might break dolphin, but main codes work. I still recommend more testing of this fix. I will now work on the next fix. =). Also some code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@864 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 15:24:01 +00:00
daco65 e26173e6fe added support for all kind of raw memory card backups.
default dolphin mem cards still stay 251 blocks for now

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@863 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 14:36:22 +00:00
daco65 461633fabc added support for raw memory card backups. for now only the 251 blocks and 59 blocks cards are supported.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@862 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 11:19:59 +00:00
fires.gc d3cbb81f0c a missing file...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@860 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 06:10:02 +00:00
fires.gc 7aead8d03e fixes so it compiles again in win32
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@859 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 06:09:11 +00:00
LPFaint99 6b4169e5b1 An attempt to fix my coding style to match wiki page
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@858 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 05:19:31 +00:00
Sonicadvance1 d84fa6195c Fixing stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@857 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 04:32:49 +00:00
LPFaint99 0629cc6690 My first commit, renames AddGci and SaveGci to ImportGci and ExportGci
adds Madcatz gameshark .gcs, and Datel Maxdrive/pro .sav file support to function importgci
adds conversion from .gcs and .sav to .gci, added to speed up testing for .gcs and .sav until ImportFile is fixed

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@856 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 03:16:09 +00:00
Shawn Hoffman 5bb6f62d9f Fixed many little DolphinWX annoyances/bugs. Added a little cheat sheet in EXI_DeviceMemoryCard.cpp so people can change the size of memcards, until (if) a feature is added to choose memcard size based on existing filesize.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@854 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-14 02:56:03 +00:00
hrydgard e13ca7e384 Fix Action Replay properly (i hope :P).. some misc code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@851 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-13 19:21:25 +00:00
omegadox 744efe72e5 Fixed bug in cheats system and a bit of code cleanup. The cheat code activation works properly now. Enjoy your cheating :P.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@850 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-13 18:25:09 +00:00
Sonicadvance1 dec94518e7 Add CPUCompare variables to INI file and also make the gamelist look sexy on all platforms, not just Win32
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@849 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-13 16:45:17 +00:00
John Peterson 3d345450f5 Added option to compile without the JIT off options.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@843 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 13:59:26 +00:00
John Peterson 91d4d5b98c Added JIT off options to the debugger.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@842 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 06:31:14 +00:00
Shawn Hoffman 633881eb7a Added gci importing/exporting to the memcardmanager (thanks to lpfaint99, see issue 229). Also improved GCMemcard a bit.
I have loaded a raw dump from a real gamecube in dolphin successfully, then used FixChecksums on it (which actually changes some data...), and it continued to act correctly in dolphin.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@841 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-12 06:09:52 +00:00
Sonicadvance1 92f661b390 Fix Linux compiling and Make Filesystemviewer show MakerID correctly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@831 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 16:20:13 +00:00
Shawn Hoffman 671fb9def1 filesystemviewer looks better and extracts files correctly. added stdafx.h as a force include for ogl, daco was having problems without it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@830 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 15:32:23 +00:00
XTra.KrazzY a20bc0a426 Removed some comments and expanded ISO name
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@828 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 14:29:28 +00:00
XTra.KrazzY e6bc65318c Finished new Filesystem tree viewer
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@827 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 14:08:16 +00:00
XTra.KrazzY 15c3ea50fc Made filesystem viewer to show folders and subfolders right. Only bug remaining (supposed to be simple) is that after the first folder recursion the searching stops.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@826 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 13:23:10 +00:00
memberTwo.mb2 5796ccaca4 small oversight
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@823 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-10 09:21:46 +00:00
Sonicadvance1 2df982a503 Yay, comments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@818 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 21:26:21 +00:00
Sonicadvance1 f7fa972a50 Changed to checking for 32bit linux and I also missed a texture
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@816 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 21:18:27 +00:00
fires.gc 7c4be7a975 missing commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@814 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 20:19:43 +00:00
John Peterson d4f8f0d3ae Added the StretchToFit option to the config menu in the OpenGL plugin. This fixes the blackness in SSBM. I also added a keep aspect ratio option, it will keep your aspect ratio at 4:3, but then SSBM will have the blackness problem again. You find the options under the Enhancements window in the OpenGL configuration.
I also added a wx debugging window for the OpenGL plugin. I connected it to the old console window that was in the plugin. Other than that it doesn't do anything at the moment but it could be useful to show all the current important information and parameter statuses and so on.

Again there's a problem with wx windows collisions.  Show() can't be used because then DLL_PROCESS_DETACH is called immediately after the window is opened, and if we open it with ShowModal() before we have loaded a game the main video window will be blocked. And we can't pass on any variables from a DllDebugger() that is called when Dolphin is started because the dll is reloaded and lose all variables sometime before a game is loaded. So we can't auto open the window that way. So I made the debugging window open as a game is loaded if it is enabled in the ini, the downside is that the ini setting will open the window even if we are not opening Dolphin with the -d flag. However, this will only affect people that have used the debugger at least once so in my opinion this is the most convenient solution. But feel free to come up with a better solution. Preferably some solution to how to use Show() and preventing DLL_PROCESS_DETACH to be called.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@812 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 18:47:53 +00:00
Sonicadvance1 e1eb51a010 Fix Building in Linux, removed the define for _T() in Common.h so now we can have wx headers after including Common.h. Also, InterlockedExchange isn't in Linux so I just made it assign the variable
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@809 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 08:51:57 +00:00
Shawn Hoffman eb65601f90 updated the filesystemviewer. maybe someone can help and explain why the treectrl doesn't work for me in non-debug builds?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@807 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-09 05:33:24 +00:00
hrydgard 77899058e9 Fix some project settings (set SECURE_SCL=0 more consistently). Should prevent crash when playing with symbols in Win32 Release build, and maybe others.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@800 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-08 20:15:05 +00:00
hrydgard 71193449d4 oops, forgot to submit vcproj.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@799 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-08 19:31:59 +00:00
hrydgard 49534ca586 Added AI FIFO wave logging to HLE plugin. Same for LLE plugin is coming soon. Plus some extra critical section locks in LLE plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@797 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-08 18:57:33 +00:00
Sonicadvance1 5c53460817 Made the SSE work with GCC 4.3 and above, may also work with 4.2 and above
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@793 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-08 16:43:40 +00:00
memberTwo.mb2 0464cba75e Bunch of fix for DC mode (Metroid starts now,etc.). Look stable now but need to be seriously tested. CriticalSection shouldn't be needed anymore. TODO: linux and fix that High/LowWaterMark problem (CPU waste is time waiting for an empty fifo for now)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@791 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 21:39:50 +00:00
Shawn Hoffman d11f42c329 improved the new way of doing aboutboxes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@789 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 19:17:15 +00:00
daco65 22b2b36711 Removed the about from all the plugins and dolphin config screen. then added the about on some plugins config screens and renamed the wiimote_test.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@787 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-07 18:05:56 +00:00
memberTwo.mb2 037e3d0442 reverted r782 for linux only due to sse misalignment with gcc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@784 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-06 13:31:19 +00:00
memberTwo.mb2 2cc477b7d5 "as is" sse in some cases in TextureDecoder.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@782 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 21:38:06 +00:00
nakeee 1fb3779ed6 Found another SVN_STR
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@781 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 19:31:51 +00:00
memberTwo.mb2 407bd39d8b fix savestates in SC mode at least
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@779 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 11:52:44 +00:00
memberTwo.mb2 adb549254e reverted r777 (bad sunday morning quick commit) but the general id is there :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@778 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 08:12:27 +00:00
memberTwo.mb2 7a6c46d8a6 oops savestate in SC mode should be fixed now (bug from 760).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@777 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-05 07:56:16 +00:00
nakeee 27d3191f4d Small build fix
isn't there a nicer way to make wxString into c_str?


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@767 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 19:50:04 +00:00
fires.gc c7ae1fd402 Reverted r762 and r763 - i don't see any good reason to keep this revision as long as nobody fixes the windows build (btw: i don't understand why we need a non-WX build at all). if someone is going to fix it he can revert this revision.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@766 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 17:26:12 +00:00
John Peterson 59b115d197 Changed _SECURE_SCL from 1 to 0 in the debugger to allow me to access SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDSPPlugin.c_str() from there.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@765 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 14:26:47 +00:00
John Peterson a7fa1410c2 Moved a debugging check to the plugin from the main debugger. I still can't enable the sound plugin window in the Release build because I haven't figured out why calls to SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDSPPlugin.c_str() crashes in a Release build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@764 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 13:39:38 +00:00
Sonicadvance1 580193658a Linux: Woops, SConscripts were broken, fixed. I think I broke using wx..maybe. Too tired to fix right now, must sleep
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@763 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 08:27:56 +00:00
Sonicadvance1 9a3ebd0c3b Linux: Compiling with nowx=true now builds the entire project without WX, this isn't tested in Windows so it's always on via Common.h, You can test/fix it yourself that way. Also fixed Compiling again
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@762 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-04 07:57:28 +00:00
memberTwo.mb2 8d0f6d40f4 DataReader inline for OGL/DX9 and moved to VideoCommon. Large clean up.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@760 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 22:05:28 +00:00
fires.gc 8997f9cb3e added support for multi selection to compress/decompress multiple files at once (btw: it sux that we have to kick the garbage with another tool:))
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@759 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 21:48:18 +00:00
hrydgard 655bc23322 fix some comments, some files with mixed line endings, some warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@757 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 17:22:35 +00:00
John Peterson 2c78946797 Added a console window to the DSP HLE plugin to more easily see the current parameter block status. TODO: add more presets to show different parameters and add more file logging options.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@755 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 10:59:56 +00:00
nakeee d00ea2cf43 Added logging files to SConscript
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@753 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-03 05:51:55 +00:00
hrydgard a2e0cdcbc1 style fixup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@749 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 21:50:35 +00:00
nakeee 3d6d64c632 Get rid of locks added InterlockedExchangeAdd function in thread.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@748 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 21:40:20 +00:00
memberTwo.mb2 d15d6d2b5e r729 fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@746 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 18:43:56 +00:00
nakeee 29fdb6837a Making sure nothing broke on windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@745 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 17:12:47 +00:00
nakeee 4923da76d7 all this to make stop work without message passing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@744 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 17:03:24 +00:00
nakeee 55226f7ec4 reverting 64 bit as it doesn't work properly.
Well can't say I didn't try :-)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@743 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 14:25:03 +00:00
nakeee d6219e73bd converted to 64bit (please check on windows)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@741 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 13:04:32 +00:00
nakeee dc3fd905c9 experimental multi-core support on linux
- Input seems not to work for some reason (please check and tell me if it's not only me)
- Skip frames is not supported

Report to me of other problems


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@740 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-02 10:43:32 +00:00
daco65 14541f0f8a big oops
forgot to commit the PatchEngine.cpp a looong time ago

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@737 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-10-01 00:21:48 +00:00
XTra.KrazzY 3d25b525dd Reverted SRAM cache patch.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@731 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 21:21:14 +00:00
John Peterson ba0b277597 Prevent LLE debugging window to start before boot. I don't know if the plugin can get the CPU state, if it can perhaps it's better to have that check in the plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@730 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 18:14:46 +00:00
memberTwo.mb2 df9eba79b2 DataReader migration to faster one: first step.
TODO: doing it for DX9, move DataReader to VideoCommon, remove dirty debug #def if ok

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@729 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 17:29:25 +00:00
XTra.KrazzY d80178bd89 Added simple EXI Channel caching. Great for SRAM intensive games such as LoZ:WW (Indoor performance increased from 4500MHz to 6000MHz)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@727 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 14:49:01 +00:00
fires.gc 739c18ff28 all projects should build in windows again...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@726 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 14:07:37 +00:00
memberTwo.mb2 a9c81fad7d Stop crash with ogl and render to child window fix. (issue 200)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@725 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 12:15:11 +00:00
nakeee 7a6937c2d1 fixed case
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@723 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 07:30:51 +00:00
John Peterson f2a5fd1973 Some changes to the debugger, added a DSP HLE debugging window. I moved the initialization of DLLdebugger from Core.cpp to the debugging window. (I hope this doesn't break the LLE debugger in any way, or does it have to be started right after LoadPlugin?). Also added a ShowOnStart saved setting to the debugger. And a MainWindow saved setting that set the position and size of the main window when it's started. I may have broken things in the debugger by allowing disabling of for example the Jit window. Please accept my apologies if that is the case.
There's an annoying problem with the DSP HLE wx window that blocks some input and places it in a queue. For example if you have loaded the window and press X on the main window, that action is blocked an placed in some kind of queue and not executed until you have closed the debugging window. This is also why the main Dolphin-Debugger window does not show up until you close the sound window. If someone find a fix to this I guess it could be convenient. There is another way to show the window, m_frame->Show() that is normally supposed to remove this kind of on-focus lock, but in a dll it seemingly breaks because it makes Dllmain call DLL_PROCESS_DETACH immediately after DLL_PROCESS_ATTACH so the window has to be killed or we crash.

Also, otherwise unnecessarily I had to disable the new DSP HLE debug window in Release mode because I could not access the SConfig::GetInstance().m_LocalCoreStartupParameter.m_strDSPPlugin.c_str() string that I need to start it (if I tried it crashed). Very annoying and strange. I could not access m_strDSPPlugin or m_strVideoPlugin either, but all other values in m_LocalCoreStartupParameter seemed to work fine. I'll have to leave it to someone else to figure out why.

TODO: Later I'll add function to the debugging buttons, currently only update have a function. I'll add some option to show a custom console window (that actually worked better that the wx window to show the current parameters status, it had less flicker on frequent updates). I'll also add some custom log file saving option.

Also, the reason I placed Logging.cpp in its own dir is because I plan to add more files to it. There were problems with some build modes, win32 with debugging crashed on booting a game, I don't know if it's my fault. And I could not build Debug win64 because of some wx linking problem.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@722 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-29 03:19:23 +00:00
hrydgard 68ae5ac070 Fix tiny bug, submit project change too :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@719 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 17:35:57 +00:00
hrydgard 48c9333c0f Switch audio fifo queue to a faster non-STL one.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@718 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 17:34:40 +00:00
hrydgard b2c619da61 Submit all kind of misc little changes and cleanup so I get a clean slate. There should be nothing in here that really changes anything important, except fixing some types in the filesystemgc stuff.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@717 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 16:49:58 +00:00
hrydgard 60c65b53a5 Attempt to prevent screensaver from starting when Dolphin is running in the foreground. Can someone test? (only works in Windows)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@716 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-28 16:08:48 +00:00
nakeee fcbe45ebdd added _() to strings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@713 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 14:36:43 +00:00
daco65 9e9c3700b2 added EmuState so you can place the function games.ini had in your game's ini. also renamed the Patches folder to GameIni (thx nakee, toroise was beeing an a**)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@708 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-26 13:51:00 +00:00
XTra.KrazzY b5eef72a7d Some actions needs the game list to be refreshed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@700 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 21:47:19 +00:00
Shawn Hoffman 64f6b82ad5 hopefully this makes my intentions more clear :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@699 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 21:44:52 +00:00
nakeee 5290027d58 used wxemptytext
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@680 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 06:00:08 +00:00
nakeee ef4bac25c7 Changed MessageBox to wxMessageBox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@679 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 05:50:58 +00:00
John Peterson 7d7b1b57ed Prettified the checksum fix. Moved it to its own button. The rest of the manager is now unaltered.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@677 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-25 04:24:33 +00:00
hrydgard 6af08837da Really fix DTK audiostream from compressed iso
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@675 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 22:02:47 +00:00
hrydgard f7b6298e77 Break out BIOS emulation code into its own file. Remove BOOT_BIN support (who still uses that?). assorted warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@674 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 21:14:23 +00:00
hrydgard 08e81eddb9 Protect dvdread with a critical section, should fix crashes when running ikaruga from a compressed iso. Some coding standard stuff.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@672 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 20:47:11 +00:00
XTra.KrazzY 3883ce6ee9 More PadSimple config dialog work. Added short function to avoid code repetition and easy code reading. Also fixed some C99 infinite loop declarations.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@670 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 20:21:17 +00:00
hrydgard e4785df7a2 Ban compression of Wii images until it has been tested. All sorts of minor cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@669 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 19:10:56 +00:00
John Peterson 284e3ec211 Enabled checksum saving. This should give a reasonably ambitious person a fair chance to upgrade his savegames to the new version. - Please remember to make backups before any attempts to try it. I tried it with SSBM PAL and Mario Sunshine NTSC so I'm confident that it works, just try again if it fails.
Usage: Open your savefile, for example MemoryCardA.raw in a hex editor and update the gamecode and makercode according to yagcd 12.3.1 for the game you want to fix. And remember to update the tag on both locations, both Directory and Directory backup as explained in yagcd. Then open the file, still MemoryCardA.raw or whatever it's called in the Memcard manager (found under the Misc menu). That should correct the checksums. You don't need to do anything else after that, don't click Copy for example. Just close the Memcard manager and use the savefile in the latest revision.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@667 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 18:18:09 +00:00
fires.gc 55867c169a update to vs2008
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@664 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 17:09:29 +00:00
gigaherz 26daf97f32 Small change to the memcard manager. Now it shows up to 3 frames of the icon animation, using all the 96x32 pixels of the "icon" image.
I wish I knew how to actually do animations...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@661 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 13:29:06 +00:00
Maarten ter Huurne 3aadef14eb Fixed case in header name (thread.h -> Thread.h).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@659 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 11:55:23 +00:00
memberTwo.mb2 da088e62ad DC idle skipping part 2: video thread is woken up when "OnIdle".
For testing purpose only (I can't test with lots of games) because it may break some sync. Besides, I'm not satisfied with the way things are done.
So just uncomment "//#define THREAD_VIDEO_WAKEUP_ONIDLE" in thread.h in order to test it.
Works fine with movies, 2D and simple 3D in ZWW at least.
If it's ok I'll clean up the code.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@658 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 10:52:58 +00:00
John Peterson e4725675fd Notice: This revision break compatibility with all old savegames
This was needed for the three Namco games Baten Kaitos - Wings, Origins and Tales of Symphonia to recognize that it was booting CD2. The critical value was the Disk ID byte 0x00000006 in the memory and on the disc, for these games it was 0x00 for CD1 and 0x01 for CD2. I'm not sure if any other multidisc games are affected by this.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@657 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 09:53:48 +00:00
nakeee 1fe3485792 small warning fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@656 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 07:04:56 +00:00
Shawn Hoffman 6312ccbc30 completed the iso directory path chooser. changed a ini variable name so it is more to sonic's liking, and corrected an #ifndef
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@654 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-24 00:27:50 +00:00
Maarten ter Huurne bcba16bb20 Do not use 32-bit masks on 64-bit offsets.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@651 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 23:29:54 +00:00
Maarten ter Huurne 35d830924d Moved ScanDirectoryTree() to FileUtil: this is a generic directory scanning function which might be useful in other places as well.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@650 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 23:27:38 +00:00
Maarten ter Huurne c688f95374 Fixed another error in pre-previous commit: ScanDirectoryTree should call itself recursively, not AddDirectoryEntries.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@649 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 22:31:39 +00:00
Maarten ter Huurne b79bd60b7c Fixed error in previous commit: FSTEntry is no longer an inner class..
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@648 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 22:28:33 +00:00
Maarten ter Huurne 851dbcd7d6 Changed File from a class into a namespace, since all its methods were static.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@647 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 22:23:38 +00:00
Maarten ter Huurne 5a3aee5118 Split functionality from AddDirectoryEntries into ScanDirectoryTree (generic directory scanning; OS depedent) and ComputeNameSize (specific for CVolumeDirectory; OS independent).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@646 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 22:13:53 +00:00
Sonicadvance1 1a27044b0a Added language select so it actually works. Games that don't have the available language falls back to English from what I see. The checksum isn't checked in the games? Also started added Wiimote usage in Linux, doesn't do anything since the plugin receives NOTHING in Linux for some reason. I blame Masken because I can
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@645 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 21:13:34 +00:00
donkopunchstania 17cff80f2b BIOS sets video mode from emulator configuration. Fixed iteration in DX VShaderCache::Cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@644 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 20:55:01 +00:00
fires.gc d8f8167613 removed wtl from padsimple
changed color for compressed images

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@643 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 18:25:15 +00:00
Maarten ter Huurne 6bffd4d4bb Use existing File::IsDirectory() function. Thanks to nakee for pointing this out.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@639 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 10:05:46 +00:00
Maarten ter Huurne 65d59e8d6a Gave file scope to functions and consts that are not declared in the header.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@637 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 08:07:53 +00:00
Maarten ter Huurne fa83ed62a0 Implemented POSIX version of IsValidDirectory().
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@636 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 08:04:48 +00:00
Maarten ter Huurne 5254528eb9 Various small cleanups. Slightly less broken on Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@635 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 07:49:32 +00:00
Maarten ter Huurne e8a3840461 Updated file list.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@634 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 07:00:18 +00:00
Maarten ter Huurne f3cf5abe25 Fixed build on Unicode-enabled wx.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@633 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 06:59:35 +00:00
Shawn Hoffman 467fe4f2a6 added a "main settings" dialog and moved most options there. Not complete yet. Also, just revert if the idea of a main settings dialog isn't to your liking.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@632 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 05:43:52 +00:00
Maarten ter Huurne 18dbfbd462 Fixed function signature on Linux. The implementation is still missing, so it will not work, but at least it compiles now.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@631 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:37:52 +00:00
Maarten ter Huurne 4439c1e092 Added new source file "VolumeDirectory.cpp". And reformatted.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@630 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:35:07 +00:00
donkopunchstania 29664c880a added VolumeDirectory and modified ELF boot code to allow a directory on the user's computer to appear as the DVD drive. Linux support needs to be added. Added functionality to the Wii DI. Clicking on a data symbol in the code window sets the memory list to that address.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@624 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-23 00:05:08 +00:00
Maarten ter Huurne ef1aba784e Use Append() to append to LIBS, like in the other SConscripts.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@623 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:53:15 +00:00
Maarten ter Huurne 7199c04c0c Fixed warning about mixing signed and unsigned.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@621 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:31:52 +00:00
Maarten ter Huurne 4797d01920 Fixed warning about mixing signed and unsigned.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@620 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:31:12 +00:00
Maarten ter Huurne 6c68afb171 Fixed warning about too large signed number.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@619 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 23:30:19 +00:00
Maarten ter Huurne a2c8bc6e3c Fix build with Unicode-enabled wx.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@614 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 21:57:42 +00:00
hrydgard 87f42c9237 Add a way to sprinkle heap integrity checks over Dolphin without breaking the linux build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@613 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 21:27:47 +00:00
hrydgard b74e161a5a remove annoying message.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@612 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 20:41:20 +00:00
hrydgard cca92d4e38 constification, code style, changed vector<FileInfo*> to vector<FileInfo> for less allocs and more speed in debug mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@611 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 20:35:44 +00:00
hrydgard 38f04809f1 Reduce the use of string objects slightly. Add Delete ISO feature.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@610 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 19:48:12 +00:00
daco65 570071a8b6 minor core fixing. moved CatchUpGPU() back to CommandProcessor so that MP1 (and more?) have graphics again. also fixed the lzo.lib error some ppl get (i think)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@608 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 11:42:52 +00:00
Maarten ter Huurne 2b4037df8e Added newline at end of file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@606 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 08:14:15 +00:00
nakeee 3a130d4263 change src to Src
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@604 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-22 06:50:27 +00:00
nakeee e0291e735c cleaned up SConscripts
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@602 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 19:54:29 +00:00
XTra.KrazzY 369a6d2883 We hate pointer games, don't we?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@597 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 15:04:22 +00:00
XTra.KrazzY 60a4630324 FileSystem: Fixed SOME memory leaks, cleaned up code and fixed empty entry bug.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@596 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 14:51:40 +00:00
XTra.KrazzY de577e521f Unified two very, very similar structures with the name "SFileInfo"
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@595 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 13:32:33 +00:00
XTra.KrazzY 6a5ad0ffdb Now stopping doesn't crash with the message "Tried to execute code that's not marked executable" (Access Violation error)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@592 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-21 09:59:40 +00:00
nakeee 3e2419776f fixed scons=parsing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@591 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 22:06:22 +00:00
Sonicadvance1 d9e4b55f15 Might Fix the Viewer in Windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@590 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 19:27:23 +00:00
Sonicadvance1 720efb825d Linux: I made Sconscript call wx-config inside of the main SConstruct, added a nowx argument, Made the filesystemviewer use the correct struct and fixed a silly scissor error that was made
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@589 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 17:31:54 +00:00
masken 66011849cd Wiimote: Ignored faulty L2CAP packets, allowing libogc's demo to run unaltered. Found raw data representing pointing to the screen.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@588 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 15:34:20 +00:00
XTra.KrazzY 7c3f715f19 More fog emulation groundwork both in OpenGL and DX9. Needs more fog format researching.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@586 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 14:43:10 +00:00
Maarten ter Huurne 0bf262cc16 Fixed build for Unicode version of wx.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@576 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 09:36:02 +00:00
Maarten ter Huurne cbd945b137 Fixed error handling in GetUniqueID(): returning "false" is not an option if your return type is std::string...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@575 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 09:30:23 +00:00
fires.gc 0ba37abfdb improvements for compressing and decompressing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@574 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 08:52:07 +00:00
Maarten ter Huurne 8ce6b5aceb Reinstated the changes from rev 568. Also fixed the actual bug: fread() was told to read 1 n-byte record, while it should be told to read n 1-byte records, so we know exactly how much it actually read.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@573 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 08:29:10 +00:00
Sonicadvance1 1a7f5bb564 Fix since mth's version killed everything, even the baby sea lions
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@572 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 04:54:34 +00:00
nakeee 67aa39c89e warning fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@571 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 04:50:46 +00:00
Sonicadvance1 28cd7e220c Started Work on File System Viewer. It isn't very pretty yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@570 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 03:18:19 +00:00
Maarten ter Huurne a112da66ea Fixed compilation of the Linux version. Also some small cleanups.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@568 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 00:22:28 +00:00
Maarten ter Huurne 89fa3804f1 Added newline at end of file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@567 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-18 00:20:51 +00:00
hrydgard cb90e61368 Large blob code cleanup. Compressed ISO ("gcz") support reactivated. Beginnings of raw drive reading code. Deprecate file mapping in an ugly way.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@566 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 23:25:35 +00:00
fires.gc f198d550bc fix for small memory leaks
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@562 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 08:40:52 +00:00
Maarten ter Huurne e9f0d0cae3 Added missing include.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@559 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 08:23:41 +00:00
Maarten ter Huurne 07a581ba19 Fix build on Linux: commented out setting of background color. If I understood the code correctly, the color will be determined later (after sorting).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@555 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 08:09:41 +00:00
Maarten ter Huurne 1f66120671 32-bit Linux fix: check result of mmap(): if it fails, it returns MAP_FAILED, which is not equal to 0. Also print error message associated with errno.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@554 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 08:08:22 +00:00
Maarten ter Huurne f70819197a Changed return type of Find4GBBase() to u8*, since it really is a pointer (all callers were typecasting it to u8*).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@553 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 07:58:17 +00:00
fires.gc 9e49eda4f1 bugfix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@552 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 07:34:00 +00:00
fires.gc 076b7069ce fixed memory leak
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@551 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 07:16:14 +00:00
nakeee 23876b80c5 added filesystems.cpp to linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@550 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 06:57:02 +00:00
fires.gc 85993d02ad fixed small memory leaks of the windows version
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@549 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 06:50:52 +00:00
Shawn Hoffman 5db2389374 windows build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@548 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 06:01:07 +00:00
Shawn Hoffman afc6bf15ab added sorting to gamelistctrl (thanks a lot to gigaherz)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@547 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-17 05:57:43 +00:00
nakeee e4ca998ff8 few warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@545 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 20:24:34 +00:00
memberTwo.mb2 e6a12b553b Idle skipping in DC added (speedup). "Idle skipping" option in menu and ini
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@544 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 20:02:59 +00:00
nakeee 0f4c4b6e1c SConscript made all the rest of env.Copy into env.Clone
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@542 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 16:50:09 +00:00
daco65 233c28ee22 reverted some code from rev 532. dolphin had focus trouble
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@540 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 16:28:36 +00:00
gigaherz 17b8a7511b Fix build when using unicode wx.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@538 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 13:34:39 +00:00
fires.gc ff863e0cec added gui support for compressed ISOs...
compression doesn't work and will be fixed (hopefully :D)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@537 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 12:09:35 +00:00
nakeee 29fb6187b9 copy to clone
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@534 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-16 08:32:12 +00:00
XTra.KrazzY ba90c68742 In single core mode Emulation and CPU threads are now merged. Performance gain due to sleep elimination. Powerdown checks are already done in the CPU thread.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@532 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-15 21:46:26 +00:00
masken eafd38f6fb Fixed DebugFast versions of PadSimple and DSP HLE plugins.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@531 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-15 21:38:23 +00:00
XTra.KrazzY 2c2697077b Stopping games now works
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@530 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-15 21:37:05 +00:00
nakeee 6a7351181f print percent with .2lf
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@528 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-15 05:14:18 +00:00
Sonicadvance1 39aed329f9 Fixes Sorting in Linux, already tested in Windows. and if logging isn't enabled when loading a dynamic library in Linux, it will print instead of log
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@527 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-14 22:25:28 +00:00
fires.gc 6c007ceff0 added support for the wii mem dump (again)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@526 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-14 11:57:35 +00:00
hrydgard 7d07881116 Revert a fix for now, might break Win32 build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@525 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-14 09:54:48 +00:00
hrydgard 4c6d684a9f Some sanity checks in the debugger.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@524 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-14 09:18:03 +00:00
hrydgard a56fcd4e98 Fixed some valgrind warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@523 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-14 09:12:19 +00:00
memberTwo.mb2 0ba3948c42 JIT profiler: in block performance counter.
MemoryView: raw memory display.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@522 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 20:58:24 +00:00
hrydgard bec80af7d2 Move some stuff from bss to heap
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@521 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 18:35:49 +00:00
hrydgard 7a8d4a1987 Defend against bad parameters for HLE_Printf, early out in symboldb, misc
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@520 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 18:15:53 +00:00
masken f75fafc1ce Moved all relevant code into the Wiimote plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@518 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 17:11:15 +00:00
Shawn Hoffman 73cef0e53b fixed plugin options: no longer ugly on linux, and calls wiimote config/about
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@516 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 16:10:26 +00:00
Shawn Hoffman 6cabff4b0d daco breaks things ^^
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@515 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 15:31:06 +00:00
Maarten ter Huurne 0b600d848a Added new file "Plugins/Plugin_Wiimote.cpp".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@514 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 15:27:09 +00:00
daco65 583d22e72b and suddenly out of nowhere i had 4 resource.h files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@513 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 15:17:16 +00:00
daco65 f07b75dc09 some patches done by F|res & OmegaDox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@512 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 15:09:03 +00:00
daco65 af918f2e43 added the wiimote config to the dolphin.ini options.
also commented out the wiimote loading. cause the plugin can't do anything yet it wont load dolphin to start the game.
I also renamed the wiimote plugin. removing the test part. yes its a test but in the end its meant to become a full wiimote plugin right?

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@509 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 13:44:06 +00:00
masken f6e4aad94f Added preliminary Wiimote plugin spec, and an empty test plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@508 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 10:28:23 +00:00
XTra.KrazzY daabc11592 Clearing memory on boot
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@505 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-13 00:41:31 +00:00
daco65 7a68316c61 stupid VS2005 compiler and its " i dont understand directories with spaces"
fixed building when the source is located at a place like C:\Documents and settings


also got sick of njoy.h saying the new lines wern't done correctly. so thats fixed too.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@504 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 23:55:59 +00:00
masken db23e9a6c0 Wiimote: added hardcoded example data reporting functions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@503 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 20:45:06 +00:00
Shawn Hoffman 08a79ec7df win64 build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@502 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 20:08:38 +00:00
masken 6d3ada97a2 Wiimote: fixed SendDataReply() and added a bunch of report handlers.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@501 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 19:35:04 +00:00
memberTwo.mb2 3cc7e501af fix windows build.
fix debug from VS IDE.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@499 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 13:46:45 +00:00
nakeee bd2fb238b6 changed lzo to minilzo, fixing compile on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@498 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 09:59:10 +00:00
nakeee ea75d5adce fixed casting to pointer, Im not 100% sure it's currect so please give it a look
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@497 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 09:37:19 +00:00
nakeee e5a126e231 lzo compiles on linux (almost working)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@496 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 09:15:54 +00:00
nakeee 7230dc58da fixed convertion between const char * and wxString to make code compile
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@495 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 07:58:19 +00:00
XTra.KrazzY 8f04cf2f4b LZO commit fix. Linux developers: Please add LZO to SConstruct, if necessary.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@494 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 00:22:35 +00:00
XTra.KrazzY 795c3bc4e0 Added the LZO external library. Added very fast LZO save state compression.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@493 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-12 00:08:55 +00:00
Shawn Hoffman 8dbfcaef4f added notes column and it resizes columns in a better looking way now (like the old gui)
still need to find a way to colorize columns individually, seems to be a problem with wxw
if there is a defaultgcm selected, hitting play boots that gcm.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@492 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-11 21:24:49 +00:00
Maarten ter Huurne eb1228cdb1 Moved SysMessage() from the video plugin into the main app, so the GUI and non-GUI executable can handle it in a different way. This fixes a crash in DolphinNoGUI when SysMessage() was called and tried to use a non-initialized wxWidgets. (this commit contains changes that should have been in revision 489)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@490 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-10 01:03:22 +00:00
Maarten ter Huurne 54c2a07de5 Moved SysMessage() from the video plugin into the main app, so the GUI and non-GUI executable can handle it in a different way. This fixes a crash in DolphinNoGUI when SysMessage() was called and tried to use a non-initialized wxWidgets.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@489 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-10 01:01:28 +00:00
Shawn Hoffman 38ff37539d updated gui a little bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@488 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-09 23:34:13 +00:00
Maarten ter Huurne 7ae9fb085b Removed Host_CreateDisplay() and Host_CloseDisplay() since these functions do not exist in "Host.h".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@487 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-09 23:26:09 +00:00
masken 09ba0a3a11 Fixed a couple of unused variable warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@486 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 20:14:07 +00:00
nakeee 86a9c845c3 much ctor order
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@485 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-08 18:35:24 +00:00
Maarten ter Huurne ed7a5a46d0 Removed time trial restriction ;)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@476 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 21:06:55 +00:00
Maarten ter Huurne 64390ff77d Fixed indentation. I am making this a separate commit so the next commit will show the actual code changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@475 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 21:02:57 +00:00
nakeee ac83588c3a continue changing src to Src
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@474 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 20:29:31 +00:00
nakeee 21171d8b1b git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@473 8ced0084-cf51-0410-be5f-012b33b47a6e 2008-09-07 20:26:38 +00:00
nakeee 5fb796fd19 use gen get opts for parsing MainNoGui command line, this doesn't do much yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@472 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 20:24:05 +00:00
Maarten ter Huurne 885e1c5185 Removed ini file that was in the wrong place.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@471 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 19:47:07 +00:00
Maarten ter Huurne 9e692e4770 Removed "break" after "return" to avoid warning in GCC.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@470 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 19:29:33 +00:00
masken f5c7f61ed3 Wiimote: added a bunch of HID packet handling. LogManager: removed double line breaks in Win32 log files.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@469 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 18:54:33 +00:00
daco65 6c0fd0b31f forgot to remove icon before committing...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@466 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 16:21:28 +00:00
daco65 ad3bea4c04 changed keyForControl to an unsigned int. it was in conflict with main.cpp
also changed the pre-build events so that it now compiles even when the dolphin source is located in a dir with a space(like C:\documents and settings)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@465 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 16:12:56 +00:00
Shawn Hoffman 55002b9db2 changed Memory::Shutdown with a patch from mOoOo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@464 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 14:56:05 +00:00
nakeee 5af15b6fd3 added ()
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@459 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 14:04:25 +00:00
nakeee 43634d53df fixed warnings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@458 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 13:58:56 +00:00
nakeee e77e1cbabc removed unesserary __attribute__ ((packed));
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@457 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 13:51:39 +00:00
Maarten ter Huurne 6cd9700dcf Explicitly convert negative numbers to u32 to avoid warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@456 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 13:17:46 +00:00
Maarten ter Huurne 4952852799 Removed header because "HTTP.cpp" was the only source that included it, and that source was removed.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@455 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 13:04:40 +00:00
Maarten ter Huurne 7beada8f54 Removed "HTTP.cpp" from list of files to build, because the source file was removed too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@454 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 13:03:32 +00:00
hrydgard 81e937041f fix 64-bit build too on Platform SDK 6.0, fix project file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@453 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 11:07:55 +00:00
hrydgard 5a69fca0be Add some missing GPL headers, fix building with Platform SDK 6.0, delete unused HTTP code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@452 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 10:29:46 +00:00
Maarten ter Huurne 5ac0c33530 Fixed "bcl" instruction in the case where the branch is always taken. The old code would emit a "jne" that can skip the updating of LR depending on the state the host CPU happens to be in.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@451 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-07 07:04:41 +00:00
daco65 72ca1e2355 refixed. my mistake sorry
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@450 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-06 23:38:12 +00:00
daco65 3078f66763 fixed some issues with ExtendedTrace.cpp for 64bit builds. not sure about the (PDWORD64) tho (i had bad exp. with that in past projects).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@449 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-06 23:05:06 +00:00
nakeee 953085d4d9 include fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@448 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-06 21:56:20 +00:00
masken 10e9add26d Fixed Common logging.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@447 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-06 21:12:19 +00:00
masken 565a4d28ec Added ExtendedTrace crash logging. Wiimote HLE can now create an L2CAP connection.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@446 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-06 13:41:44 +00:00
nakeee f6298b9f31 forgot return value on windows
can't check it though


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@445 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 15:22:25 +00:00
nakeee 3749fb510b added getuserdirectory
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@444 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 13:12:47 +00:00
nakeee dc28cbec1c map renamed to icon
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@443 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 12:16:01 +00:00
nakeee 6edc234303 added createdir and isdirectory for nix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@442 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 11:59:28 +00:00
Maarten ter Huurne cf36d4ba58 Fixed ProtectFunction(): it should copy parameters using the padded size. Actually, I am not sure this function is correct, but at least its implementation is now equivalent to the original (before rev 439).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@441 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 01:48:16 +00:00
Sonicadvance1 6d53aaed21 Linux: Made PadSimple actually work in Linux, removed the SDL dependency since Fires yelled at me (a long time ago).Tmator, you will have to use something else and Video Plugin Skips key events in Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@440 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 01:07:41 +00:00
Maarten ter Huurne 722ea233a1 Align stack to 16-byte boundary when compiling in 32-bit mode with GCC. This is required to run anything on OS X and to support SSE instructions on Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@439 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-05 00:02:53 +00:00
masken f96d19a1fb Wiimote: added ACL connection setup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@438 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-03 06:50:38 +00:00
Maarten ter Huurne 36058428a0 Replaced "unsigned __int64" by "u64".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@433 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-03 00:02:21 +00:00
Maarten ter Huurne 6e2416b389 Replaced "unsigned __int32" by "u32".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@432 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-02 23:44:54 +00:00
Maarten ter Huurne 36b464cbc8 Replaced "unsigned __int16" by "u16".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@431 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-02 23:32:05 +00:00
Shawn Hoffman 179752449d removed PortableSockets.cpp from the vs05 project file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@430 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-02 02:35:08 +00:00
Maarten ter Huurne 1154027808 Replaced type "DWORD" by "u32", except where "DWORD" is used to access the Windows API.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@429 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 22:48:56 +00:00
Maarten ter Huurne f3f17b4a19 Removed parts of PortableSockets that we do not use. If you need more functionality later, resurrect it from old SVN revisions or re-download the source (see top of the header). However, DO NOT use performance counters to do timing, since the counter value can be different for different CPU cores.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@428 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 22:13:11 +00:00
masken 012041bab5 Added puts() HLE, WIIMOTE logging section and experimental virtual connection request.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@427 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 21:29:27 +00:00
gigaherz b1cd01819b replace _DEBUG with LOGGING in the #ifs. Thanks to Xuefer for this change.
also unbroke somethign which shouldn't have been there in the last commit.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@426 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 15:18:32 +00:00
gigaherz a7ec1a2562 Made banners/icons show up in linux. It doesn't seem to use the right height, but I have to leave now so that will have to wait.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@425 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 15:04:59 +00:00
gigaherz b0f51a0b98 Reverted the "warning removal" changes because they broke debug building in windows. Used #ifdef _DEBUG to disable those lines in release builds instead.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@424 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 14:49:34 +00:00
XTra.KrazzY 10eef7f60e Build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@423 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 13:31:24 +00:00
nakeee 4bbfff3cac many warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@422 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 12:11:08 +00:00
Maarten ter Huurne cad45aea72 Replaced CPFifo by SCPFifoStruct: both were identical and there is no point in having two definitions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@421 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 09:12:30 +00:00
Sonicadvance1 454cee4d1e Your Holy savior has come to save the day. Also fixed compiling in Linux, a memory leak, and checks if a glxcontext was created
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@419 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 08:32:33 +00:00
gigaherz ead647d422 Added code to display the first icon (I tried to display it animated, but failed).
It still uses just one imagelist, so I had to "expand" the icons to 96x32 (adding transparent pixels to the right).
Sorry I don't know how to do this better and it's 4am.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@418 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 02:10:42 +00:00
gigaherz f0b41b1f0d Fixed display of banners.
Turns out the YAGCD stuff was wrong, and it messed up the meaning of two bits. Also I had a bug in the CI8(C8) icon format display (wrong unswizzling).

Next will be adding icon display & animation, in a separate column

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@417 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-01 00:43:35 +00:00
gigaherz 56608cecc9 Added code to display the banners from the memcards. Doesn't overlay the icons yet.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@413 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 22:28:43 +00:00
gigaherz 532c675a3a Added animation reading. It seems to work fine for the first frame, but none of my saves have >1 frames so I can't test the reading of the other frames, which should work fine anyway.
Only missing is DISPLAYING the banner and the animation/icon.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@410 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 21:08:47 +00:00
gigaherz be6c1518ea Added ReadBannerRGBA8 function to GCMemcard class.
Also "#if FALSE"'d the debug code which outputs BMPs of the banners (because I'm too lazy, the BMPs will "look" upside-down, while the actual image is ok).

Next step will be to also allow reading animations.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@409 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 20:35:41 +00:00
Maarten ter Huurne 0bebbcb5f4 Replaced type "BYTE" by "u8", except where "BYTE" is used to access the Windows API.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@408 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 14:32:35 +00:00
hrydgard af1e42ec90 Fix build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@406 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 14:00:54 +00:00
Maarten ter Huurne 2c7a92e1b7 Split off type definitions from "Common.h" into new header "CommonTypes.h". This is a preparation for sharing the type definitions between the Dolphin core and the plugin specs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@405 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 13:54:25 +00:00
hrydgard 09406d76c4 Fix/workaround at least one class of buffer underruns in the GL plugin. Fix some bad deletes (instead of delete []). etc.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@404 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 13:36:52 +00:00
Maarten ter Huurne d9e129ae99 Removed WEAK_SYMBOL: it is not used anywhere.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@403 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 13:13:36 +00:00
XTra.KrazzY 2f0eb72ba1 Added compression support for save states. Decompression is still buggy so compression is off by default.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@401 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 09:38:41 +00:00
hrydgard a9c6a59307 don't lookup things in symbol map unnecessarily in the ppcanalyst, helps slowdowns in debugger in debug mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@400 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 08:39:57 +00:00
hrydgard 55c18d1d10 some cleanup, don't update the log window too often
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@399 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 08:29:43 +00:00
hrydgard 8bd78a21b4 Fix Pad_DX9 crash
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@398 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 06:53:23 +00:00
hrydgard af60e06bb0 Simulate Wii bootup better (info from wiibrew.org)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@397 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-31 06:52:16 +00:00
hrydgard b89e56cbcb linux build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@396 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 23:30:41 +00:00
XTra.KrazzY 432084ebe7 handled state saving IO errors
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@392 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 22:36:28 +00:00
hrydgard 718a1c6a3f missing files, sorry
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@391 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 22:15:37 +00:00
hrydgard 005cbbb379 Basic VBA-style save state system implemented - kb shortcuts only working on Windows. Keyboard shortcut system added. More cleanup in GFX plugins.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@390 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 22:06:53 +00:00
hrydgard 85565688d7 New SaveState folder for states. Removed some outdated code. Removed an unnecessary level of indirection for plugin calls. Assorted cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@389 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 19:19:40 +00:00
hrydgard 6b6003c563 add zlib include directory to all configurations of Core.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@388 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 16:45:07 +00:00
hrydgard e4825be7a8 more statesave bugfixes...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@387 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 16:24:45 +00:00
hrydgard 4608333a56 State saving progress. Most core state seems to be saved/loaded correctly, not so for video yet unfortunately.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@386 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 16:05:32 +00:00
XTra.KrazzY 95eb8f9ef3 Save states now work (to some extent). Please report special cases which cause crashes or anything of the sort. Also removed debug messages from state management
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@385 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 15:54:44 +00:00
gigaherz 06f0b02ecd Fixed a few bugs with the memcard manager, and memcard classes:
- Now the GCMemcard class will use the backup dir/bat if the main one is outdated/corrupted.
 - I fixed a few bugs in Delete. It still doesn't work, but at least it doesn't make the program crash.

I included a small changei n the sln so that debug/x64 builds use release/x64 njoy, this way there's no build errors annoying people trying to debug Dolphin. ;)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@384 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 13:44:44 +00:00
hrydgard 53afa1f900 reverted quantizer fix - causes heavy slowdown in some games. I have a better idea :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@383 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 13:17:07 +00:00
hrydgard 5ac5a04982 More state save code, "proper" fix for the quantizer problem
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@382 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 13:06:17 +00:00
hrydgard ff0a613427 Cleaning up XK's mess, added a simple profiler, minor disasm fix. Too lazy to split it up into individual changes. Savestates not yet working.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@381 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-30 12:11:25 +00:00
Shawn Hoffman c32f116596 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@376 8ced0084-cf51-0410-be5f-012b33b47a6e 2008-08-28 22:15:00 +00:00
XTra.KrazzY 2e760d69fe Added save/load state support in the UI
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@375 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 21:30:13 +00:00
Maarten ter Huurne 1716ef46bb Use compact syntax for converting C strings to C++ strings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@374 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 19:22:36 +00:00
Maarten ter Huurne cfd31f4385 Build both GUI and non-GUI executable.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@373 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 18:58:11 +00:00
XTra.KrazzY f8b4311b66 Final typo and error fixes and include reordering
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@372 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 09:19:46 +00:00
XTra.KrazzY 531230c03d *another* typo fix. Sorry
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@371 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 08:11:40 +00:00
XTra.KrazzY f3fb7a9102 typo fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@370 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 08:09:25 +00:00
XTra.KrazzY e05e2179c3 I have broken something, but more may be broken
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@369 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 08:00:40 +00:00
XTra.KrazzY 051c2e0784 A lot of save state groundwork. Please notify if compilation breaks because
I haven't compiled


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@368 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-28 07:58:04 +00:00
XTra.KrazzY 8a33d6787b git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@367 8ced0084-cf51-0410-be5f-012b33b47a6e 2008-08-28 07:42:48 +00:00
Maarten ter Huurne e764723832 Fixed warnings about comparison between signed and unsigned integer expressions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@366 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 16:12:05 +00:00
Maarten ter Huurne 541a86de26 Removed unused function x86SetJ8().
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@365 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 13:42:32 +00:00
Maarten ter Huurne ad748bfc05 Fixed CALL range check.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@364 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 13:29:35 +00:00
Maarten ter Huurne 9b1ddfcc69 Fixed BE32 macro to make sure it returns an unsigned int.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@363 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:51:03 +00:00
Sonicadvance1 a5d51aa2ce Linux Speed up
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@362 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:47:57 +00:00
daco65 6b718a6936 just some typo correction
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@361 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:44:29 +00:00
Maarten ter Huurne 105e1c325f Fixed warnings about field initialisation order.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@359 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:33:49 +00:00
Maarten ter Huurne ae7d236fdf Fixed warnings about field initialisation order.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@358 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:27:03 +00:00
Maarten ter Huurne b64722d4d5 Fixed warnings about field initialisation order.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@357 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:23:52 +00:00
Maarten ter Huurne a8f5185ef0 This header is Windows specific, so disabled it for other platforms, to avoid GCC complaining about a #pragma it cannot understand.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@355 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 12:09:56 +00:00
Maarten ter Huurne c0da275501 Fixed warning about initialisation order. Also made code layout consistent within this file.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@350 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 11:33:45 +00:00
Maarten ter Huurne bbeca155de Added "const" to the data type. This fixes loads of compile warnings and the resulting file seems to still be a valid XPM (in fact, some of the files already had "const").
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@349 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 11:24:16 +00:00
Maarten ter Huurne b6f82eb871 Avoid warning about redefining macro. It would be nice though if someone could add a comment describing what is Windows-specific about the JITting of stb/sth/stw.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@348 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 11:17:50 +00:00
XTra.KrazzY a0ae17c5ff Fixed message box calls (they aren't even necessary, just checking whether the saving made it into the VideoCommon library
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@345 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 10:01:46 +00:00
Maarten ter Huurne f8d7231be8 Fixed "no newline at end of file" warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@342 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 09:27:57 +00:00
Maarten ter Huurne f31ae87152 Fixed "no newline at end of file" warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@341 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 09:27:38 +00:00
Maarten ter Huurne 4aa233f1f6 Only include <windows.h> when compiling for Windows.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@340 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 09:07:02 +00:00
Maarten ter Huurne 7d0bf8a101 Fixed "no newline at end of file" warning.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@339 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 09:05:52 +00:00
daco65 f55722e288 Fix for XK's commit. XK, if its wrong punch me in the face
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@337 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 01:45:31 +00:00
Maarten ter Huurne d720368d48 Clear the full size of the EXRAM.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@335 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 01:05:54 +00:00
Maarten ter Huurne 0f3e8ddced On platforms where the OpenGL library uses the CDECL calling convention, the stack should be increased after making a call.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@334 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-27 01:04:54 +00:00
XTra.KrazzY 7a2cdef912 Preliminary video save state support. More work is necessary, this is just some infrastructure for inter-project communication.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@332 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 23:40:18 +00:00
Maarten ter Huurne 734586a0ab Include system headers using "#include <file.h>", so GCC will not issue warnings about them.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@331 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 23:32:54 +00:00
Maarten ter Huurne 59974dfb5b Only use "-fPIC" for compiling objects that will be part of dynamic libs. Make SConscripts inherit the compile flags from the top level instead of overriding them.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@329 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 22:28:42 +00:00
Maarten ter Huurne 0ebba1bde0 Restructured main SCons file in the same way as the one for the GL plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@328 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 21:02:23 +00:00
Maarten ter Huurne 93f45b773c Fixed typo introduced in rev 323.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@327 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 14:09:59 +00:00
Maarten ter Huurne cedb93df9c Use CP_START constant: its value is 0, but using the constant anyway makes the code easier to read.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@325 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 13:06:38 +00:00
Maarten ter Huurne 19336445df IsElfWii(): return false if open fails. Also query file size only once.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@324 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 13:02:54 +00:00
Maarten ter Huurne ef6fb30b3c Refactored BlobReaders: instead of constructor + IsValid() method, a factory method is used which returns NULL if no valid BlobReader could be created. The new code does more sanity checks and leaks less objects.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@323 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 12:40:09 +00:00
Maarten ter Huurne 4c54c0cad8 Documented the change of rev 320 in a comment, so people reading the code will not be tempted to remove it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@322 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 12:06:43 +00:00
Maarten ter Huurne 8e69d942e9 Implemented querying file size on POSIX. Also fixed size rounding of mmap() on POSIX.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@321 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 11:44:17 +00:00
Maarten ter Huurne fdf02ce331 Allow 32-bit writes to the VI: although this is officially not allowed, the hardware seems to accept it (for example, DesktopMan GC Tetris uses it).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@320 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-26 10:20:41 +00:00
hrydgard 236bb74c92 Forgot to move some enums.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@315 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-25 21:15:52 +00:00
hrydgard 84336bd7b6 little Logwindow feature - enable/disable all logs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@314 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-25 21:02:56 +00:00
hrydgard ab4333ebac Small build fix, re-add CPU check
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@313 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-25 20:43:37 +00:00
hrydgard fd188ec09e Switch between JIT and Interpreter at runtime using the debug window (pause first!)
Plus assorted cleanup & fixes.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@312 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-25 20:34:11 +00:00
Maarten ter Huurne 1a2e350158 Declare EAX as input register for CPUID.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@310 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-25 10:21:19 +00:00
Maarten ter Huurne 8a06c0fdc7 Added call to DetectCPU() which is present in "Main.cpp" but was lacking in "MainNoGUI.cpp".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@309 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-25 08:51:08 +00:00
Maarten ter Huurne 8185f7689a Fixed build on Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@306 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 22:39:36 +00:00
hrydgard 90cf2c12c3 The arrows are back in the codeview!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@305 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 22:22:55 +00:00
hrydgard a47f8cbe9a more fixes, prefix filter for export symbols
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@304 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 21:54:59 +00:00
Maarten ter Huurne 4871626af8 Fixed "no newline at end of file" warnings issued by GCC 4.2.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@303 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 21:50:41 +00:00
hrydgard 5079ed0e5d linux build fix?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@301 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 21:32:35 +00:00
hrydgard 71ea240890 More symbol magic+bugfixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@300 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 21:30:59 +00:00
Sonicadvance1 241896ee4c Build fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@299 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 20:32:46 +00:00
hrydgard b9f5fd1f44 Very simple call tree browser added to code window, bottom left.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@298 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 20:25:36 +00:00
Maarten ter Huurne 1b1f0ecae9 The simple form of "cpuid" should work on 64-bit platforms; on 32-bit platforms it is safer to use the version that does not modify EBX.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@297 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 20:13:49 +00:00
Maarten ter Huurne 7151ec6f4f GCC does not accept namespace as a prefix when defining functions (in general or because we are already inside the namespace?).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@296 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 19:48:42 +00:00
Maarten ter Huurne 2babda7a80 Explicitly convert from C string to wxString. Fixes build on Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@295 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 19:47:10 +00:00
hrydgard c0c6fc9e6d Ok, part 2/2 of the symbol code rewrite. You can now create and use function signature files. A monkey ball signature file included. Now to add some cooler features...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@294 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 18:50:51 +00:00
XTra.KrazzY 23665a7b93 Cross compatibility function union (strcasecmp, unlink)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@293 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 16:25:52 +00:00
hrydgard f44a06465a Change some project settings. Reorganize the symbol database code, step 1/2.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@292 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 15:46:08 +00:00
Maarten ter Huurne 6f1600304f 64-bit constant needs "ULL" suffix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@290 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-24 11:37:31 +00:00
Sonicadvance1 8f6d7ad5e9 ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@285 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 19:50:28 +00:00
masken 657dfff6f8 Fixed new warnings from r282.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@284 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 15:33:40 +00:00
masken ae5b59747a Turned on Warnings as Errors for all vcprojs. Fixed almost all of the warnings in win32. Added many SVN Ignore settings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@283 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 15:28:24 +00:00
hrydgard 8be70a8ed2 Finally hacked Super Monkey Ball into submission! Some bonus hacking tools included.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@282 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 15:15:25 +00:00
masken 0849a96d81 Added SYSCONF files. Fixed the return value of FileIO::Read().
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@281 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 14:53:33 +00:00
Sonicadvance1 d697eb6a85 Fix Compiling for people, Silly ector breaking things ;p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@280 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 11:18:39 +00:00
hrydgard f82bf2ae9a Lots of FP hacking for little gain, super monkey ball is only slightly more sane (wow, it rhymed). Temporary no-speed-limit hack: Hold TAB.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@279 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 09:20:36 +00:00
Maarten ter Huurne 0becaa3223 Make sure SDL can hijack main() so it can do its initialisation. Only implemented for non-GUI executable so far.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@278 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 08:42:52 +00:00
Sonicadvance1 6e3069f99e Should fix Linux building, also adds GL/DX to the title in their respective plugins when in use
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@275 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-23 03:48:40 +00:00
Maarten ter Huurne cb5aa5435b On non-Windows platforms, #define _M_IX86 for 32-bit platforms and _M_X64 for 64-bit platforms. Until now, 64-bit was always selected, which broke Dolphin on 32-bit Linux and OS X.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@273 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 19:28:00 +00:00
Maarten ter Huurne 31c0bc4508 Implemented FPU precision control for 32-bit non-Windows platforms.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@272 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 17:46:13 +00:00
Maarten ter Huurne 292120453e Implemented FPU rounding control for 32-bit non-Windows platforms. I renamed the _RC_* constants that were previously #defined, because the bit patterns used by the hardware do not match those used by Windows; the new constants match the hardware.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@271 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 12:17:55 +00:00
Maarten ter Huurne 418e37029c Typecast function pointer argument of CALL() to void*, since this is not an automatic conversion for GCC.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@267 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 11:21:51 +00:00
Maarten ter Huurne 936bfbd867 Implemented Find4GBBase() on 32-bit non-Windows platforms. I am not sure the pointer acquired is any good though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@266 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 10:38:53 +00:00
Maarten ter Huurne e74dd5d9f9 Added missing #include.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@265 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-22 00:13:26 +00:00
hrydgard 465ee5fd86 Save states - more boring groundwork. Far from done.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@263 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 23:28:07 +00:00
Maarten ter Huurne 28edd4d31b Fixed compilation when logging is enaled: it tried to log a non-existing field ("name"); I replaced it by an existing field ("type").
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@262 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 23:23:15 +00:00
Maarten ter Huurne 1acdd6b8e0 Fixed compile errors in conversion of C string to wxString when compiling with GCC against wx with Unicode support.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@261 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 23:11:29 +00:00
hrydgard 6a4d697f5f statesave prep: Change coretiming to index/registration model, instead of storing pointers. This will make it possible to save/load the event queue.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@258 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 20:01:18 +00:00
hrydgard 9e3747e2f3 SaveState preparations #1 - Annotate all(?) state. (NO SCHEDULE PROMISE!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@257 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 18:23:10 +00:00
hrydgard 92031705cd Forgot some defines.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@256 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 17:57:26 +00:00
hrydgard 3ef0eb979d Move some code out of the plugins into VideoCommon. No functional change.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@255 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 17:49:06 +00:00
hrydgard 5e4da92d42 Very basic JIT results viewer.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@254 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-21 17:22:55 +00:00
hrydgard 77cec36ad4 Force the result of single precision arithmetic to have single precision only, also in jit. That is, another attempt at fixing the FPU bug in Zelda.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@251 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 23:25:48 +00:00
Maarten ter Huurne adafeaa8b4 Simplified conversion to C++ string.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@250 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 18:43:14 +00:00
hrydgard 683ba7ecae Minor speedup in texdecoder. More informative fifo error messages.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@249 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 18:31:48 +00:00
hrydgard bab47b610d Save/restore SSE flags through protected function calls.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@247 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 18:28:21 +00:00
hrydgard b5ff3fd80e Workaround for a missing feature in the FPU parts of the JIT.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@246 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-20 18:27:20 +00:00
hrydgard af7e0404ca fix crash bug in movddup-on-sse2-emulation
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@241 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 22:58:12 +00:00
hrydgard ba684cabcd some jit updates
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@240 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 22:26:42 +00:00
Shawn Hoffman 06e1add86c getting ready for AA
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@238 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 19:35:23 +00:00
NunoRamiro 8c132bdae5 - Fixed: Crash when loading a rom with an unknown file extension.
- Fixed: Crash when stopping a game.
- Improved: DirectX Plugin.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@237 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 19:28:24 +00:00
Sonicadvance1 e3f3a7a41d Linux: Fix so there isn't a trace/breakpoint trap when you get a panicalert and got the mem card reader to work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@236 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 18:29:20 +00:00
hrydgard 3ccc46a67e Update 2005 project files. Add websites to help menu.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@235 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 16:59:59 +00:00
Shawn Hoffman 51317997f5 changed dolphinWX a bit and added memcard manager
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@234 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 16:41:53 +00:00
Sonicadvance1 730d80864d Mostly fix for OGL plugin, putting it's shaders in the right place, few other bugs here and there though. Fix for CPU detect and removed a quick hack to reduce underflows in the HLE plugin. Added AA for Linux, but may be only usable by ATI/Intel cards or Opensource drivers
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@231 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-17 03:56:07 +00:00
hrydgard d1723cae4a fix bug in giga's resampler,
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@230 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 23:53:00 +00:00
hrydgard aa3fee8c60 Audio system update - HLE plugin submitted, homebrew has sound, and also Mario movies!! (this was very unexpected). This also acts as a frame limiter. Might provide an option to turn it off in the future.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@227 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 21:58:07 +00:00
hrydgard dcd5ffeb7a More accurate audio interrupts (preparation for homebrew audio support). some minor cleanup in gl plugin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@226 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 10:49:08 +00:00
Maarten ter Huurne 7962ab4713 Fixed CPU detection on Mac OS X.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@225 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 10:48:32 +00:00
Maarten ter Huurne 2f55ee30be Added missing #include.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@224 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-16 10:41:36 +00:00
hrydgard 48cfb8aa1f bug fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@223 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-15 20:51:32 +00:00
hrydgard a077e1e1de untested cpu_id for linux/macosx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@222 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-15 20:48:40 +00:00
hrydgard 99c0d7b899 Rewrote CPU detection.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@221 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-15 20:43:14 +00:00
Maarten ter Huurne 9edf51c64f Call CheckDTLB always, only keep result if logging is enabled. Thanks to hrydgard for reviewing my previous commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@217 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 23:07:08 +00:00
Sonicadvance1 9b676c0a01 Removes 4 unneeded values in the GL plugin, Makes less buffer underruns in ALSA in DSP_NULL, and case sensitivity so Wii games get just a 'wii' bit farther
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@216 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 23:04:24 +00:00
hrydgard f5d49e87ad Unbreak input
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@214 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 22:20:06 +00:00
hrydgard 9e15c51f9e Silly build fix, a slightly improved error message.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@212 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 22:01:07 +00:00
Maarten ter Huurne aae50ada0e Avoid compile warning if logging is off.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@211 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 21:53:07 +00:00
Maarten ter Huurne 9506d46df4 Avoid compile warnings if logging is off.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@210 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 21:51:09 +00:00
hrydgard b4d7ce0197 Some cleanup, extracted XFB convert code into VideoCommon, added non-activated support to gl plugin. + a minor bugfix with no effects seen so far in gl plugin :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@209 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 21:34:39 +00:00
Maarten ter Huurne 1aedd4891c Avoid compile warning by adding virtual destructor.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@208 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 21:34:29 +00:00
Maarten ter Huurne 5130365b6d Fixed compile warning: added explicit typecast for converting -1 to an unsigned number.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@207 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 20:56:36 +00:00
Maarten ter Huurne bcf02be749 Avoid compile warning if logging is off.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@206 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 20:50:14 +00:00
Maarten ter Huurne 58e2ca0450 Fixed compile warning: comparison of signed to unsigned.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@205 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 20:47:41 +00:00
Maarten ter Huurne 07f4d3eca0 Fixed compile warning: initialize members in declaration order.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@204 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 20:42:36 +00:00
Maarten ter Huurne 71f9655b70 Avoid compile warning if logging is off.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@203 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 20:39:51 +00:00
Maarten ter Huurne 4f744ee762 Fixed compile warning: comparision of signed to unsigned.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@202 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 20:37:14 +00:00
Maarten ter Huurne a7e409bac7 Commented out unused variables: their value is not needed, but the code is useful as documentation of the data format.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@201 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 20:20:01 +00:00
Maarten ter Huurne d91d54c3bb Removed unused local variable.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@200 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 20:14:49 +00:00
Maarten ter Huurne 231d7ffd03 Fixed compile warnings: name shadowing and comparing signed to unsigned (2x).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@199 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 20:11:06 +00:00
hrydgard 870194db21 Attempt to fix recent D3D plugin issue. Fix bug in debugger *<:-)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@198 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 19:57:46 +00:00
Maarten ter Huurne c069737df8 Moved icon from Source/ to Binary/, since files used as-is seem to be placed in Binary/.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@196 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 19:41:12 +00:00
hrydgard 697ed23474 linux build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@195 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-14 18:29:18 +00:00
hrydgard 96ca347bdc Fix sign extension bug from hardware reads. Mainly seems to affect homebrew apps.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@193 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-13 22:28:36 +00:00
hrydgard e4792fafaf make mtmsr end jit blocks - makes some wii homebrew go a little bit further
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@192 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-13 21:35:03 +00:00
hrydgard 2b8a85ac5a Yet another bunch of optimizations and cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@191 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-13 20:48:27 +00:00
Maarten ter Huurne 8900114c2b If dynamic library loading fails, log and return false instead of panicing. Also fixed bug in Get() where "retval" was not actually returned on non-Windows platforms.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@190 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-13 12:22:35 +00:00
tmator 34d6e8ad62 adding icns file for os
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@188 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-13 00:08:09 +00:00
hrydgard e4e1fda2e4 cpu detection seems broken on AMD - temporarily removed block
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@185 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-12 23:54:16 +00:00
hrydgard 70a6054d3c phew, beyond good and evil fixed in 64-bit (not setting DAZ anymore). plus some cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@183 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-12 23:27:36 +00:00
tmator ac6d34cd10 Added mth patchs / icon and a fist SDL support on OGL plugin, not work ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@182 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-12 23:17:29 +00:00
tmator f893f3f17b fix osx compiling issue on CPUDetect.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@181 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-12 22:17:41 +00:00
hrydgard 575bdd9166 Lots of various changes. CPU detect fix. Maybe a minor speed increase. CPU bugs remain.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@180 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-12 20:05:45 +00:00
hrydgard 29102ecbc6 For unknown reasons, this patch fixes Beyond Good and Evil and Metroid intro in 32-bit mode only. Yeah, I have some work to do on the JIT.
Also adds some minor stuff like memory card write notification, plus some minor SSSE3 optimizations.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@179 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-11 19:35:38 +00:00
gigaherz 93429219ab - Added some code to allow panic alert messages to print to video plugin. commented out until it's approved.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@177 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 21:48:23 +00:00
gigaherz 0332ec742e - Added message queue to DX9 plugin.
- Added plugin interface function Video_AddMessage to both plugins and to the plugin specs.
 - Added handling of the Video_AddMessage interface export from the core side.
 - Added a print on Core::Init for testing purposes (might not be the best place).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@176 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 21:34:22 +00:00
hrydgard efd15dc2c3 maybe fix some crashes some people are seeing (used wrong instruction to load 64 bits)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@174 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 20:38:15 +00:00
hrydgard dc915d40f3 unix build fix, cpu detection improvement (SSSE3 detected)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@173 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 19:14:14 +00:00
hrydgard 3540466f63 Added missing file to SConscript
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@171 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 18:34:47 +00:00
hrydgard 8cfd8aa309 Latest round of JIT changes. Probably broke something as usual.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@170 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 18:24:01 +00:00
hrydgard f9019d0ad3 Assorted debugger upgrades and fixes + changed DolphinWX project not to depend on its plugins
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@169 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 18:21:16 +00:00
hrydgard 4cec78a13b Change the way the we send commands to the GPU in single core mode. This will enable me to make the jit slightly cleaner in the future.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@168 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-10 18:15:48 +00:00
hrydgard 1359943a62 disable some problematic stuff until i can debug it
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@165 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-09 21:23:11 +00:00
hrydgard c305371725 More 32-bit speed
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@164 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-09 20:18:50 +00:00
hrydgard 12b37ba323 3 more activated instructions in the jit = maybe 1% more speed ;P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@163 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-09 18:32:10 +00:00
hrydgard e3d21c0b11 32-bit speedup (videos mostly affected). Lots of various cleanup and future proofing. A small debugger feature.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@162 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-09 16:56:24 +00:00
hrydgard 627695c667 Fix windows choppiness
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@155 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 21:00:05 +00:00
hrydgard a9b441f379 Removed some temp logging, minor other stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@154 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 20:38:08 +00:00
hrydgard 9626b3bc42 Fix shader cache bugs, improving linux speed. Remove some unnecessary printfs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@153 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 19:46:04 +00:00
hrydgard c8c1d2d905 Enable more parts of the JIT under linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@152 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 17:52:37 +00:00
gigaherz 6b8d9e1bb0 TextFmt Overlay v4. :p
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@151 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 17:30:47 +00:00
Shawn Hoffman 8e443bad3e update to the texture format overlay, thanks to giga (see issue 112)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@150 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 10:23:17 +00:00
Sonicadvance1 e34d4abfee GL plugin now Updates it's title bar in Linux. No gui also works, change it in SConscript in Linux if you want to use that one instead
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@148 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-08 08:08:12 +00:00
hrydgard b370386983 static-ified a lot of vars to prevent name collisions with plugins, other cosmetic stuff, prep for jit debug
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@147 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-07 21:29:15 +00:00
hrydgard ac366022f4 Fix linux build and a crash. hrm, how did it work before...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@146 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-07 19:20:51 +00:00
hrydgard 84b3522c24 Fix build on linux (grr), minor ABI fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@142 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-06 20:23:53 +00:00
Shawn Hoffman a44e94a594 added overlay that displays texture formats (thanks to gigaherz!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@139 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-06 01:08:02 +00:00
hrydgard 94a5ab087a Silence stupid messagebox in windows, and simultaneously fix a future linux problem :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@138 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-05 23:39:58 +00:00
hrydgard 494c1f3187 JIT works in linux with ALL OPTIMIZATION OFF - well, at least it's faster than pure interpreter :P
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@128 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-03 16:56:31 +00:00
hrydgard f895edc10d add simple PC logging facility for debugging. not enabled by default.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@125 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-01 20:36:14 +00:00
hrydgard e5940d12dc Build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@123 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-01 15:49:15 +00:00
hrydgard 9a4c66e066 More linux...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@122 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-01 13:59:37 +00:00
hrydgard 814af6c7b9 More linux prep
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@121 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-01 09:30:04 +00:00
hrydgard 73a8bb9b2f Fixed project file and removed linux debug code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@120 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-01 08:45:56 +00:00
hrydgard 53ee26711e More linux work. Getting a bit closer, but JIT does still not work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@119 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-01 08:37:19 +00:00
Sonicadvance1 3d769df036 Makes file search case insensitive with a little help from strcasecmp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@118 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-08-01 01:31:26 +00:00
hrydgard 3b4a9e06c2 fix typo in unused function, try to fix linux 32-bit opengl
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@117 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-31 21:23:30 +00:00
hrydgard 0c21d95606 bugfix, more...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@116 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-31 21:02:19 +00:00
hrydgard d8fa3113ea Cleanup, preparations for Linux/Mac JIT (not yet working)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@114 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-31 20:22:35 +00:00
hrydgard d1140d999d Blargh, 109 broke things, reverted most of it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@112 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-31 06:37:47 +00:00
hrydgard 5698cbde2f Various linux stuff - JIT does not work yet :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@109 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-30 22:17:52 +00:00
Sonicadvance1 92c0a4c370 Intel Macs: Provides fixes to help compile on Macs, thanks to tmator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@104 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-30 09:12:52 +00:00
Sonicadvance1 f95619e509 Potential fix for full screen GL in Windows, and fixes for both Linux and Mac
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@102 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-30 06:10:34 +00:00
Sonicadvance1 99d5b4f4c2 Linux+MacOS: a Fix for someone have problems with compiling on a Mac, few fixes for DSP LLE plugin, I don't have files to test though
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@100 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-29 23:59:21 +00:00
hrydgard c04011f117 removed unnecessary error message.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@99 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-29 23:32:57 +00:00
hrydgard 7894e6c9e9 Fix bug that made it impossible to even try to boot LLE bios (not tested). Also add ability for Patches/ INI files to override dual core and optimizequant.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@94 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-29 21:16:33 +00:00
hrydgard 27a141ecca Just submitting some boring minor cleanup and improved error msgs, to isolate my next change.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@92 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-27 20:51:02 +00:00
fires.gc d522d8ad86 crash fix for debugger in release mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@83 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-24 14:12:09 +00:00
fires.gc 2f308cf77a minor improvements (mostly debugger)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@82 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-24 13:40:07 +00:00
Sonicadvance1 827ce8dde2 Linux: Fixed GUI bugs that only showed up in Linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@80 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-24 09:58:04 +00:00
fires.gc 6c4573932b improved debugger - some meaningful icons would be nice :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@79 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-24 09:39:56 +00:00
Laurence Muller bb1ea13cff Minor linux fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@77 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-24 09:22:12 +00:00
fires.gc dc717f7283 finished dialogs for memory checks and breakpoints
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@76 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-24 08:47:38 +00:00
Sonicadvance1 185a214329 Linux: Fixed a bug in SplitPath which made the extension have no period. Fixes Memory cards and other checks. wxWidgets base has a nice cross-platform function for this ;)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@74 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-24 01:14:12 +00:00
Laurence Muller d8ed24fd29 nJoy:
- This version should compile on linux.
- The about and config dialogs are disabled (win32 should be replaced by wxWidgets)
- This version is untested, so if you want to try it out, use a premade nJoy.ini from a windows install.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@70 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-23 18:53:54 +00:00
Sonicadvance1 485ec4b341 Linux: Fixes to Compile
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@69 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-23 16:39:02 +00:00
fires.gc ea1bf8c51a minor bug fixes for opengl plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@67 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-23 16:20:12 +00:00
Sonicadvance1 1d175eadd7 Linux: Fixes so it compiles in 32bit. Now a Config dialog for the video plugin, Linux only, if you want to change for Windows, work on it
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@61 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-23 08:49:58 +00:00
Sonicadvance1 a626888508 Linux: Now video is actually outputted. Changing padsimple in to SDL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@54 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-22 11:16:45 +00:00
Laurence Muller e52e659f8e Added nJoy v0.3:
- Multi-controller support!
- Enjoy! ;)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@46 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-21 20:03:38 +00:00
fires.gc 7f46d51aee removed VS2008 project files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@45 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-21 19:40:53 +00:00
fires.gc c5ae27c247 renamed plugin function
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@44 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-21 19:18:21 +00:00
fires.gc e01fb56153 .
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@43 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-21 18:53:41 +00:00
hrydgard 3c71be6100 Improved some error msgs, added preliminary memory view window, split plugin ini files.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@42 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-21 18:42:44 +00:00
fires.gc 1b2d7ef56d added support for multi-controller
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@41 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-21 18:25:46 +00:00
fires.gc 90c8c2185d added dummy dialogs for debugger
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@40 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-21 15:56:14 +00:00
fires.gc fe1c82dcd5 small fix for master log
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@39 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-21 07:38:42 +00:00
Sonicadvance1 c33cf08a2f Linux: Fixes a few things, Should Compile in Linux. Ran Crazy Taxi horribly
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@38 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-21 01:27:13 +00:00
hrydgard 36f8b9751a Better error messages, Dolphin will create save directories if not present.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@37 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-20 21:20:22 +00:00
hrydgard eaaea3da94 Attempt at auto update SVN revision in title bar - let's see if it works for everyone, sorry Sonic, you'll have to find a linux solution (see svnrev_template.h). Also adds some smash bros cheats.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@34 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-20 15:12:12 +00:00
fires.gc 04abc4bcef bug fix to compile HCI in win32
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@32 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-20 13:09:32 +00:00
hrydgard 461077b1a1 More GFX plugin cleanup, still no visible changes.
New right-click popup menu in game list - allow editing patch files easily.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@31 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-20 12:26:32 +00:00
Sonicadvance1 c7795c41b7 Linux: Fix ups for people running Linux. If it breaks anything, punch me in the face.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@30 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-20 11:02:41 +00:00
fires.gc 35950043a6 disabled some OSPanic messages
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@29 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-20 08:52:00 +00:00
fires.gc 2c6baf9abb fixes for the video projects
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@28 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-19 09:57:42 +00:00
hrydgard b3c55018a6 More common things moved out from the GFX plugins. No visible changes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@27 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-18 19:33:55 +00:00
fires.gc ca13c54855 small beautifications in the debugger
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@26 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-17 22:19:57 +00:00
fires.gc 343d1ece11 debugger improvments
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@25 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-17 21:46:34 +00:00
hrydgard 711b1e0016 Started to extract common parts of the two gfx plugins into a new library (VS2008 users, sorry :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@22 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-17 20:29:04 +00:00
fires.gc fa6bd5d2e2 added first iteration of breakpoint view for the debugger
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@21 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-17 20:08:01 +00:00
hrydgard d23af1a15e New LockThreads option. Also added new INI core option - OptimizeQuantizers. Set to False to work around Resident Evil 1 bug (this will slow down other games somewhat).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@20 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-17 18:51:53 +00:00
fires.gc b673d8d770 "improved" some error messages
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@19 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-17 12:19:28 +00:00
fires.gc bce39df779 bug fix - the about function has called the config function inside the plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@18 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-17 11:48:31 +00:00
hrydgard 009a452fbf VS2008 project files.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@14 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-16 22:19:06 +00:00
hrydgard 03814840f5 Throttle reactivated. It's not very good, though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@13 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-16 21:07:18 +00:00
hrydgard ea934759e1 Mostly cleanup and some better crash messages. Also enabled partial block linking (see JitCache.cpp), should give a small speedup but may cause problems, please report!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@12 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-16 20:50:16 +00:00
fires.gc cb5072c3e4 added additional information like FPS to the status bar
added menu option to activate dual core support

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@11 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-16 12:19:14 +00:00
hrydgard cbb3c55641 Started backport of features from OpenGL to D3D plugins (no visible effects yet). Some minor cleanup and checks. Deleted unnecessary file from SVN.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@9 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-15 20:11:18 +00:00
fires.gc 982586cdc6 just some code cleanings
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@8 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-15 11:53:41 +00:00
fires.gc 050c472b38 fixed support for wii elf file loading
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-15 08:38:04 +00:00
hrydgard 8248a8d137 Reduce contiguous memory space requirement in 32-bit mode slightly. Could help some people who get the error message.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-14 19:02:05 +00:00
fires.gc e0d8d0a001 reactivated fullscreen mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-13 15:57:05 +00:00
hrydgard 775dc8a9c0 Initial megacommit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-12 17:40:22 +00:00