Commit Graph

18014 Commits

Author SHA1 Message Date
comex f2631a835e Simplify and improve.
Note - I removed a SleepCurrentThread(1) the patch added which seemed to
be unrelated to the actual job at hand.  If there was a real need for it
(which sounds like it would be an enet-related bug - enet_host_service
is supposed to *sleep*), that needs to be dealt with...
2015-06-06 01:28:01 -04:00
comex 95d682dfd5 Merge pull request #2519 from JosJuice/volume-type-enum
Volume: Return volume type as an enum
2015-06-06 01:23:52 -04:00
flacs 726fc58b49 Merge pull request #2531 from lioncash/vs
Common: Fix a typo in the VS project file.
2015-06-06 07:18:22 +02:00
Rachel Bryk 04ca54623c Compare timebase of netplay users to detect desyncs. 2015-06-06 00:52:02 -04:00
Lioncash 3239a204db Common: Fix typos in BlockingLoop.h 2015-06-05 23:37:37 -04:00
Jules Blok ef1dfa8bcb VideoBackends: Allow the viewport to use the full depth range. 2015-06-06 03:37:46 +02:00
Dolphin i18n Bot 3d9fdf57e8 Automatic translation resources update from Transifex 2015-06-06 01:33:25 +00:00
Dolphin i18n Bot dd8f66d1ae Automatic translation template update 2015-06-06 01:32:18 +00:00
skidau 2f577e147b Merge pull request #2520 from AdmiralCurtiss/wii-pal60
Properly set default video mode for PAL Wii games.
2015-06-06 10:42:42 +10:00
Ryan Houdek 63f41ce54e Merge pull request #2514 from sigmabeta/android-tv-support
Android TV: Allow the app to be launched from an Android TV launcher.
2015-06-05 18:30:32 -04:00
sigmabeta 51cad1025c Android TV: File Dolphin under "Games" on the TV Launcher 2015-06-05 16:26:49 -04:00
mimimi085181 3b9020dc9b Search the texture cache for small textures by address and hash
This fixes issue 6563:
https://code.google.com/p/dolphin-emu/issues/detail?id=6563

This PR adds a 2nd map to texture cache, which uses the hash as key. Cache entries from this new map are used only if the address matches or if the texture was fully hashed. This restriction avoids false positive cache hits. This results in a possible situation where safe texture cache accuracy could be faster than the fast one.

Small textures means up to 1KB for fast texture cache accuracy, 4KB for medium, and all textures for safe accuracy.

Since this adds a small overhead to all texture cache handling, some regression testing would be nice. Games, which use a lot of textures the same time, should be affected the most.
2015-06-05 21:30:39 +02:00
flacs b9821916dc Merge pull request #2530 from Tilka/sdl_quit
SDL: handle SDL_QUIT event
2015-06-05 19:53:24 +02:00
Tillmann Karras 9ec5a4544f SDL: handle SDL_QUIT event
Using SDL_INIT_JOYSTICK implies SDL_INIT_EVENTS which installs a signal
handler for SIGINT and SIGTERM. There will be a way to prevent this in
2.0.4 but for now we'll need to handle SDL_QUIT.
2015-06-05 19:34:06 +02:00
Lioncash da9a858dcb Common: Fix a typo in the VS project file 2015-06-05 13:27:14 -04:00
flacs 175e0d1926 Merge pull request #2528 from lioncash/volatile
EXI_DeviceEthernet: Convert a volatile bool to an atomic
2015-06-05 18:34:15 +02:00
JosJuice 990d61b786 Skip reading UTF-8 BOM at the beginning of INI files 2015-06-05 18:32:58 +02:00
Lioncash aca7c948d5 EXI_DeviceEthernet: Convert a volatile bool to an atomic 2015-06-05 09:37:14 -04:00
Admiral H. Curtiss a2ca4841e9 Properly set default video mode for PAL Wii games.
See https://github.com/dolphin-emu/dolphin/pull/2520 for a more detailed explanation.
2015-06-05 14:35:48 +02:00
Ryan Houdek 7b9565c4e6 [AArch64] Implement lmw/stmw. 2015-06-04 23:54:50 -05:00
flacs 2f2e514b54 Merge pull request #2524 from lioncash/aarch64
Arm64: Make some functions const.
2015-06-05 04:52:14 +02:00
Lioncash 97382ec90a Merge pull request #2526 from lioncash/silly
WII_IPC_HLE: Remove a silly volatile usage
2015-06-04 22:27:48 -04:00
Matthew Parlane 4e4aa1f4ad Merge pull request #2525 from rohit-n/build-pch
Fix building with PCH disabled.
2015-06-05 12:12:02 +10:00
Rohit Nirmal cd5142ddeb Fix building with PCH disabled. 2015-06-04 21:05:10 -05:00
Lioncash 630e0375b1 WII_IPC_HLE: Remove a silly volatile usage 2015-06-04 21:35:21 -04:00
comex d571e1acc4 Merge pull request #2431 from lioncash/boolatomic
Core: Convert some volatile bools to atomics
2015-06-04 21:27:39 -04:00
Lioncash de2e84344d Core: Convert volatile bools to atomics
Converts over bools that are typically used as loop checks into atomics.
2015-06-04 21:21:11 -04:00
Lioncash fe77505d4d Jit: Make IsInCodeSpace() const 2015-06-04 20:52:53 -04:00
Lioncash 4f276ede0f Arm64Emitter: Make GetReg() const 2015-06-04 20:43:22 -04:00
Lioncash d9e1bf139f JitArm64_RegCache: Make some functions const 2015-06-04 20:40:36 -04:00
flacs 01ec940650 Merge pull request #2523 from lioncash/clean
PPCAnalyst: Mark some functions as const.
2015-06-05 02:36:39 +02:00
Lioncash 6f3598eee4 PPCAnalyst: Remove extra whitespace from CodeBuffer 2015-06-04 19:13:29 -04:00
Lioncash 293c3bae6f PPCAnalyst: Mark some functions as const
Also removes the redundant inline specifier, as functions defined in a class/struct definition are inline by default.
2015-06-04 19:11:38 -04:00
Dolphin i18n Bot e70c9b44f5 Automatic translation resources update from Transifex 2015-06-04 21:35:15 +00:00
Dolphin i18n Bot 0113f09edf Automatic translation template update 2015-06-04 21:33:13 +00:00
comex 0c23283049 Merge pull request #2522 from lioncash/ref
Core: Pass several parameters by const reference
2015-06-04 16:15:11 -04:00
comex 78e0e78671 Merge pull request #2516 from comex/hires-oops
Undo accidental screwup of some HiresTextures code from project-moration
2015-06-04 16:13:05 -04:00
Lioncash e37b643096 Merge pull request #2521 from lioncash/unused
Interpreter: Remove unused function prototype
2015-06-04 14:32:31 -04:00
Lioncash d9b51f74be Core: Pass several parameters by const reference 2015-06-04 14:19:25 -04:00
Lioncash bc0e61cb7c Interpreter: Remove unused function prototype 2015-06-04 13:53:53 -04:00
JosJuice 0ed3118141 Volume: Return volume type as an enum
ISOFile and GameFile were using IsWiiDisc() and IsWadFile() to set
an enum value. The volume might as well return an enum directly.

I increased the Qt CACHE_REVISION because m_platform now is saved as u32
instead of int, but increasing the wx CACHE_REVISION is not necessary.
2015-06-04 16:26:36 +02:00
Markus Wick f5b0468179 Merge pull request #2213 from JosJuice/panic-alert-t
Use PanicAlertT/PanicAlert when appropriate
2015-06-04 13:28:53 +02:00
JosJuice 030d467d62 Use PanicAlert instead of PanicAlertT when appropriate
It means less work for the translators... But I'm not too sure
about this, because most of these have already been translated.
2015-06-04 13:25:17 +02:00
JosJuice 95a2abc1ce Use PanicAlertT instead of PanicAlert when appropriate
I tried to change messages that contained instructions for users,
while avoiding messages that are so technical that most users
wouldn't understand them even if they were in the right language.
2015-06-04 13:25:06 +02:00
Dolphin i18n Bot 98ed5881ab Automatic translation resources update from Transifex 2015-06-04 09:58:30 +00:00
Dolphin i18n Bot a7dad1b4cf Automatic translation template update 2015-06-04 09:48:38 +00:00
degasus dfc951fbbb Hotkey: move some code into ParseHotkey 2015-06-04 10:44:20 +02:00
Jasper St. Pierre c84cefa990 Remove wx-based Hotkey stuff
The core InputCommon Hotkeys interface does all of this for us.
2015-06-04 10:44:20 +02:00
Markus Wick 1ed38e901e Merge pull request #2505 from degasus/hotkeys
Hotkeys fixes 2
2015-06-04 10:42:50 +02:00
comex e04a457b31 Merge pull request #2381 from Tilka/fma
Interpreter: fix NaN handling in FMA instructions
2015-06-04 02:57:38 -04:00