6723 Commits

Author SHA1 Message Date
Scott Mansell
1656b2788d FifoAnalyzer: Convert FifoPlaybackAnalyzer to namespace 2015-11-23 23:02:38 +13:00
Scott Mansell
da7fb568de FifoAnalyzer: Convert FifoRecordAnalyzer to namespace.
And a few minor cleanups.
2015-11-23 23:02:37 +13:00
Scott Mansell
9b60fd2381 FifoAnalyzer: remove un-implemented header 2015-11-23 23:02:35 +13:00
JosJuice
74ea765427 Mark more strings for translation 2015-11-20 11:33:47 +01:00
Matthew Parlane
0e258d4621 Merge pull request #3152 from ShadowsFriend/ipl_checksum
Use CRC32 for IPL checks and update hashes
2015-11-20 14:37:13 +13:00
Lioncash
b9975694ab InputConfig: Clean up controller management 2015-11-19 02:41:33 -05:00
mathieui
680ebfeaa8 Reset the GC adapter rumble when stopping a game
And when loading a savestate, pausing, and starting dolphin as well
(right after the libusb initialization).

Intended fix for issue 9001
2015-11-18 20:48:48 +01:00
JosJuice
2005409229 Do nothing when calling CopyToEmu with a length of 0
Gecko apparently tries to read 0 bytes from the DVD to 0x00000000.
2015-11-17 21:39:46 +01:00
Michael Ehrenreich
02546ff82b JIT x64: Recalculate flags on add/sub 2015-11-17 20:19:02 +01:00
Scott Mansell
d2b03e1aad Remove individual byteswaps and replace with generic function. 2015-11-17 19:37:18 +13:00
JosJuice
1202c2ea35 Don't use GetPointer in DVDRead 2015-11-16 23:22:58 +01:00
JosJuice
e3b9e89f5a Move DVDRead from DVDInterface to Boot
It was previously an important part of DVDInterface,
but since its usage there was replaced with DVDThread,
the only remaining uses of it are in Boot and Boot_BS2Emu.
2015-11-16 23:22:53 +01:00
JosJuice
555eb1162f Memmap: Fix a CopyToEmu bug
ValidCopyRange incorrectly returned false and stopped a
CopyToEmu when pressing B+X+Start in some GameCube games
(for instance Metroid Prime) after the DVD thread was implemented
2015-11-16 23:22:49 +01:00
JosJuice
3d7afdae25 DVDThread: Performance logging 2015-11-16 23:22:44 +01:00
JosJuice
54ff4bd0cb Read disc data asynchronously in DVDThread
This gives the CPU thread more time to do CPU things.
2015-11-16 23:22:20 +01:00
JosJuice
c119ad46d0 Create DVDThread (no multithreading yet) 2015-11-16 23:20:07 +01:00
Markus Wick
1f3a81c7fb Merge pull request #3101 from JosJuice/change-disc-fix
Synchronize DVDInterface::ChangeDisc with the CPU thread properly
2015-11-16 13:27:40 +01:00
Matthew Parlane
1124be0568 Merge pull request #3256 from Parlane/net_fix_poll
Don't send return-only events to poll
2015-11-16 16:13:49 +13:00
TurboK234
6b9f4f5115 Added hotkeys for toggling different stereoscopy modes 2015-11-14 17:22:48 +02:00
Matthew Parlane
e023fddc96 Don't send return-only events to poll
Fixes some network issues where the game/system asked for POLLHUP specifically.
2015-11-14 09:10:55 +13:00
Michael Ehrenreich
3cbed527c2 Shut down HW in reverse initialization order
Fixes a race condition between Memory and CWII_IPC_HLE_Device_hid
2015-11-13 10:43:59 +01:00
Scott Mansell
973118511a Merge pull request #2742 from AdmiralCurtiss/display-savestate-stats
Display Savestate information in Overlay and Menu.
2015-11-08 02:20:56 +13:00
Scott Mansell
e6274284b0 Fifoplayer: Load the Correct version number. 2015-11-08 01:24:08 +13:00
Scott Mansell
008386fc7f Just a minor cleanup. Totally not the cause of random FifoCi failures.
This 'absolutely not' a read of uninitialized memory is '100% not'
the cause of our non-deterministic behavior on the Intel NUC.

If there was a such an error, it would show up on all FifoCi
backends equally. This is 'probably' unrelated to the fact that
the Intel NUC is the only fifoci runner not running under virtualization.
2015-11-04 23:23:35 +13:00
comex
e602eac4f9 Synchronize DVDInterface::ChangeDisc with the CPU thread properly.
This addresses a bit of thread unsafety mentioned in a comment, and
fixes a 'ScheduleEvent_Threadsafe from main thread' message.

To make this work nicely, make PauseAndLock call DeclareAsCPUThread -
i.e. while you have the CPU thread locked, you can consider yourself the
CPU thread.
2015-11-03 12:42:05 +01:00
degasus
888c377b57 Throttler + Mixer: Configureable variance 2015-11-03 08:22:36 +01:00
JosJuice
61c8ce2711 Fix GC software crashing at boot if no disc is inserted
Same fix as 0b44d7c, plus a way to skip loading the apploader
just like EmulatedBS2_Wii has been able to do for a long time.
2015-11-01 20:29:48 +01:00
Scott Mansell
9154347f5b Merge pull request #3187 from lioncash/accum
FifoAnalyzer: Replace loop with std::accumulate
2015-10-29 10:30:38 +13:00
Scott Mansell
1984416df4 Merge pull request #3186 from lioncash/dsp
DSPJitRegCache: Minor changes
2015-10-29 10:29:26 +13:00
Scott Mansell
44a40642f3 Merge pull request #2704 from RisingFog/frameadvancehold
Add Frame Advance Hold Hotkey Functionality
2015-10-28 15:31:03 +13:00
Lioncash
7a6ff8a95b DSPJitRegCache: Make the allocation array part of the DSPJitRegCache class 2015-10-24 23:36:18 -04:00
Lioncash
6b297ebcff DSPRegCache: Class access level formatting 2015-10-24 23:32:12 -04:00
Lioncash
f696b323c0 WII_IPC_HLE: Remove unused typedef 2015-10-21 13:43:22 -04:00
Lioncash
695ffefef7 FifoAnalyzer: Replace loop with std::accumulate 2015-10-19 10:29:00 -04:00
Scott Mansell
1ba600b688 Merge pull request #3145 from catzilla4/master
FreeBSD Compilation fix
2015-10-19 17:29:34 +13:00
Lioncash
c756025902 Core: Move a global into a namespace 2015-10-16 22:52:41 -04:00
Lioncash
1b3307043b DSPHLE: Remove duplicated struct
This is already present in the DSPHLE class directly
2015-10-16 13:02:21 -04:00
flacs
05e339a605 Merge pull request #3139 from JosJuice/fix-wii-root
Mark which Wii root to use in the NAND path code
2015-10-16 16:49:34 +02:00
comex
c22d1d68ab Mark which Wii root to use in the NAND path code.
It's used by both the GUI to do things like install WADs and check up on
the system menu, in which case the global root should be used, and by
/dev/es, in which case the local one should.  The latter isn't
*terribly* useful today, since no contents will ever be installed in
temporary roots (although it's still relevant for data directories), but
converting the whole thing makes sense because then it will Just Work
once the entire NAND is synced.

Because it would have been a bit of work to split it up (but I can if
desired), this commit also contains some basic cleanup of
NANDContentLoader:

(1) The useless interface class INANDContentLoader is removed and the
    methods are changed to just return CNANDContentLoader (the only
    implementation);
(2) CNANDContentManager is changed to use unique_ptr and cleaned up a
    bit.
2015-10-16 09:10:39 +02:00
Lioncash
03986c6fad UCodes: Simplify ExramRead 2015-10-15 22:48:22 -04:00
Lioncash
c420c52308 UCodes: Get rid of pointer casts 2015-10-15 22:45:03 -04:00
flacs
97fbbecdc4 Merge pull request #3168 from Tilka/miniupnpc
CMake: simplify FindMiniupnpc.cmake
2015-10-12 14:32:57 +02:00
Tillmann Karras
4eace2b49e CMake: simplify FindMiniupnpc.cmake
miniupnpc.h provides MINIUPNPC_API_VERSION since 1.7 and we require 1.7
or later, so there is no reason to have version detection code for older
versions.
2015-10-12 02:26:35 +02:00
Tillmann Karras
ae999cb43c Wiimote: simplify DoState() parameters 2015-10-11 23:37:34 +02:00
Christian Widmer
b99d1a0a20 Fix OProfile discovery and drop bfd dependency
Adds a cmake module to correctly discover OProfile and adjusts the
corresponding CMakeLists to make use of it. Additionally removes
linking against the bfd library when compiling with OProfile because
Dolphin does not use it.
2015-10-11 16:27:03 +02:00
flacs
94d20131bb Merge pull request #3151 from ShadowsFriend/memtools_unistd
Include unistd.h in memtools.cpp to fix nopch
2015-10-11 15:52:40 +02:00
flacs
e389a3cafe Merge pull request #3131 from delroth/fifo-pad
FifoDataFile: Revert PadFile changes from 4.0-1127.
2015-10-11 15:50:24 +02:00
flacs
a7b6ae8f2c Merge pull request #3160 from Tilka/style
Misc. style fixes
2015-10-11 15:36:06 +02:00
Christian Widmer
3fdaf377b0 DolphinWX: Add a filename column 2015-10-11 05:29:01 +02:00
Admiral H. Curtiss
1772eeb32f State.cpp: Extract the savestate version logic into its own function for clarity. 2015-10-11 03:21:44 +02:00