Lioncash
50ee01754e
BreakPoints: Add initializers for TBreakPoint and TWatch
...
Ensures all members are consistently initialized.
2017-01-11 07:55:43 -05:00
Lioncash
588374349f
BreakPoints: In-class initialize TMemCheck members
...
Same thing, less code.
2017-01-11 07:53:49 -05:00
JosJuice
b1873264d7
WbfsBlob: Don't wrap file_entry in std::unique_ptr
...
There doesn't seem to be any reason for doing it.
2017-01-11 13:39:46 +01:00
JosJuice
0363be4320
WbfsBlob: Remove m_total_files
...
std::vector already keeps track of this for us.
2017-01-11 13:39:38 +01:00
JosJuice
5c02795af0
WbfsBlob: Only open each file once
...
The first file used to be opened once by
CreateBlobReader and once inside WbfsFileReader.
2017-01-11 13:33:27 +01:00
JosJuice
8d54bbc528
Don't create new IOFiles when creating a blob
...
...except for WBFS, which is special because
it has the ability to open multiple files.
2017-01-11 13:23:23 +01:00
JosJuice
d1ea00ed88
Only open file once when detecting blob type
2017-01-11 13:23:19 +01:00
Matthew Parlane
a3bef102b7
Merge pull request #4643 from SeannyM/settings-saving
...
Android: Change Exit Without Saving to Save and Exit
2017-01-11 22:59:42 +13:00
Matthew Parlane
56f203e937
Merge pull request #4641 from sephiroth99/fixextlibusbudev
...
Fix possible undefined reference when linking libusb from externals
2017-01-11 22:40:57 +13:00
Sean Maas
cc29691875
Android: Change Exit Without Saving to Save and Exit
2017-01-10 17:12:42 -05:00
Markus Wick
d9a37d38b4
Merge pull request #4571 from degasus/DSPHLE
...
Attempt re-adding the missing AXWii DSP_SYNC
2017-01-10 22:23:35 +01:00
Jack Andersen
3869eec53a
DSP: Clean up GBA crypto HLE implementation
2017-01-10 10:34:34 -10:00
Markus Wick
52ec186f0a
Merge pull request #4642 from stenzek/split-x64-texture-decoders
...
TextureDecoder: Seperate each format into its own function
2017-01-10 12:06:47 +01:00
Stenzek
2f223e24dc
TextureDecoder: Seperate each format into its own function
2017-01-10 20:41:00 +10:00
Matthew Parlane
a807db1751
Merge pull request #4543 from lioncash/cycles
...
Common: Move BreakPoints into Core
2017-01-10 23:37:49 +13:00
Lioncash
ea8fc594a5
Common: Move BreakPoints into Core
...
BreakPoints utilizes the jit global variable, so this was making Core and
Common cyclical dependencies on one another.
2017-01-10 05:24:44 -05:00
Markus Wick
45a875e2f2
Merge pull request #4639 from Tilka/android
...
Android: fix software renderer 2nd edition
2017-01-10 10:30:16 +01:00
sephiroth99
2616192af3
Fix possible undefined reference when linking libusb from externals
...
When on Linux and using libusb from Externals, and with libudev
available, an "undefined reference" error message appears at link time.
This is due to a wrong define being set in CMake for libusb with
libudev. This causes the code for netlink being used instead of the
correct code for libudev support.
Fix the issue by setting the correct define so the correct libusb code
is used.
2017-01-09 22:48:59 -05:00
Matthew Parlane
ab2542ea41
Merge pull request #4630 from PEmu1/refresh-game-list
...
Change "Refresh List" to "Refresh Game List" in Menu
2017-01-10 14:06:23 +13:00
Markus Wick
440a2f832c
Merge pull request #4637 from lioncash/jitcache
...
JitCache: Get rid of reliance on the JIT global variable
2017-01-10 00:07:17 +01:00
Matthew Parlane
8227994f6c
Merge pull request #4638 from leoetlino/ios-device-type
...
IOS HLE: Replace is_hardware with a proper device type
2017-01-10 09:12:55 +13:00
Tillmann Karras
7284c7a954
Android: fix software renderer 2nd edition
2017-01-09 11:58:19 +00:00
Léo Lam
a68aea1ace
IOS HLE: Replace is_hardware with a proper device type
...
is_hardware is an obscure name (what does hardware mean?) and it forces
us to assume that anything that !is_hardware is a FileIO device. This
assumption prevents properly restoring OH0 child devices (which will be
implemented in the USB PR), so this commit replaces the is_hardware
bool with a device type.
2017-01-09 12:27:45 +01:00
Lioncash
37d10064b8
JitCache: Get rid of reliance on the JIT global variable
2017-01-09 04:43:06 -05:00
Lioncash
f75aab1a85
CachedInterpreter: Separate the block cache from CachedInterpreter
...
An interpreter is not a block cache. It may utilize a block cache, it may
contain a block cache but it *is not* A block cache.
2017-01-09 04:43:05 -05:00
Lioncash
eddccb3891
CachedInterpreter: Move to its own directory
2017-01-09 04:43:05 -05:00
Lioncash
2b8ede8dc6
JitCache: Move implementation details into the cpp file
2017-01-09 04:43:04 -05:00
Lioncash
cf18aeb1eb
JitCache: Move private class details below public details
...
Also organizes cpp file organization to match the function layout.
2017-01-09 04:42:59 -05:00
Pierre Bourdon
91044178ef
Merge pull request #4636 from lioncash/file
...
IOFile: Correct explicit operator bool semantics
2017-01-09 05:07:06 +01:00
Lioncash
1dab2c8816
IOFile: Correct explicit operator bool semantics
...
The operator void* variant was m_good ? m_file : nullptr;
so this was leaving out the file handle check.
2017-01-08 22:52:44 -05:00
Matthew Parlane
0869c63048
Merge pull request #4634 from leoetlino/probably-pointless-ios-fixes
...
IOS HLE: Minor changes to match IOS behaviour
2017-01-09 13:49:32 +13:00
Matthew Parlane
3212300dd4
Merge pull request #4635 from lioncash/const
...
CodeBlock: Const correctness for IsInSpace
2017-01-09 13:49:05 +13:00
Lioncash
00baf193ac
CodeBlock: Const correctness for IsInSpace
2017-01-08 18:40:09 -05:00
Léo Lam
c761ac4f08
IOS HLE: Set return value to EINVAL for unknown commands
...
This matches IOS behaviour and allows getting rid of command handlers
which merely set the return value to EINVAL.
2017-01-08 21:18:08 +01:00
Léo Lam
45b59f01b8
IOS HLE: Allow up to 3 ES handles
...
Confirmed by a hardware test and a quick diassembly of /dev/es.
I'm not aware of anything that opens several ES handles, but
technically, this fixes a small inaccuracy in IOS HLE.
2017-01-08 21:16:10 +01:00
Léo Lam
23162ac722
IOS HLE: STM: Check if there is already an event hook
...
For IOCTL_STM_EVENTHOOK, IOS checks if there is already an event hook
to prevent overriding an existing event hook message with a new one,
without first releasing it.
2017-01-08 21:16:10 +01:00
Matthew Parlane
5135445298
Merge pull request #4627 from leoetlino/naming-cleanup
...
IOS HLE: Naming cleanup
2017-01-09 09:08:50 +13:00
Anthony
f78eb48876
Merge pull request #4633 from RisingFog/silent_audio_dumping
...
Add Silent Audio Dumping INI Option
2017-01-08 11:05:59 -08:00
Chris Burgener
47b3a9c68e
Add Silent Audio Dumping INI Option
2017-01-08 13:53:44 -05:00
Markus Wick
358de1e2ee
Merge pull request #4631 from Tilka/android
...
Android: fix software renderer settings string
2017-01-08 19:28:53 +01:00
Tillmann Karras
7e21732b53
Android: fix software renderer settings string
2017-01-08 17:28:14 +00:00
PEmu1
b25ed121d1
Change "Refresh List" to "Refresh Game List" in Menu
...
Make refresh list option more clear as to what it does and more consistent with other usage in the UI.
2017-01-08 09:24:17 -08:00
flacs
c30216003e
Merge pull request #4622 from degasus/videosw
...
VideoSW: Fix GL ES shader.
2017-01-08 17:03:57 +00:00
Markus Wick
6b764adbea
Merge pull request #4628 from lioncash/const
...
Jit64Base: Const correctness for LogGeneratedX86
2017-01-08 10:54:40 +01:00
Lioncash
27350dbf1c
Jit64Base: Use size_t to represent size in LogGeneratedX86
2017-01-07 21:57:19 -05:00
Lioncash
77756b44d5
Jit64Base: Const correctness for LogGeneratedX86
2017-01-07 21:53:06 -05:00
Matthew Parlane
7a4464c3e0
Merge pull request #4599 from stenzek/point-uvs
...
GeometryShaderGen: Use lower-left origin for point texture coordinates
2017-01-08 13:40:55 +13:00
Léo Lam
1f9269d0ea
ConfigManager: Don't overwrite the SYSCONF country
...
Currently, the country is always overridden depending on the Wii
language setting. This makes it impossible to change the country
independently from the language, unlike on a Wii, since a language
will always be associated to an unique country (which is hardcoded
in Dolphin's codebase).
This behaviour was added in c881262
and changed in PR 4319 to happen
every time emulation is started. It doesn't seem to be needed anymore,
as a quick testing shows that a Japanese system menu is able to load
in Japanese even with the region set to France, or anything other than
Japan in fact. So what this commit changes is drop this code.
Fixes issue 9884.
2017-01-08 01:28:43 +01:00
Léo Lam
c28b148783
IOS HLE: Clean up naming and remove unused defines
...
Removes #defines which have been unused for years and cleans up
naming.
This also changes IPC_REP_ASYNC to simply IPC_REPLY because it turns
out it's actually not specific to async replies, but used for all
command replies.
2017-01-08 01:20:40 +01:00
Léo Lam
7dcb3c5d55
IOS HLE: Clean up return codes
...
- Use an enum instead of defines.
- Only use the FS_ prefix for return codes which are actually related
to FS stuff, not for everything.
- Remove duplicated error codes and clean up the names.
2017-01-08 01:20:35 +01:00