Pierre Bourdon
1464cfee13
Merge pull request #619 from lioncash/dpl2
...
Correct the function casing for DPL2Decoder
2014-07-14 10:21:20 +02:00
Lioncash
2c73472671
Correct the function casing for DPL2Decoder
...
Brings it more in-line with the rest of the codebase.
2014-07-14 03:34:40 -04:00
Lioncash
b66eb03b2f
OGL: Correctly guard against array bounds of s_encodingPrograms
...
s_encodingPrograms is defined as an array with a length of 64
NUM_ENCODING_PROGRAMS is also defined as 64.
However 64 is out of bounds, so we want to be comparing for "equal to or
greater than here"
2014-07-14 00:48:14 -04:00
Pierre Bourdon
dee6f226a3
Merge pull request #614 from Tilka/branch_prediction
...
[RFC] Common: add macros for assisting branch prediction
2014-07-14 03:00:08 +02:00
shuffle2
3f67ec0d50
Merge pull request #611 from Tilka/clang_bug
...
VideoCommon: version-check clang for workaround
2014-07-13 17:52:54 -07:00
Tillmann Karras
b6f3ae23bc
VideoCommon: version-check clang for workaround
...
The bug was fixed in clang 3.4.
2014-07-14 02:12:48 +02:00
Pierre Bourdon
5c701f6e82
Merge pull request #610 from lioncash/delete
...
DolphinWX: Remove the need for an explicit new/delete in ISOProperties
2014-07-14 01:55:11 +02:00
Tillmann Karras
d398e9ef61
Common: add macros for assisting branch prediction
2014-07-14 01:52:14 +02:00
Jules Blok
aa2495205e
Shutdown the Core before other components.
...
Other components depend on the EmuThread being stopped.
2014-07-13 23:47:59 +02:00
Pierre Bourdon
8876ee120a
Change libav* autodetection to support framedumping on Ubuntu 14.04
...
Add an "ugly" workaround in the AVIDump code, but looking at other project this
seems to be the most common way to handle this API change.
2014-07-13 23:06:20 +02:00
shuffle2
3cabacde9d
Merge pull request #613 from lioncash/uninitialized
...
Core: Fix potential uninitialized var usage in WII_IPC_HLE_Device_usb
2014-07-13 14:03:02 -07:00
Lioncash
fae0cf3698
Core: Fix potential uninitialized var usage in WII_IPC_HLE_Device_usb
...
If "if (ReadStoredLinkKey->read_all == 1)" is not true, then
num_keys_read would be used uninitialized.
2014-07-13 15:41:35 -04:00
Lioncash
9d3c0102fc
Core: Get rid of an unnecessary struct typedef in Boot.h.
2014-07-13 15:28:50 -04:00
Lioncash
5b649902dc
DolphinWX: Remove the need for an explicit new/delete in ISOProperties
...
Just use a normal constructor call and call Destroy to close the window.
2014-07-13 15:06:03 -04:00
Pierre Bourdon
16582a0459
Merge pull request #543 from RachelBryk/patches
...
Fix patches not being loaded when running real gc bios.
2014-07-13 06:25:39 +02:00
Pierre Bourdon
0563960dbc
Merge pull request #603 from lioncash/debugger-font
...
DolphinWX: Use non-deprecated flags for the monospace debugger font
2014-07-13 06:21:02 +02:00
Pierre Bourdon
12fa5ba8b4
Merge pull request #607 from Tilka/fix_warnings
...
Fix warnings unearthed by #579
2014-07-13 06:20:45 +02:00
Tillmann Karras
0ccee6c87b
Fix warnings unearthed by #579
2014-07-13 02:16:51 +02:00
Jules Blok
64801008a0
NoGUI: Add missing call to Core::Shutdown().
...
Fixes a crash when exiting the application.
2014-07-13 01:05:09 +02:00
Lioncash
26f3867e20
DolphinWX: Allow short-hand searching in the code window
...
Lessens the restrictions on the searching in the code view.
Now typing out the full 8 digit hex number isn't needed. For example, you don't need to type 000000FF to go to FF, you just literally type FF.
Also makes JumpToAddress a boolean function to remain consistent with the DSP code view.
This will also change the address search box to have a red background if
either an invalid hex number is given, or if it's longer than 8 characters
2014-07-11 18:32:32 -04:00
Lioncash
58c58d2f92
InputCommon: Use enums instead of defines within GCPadStatus.h
2014-07-11 17:18:11 -04:00
Lioncash
6885bac05f
DolphinWX: Use non-deprecated flags for the monospace debugger font
2014-07-11 13:11:11 -04:00
degasus
7e79806efc
remove unused globals
...
Also change globals into statics which are only used in one file
2014-07-11 16:10:20 +02:00
degasus
81ed17be53
avoid the extern keyword in .cpp files
2014-07-11 16:10:20 +02:00
degasus
6d3f249dcc
mark all local variables as static
2014-07-11 16:10:20 +02:00
degasus
22e1aa5bb4
mark all local functions as static
2014-07-11 16:07:23 +02:00
Tony Wasserka
326af097d9
Merge pull request #593 from neobrain/master
...
Use uniform capitalization in VideoConfigDiag
2014-07-11 13:26:23 +02:00
Dolphin Bot
75c6575f37
Merge pull request #601 from lioncash/pad-struct
...
Change SPADStatus struct name to GCPadStatus
2014-07-11 06:20:33 +02:00
Lioncash
896d7e5685
Change SPADStatus struct name to GCPadStatus
...
Also get rid of the typedef, since this is unnecessary in C++
2014-07-10 22:02:38 -04:00
Pierre Bourdon
ef510a4f73
Merge pull request #594 from lioncash/another-clamp-removal
...
DolphinWX: Remove yet another clamp method
2014-07-11 02:48:27 +02:00
Lioncash
6f9483d161
DolphinWX: Remove unnecessary true within event Skip calls
2014-07-10 20:39:26 -04:00
Lioncash
32d53c7d1d
DolphinWX: Get rid of an unneccessary cast in CodeWindow
...
CFrame inherits from CRenderFrame which inherits from wxFrame which
eventually inherits from wxWindow, so this cast is not required.
2014-07-10 20:29:55 -04:00
Dolphin Bot
bc655d1a82
Merge pull request #515 from Armada651/threading
...
Make the emulation stop asynchronous to prevent deadlocks.
2014-07-10 21:02:47 +02:00
shuffle2
15c1250d9d
Merge pull request #596 from delroth/master
...
AVIDump: fix FFV1 encoding
2014-07-09 18:02:40 -07:00
Pierre Bourdon
da697df6ee
AVIDump: fix FFV1 encoding
...
ffmpeg 2.0 changed requirements for the FFV1 encoder and made them more strict,
requiring more fields of the input frame to be initialized. Explicitly setting
pixfmt, width and height solve the EINVAL issues with FFV1 encoding.
Original fix from http://ffmpeg.org/pipermail/libav-user/2013-October/005759.html
2014-07-10 02:53:12 +02:00
Lioncash
dbdefd074b
DolphinWX: Remove yet another clamp method
2014-07-09 16:17:13 -04:00
Tony Wasserka
ff0f90efa1
VideoConfigDiag: Use uniform capitalization.
...
Nouns should be written capitalized for consistency.
2014-07-09 21:52:04 +02:00
Lioncash
7b95bc78aa
Merge pull request #592 from Armada651/pref_log
...
FPSCounter: Change format string to match value.
2014-07-09 13:56:52 -04:00
Jules Blok
09304cab57
FPSCounter: Change format string to match value.
2014-07-09 19:45:56 +02:00
Dolphin Bot
7b754d6f99
Merge pull request #591 from Armada651/pref_log
...
FPSCounter: Add "Log render time to file" feature.
2014-07-09 18:06:57 +02:00
Jules Blok
95b579746f
Replace "Log FPS to file" by the "Log render time to file" feature.
2014-07-09 17:56:11 +02:00
Jules Blok
61d44cf73f
FPSCounter: Use a Timer for the FPS update time.
2014-07-09 17:53:41 +02:00
Jules Blok
efeadb7fe9
FPSCounter: Add "Log render time to file" feature.
...
Allows for a more accurate performance measurement.
2014-07-09 17:53:31 +02:00
Rachel Bryk
36bc494a0b
Fix code style in WII_IPC_HLE_Device_net.h/.cpp.
2014-07-09 05:26:04 -04:00
Pierre Bourdon
29873a7c55
Merge pull request #585 from lioncash/sprintfs
...
DolphinWX: Kill off sprintf calls in CheatsWindow.cpp
2014-07-09 02:36:22 +02:00
Pierre Bourdon
beeed520a5
Merge pull request #582 from lioncash/casts
...
DolphinWX: Remove redundant casts in ISOProperties
2014-07-09 02:35:05 +02:00
Jules Blok
4df00ae544
Movie: Do not attempt to record input when the emulation has not started yet.
...
Fixes a null pointer exception when the user starts the recording during a state transition.
2014-07-08 22:32:35 +02:00
Jules Blok
db7e746cb4
Check whether the core is running instead of checking if it is unitialized.
...
This properly handles the stopping state and more accurately represents the intended check.
2014-07-08 22:30:44 +02:00
Lioncash
54105a8bba
DolphinWX: Kill off sprintf calls in CheatsWindow.cpp
2014-07-08 16:19:34 -04:00
Lioncash
1f25f3c1c9
Merge pull request #584 from lioncash/bind
...
DolphinWX: Bind the drop handling function to the frame with Bind, not Connect
2014-07-08 16:11:08 -04:00