Commit Graph

1672 Commits

Author SHA1 Message Date
omegadox 9a126190ec Some code cleanup in DolphinWx.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1818 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 09:06:42 +00:00
nakeee 5d961c03ef new compile on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1817 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 08:44:57 +00:00
John Peterson f50746cf0e CodeWindow: Fixed the Unlimited JIT Cache option
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1816 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 07:35:12 +00:00
John Peterson 47f4e5005e Last commit: Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1815 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 03:02:02 +00:00
John Peterson fa27a97fbb Wiimote:
1) I fixed the emulated Nunchuck in Zelda - TP, however I chose the minimum workable delay time that worked in my PC, in fact it's so short that the Nunchuck still fails sometimes. If you have a very fast PC or something like that so that the Nunchuck still don't work please let me know.

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

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

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1814 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 02:59:19 +00:00
nakeee 6125efabb1 I don't know why someone decided that a function called wxMsgAlert note the wx in the begining
should be opening win32 window on windows. But few points
- If something is blocked on some debug windows or so please either fix it or post an issue. Don't add ugly hacks.
- Read the function you are changing, there is a default handler, you could should have used it instead or create a new one.
- Please help dolphin look and feel as similar as possible to prevent later issues, so if you add a param please implement it on other
cases or at least add a TODO if you must



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1813 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 21:35:39 +00:00
nakeee ca3ebe743f Some testgl work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1812 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 20:54:47 +00:00
XTra.KrazzY fa3c6c1247 scons fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1811 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 17:18:06 +00:00
XTra.KrazzY 34d47aab78 Some more nowx compile fixes thanks to tinctorius
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1810 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 17:14:04 +00:00
magumagu9 e4f8419be4 A little bit more WIP JIT work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1809 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 08:39:32 +00:00
nakeee f95937bc2e is properties the right way?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1808 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 08:30:31 +00:00
magumagu9 ce2b4bead9 And a bit more WIP JIT work, mostly floating-point improvements. It
should be getting to the point where the performance is reasonably
comparable to the current JIT on most workloads. I'm not sure of the 
exact comparisons because I haven't done much in terms of checking the 
performance versus the current JIT on floating-point heavy stuff. The 
floating point stuff is still relatively unoptimized, and there are still a
few relatively common functions that aren't being compiled yet, but the most 
critical work is done.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1807 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 07:35:06 +00:00
John Peterson acae6e6b69 Wii IOS: Forgot important condition "if (m_FileLength > 0)"
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1806 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 06:45:06 +00:00
John Peterson f8fbb5e2c0 Wii IOS: Zelda - TP save file fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1805 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 05:35:02 +00:00
John Peterson a146629b2b Build Settings: Same thing for DebuggerWX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1804 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 05:01:30 +00:00
John Peterson 0e9689a1a8 Build Settings: Added DEBUGFAST Preprocessor Definition for the DEBUGFAST Configuration
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1803 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 04:54:18 +00:00
John Peterson ce5bbf077d MusicMod: Attached it to Wii games
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1802 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 01:52:16 +00:00
John Peterson cbdad3495d OpenGL: Changed printf to DEBUG_LOG to avoid that it's always shown in the console window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1801 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-06 01:50:57 +00:00
nakeee aacfb94059 back to normal non working singleton
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1800 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 23:34:53 +00:00
nakeee 25842deac5 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1799 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 23:30:44 +00:00
nakeee 790ee70b36 More code for event handling
almost working, for some reason the event handler creates 2 instances instead of one
if anyone can see why from the code I'll be like SOOOO happy:P



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1798 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 22:51:35 +00:00
XTra.KrazzY bfe43d0c61 Various NOWX fixes thanks to tinctorius, please verify this!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1797 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 22:11:08 +00:00
nakeee f156361104 some code fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1796 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 17:46:36 +00:00
nakeee a533a9dc3d almost made the event handler into singleton having access problems
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1795 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 13:39:54 +00:00
John Peterson 65590711e9 CodeWindow: Added skip event
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1794 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 08:19:44 +00:00
John Peterson b6f4c4e958 MusicMod: Simplified the initial console log
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1792 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 07:02:24 +00:00
John Peterson 6517f80316 nJoy: Config fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1791 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 06:35:59 +00:00
facugaich d6ad009d7a - Bugfix: Don't allow for repeated paths in ISOfolder
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1790 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 05:09:23 +00:00
magumagu9 fdd06da500 Small JIT WIP fix: I figured out how subfic and subfcx work. It was a
bit surprising to me that the carry flag works differently between PPC 
and x86...



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1789 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 04:18:10 +00:00
John Peterson b5ee01ea60 MusicMod: Stop function
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1787 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 04:08:18 +00:00
Shawn Hoffman 906c8a5a63 make debugger a bit more readable; TODO: merge code for codeview and memoryview, maybe use wxGrid?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1786 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 03:09:13 +00:00
John Peterson 88291fe8be CodeWindow: Missing file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1785 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 03:01:22 +00:00
John Peterson 6c57f63280 CodeWindow: Made boot to pause optional, readded the tooltips in the Release build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1784 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 02:52:55 +00:00
daco65 6359f53343 shuffle accidentally commited the vcproj :o bad bad shuffle :D
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1783 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 01:45:00 +00:00
magumagu9 96bab6bdd8 Small WIP JIT improvement: implement stfs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1782 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 00:32:51 +00:00
nakeee 7d08aed4c1 Some small fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1781 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-05 00:10:19 +00:00
John Peterson 442f47df4c DolphinWX: Non-Windows build fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1780 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 23:24:13 +00:00
magumagu9 6ad44fd470 A bunch more WIP JIT work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1779 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 23:08:39 +00:00
John Peterson 3a3fd721d1 OpenGL: Readded hide cursor option for non-Windows builds
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1778 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 23:00:07 +00:00
nakeee 94fb0dc220 Somethin'
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1777 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 22:58:20 +00:00
Shawn Hoffman b2e96e1ca5 separate SI to be more like EXI, this will be helpful to keep each device in it's own file(s), and fix some menu text. SI devices which are interesting (to me) are GC keyboard, GBA, and N64 devices. Possibly SI.cpp can have the channel part separated out like EXI? Just committing like this to see if this is ok.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1776 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 22:55:55 +00:00
John Peterson 42bcdc4292 Build Settings: The intended commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1775 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 22:44:54 +00:00
John Peterson fe4fc22127 Build Settings: Reenabled the build events
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1773 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 22:36:58 +00:00
John Peterson ee82a3ec28 DolphinWX: Build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1772 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 22:14:34 +00:00
John Peterson f4b425d421 MusicMod: Build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1771 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 22:08:45 +00:00
John Peterson eb2ce16a6c Interface and general: Fixed the hangings and crashes that would occur from repeated Start and Stop, added optional toolbar themes, made the fullscreen mode in the OpenGL plugin more user friendly for Windows users
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1770 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 21:53:41 +00:00
Shawn Hoffman 1ed27a4fc1 merge the general and core configmain pages into "main" page, now it doesn't open onto a totally useless page ;)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1769 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 21:29:23 +00:00
Shawn Hoffman 34cad180e8 add inputcommon and padsimpleEvnt to windows build. note: the plugin is disabled atm; it builds but isn't fit for general consumption. Also a bit of dolphin-style cleanup on inputcommon
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1768 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 21:07:22 +00:00
nakeee 96d6fc6e85 More files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1767 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 20:05:34 +00:00
nakeee 90560511c9 moving around some event handler code
creating inputcommon


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1766 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 19:54:56 +00:00
John Peterson b7f1e937bb LogManager: Opt out of <wx/datetime.h> even if you have wx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1765 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 16:52:28 +00:00
nakeee 952dfcd610 Some code cleanup + added scons flavor=prof
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1763 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 10:20:38 +00:00
nakeee 7c37718089 small compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1762 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 09:44:10 +00:00
magumagu9 4eed9912ad Some minor tweaks for WIP JIT.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1761 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 09:14:02 +00:00
magumagu9 94a51a7817 Allow testing WIP JIT by using "scons jittest=1". Done by the request
of nakeee.  Hopefully this works the way I think it does.

And of course, use at your own risk...



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1760 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 09:12:12 +00:00
magumagu9 412626c327 Add CVTPS2DQ implementation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1759 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 08:29:47 +00:00
magumagu9 b4d78829c3 A bit more WIP JIT work; primary change is psq_st implementation.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1758 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 08:28:45 +00:00
nakeee a72da4e76a Make event handler wx safe
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1756 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 23:33:45 +00:00
facugaich 09b3d2d227 Changed the way the iterator is used in PatchAddEdit, I thought I'd submit it since it makes for shorter code.
Also a couple of bugfixes

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1755 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 23:02:13 +00:00
nakeee 22753f9e3c compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1754 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 22:21:34 +00:00
Shawn Hoffman 161d7f369a complete patchaddedit. thanks facugaich
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1753 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 21:55:49 +00:00
John Peterson 677c94414b MusicMod: Build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1752 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 19:39:17 +00:00
Shawn Hoffman cea5259d30 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1751 8ced0084-cf51-0410-be5f-012b33b47a6e 2009-01-03 19:31:27 +00:00
Shawn Hoffman f0cffe4e98 debug build crash fix, re-enable copying of files on building in vs....why was this disabled?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1750 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 19:30:59 +00:00
John Peterson 41e474d534 LogManager: Added milliseconds timestamp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1749 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 19:16:26 +00:00
XTra.KrazzY 5f0939dfd9 MusicMod: A couple of fixes, more to come (when I find what is the I/O interrupt we have to trap to only get music, and in the correct time)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1748 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 18:50:01 +00:00
XTra.KrazzY 1db46b6b33 Removed "Invalid ISO File" notification (we seem to get negative feedback about it :| )
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1746 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 15:10:03 +00:00
XTra.KrazzY 7fc4f19750 fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1745 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 14:39:57 +00:00
XTra.KrazzY 2d5f6f6b01 Groundwork for profiling the current JIT
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1744 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 14:29:02 +00:00
magumagu9 29a033e1dd A bit more progress on my JIT WIP: biggest changes are some substantial
work on floating-point.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1743 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 07:51:27 +00:00
John Peterson c9e2b1b548 MusicMod: VideoCommon was in the wrong directory in the solution
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1740 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 02:15:52 +00:00
John Peterson 2d25d7dfdc MusicMod: Forgot a file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1737 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 01:42:49 +00:00
John Peterson 264056972d MusicMod: Added music modification, it currently only works in Windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1736 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-03 01:38:44 +00:00
XTra.KrazzY 2e0269ae39 GetStringVA fix for "%%"s
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1734 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-02 15:11:17 +00:00
nakeee a2a5d0a066 some more work on pad/event handler
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1733 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-02 14:10:52 +00:00
magumagu9 dbd9d5fb2d Fix assembly of 16-bit immediates.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1732 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-02 04:34:23 +00:00
nakeee 232fe74536 warning fix by olejl
We should get rid of that wxmessagebox...



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1731 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-01 15:38:46 +00:00
magumagu9 4286b210a5 A couple of fixes for the current JIT.
One is generalizing the stwux implementation to all of stXx; not a
particularly significant improvement, but I had it in my tree, and it
makes my WIP JIT a drop-in replacement for the current JIT. (Not that
you'd really want to at the moment... The WIP JIT still has at
least one significant bug I haven't tracked down, and it's a lot slower
for anything using a significant amount of floating-point, which is 
basically anything except FMVs.  That said, it should basically work as
long as you're making a 32-bit build.)

The other fix is a minor (but probably visible) performance improvement 
for 64-bit Linux: fixing the store JIT to work properly.  I proposed 
the patch a couple days ago, but apparently nobody tested it... this 
way, I can force everyone on 64-bit Linux to test it :)  Please add the
"NOTE: stb and stbu are broken under 64bit Linux" bit back in if this
breaks anything.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1730 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-01 13:23:08 +00:00
magumagu9 0367e7ee4d And a bit more JIT WIP work: improved code generation for integer
load/store, and outlining the start of FP support.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1729 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-01 12:50:23 +00:00
nakeee bd3f468c37 more event handler/pad events work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1728 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-01 10:52:20 +00:00
magumagu9 f419223908 More JIT WIP work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1727 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-31 21:06:00 +00:00
magumagu9 2e58a5bef0 Slightly shorter version of 16-bit BSWAP.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1726 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-31 20:46:55 +00:00
magumagu9 05df5c8f3f Minor fix to rotation helpers so they don't do undefined shifts.
Probably not a big deal realistically, but better to be safe than sorry.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1725 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-31 20:42:23 +00:00
magumagu9 68c451f008 Some WIP work on the JIT... only marginally usable at the moment, but I
wanted to back this up somewhere, and the people familiar with the JIT 
might have comments.  There's a big comment in Jit64IL/IR.cpp with a 
high-level overview of what this is.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1724 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-31 01:39:35 +00:00
nakeee 1d0d106736 More padsimpleevnt work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1723 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-30 22:43:45 +00:00
nakeee b46d1d403a unexplained warning fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1722 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-30 19:12:04 +00:00
nakeee 443e505154 more event handler stuff
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1721 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-30 10:35:52 +00:00
magumagu9 e8949267f0 I think I figured out why stb and stbu JIT is broken on Linux 64-bit. I
don't want to actually attempt to fix it because I can't really test...



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1720 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-30 03:45:16 +00:00
nakeee d75bcf9e63 a bit more event work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1719 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29 21:47:45 +00:00
nakeee a22d27bdc2 better print function for SF keys
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1718 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29 20:36:17 +00:00
nakeee c20a54d65d more event plugin code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1717 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29 20:12:19 +00:00
nakeee e2bd162d1d A suggestion for event handler API
event.hpp is taken from SMFL code.
This allows me to use their code to make X11/Win events into ones
we can handle


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1715 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29 14:30:38 +00:00
bushing 7a18cf44b3 I don't know why this won't load on OSX, but at least now we can
tell which of these modules fails to load...


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1714 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29 12:48:49 +00:00
bushing 0c81a2c8c0 implement lots of wii HLE stuff. :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1713 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29 02:17:22 +00:00
bushing 6a9f8e766c add support for EXI_READWRITE (only used by USBGecko code)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1712 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29 02:15:38 +00:00
bushing 1d64f66241 Don't display errors for failures to load the fonts, because they are almost never used.
(Instead, we could display an error if something actually tries to use it)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1711 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29 02:14:29 +00:00
bushing 20e14bebc4 implement ScanDirectoryTree for POSIX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1710 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29 02:11:56 +00:00
magumagu9 5f1f968e21 This is an ugly hack, but increase the size of the buffer... I managed
to overflow it while experimenting with the JIT.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1709 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29 02:02:35 +00:00
John Peterson 9786786c7e nJoy: Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1708 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-28 20:11:22 +00:00
John Peterson 270e411cf5 nJoy: Changed comment
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1707 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-28 18:56:10 +00:00
John Peterson 5e5e507121 nJoy: Enabled keyboard input (only for buttons so far) through wxWidgets in the main application. It only works when you render to the main window.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1706 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-28 18:50:24 +00:00
nakeee f514f161b5 stop blamming SDL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1704 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-28 16:05:07 +00:00
nakeee 20b6438b4b warning fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1703 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-28 15:49:19 +00:00
nakeee 847dc93b73 That line doesn't make sense at all
Can anyone explain why it's there?


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1702 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-28 15:37:14 +00:00
nakeee ac7fe768ee Debug compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1700 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-27 20:11:37 +00:00
John Peterson b63e559f8a nJoy: I forgot a file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1699 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-27 11:41:58 +00:00
John Peterson 15cff48f5a nJoy: First implementation of an analog stick radius adjustment. Converting a square radius to a circle radius.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1698 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-27 11:32:03 +00:00
LPFaint99 fb5b4d026a Compile fix, remove PanicAlert from nJoy SDL
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1697 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 19:39:12 +00:00
hrydgard 3db9fb4fc1 More renaming.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1696 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 17:33:53 +00:00
hrydgard 8bf3d83107 rename some files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1695 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 17:26:18 +00:00
hrydgard 2a552421a5 moar cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1694 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 17:02:46 +00:00
nakeee acd0e0d8da linux/debug builds fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1693 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 13:19:27 +00:00
hrydgard 95a341a4e9 GL Vertex loader moved to VideoCommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1692 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 13:09:16 +00:00
hrydgard ab01e9e853 Prepare vertexloaders for the move...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1691 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 13:03:50 +00:00
nakeee 8819ac74c4 Fixed up padsimpleevnt sconscript
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1690 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 13:02:18 +00:00
hrydgard fe3cd168f0 Move parts of VertexManager.h to VideoCommon. Opens for moving the VertexLoader to VideoCommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1689 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:56:56 +00:00
hrydgard 2ec3cd6694 Move VertexShaderManager too.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1688 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:47:32 +00:00
nakeee bd9ebbf8c9 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1687 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:39:53 +00:00
hrydgard d585d26393 Move PixelShaderManager, ImageWrite to VideoCommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1686 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:27:58 +00:00
hrydgard afc87eb5ae cut dependencies, clean code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1685 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 12:24:15 +00:00
nakeee 974ff690f6 added XFStructs.cpp to SConscript
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1684 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:37:41 +00:00
nakeee fa69ed2836 compile fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1683 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:33:32 +00:00
hrydgard 67634d5a45 Forgot these
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1682 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:33:15 +00:00
hrydgard 6c916151ab Split out the shader caches into their own files. The goal is to eventually be able to move the "Managers" to VideoCommon.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1681 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:23:59 +00:00
nakeee bfa0ef86b1 make gltest compile after 1677
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1680 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:00:41 +00:00
nakeee 734c776a18 Clean up wiimote ifdefs a bit
donno what with svn and padsimpleevnt


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1678 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 10:53:32 +00:00
hrydgard fa9f5c44fb More code movin' .. split Vertex/Pixelshadermngr into xxCache and xxManager.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1677 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 10:43:18 +00:00
magumagu9 3669d711a2 Finish generalizing Safe/UnsafeWriteRegToReg, including warning about
unsafe uses.

I was going to use this for stbx, but it appears that JIT'ing it is 
actually visibly slower (!).



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1676 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 10:04:42 +00:00
nakeee 1413a40944 second try
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1675 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 09:36:35 +00:00
nakeee a679e345fd Started working on pad evnt
fix for testgl
fix for njoy-sdl to work in debug


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1674 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 09:20:01 +00:00
magumagu9 3a51b3c6e3 Generalize SafeWriteRegToReg. The non-32-bit forms aren't yet used,
but could be nice to have.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1673 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 08:56:17 +00:00
magumagu9 32402b465d JIT implementations of lwzux and stwux. Unfortunately, not really a
visible performance increase.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1672 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 08:53:40 +00:00
bushing ba58962d24 Change the font in DebuggerWX to something legible kthx
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1667 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 03:46:04 +00:00
John Peterson a9e588f4f3 nJoy: I forgot the file header
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1666 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 02:48:35 +00:00
John Peterson 92cef41968 nJoy: Preparation for adding new options. NOTICE: Not tested in OSX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1665 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 02:42:15 +00:00
magumagu9 ce01268885 Use ABI_CallFunction instead of CALL where appropriate. Hopefully, this
will help with the reported crash problems on OSX. I can't really test 
properly, though, since I'm on Linux; please give me feedback on 
whether this helps.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1664 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 22:18:39 +00:00
magumagu9 be4c7e1399 Add a helper to make zero-argument calls from an aligned stack
correctly.



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



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1662 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 22:05:22 +00:00
hrydgard 358333b94b and more boring moving and cleanup ...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1661 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 21:44:56 +00:00
hrydgard 17a601958c OpcodeDecoding.cpp now shared.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1660 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 20:11:42 +00:00
hrydgard 65e702030a Some gfx code reorg, make the two OpcodeDecoding.cpp identical - next change will move them to videocommon
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1659 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 20:07:13 +00:00
hrydgard dcc48d6c41 just a bunch of random code cleanup i did on the train bored, plus a d3d implementation of NativeVertexFormat which isn't actually used yet.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1658 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 15:56:36 +00:00
nakeee 3fd665502e DiscList section for the gameconfig files
Later it will be used to autodetect the next disc it should change to.




git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1657 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 12:02:09 +00:00
magumagu9 520f7d16e1 I didn't mean to commit this change :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1656 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 10:55:02 +00:00
magumagu9 61c45b78ef Compile fix for #ifdef OPROFILE_REPORT code; I think I'm the only person
using this at the moment, but it's nice to have it working in case someone 
else wants to try it.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1655 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 10:54:03 +00:00
magumagu9 76108a98d5 Add support for disabling branch JIT. Potentially useful for
debugging and experimenting with the JIT.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1654 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 10:51:42 +00:00
magumagu9 799bb5fc53 Continuation of r1582.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1653 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 09:36:56 +00:00
omegadox bce493cf3d 1) Added a "General" tab to config window 2) Moved Interface settings to General tab 3) some code organization
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1652 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 07:28:41 +00:00
bushing 34b92fe7c5 We need to be more careful about stack alignment on Darwin. These patches
fix the alignment of gcc-generated code (as opposed to JIT code).

There are probably more places this is needed :(


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


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1650 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 02:24:46 +00:00