hrydgard
6cd34b318f
The Mega Change Of Doom - or, fixing Stop. Almost. At least it's better than before. However, the OpenGL plugin seems to lose textures a lot between game restarts :P I think the GL plugin needs to do a lot more cleanup.
...
This change also includes tons of minor code formatting cleanup. Yeah, should've separated it ... sorry :(
Kills the old CPUCompare support. I'll resurrect it if I need it again, right now it mostly clutters the code.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2321 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 22:04:52 +00:00
John Peterson
59734ddc86
Emulated Wiimote: Added game specific Wiimote cursor configuration. The IR pointer settings will be saved for the ISO id of the ISO that is loaded. This is necessary because there is no common way of treating the IR pointer positions. The IR data use a virtual resolution of 1024 x 768, but there is no consistency of where such a point is on the screen.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2314 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-20 03:13:22 +00:00
hrydgard
41ce35deb3
fix crazy codegen bug and unban R12 from register allocators
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2295 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-17 22:18:21 +00:00
hrydgard
1c1425a406
Assorted jit64-related bugfixes. Discovered and papered over nasty codegen bug. No, IL64 still doesn't work.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2281 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 22:06:11 +00:00
John Peterson
9afd7fb620
Rerecording: Wind back the frame counter in the status bar when a save state is loaded. Issues: The frame updates do currently not occur as often as the input updates. The input updates occur more frequently, perhaps closer to 60 times per real seconds.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2274 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 07:17:34 +00:00
John Peterson
718aa585e2
Rerecording: Added frame step function and status bar for the input recording. Turn on frame stepping with Ctrl, step with Space. Build the Rerecording version with the setting in Setup.h.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2273 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 06:18:18 +00:00
LPFaint99
7d3e84c182
Preliminary support for having MasterKey for U/P/J and MasterKey for Korean wii games. Needs testing by someone who has a Korean wii game
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2272 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 06:17:21 +00:00
John Peterson
7c638f3a51
Emulated Wiimote: Added option to use Analog 2 for roll and pitch. Now you can use the regular controls on Analog 1 and roll and pitch on Analog 2.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2240 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 13:03:21 +00:00
John Peterson
94583cbab0
DSP HLE: Fixed a sound problem with a new Setup.h option. For some reason all the SoundSyncEvent->Set() caused a lot of static for me in Wario Land.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2236 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 01:07:20 +00:00
John Peterson
5be14f1b72
Core: It seems like different settings work on different systems. So I added a Setup.h file to allow local custom compilation settings. I avoided placing this in Common.h to avoid having to rebuild many files when the settings are changed.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2208 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 17:41:38 +00:00
John Peterson
72424eeadc
PadSimple: Added rerecording option in that the input saving counter it saved with the save state and rewinded when a saved state is loaded
...
Core: Tried to a address a semi-frequent hanging that would occur in single core mode and render to main frame
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2191 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 23:12:15 +00:00
hrydgard
5822e284f3
Add Release_JITIL configuration to use magumagu's JIT instead under windows (currently 32-bit only) (this is intended to be temporary). Add comment about crashes with JITIL in Burnout2 and Animal Crossing. Some warning disables and cleanups.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2145 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 13:09:58 +00:00
John Peterson
f610f7e197
Video and DSP plugin management: Fixed Stop and Start again, it was necessary to call FreeLibrary() on Start instead of on Stop, I don't know why but that's how it works
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2139 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 10:09:26 +00:00
John Peterson
fcdd2a8e17
Wiimote:
...
1. Fixed the dual mode. You should now be able to change between the real and emulated Wiimote at any time, even when the Nunchuck is connected. It also supports third party Wireless Nunchucks that never sends any calibration values. The Nunchuck status should be automatically updated. The Nunchuck stick may get stuck, but that should fix itself if you disconnect and reconnect again. The only important problems seems to be that the real Wiimote fails to answer sometimes so that the Core functions disconnect it.
2. Began looking at how to reconnect the Wiimote after an unwanted HCI disconnect command
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2129 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 03:16:41 +00:00
hrydgard
81631d8452
Nothing important, just cleaning my dev folder. (mostly formatting changes, removed a superfluous strlen from logging in ogl plugin)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2126 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 18:04:24 +00:00
XTra.KrazzY
77215fd27c
Joined work of nakee and mine, cleanup the logging code a bit.
...
This solves the random __Log symbol and crash problem on linux
Please tell us if you find problems in the logging code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2109 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 15:28:39 +00:00
John Peterson
cf303e70e9
Wiimote: Show the decrypted Nunchuck calibration values in the log when a real Wiimote and Nunchuck is used. Fixed an earlier bug that made the neutral emulated nunchuck accelerometer values zero, now they are back to 0x80,0x80,0xb3.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2104 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 06:40:05 +00:00
Shawn Hoffman
5f0ae71fd1
relocate the mainram dump to the dump dir
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2101 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 03:17:29 +00:00
John Peterson
220eafad0e
Wiimote: The first working IR recording, use Alt + the numerical HotKey to play back the IR data associated with a recording
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2078 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-03 00:59:26 +00:00
Shawn Hoffman
cfc128abff
reorganize SI and EXI interfaces, add a gui for picking devices. XK, that was annoying. Now, you can deal with SI_Channel. This commit changes how memcards are handled a little, now they are .REGION.raw, like .USA.raw, and can be in any dir.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2075 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-02 22:29:33 +00:00
hrydgard
411fdca4fd
kill useless unit testing framework that doesn't work :p
...
might make or add a better one later.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2053 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-01 14:21:08 +00:00
nakeee
529bf35d6a
trying to clean all plugins on shutdown
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2047 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 23:47:45 +00:00
nakeee
f8064316b1
Some code clean up
...
console now prints to file and stderr on windows someone feels like creating a wxw version?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2046 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 21:49:06 +00:00
Shawn Hoffman
b4158a28ee
cross-platformize strncasecmp
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2029 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 02:13:36 +00:00
John Peterson
946fb12752
Wiimote: Partial work on movement recording (not working yet)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2021 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-28 16:09:08 +00:00
nakeee
356db07cbf
fixed compile,
...
fixed crash,
added panicalert`
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2017 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 16:27:01 +00:00
John Peterson
3c4a73d5a6
Core and PluginManager: Fixed Stop and Start again, the video plugin needed to be completely reset
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2012 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-26 01:14:04 +00:00
memberTwo.mb2
2a13bedfc8
break my BOOLs
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2002 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 22:02:27 +00:00
memberTwo.mb2
1e7655b5db
1) XFB in DC proposal. This impact video plugin interface. WARNING: XFB_Draw is not CPU->VI dependent anymore. It's up to GP now. Except for some 2D homebrews which never use GPfifo&CP but direcly XFB. Well, in other words: emulated VSync is uncorrelated with CPU timings now. Tell me if it's too much hacky.
...
2) DC/GPfifo work: GP quicker to react. PeekMessages at a more steady rate.
3) Fix XFB address to avoid crash like with Animal Crossing gc. TODO: VI regs need proper typedef and logic.
4) Few misc. changes on the fly.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2001 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 14:43:17 +00:00
John Peterson
fa7e857161
nJoy: Readded some fixes to nJoy (Notice: these changes have nothing to do with the argument earlier. These are only for fixing nJoy (point one and three in the 1991 revision)). Now opening the Wiimote plugin doesn't crash either (it was just a typo in GetWiimote()).
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2000 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 12:09:30 +00:00
omegadox
8f98f0b778
Some warning and code cleanup.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1998 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 00:45:46 +00:00
hrydgard
70bc8167f8
Warp back to 1983!!! (rev 1983, that is, not the year :P)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1997 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 21:28:55 +00:00
John Peterson
63ad74f9e8
nJoy and PluginManager:
...
1. Avoided LoadLibrary() and FreeLibrary() in favor of using an existing LoadLibrary() because of an unresolved crash related to LoadLibrary() and nJoy. After several times of LoadLibrary() and FreeLibrary() of nJoy these seems to be some kind of memory corruption that brings up several error boxes from different places (not just nJoy) and then cause a crash.
2. Slowed down the moving of the pad initialization to InputCommon. I'm not against InputCommon at all, but I have to spend some more time with it before it works on Windows
3. Partly fixed a somewhat frequent failure of nJoy with SDL 1.3 that would give a strange DirectInput error message and cause the pads to not function. It's still present before the nJoy config windows is opened. It's only fixed on booting a game.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1991 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 10:00:59 +00:00
nakeee
87bfe821eb
Added input manager handles the sdl init/quit for now
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1984 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 22:32:57 +00:00
John Peterson
e332e18ce6
nJoy and SerialInterface: Fixed the crashes with MAXPADS more than 1, the downside is that it doesn't work well one the second boot
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1980 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-22 11:18:46 +00:00
hyperiris
b71d92126d
Debugger: add a tiny function, dump main memory to a file, mainram.dump in .\User\Cache\,
...
this is for ram data analysis, open the dump in hex/tile editor we can do something...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1973 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-21 17:02:01 +00:00
hrydgard
8f0ca9998b
Remove some unnecessary includes, clean some ////////
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1961 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 18:45:43 +00:00
hrydgard
c64bae837f
Initial work on F-Zero - map & gameconfig. Far from playable - wacky math errors. NOTE: The game only boots if you disable LoadStore in the debugger window menu.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1941 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 21:42:24 +00:00
John Peterson
8f40075f8f
nJoy: Fixed the analog trigger buttons
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1934 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 17:47:00 +00:00
John Peterson
4a88f31ddb
nJoy: Preparation for fixing the digital pad and the analog triggers
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1928 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 05:49:25 +00:00
John Peterson
d60fea1d99
SerialInterface and pads: Allow MAXPADS lower than 4
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1923 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 03:45:28 +00:00
nakeee
38f8221bfc
reverted 1914, but updated the default handler instead
...
windows now suppose to use it until we fix the debug window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1915 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-18 08:47:24 +00:00
magumagu9
0099b5c957
Misc Linux build fixes in the wake of r1887; still doesn't work right
...
because Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Logging.cpp appears
to be missing, and I haven't looked at the fallout of r1884 yet.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1897 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 19:59:20 +00:00
John Peterson
86891bcf09
Recent commit: Missing file
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1895 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 18:15:00 +00:00
John Peterson
ae9cfbd8e3
Common: Moved Windows console functions to common
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1887 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 14:28:09 +00:00
LPFaint99
7afc53c3a1
Revert r1861
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1879 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-16 02:58:34 +00:00
nakeee
5d230ee9ab
compile fix
...
(event handler works on linux with gltest and padsimpleenv)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1877 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 11:46:09 +00:00
Shawn Hoffman
ba8c2aa7e4
nakee's work on dolphin events. Also get wxw out of logmanager. This commit wants your comments
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1875 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 06:48:15 +00:00
Shawn Hoffman
1ba2708bbd
put the handy items on the first page of ConfigMain. Fix for plugins not loading on first boot. We should figure out how to get a pointer to the main app (see OGL main.cpp line 118)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1870 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-14 16:36:43 +00:00
LPFaint99
f1a3bc1397
Move #include <window.h> from all files that include it and common.h to common.h
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1861 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-13 04:23:26 +00:00
XTra.KrazzY
3a64c36c66
fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1850 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-11 13:25:05 +00:00
XTra.KrazzY
9d9de41c0a
Printf compile warning fixes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1849 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-11 13:05:43 +00:00
daco65
726fd4baf0
fixed thread.h building and moved the pluginmanager from windows as well
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1841 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-09 13:24:55 +00:00
bushing
969496d93b
properly support POSIX threads kthx
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1838 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-09 12:10:02 +00:00
hrydgard
4916bf54b6
rollback 1829. Seriously, WTF?
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1831 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-09 00:09:07 +00:00
tinctorius
e94ba056b6
Removed unused code, removed inclusion of unused headers.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1829 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-08 22:31:02 +00:00
nakeee
3a9eeeb144
addded the setdllglobals function to the specs
...
(no failure maybe warning on symbols
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1825 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 22:07:51 +00:00
John Peterson
fa27a97fbb
Wiimote:
...
1) I fixed the emulated Nunchuck in Zelda - TP, however I chose the minimum workable delay time that worked in my PC, in fact it's so short that the Nunchuck still fails sometimes. If you have a very fast PC or something like that so that the Nunchuck still don't work please let me know.
2) I also made the Wiimote work after Stop and Start
3) I changed /Dev/USB to initialize the emulated Wiimote directly after ScanEnable, not wait for any countdown
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1814 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-07 02:59:19 +00:00
John Peterson
b7f1e937bb
LogManager: Opt out of <wx/datetime.h> even if you have wx
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1765 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 16:52:28 +00:00
magumagu9
412626c327
Add CVTPS2DQ implementation.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1759 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-04 08:29:47 +00:00
magumagu9
dbd9d5fb2d
Fix assembly of 16-bit immediates.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1732 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-02 04:34:23 +00:00
magumagu9
2e58a5bef0
Slightly shorter version of 16-bit BSWAP.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1726 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-31 20:46:55 +00:00
magumagu9
05df5c8f3f
Minor fix to rotation helpers so they don't do undefined shifts.
...
Probably not a big deal realistically, but better to be safe than sorry.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1725 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-31 20:42:23 +00:00
nakeee
b46d1d403a
unexplained warning fix
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1722 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-30 19:12:04 +00:00
bushing
20e14bebc4
implement ScanDirectoryTree for POSIX
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1710 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29 02:11:56 +00:00
John Peterson
5e5e507121
nJoy: Enabled keyboard input (only for buttons so far) through wxWidgets in the main application. It only works when you render to the main window.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1706 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-28 18:50:24 +00:00
nakeee
f514f161b5
stop blamming SDL
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1704 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-28 16:05:07 +00:00
hrydgard
6c916151ab
Split out the shader caches into their own files. The goal is to eventually be able to move the "Managers" to VideoCommon.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1681 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 11:23:59 +00:00
hrydgard
fa9f5c44fb
More code movin' .. split Vertex/Pixelshadermngr into xxCache and xxManager.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1677 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-26 10:43:18 +00:00
magumagu9
be4c7e1399
Add a helper to make zero-argument calls from an aligned stack
...
correctly.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1663 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 22:10:36 +00:00
magumagu9
b92c831857
Reverting r1650. I don't think this change is the right approach: it
...
actually ends up *misaligning* the stack for the normal ABI_CallFunctionC
and friends. I'll try to help come up with the correct fix; look for
another commit in a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1662 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 22:05:22 +00:00
hrydgard
dcc48d6c41
just a bunch of random code cleanup i did on the train bored, plus a d3d implementation of NativeVertexFormat which isn't actually used yet.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1658 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 15:56:36 +00:00
bushing
34b92fe7c5
We need to be more careful about stack alignment on Darwin. These patches
...
fix the alignment of gcc-generated code (as opposed to JIT code).
There are probably more places this is needed :(
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1651 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 02:53:56 +00:00
bushing
84711122ee
Linux may not care, but Darwin will barf if we don't actually
...
align the stack on the code we generate. Fix some existing code
to do what the comments claim it already does, and then actually
use that code. :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1650 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-25 02:24:46 +00:00
nakeee
02ce244d52
Should this fix compile on linux64?
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1618 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-21 14:40:43 +00:00
magumagu9
7ad6b0b5bb
Add a missing include; this was causing a crash on 32-bit Linux because
...
the _M_IX86 define was getting missed when this was included in
JitAsm.cpp.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1598 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 06:41:15 +00:00
hrydgard
347fc18542
misc cleanup, bugfix for x86 display in jit window
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1596 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 22:21:29 +00:00
hrydgard
104acd5bc1
Turn the X86 emitter into a class, so the code pointer is no longer a global, yay! Created XCodeBlock that derives from XEmitter, and the Jit now derives from XCodeBlock so it can call all ADD SUB JNZ etc without having to prefix them with "emit.". I think someone's gonna like this.
...
There's some cleanup still to be done, but hey, it works. There shouldn't be a noticable speed difference.
I hope GCC doesn't have a problem with the "member function pointers" I used.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1594 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 21:24:52 +00:00
nakeee
db15121b5d
Some cleanup Should affect windows tell me if it does
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1592 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 11:46:52 +00:00
nakeee
2bb169ce37
Moved the wx anti debug flag to scons
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1591 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-19 09:36:27 +00:00
Shawn Hoffman
3d9c903a3b
fix crash due to AR, remove LOGGING from Common.vcproj (Why won't njoy test build in debug?!)
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1587 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 16:06:27 +00:00
magumagu9
97e01e31d0
Some small emitter enhancements; I was originally planning on actually
...
using these, but I changed my mind. They could potentially be
useful in the future, though.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1574 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 06:46:32 +00:00
nakeee
e6424f750b
scons changes
...
added fastlog flavour with LOGGING and -O3
changed debug to include _DEBUG
changed devel to include DEBUGFAST
for now wxonassert is disabled as I couldn't make it work
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1571 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 00:37:24 +00:00
Shawn Hoffman
0159a027e4
remove a line that was meant to be temporary. I tested a bunch of times, and couldn't get it to hang.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1567 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 18:20:41 +00:00
nakeee
62d44c9166
Clear errors, fixed unload on linux
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1566 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 17:49:38 +00:00
nakeee
fb3c13588b
compile fix for windows
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1565 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 16:24:03 +00:00
nakeee
eea2f0520b
code clean up, for dll loading, note that this didn't add new errors
...
just made old one visable, so complains about DllDebugger and missing symbols
should be refered to the one who added the symbol without making sure the plugin actually has it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1564 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 15:34:27 +00:00
nakeee
2a2a83b7c8
small clean up
...
enabled njoy_test
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1563 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 10:30:44 +00:00
hrydgard
af501556b3
Comment out slightly annoying error message - not even sure that creating a directory that exists should be called an error.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1558 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17 00:57:55 +00:00
nakeee
b0f17043bd
new MsgHandler replacing common
...
Most things moved to macros
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1542 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 22:00:18 +00:00
hrydgard
0412d0811a
Fastmem for linux. Not yet activated, Cg goes nuts, for some reason.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1534 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-14 18:25:33 +00:00
hrydgard
522752c77d
small speedup of logmanager, minor logging improvements, misc code standard improvements, replace a crash with an error message in ppcanalyst
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1521 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 16:58:06 +00:00
memberTwo.mb2
82cd659638
Fix time in some games (AC and ZWW at least). Many games doesn't use RTC but TBRs. So a TB offset is initialized at boot with localtime now. There are, indeed, side effects since time is CPU cycle dependent in this case.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1519 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-13 11:57:01 +00:00
omegadox
8149e1481a
revert
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1511 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 11:27:50 +00:00
omegadox
2c9f66e3b2
some fixes
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1508 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 10:33:02 +00:00
omegadox
45201abb9e
PanicAlert, PanicYesNo, AskYesNo now use wxMessageBox. Also some very minor fixes in Fill'N'Slide.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1506 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-12 08:47:13 +00:00
daco65
607f5b289f
build fixings
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1500 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-11 15:12:17 +00:00
nakeee
aa9b2e1073
forgot 2 files
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1495 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 23:41:33 +00:00
hrydgard
0ad52a4fee
Workaround for StringFromFormat-under-linux problem, random cleanup.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1491 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 22:36:26 +00:00
Shawn Hoffman
514826f282
Fix up wxw asserts and exceptions caused by: the "booting..." msg, hacked up tooltips in the debugger, and the staticbitmaps in wiimoteframe.
...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1479 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-10 08:57:57 +00:00