Commit graph

39748 commits

Author SHA1 Message Date
Pokechu22
89f0b7b10c DolphinAnalytics: Add missing license comment 2021-12-10 13:59:38 -08:00
JMC47
bfddce425d
Merge pull request #10268 from Pokechu22/code-view-widget-clamp-ub
CodeViewWidget: Fix undefined behavior when centered around address 0
2021-12-10 05:59:47 -05:00
cobalt2727
905cd73e98
faster build
Minor edit that brings the Mac builder in line with `build-linux.sh` by compiling with as many threads as the hardware has available.
2021-12-09 19:41:16 -05:00
JosJuice
2f4ecde5cc
Merge pull request #10253 from Filoppi/fix_input_config_loading
Fix InputConfig::LoadConfig() not always replacing emu controllers values
2021-12-09 22:21:02 +01:00
JosJuice
e0a61ed9a0
Merge pull request #10248 from Filoppi/fix_input_config_default_device_load
Fix default input config default device not being loaded/found
2021-12-09 22:20:55 +01:00
JosJuice
d5d21c6533
Merge pull request #10252 from ssdsnake/feature_dolphintool
DolphinTool: Add CLI tool subsystem + commands for verifying and converting RVZ/ISO/WIA/GCZ
2021-12-09 22:20:26 +01:00
Nikhil Narayana
6ac0e396fe pull in codeset from project-slippi/Ishiiruka/pull/246/commits/966f644f2595f38e404c9de07fa108da1c7872bf 2021-12-09 09:24:25 -08:00
Nikhil Narayana
e2af3ce87d project-slippi/Ishiiruka/pull/246/commits/68e5ac4e13ae7e1456a2fcd8dc6b8dbf380849cc 2021-12-09 09:24:25 -08:00
Nikhil Narayana
fa63bc3ae0 compiles 2021-12-09 09:24:25 -08:00
R2DLiu
8d94c3563c project-slippi/Ishiiruka/pull/231 2021-12-09 09:24:25 -08:00
Nikhil Narayana
d59553ccba project-slippi/Ishiiruka/pull/247
removed some unnecessary logic

we used to overwrite where the codehandler looks for the gecko codes... but we don't run the codehandler anymore past initializing the bootloader. Plus given the codehandler was different than in Ishii, this overwrite location was totally wrong anyway.

Co-authored-by: Jas Laferriere <Fizzi36@gmail.com>
2021-12-09 09:24:25 -08:00
Pokechu22
5bcbc8fcef CodeViewWidget: Fix undefined behavior when centered around address 0 2021-12-08 21:42:15 -08:00
Nikhil Narayana
085e784f97 project-slippi/Ishiiruka/commit/c35fc6339167946cd1a244a3d8e3ec82b8bfedc7 2021-12-08 17:45:07 -08:00
JosJuice
67787b59d6 JitArm64: Allocate 64 MB for farcode
My change in 867cd99 caused farcode to fill up much more than before.
Most games still ran fine, but certain games would have multiple
cache clears per minute, on top of being overall slow.

Maybe there's something prettier we can do about this than just
allocating more RAM, but we have the resource budget for making
Dolphin use more RAM, so I consider increasing the size of the
cache to be a good solution at least for the time being.

At least for Prince of Persia: The Forgotten Sands, 48 MB isn't
enough to stop the cache clears, but 64 MB is. (I only played the
game for a few minutes when testing, though.)
2021-12-08 20:56:00 +01:00
OatmealDome
1c421444ae ProgramShaderCache: Don't define FB_FETCH_VALUE for GL_EXT_shader_framebuffer_fetch
We will automatically choose between real_ocol0 and ocol0 in the fragment shader.
2021-12-06 22:36:40 -05:00
OatmealDome
74a979db09 UberShaderPixel: Add shader logic ops support on OpenGL ES 2021-12-06 22:36:40 -05:00
OatmealDome
18b2f6953d PixelShaderGen: Add shader logic ops support on OpenGL ES
To do this, I had to decouple framebuffer fetch from shader blending. We need to be able to access framebuffer fetch input when using shader logic ops.
2021-12-06 22:36:40 -05:00
OatmealDome
a77ae14d94 UberShaderPixel: Add shader logic ops support on Metal 2021-12-06 22:36:40 -05:00
OatmealDome
e0837cb847 PixelShaderGen: Add shader logic ops support on Metal 2021-12-06 22:36:40 -05:00
OatmealDome
426c68b5a0 ShaderCache: Don't turn on logic ops approximation if framebuffer fetch is supported 2021-12-06 22:36:40 -05:00
OatmealDome
f87f704f43 ShaderCompiler: Add helpers for Metal framebuffer fetch 2021-12-06 22:36:39 -05:00
OatmealDome
40eb071562 ShaderCompiler: Add new helper define for input attachment binding 2021-12-06 22:36:39 -05:00
OatmealDome
c12b9b013b PixelShaderGen: Add logic ops to pixel_shader_uid_data 2021-12-06 22:36:34 -05:00
R2DLiu
edbebf48b7 pull in https://github.com/project-slippi/Ishiiruka/pull/251 2021-12-05 18:18:24 -05:00
Filoppi
689545a795 InputCommon: fix InputConfig::LoadConfig() not always replacing emu controllers values
If InputConfig::LoadConfig() was called once with a non empty/customized config,
then called again after manually deleting the config (dolphin calls LoadConfig() every time it opens the mapping widget),
the second load would fail to clear the values on any non first EmulatedController and would instead keep the
previous config values despite it being deleted (while it would instead correctly default the first EmulatedController).

This is not a big bug though the code is better now.
2021-12-05 23:37:58 +02:00
Filoppi
125971d9f2 InputCommon: fix default input config default device not being loaded/found
Fixes bug: https://bugs.dolphin-emu.org/issues/12744

Before e1e3db13ba
the ControllerInterface m_devices_mutex was "wrongfully" locked for the whole Initialize() call, which included the first device population refresh,
this has the unwanted (accidental) consequence of often preventing the different pads (GC Pad, Wii Contollers, ...) input configs from loading
until that mutex was released (the input config defaults loading was blocked in EmulatedController::LoadDefaults()), which meant that the devices
population would often have the time to finish adding its first device, which would then be selected as default device (by design, the first device
added to the CI is the default default device, usually the "Keyboard and Mouse" device).

After the commit mentioned above removed the unnecessary m_devices_mutex calls, the default default device would fail to load (be found)
causing the default input mappings, which are specifically written for the default default device on every platform, to not be bound to any
physical device input, breaking input on new dolphin installations (until a user tried to customize the default device manually).

Default devices are now always added synchronously to avoid the problem, and so they should in the future (I added comments and warnings to help with that)
2021-12-05 23:35:47 +02:00
R2DLiu
930559bbcc temp commit, fix warnings and errors 2021-12-05 16:28:09 -05:00
ssdsnake
1aa8a4d46f DolphinTool: CLI utility interface and disc image tools 2021-12-03 15:40:19 -06:00
JosJuice
85e5070215
Merge pull request #10257 from Pokechu22/no-bs2-rtc-flags
BS2Emu: Stop clearing the RTC flags
2021-12-03 22:39:38 +01:00
JosJuice
d23ac5a444 Translation resources sync with Transifex 2021-12-03 22:06:14 +01:00
Scott Mansell
0327bc2ab6
Merge pull request #10256 from malleoz/show-rerecord-count
Renderbase: Show rerecord count
2021-12-03 14:42:10 +13:00
Scott Mansell
e92e90d147
Merge pull request #10263 from dolphin-emu/revert-10217-bombermanjetters
Revert "Force Dual Core on for Bomberman Jetters"
2021-12-03 01:28:33 +13:00
JMC47
d10ecd2de4
Revert "Force Dual Core on for Bomberman Jetters" 2021-12-02 07:21:55 -05:00
JMC47
c12e4e8ee0
Merge pull request #10244 from phire/ban-timetravel
Delay singlecore gpu interrupts; Fixes Bomberman Jetters in single core mode.
2021-12-02 07:21:41 -05:00
Scott Mansell
26e4e67d45
Merge pull request #10258 from Pokechu22/fifoplayer-efb-clear
FifoPlayer: Clear EFB before starting playback
2021-12-03 00:22:27 +13:00
Nikhil Narayana
2964a86b9b project-slippi/Ishiiruka#223 2021-12-01 22:35:03 -08:00
Pokechu22
5af18773bf FifoPlayer: Clear EFB before starting playback
This fixes the bad rendering on the first frame when using the software renderer: the software renderer's Z buffer started out at 0, but most games clear it to 0xffffff instead; this means that things don't render correctly except for in the regions where the screen was cleared by an EFB copy earlier in the frame.
2021-12-01 19:09:24 -08:00
Nikhil Narayana
f52c49f55f always enable QoS 2021-11-30 17:37:52 -08:00
Nikhil Narayana
246ba8397e https://github.com/project-slippi/Ishiiruka/pull/225 (doubles) + extra commits detailed below
8c2943b854f742d9b27bdbf5ffe8fc278a3fe318
c891220772e1258e6e9192ef8ec195c227e8f10b
2021-11-30 17:25:13 -08:00
Nikhil Narayana
b5dff938a3 https://github.com/project-slippi/Ishiiruka/pull/233 2021-11-30 17:25:07 -08:00
Nikhil Narayana
a2a5772731 https://github.com/project-slippi/Ishiiruka/pull/232 2021-11-30 17:24:42 -08:00
sowens99
e4fed7cce8 Add Rerecord Count display
Simply shows Movie::s_rerecords in the ImGui Movie window
2021-11-30 20:08:29 -05:00
Pokechu22
5134caf68c BS2Emu: Stop clearing the RTC flags
The system menu does clear the RTC flags, but we currently aren't updating the cache file, and since we clear them the system menu doesn't know to update the cache either.  This means that launching a game via the system menu, and then launching a game directly and exiting via HOME will result in the system menu using an outdated cache and displaying the old game.  This causes it to fail to launch the game on the disc channel (since it doesn't match the cache), resulting in it resetting (though it will ignore the cache after resetting).  Not clearing the cache avoids this issue.
2021-11-30 14:43:49 -08:00
Mai M
fc1ed33c11
Merge pull request #10250 from JosJuice/i18n-save-game
DolphinQt: Add i18n comment for "Save Game"
2021-11-30 16:54:20 -05:00
Scott Mansell
57d251c2f0
Merge pull request #10242 from smitdylan2001/master
Fixed Gamecube naming to GameCube
2021-11-30 06:58:55 +13:00
JosJuice
1e212d6212
Merge pull request #10245 from Pokechu22/libpng-errors
Fix saving RGBA images
2021-11-27 21:22:57 +01:00
JosJuice
6a1a7efdd5 DolphinQt: Add i18n comment for "Save Game"
It's very easy to assume the "save" in this string is a verb.
2021-11-27 20:27:33 +01:00
R2DLiu
9cf53410c7 compiles 2021-11-26 19:48:26 -05:00
R2DLiu
7665a31bb8 even with 6e7b30d5d7d8b3a545dd412100401299ae8ada8d 2021-11-26 19:37:32 -05:00
Mateus B. Cassiano
4fe7f69c29 Game INI updates
Updated settings for Eternal Darkness, Epic Mickey 2 and earlier Just Dance games.
Added missing settings for Just Dance spin-offs and compilations.
2021-11-25 02:10:43 -04:00