Commit Graph

20815 Commits

Author SHA1 Message Date
Mat M 8552ff5789 Merge pull request #4106 from RisingFog/dtm_gc_language
Add Gamecube Language to DTM Header
2016-08-10 12:16:20 -04:00
Markus Wick 7914e4d19d Merge pull request #3458 from JosJuice/seconds-not-ticks
Replace some unnamed tick constants with GetTicksPerSecond()
2016-08-10 17:43:51 +02:00
JosJuice b8e04c9513 Replace some unnamed tick constants with GetTicksPerSecond()
These operations should always take the same amount of time,
not the same amount of ticks. The number of ticks per second
is different for GameCube and Wii.
2016-08-10 17:34:23 +02:00
Markus Wick caa7ff7c25 Merge pull request #4093 from leoetlino/flags-and-events
Use Common::Flag and Common::Event when possible
2016-08-10 16:15:52 +02:00
Léo Lam dca22e08eb Use Common::Flag and Common::Event when possible
Replaces old and simple usages of std::atomic<bool> with Common::Flag
(which was introduced after the initial usage), so it's clear that
the variable is a flag and because Common::Flag is well tested.

This also replaces the ready logic in WiimoteReal with Common::Event
since it was basically just unnecessarily reimplementing Common::Event.
2016-08-10 16:08:15 +02:00
Markus Wick c6a0e543a5 Merge pull request #3861 from stenzek/d3d11-mip-dumping
D3D11: Support texture dumping of non-zero mipmap levels
2016-08-10 15:50:48 +02:00
Stenzek bce8097712 D3D11: Support texture dumping of non-zero mipmap levels 2016-08-10 23:45:25 +10:00
Markus Wick cb2b110d42 Merge pull request #4097 from lioncash/sysconf
SysConf: Minor simplifications to initial generating
2016-08-10 14:41:35 +02:00
Markus Wick b075d18d2e Merge pull request #4096 from lioncash/codeblock-init
CodeBlock: In-class initialize variables
2016-08-10 14:39:51 +02:00
Markus Wick 0fecd2f6b0 Merge pull request #4104 from degasus/master
PixelEngine: Cleanup PE Token.
2016-08-10 13:36:34 +02:00
degasus 82bdc4ef86 PixelEngine: Delay token updates by events.
To still get a speedup, mark if already an event is queued.
If so, don't raise a new event.
2016-08-10 13:24:57 +02:00
degasus a051db9792 PixelEngine: Cleanup PE Token.
This also affects the behavior a bit, it should now fit better to the one of the commonly more used PE Finish flag.
2016-08-10 10:07:53 +02:00
degasus 367e1b4d4c PixelEngine: Drop write-only variables. 2016-08-10 10:07:53 +02:00
Chris Burgener 84731456fa Add Gamecube Language to DTM Header 2016-08-09 23:02:31 -04:00
Markus Wick 7e3c04f069 Merge pull request #4076 from RisingFog/fix_sram_rtc_offset
Fix improper SRAM RTC offset
2016-08-08 23:10:33 +02:00
Scott Mansell d56ae505dd Merge pull request #4101 from meffij/SIDevicesEnumFix
clean up bounds checking for SIDEVICE_ENUM
2016-08-09 06:09:52 +12:00
Calvin Cochran ba45a5999f clean up bounds checking for SIDEVICE_ENUM 2016-08-08 12:33:08 -05:00
Matthew Parlane 1ab99ee22c Merge pull request #4098 from rohit-n/build-pch
Fix building with PCH disabled.
2016-08-07 18:59:27 +12:00
Rohit Nirmal cbec38e775 Fix building with PCH disabled. 2016-08-07 01:18:59 -05:00
Markus Wick 10a81bf096 Merge pull request #4095 from degasus/dynamic-bat
JitCache: Support for VMEM + MSR bits
2016-08-07 01:48:02 +02:00
Lioncash 08bc19bf51 SysConf: Use range-based for loops in sysconf generation
Same thing, nicer looking
2016-08-06 16:22:42 -04:00
Lioncash 58b871e05c SysConf: Simplify entry generation
Just use a vector and move it instead of manually pushing them one-by-one.
2016-08-06 16:10:48 -04:00
Lioncash 18210a65ce CodeBlock: In-class initialize variables 2016-08-06 13:20:38 -04:00
degasus 85affe995e JitCache: Do not use block 0.
This ID is reserved for invalid blocks. So this block can't be invalidated.
2016-08-06 14:16:13 +02:00
degasus 814f29b25b JitCache: Implement block unlinking. 2016-08-06 11:41:39 +02:00
magumagu ba39a0b3b4 Add ISI logging to interpreter. 2016-08-06 11:41:39 +02:00
magumagu ca511640a5 Add support for DSI exceptions to CachedInterpreter.
Should be straightforward.  Maybe useful for the purpose of testing.
2016-08-06 11:41:39 +02:00
magumagu 758e6406cd JIT: fix handling of PC in dispatcher/block cache.
Specifically, don't make any assumptions about what effective addresses
are used for code, and correctly handle changes to MSR.DR/MSR.IR.

(Split off from dynamic-bat.)
2016-08-06 11:41:39 +02:00
Mat M fa5a2474f4 Merge pull request #4088 from RisingFog/remove_globals_movie
Remove Global Declarations from Movie
2016-08-05 10:42:58 -04:00
Pierre Bourdon 8f04396dc3 Merge pull request #4092 from Krak-n/fix_curl
Analytics.h include curl.h
2016-08-05 12:32:29 +02:00
Dan Beste 25c77babeb Remove curl version check / include curl.h
This should help prevent breakage when the curl.h header is changed.

As far as I can tell this only increases the compile time by a hair, but prevents needing to create a PR every time curl.h gets updated. Alternatively I'm experimenting with CURL_STRICTER defined per a conversion with booto:

>booto | krakn: try having CURL_STRICTER defined for the build?

Credit goes to: flacs for the suggestion to include curl.h

Fix include
2016-08-04 22:39:45 -05:00
Pierre Bourdon 2af4defaeb Merge pull request #4091 from lioncash/override
NetWindow: Add missing override specifier
2016-08-04 22:22:49 +02:00
Lioncash e2f1b85cf4 NetWindow: Add missing override specifier 2016-08-04 16:19:01 -04:00
Chris Burgener 222c4ba077 Remove Global Declarations from Movie 2016-08-04 15:24:44 -04:00
Mat M d6df861e8e Merge pull request #4089 from RisingFog/remove_globals_saveslot
Remove Global Declarations from Frame
2016-08-04 15:18:24 -04:00
Chris Burgener 2bdc3ee777 Remove Global Declarations from Frame 2016-08-04 15:05:31 -04:00
Pierre Bourdon e98875949c Merge pull request #4087 from lioncash/duplicate
NetPlayClient: Remove another duplicate inclusion
2016-08-04 17:02:55 +02:00
Lioncash 8b84ac2f6b NetPlayClient: Remove another duplicate inclusion
I'm blind apparently, btw
2016-08-04 10:55:39 -04:00
Pierre Bourdon 3791281a35 Merge pull request #4086 from lioncash/duplicate
NetPlayClient: Remove duplicate header inclusion
2016-08-04 16:52:21 +02:00
Lioncash ca7816acae NetPlayClient: Remove duplicate header inclusion 2016-08-04 10:50:33 -04:00
Pierre Bourdon f30cc4f022 Merge pull request #4083 from clinchergt/remember-netplaywindow-size
Make Dolphin remember the NetPlay window size/position
2016-08-04 00:33:12 +02:00
JDV 7e535b2855 Make Dolphin remember the NetPlay window size/position
The default size might be too big for some screens. This allows
the user to modify the window as they see fit and has Dolphin
remember those settings. People who are happy with the default
size and position will not be affected
2016-08-03 16:10:20 -06:00
Pierre Bourdon 3683840602 Merge pull request #4082 from leoetlino/unneeded-awk
Tools: Fix lint by removing unneeded awk
2016-08-02 22:14:45 +02:00
Léo Lam cbb77532c6 Tools: Fix lint by removing unneeded awk
git diff --name-only already took care of only returning the name, so
the awk is unneeded and makes it return only empty file names.

Facepalm, I know. Sorry for this oversight.

(Also fixes something that lint didn't catch because of this)
2016-08-02 22:00:41 +02:00
Pierre Bourdon c3b932c46e Merge pull request #4080 from EmptyChaos/png-fixes
Remove invalid iCCP chunks from debugger toolbar icon pngs.
2016-08-02 15:17:07 +02:00
EmptyChaos 4468c6f5a8 Remove invalid iCCP chunks from debugger toolbar icon pngs. 2016-08-02 18:18:11 +10:00
Pierre Bourdon facf02686a Merge pull request #4079 from lioncash/state
HW: Make GC input retrieval functions return by value
2016-08-02 07:32:26 +02:00
Lioncash 041f4f5eea GCAdapter: Return input state by value 2016-08-01 21:27:51 -04:00
Lioncash 2be2b2a4f1 GCKeyboard: Return input state by value 2016-08-01 20:58:04 -04:00
Lioncash ee43820282 GCPad: Return input state by value 2016-08-01 20:49:30 -04:00