Commit Graph

1356 Commits

Author SHA1 Message Date
hrydgard 232e961b6f Sort vertex loader debug statistics by number of verts loaded - now easy to identify the heaviest vertex loader in games.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2252 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 12:38:25 +00:00
hrydgard a4aac9ec99 Undo 2136 - not really an optimization since this loop rarely runs more than once. It also may be a cause of spurious bad GetPointer calls.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2251 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 11:39:24 +00:00
omegadox 71d9832004 Linux compile fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2246 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 05:43:48 +00:00
Shawn Hoffman 5e80ca1526 finish the banner part of ISOProperties.cpp
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2241 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 17:32:03 +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
XTra.KrazzY efa5fe5eb7 New compact texture type for OGL/D3D: IA4. Thanks for the IA4->IA8 unpacker hyperiris! Too bad that D3D supports IA4 natively while OGL is a bit buggy (treats LUM4_ALPHA4 as LUM8_ALPHA8).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2238 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 09:04:40 +00:00
John Peterson 79947e5d29 Emulated Wiimote: Added dead zone option for the gamepad input
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2237 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 01:15:35 +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
magumagu9 94ee9afdb2 JitIL: A bit more constant folding, and a bit of cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2235 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 01:00:37 +00:00
magumagu9 39b7fe10f7 JitIL: make psq_lu work correctly. Fixes, among other things,
the graphics in Metroid Prime.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2234 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-14 00:58:18 +00:00
XTra.KrazzY acb3d1b23d New compact texture type for OGL/D3D: IA8
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2233 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-13 14:14:45 +00:00
magumagu9 a55e672493 JitIL: a few more functions. Partially addresses interpreter hotspots in
Metroid Prime; not really noticably faster, though.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2232 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-13 10:28:28 +00:00
XTra.KrazzY 0f8c866612 Tiny: Unnecessary function removal
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2226 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 22:35:05 +00:00
XTra.KrazzY e557e090dd New compact texture type for OGL/D3D: RGB565
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2225 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 22:32:33 +00:00
John Peterson 57c4620902 Emulated Wiimote: Fixed the upside down mode for roll and pitch, 360° roll and pitch is now emulated by an analog gamepad
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2224 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 16:43:35 +00:00
XTra.KrazzY e472b7f28d stwcxd and lwarx both set CR0
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2223 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 13:57:26 +00:00
XTra.KrazzY d2d097fba5 Committing magumagu9's work on texture decoding transferral to OGL, I added DX9 support. Speed seems to have increased but I'm not sure. See issue 581 for more info.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2222 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 13:54:08 +00:00
hyperiris 1bed914bf4 a tiny fix, I found MGS:TT PAL use BNR1 format opening.bnr, so only English was filled.
now, all 6 languages were filled when opening.bnr is BNR1 type.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2221 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 13:03:39 +00:00
John Peterson b932a53b68 Emulated Wiimote: Fixed the angles to x, y, z values conversion. There's just one thing left to fix before the combined roll and pitch works, when roll is more than 90 pitch has to be changed from for example 15 to -165 or something like that. Until I figure that out you can use the emulated roll and pitch separately by setting the range of either one of them to zero.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2219 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 08:46:48 +00:00
nakeee 7958eae6da small JITTEST typo fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2218 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-11 17:36:16 +00:00
John Peterson 68f39cb287 nJoy:
1. Circumvent the IDirectInputDevice2::SetDataFormat() error when opening the configuration window to.

2. Fixed the Allow out of focus input option again

3. Allow changing of the mapped pads while a game is running

4. Prevented crashes or problems from any combination of having the configuration window open when a game is started or stopped

5. Fixed a crash that would occur after nJoy was started with a connected pad, then stopped, and all pads disconnected, then started again

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2215 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-11 10:30:02 +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 516a14150a Wiimote: Improved the emulated Wiimote, added gamepad controls for analog tilting.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2207 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 17:25:08 +00:00
magumagu9 49937a640b JitIL: Make selectively disabling JIT instructions from the debugger
work correctly.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2205 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 13:11:32 +00:00
magumagu9 318d1105fb JitIL: Attempt to fix some 64-bit build errors.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2204 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 12:44:17 +00:00
magumagu9 cf5fc063ce JitIL: Make LoadCarry work correctly.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2202 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 12:20:30 +00:00
John Peterson c18613a580 nJoy: Fixed the Hat / Custom D-Pad setting in the save by slot mode
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2194 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-10 00:41:43 +00:00
John Peterson 2162e3ce80 Last commit: Forgot _WIN32 ifdef
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2193 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 23:49:13 +00:00
John Peterson 3d70ea1bcb PadSimple: Removed double definition of __Log()
Core: Readded FreeVideo and FreeDSP for _WIN32. As I have explained thoroughly these are needed in Windows.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2192 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 23:20:28 +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
nakeee ec71298b06 Fixed another unresolved symbol
removed freevideo/freedsp


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2190 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 21:47:02 +00:00
hrydgard e979db862c Convert some ugly macros to templates.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2189 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 21:24:32 +00:00
hrydgard d209d4a577 Cache vertex array pointers, a la magumagu's idea. Misc other stuff. Should give very minor speed boost.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2185 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 20:35:30 +00:00
John Peterson 5edef94753 SimplePad: Added input recording options to the GUI, now we just need to get rerecording to work to, perhaps one can rewind the input counter when a state is loaded? So the input counter is saved in the savestate for the pad.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2184 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 20:06:27 +00:00
XTra.KrazzY 09c8368180 Fixed NullSound hanging on movies. Compared to DSound, it's now slower on movies but faster in menus
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2183 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 19:50:06 +00:00
nakeee 59a8fd4848 Chaoscode fix for last commit.
If anyone understands why it made any difference do tell me... it seems both should just return null..



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2181 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 19:26:14 +00:00
daco65 2ff2852771 Njoy: added an option to choose what kind of analog filtering you want. it should be changeable when you choose to view advanced settings. this solved my analog/digital config problems i had and it *should* still work for those who had np with Jpeterson's change. i was told the wiimote had the same problem (makes sense) but im not sure if alot of ppl had that problem with their controllers so i have kept it as an ini changeable option only (set AdvancedMapFilter to True to use the same filtering as Njoy 0.3 does with AdvancedMapFilter enabled.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2180 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 18:43:03 +00:00
nakeee 1026b3b6f1 Commited chaoscode's patch to fix re2 and mp1
disabled njoy on linux as it doesn't compile (need to talk to JP about the right fix)
added ugly hack to include the right SDL.h on linux


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2179 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 18:31:16 +00:00
Shawn Hoffman c4c8bde34d more mic WIP. Seems to at least give correct volume levels to odama, it might even work.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2178 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 15:46:15 +00:00
hyperiris 0868770d24 fix again, JP please check it. don't forget clear your cache!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2177 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 15:41:28 +00:00
John Peterson d0a01f449b Last commit: Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2175 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 15:31:00 +00:00
John Peterson 3e53828406 MusicMod: Moved it from Branches to Externals, I guess there usually is no Branches dir in the trunk dir, so this may look a little better
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2174 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 15:29:35 +00:00
hyperiris 013e9bed93 optimize function call: point out by magumagu, GetVideo() is a kind of bottleneck, so move it out of loop;
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2173 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 14:24:39 +00:00
John Peterson 1fbebb4ce1 Wiimote: Configure gamepad in Wiimote plugin
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2172 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 13:10:29 +00:00
magumagu9 e8925e43fe JitIL: Disable addze implementation for now; I'm not exactly sure what's
wrong with it, but it's causing visible issues.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2171 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 05:22:44 +00:00
magumagu9 f4025a8caa Enable block linking for JitIL; I disabled it when I was trying to debug
a crash.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2169 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 01:37:50 +00:00
magumagu9 5c35e95c8f JitIL: Add JIT for addze, ps_sum0. Also, some cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2168 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 01:31:38 +00:00
magumagu9 4d3c0b8783 JitIL fix for Animal Crossing: make sure to mark floating-point loads
consistently.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2167 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 00:41:31 +00:00
XTra.KrazzY 6565b1ea83 Based on http://www.gc-linux.org/wiki/Main_Page, the Wii has a 729MHz processor. It seems to work here and doesn't break any timers and whatnot.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2166 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 00:39:51 +00:00
magumagu9 622f396d8a Slight correction to r2164.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2165 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 23:07:47 +00:00