Commit graph

42927 commits

Author SHA1 Message Date
Martin
a4d031cfda Add NonDefaultQPushButton to set autoDefault of buttons to false 2022-03-08 08:51:29 +01:00
Shawn Hoffman
a546c451b7 windows: wrap all main funcs with utf8 conversions
fixes 12858
2022-03-07 23:24:21 -08:00
Nora
b788d33717
Merge Upstream Dolphin code (#3)
* Debugger: Fix warning on Debian builder

Fix "braces around scalar initializer [-Wbraced-scalar-init]" warning

* Fix manual update check which was hardcoded to "dev" track

* OGLRender: Log video backend info, in addition to showing it via OSD

This is mainly intended for debugging fifo.ci.

* FileUtil: Remove redundant statement

* Qt/GeneralPane: Don't trigger config change events when populating GUI.

* more stuff

* buildbot from dolphin-mpn-src to dolphin-mpn-advanced-src

* Fix Netplay Traversal Error

* Update linux.yml

* Update macos.yml

* Update linux.yml

* NANDImporter: Make a class variable for the NAND root

* fix linux buildbot

* rename binary automatically to dolphin-mpn

* NANDImporter: Improve NANDFSTEntry

`uid` is a u32, not a u16. Also, everything is big endian, so we
can simplify the code a little bit.

* NANDImporter: Reduce recursion in `ProcessEntry`

It also simplifies the code flow, as it no longer goes backwards
through the filesystem chain.

* NANDImporter: Don't pass paths if we don't need to

* NANDImporter: Make superblocks less magical

Create a struct describing the superblock layout and use it directly
without needing to specify offsets and such.

* NANDImporter: Only read the AES key once

There is no need to constantly reset the key for every file entry.

* Common: Make DynamicLibrary non-copyable

The default implementations of DynamicLibrary's copy and move
constructors and assignment operators are unsafe.

* minor fixes

Co-authored-by: Dentomologist <dentomologist@gmail.com>
Co-authored-by: Pierre Bourdon <delroth@gmail.com>
Co-authored-by: Pokechu22 <Pokechu022@gmail.com>
Co-authored-by: Admiral H. Curtiss <pikachu025@gmail.com>
Co-authored-by: JosJuice <josjuice@gmail.com>
Co-authored-by: Starsam80 <samraskauskas@gmail.com>
Co-authored-by: Léo Lam <leo@leolam.fr>
2022-03-07 23:37:34 -07:00
Nora
f21718e5b4 final update hopefully 2022-03-06 12:37:17 -05:00
Nora
4fd47a2b87 minor fixes 2022-03-06 11:58:01 -05:00
Nora
4f03cba1dc
Merge branch 'dolphin-emu:master' into master 2022-03-06 11:56:09 -05:00
JosJuice
1bc057614e Move parts of MappingCommon out of DolphinQt
Some of the functions in MappingCommon would be useful to use on
mobile in the future.
2022-03-06 14:30:49 +01:00
Admiral H. Curtiss
9af9e791f6
Merge pull request #10494 from JosJuice/dynamiclibrary-rule-of-five
Common: Make DynamicLibrary non-copyable
2022-03-06 02:10:15 +01:00
JosJuice
5446daaef9 Common: Make DynamicLibrary non-copyable
The default implementations of DynamicLibrary's copy and move
constructors and assignment operators are unsafe.
2022-03-05 23:40:41 +01:00
Nora
2c9fd1bad8 Merge branch 'Divaddd-master' 2022-03-03 18:44:14 -05:00
Nora
50049ccaaf Fix Errors 2022-03-03 18:44:01 -05:00
teconmoon
d95f6faa55
Create REX.ini file for Excite Truck visual issues
With "Store EFB Copies to Texture Only" set to True (the default setting), areas of Excite Truck appear darker than on console. For example, in Sylvan Glen under the Bronze cup, all of the trees appear very dark, nearly black. On console, this does not occur.

Start of the race on Dolphin: https://youtu.be/KjJ-55lwFkE?t=817
Start of the race on Console: https://youtu.be/0W9blwA8AG4?t=699

Setting EFBToTextureEnable = False fixes this issue and does not appear to introduce any performance impacts, so I am recommending that this be disabled by default for this game.
2022-03-03 15:34:58 -08:00
Léo Lam
d32c72038a
Merge pull request #10467 from Dentomologist/fix_scalar_initializer_braces_warning
Debugger: Fix warning on Debian builder
2022-03-02 12:56:09 +01:00
Léo Lam
c7361bc1b3
Merge pull request #10474 from Pokechu22/log-ogl-video-info
OGLRender: Log video backend info, in addition to showing it via OSD
2022-03-02 12:29:51 +01:00
Léo Lam
bcc14d32b8
Merge pull request #10482 from Dentomologist/remove_redundant_statement
FileUtil: Remove redundant statement
2022-03-02 12:27:21 +01:00
Léo Lam
ebfee3b2de
Merge pull request #10484 from AdmiralCurtiss/general-pane-signalblocker
Qt/GeneralPane: Don't trigger config change events when populating GUI.
2022-03-02 11:59:02 +01:00
Léo Lam
666db19436
Merge pull request #10322 from Starsam80/nand
NANDImporter: Various improvements and cleanup
2022-03-02 11:56:11 +01:00
Starsam80
41a3368889
NANDImporter: Only read the AES key once
There is no need to constantly reset the key for every file entry.
2022-03-01 19:24:59 -07:00
Starsam80
80012ae253
NANDImporter: Make superblocks less magical
Create a struct describing the superblock layout and use it directly
without needing to specify offsets and such.
2022-03-01 19:24:59 -07:00
Starsam80
73151a5753
NANDImporter: Don't pass paths if we don't need to 2022-03-01 19:24:59 -07:00
Starsam80
6758c77c39
NANDImporter: Reduce recursion in ProcessEntry
It also simplifies the code flow, as it no longer goes backwards
through the filesystem chain.
2022-03-01 19:24:59 -07:00
Starsam80
2ccd974471
NANDImporter: Improve NANDFSTEntry
`uid` is a u32, not a u16. Also, everything is big endian, so we
can simplify the code a little bit.
2022-03-01 19:24:59 -07:00
Nora
d6098f5499
Fix buildbot (#2)
* more stuff

* buildbot from dolphin-mpn-src to dolphin-mpn-advanced-src

* Fix Netplay Traversal Error

* Update linux.yml

* Update macos.yml

* Update linux.yml

* fix linux buildbot

* rename binary automatically to dolphin-mpn

* Update Readme.md

Co-authored-by: JosJuice <josjuice@gmail.com>
2022-03-01 16:49:20 -07:00
Pierre Bourdon
8ecfa537a2
Merge pull request #10473 from delroth/autoupdate-fail
Fix manual update check which was hardcoded to "dev" track
2022-03-02 00:10:48 +01:00
Nora
1e2c4cb39d rename binary automatically to dolphin-mpn 2022-03-01 17:20:02 -05:00
Nora
c0c7dc18d2 fix linux buildbot 2022-03-01 17:12:53 -05:00
Starsam80
643057fea2
NANDImporter: Make a class variable for the NAND root 2022-03-01 15:07:59 -07:00
Nora
a3e1050671
Update linux.yml 2022-03-01 14:40:49 -05:00
Nora
6db3b74642
Update macos.yml 2022-03-01 14:40:36 -05:00
Nora
55ae9ed804
Update linux.yml 2022-03-01 14:37:28 -05:00
Nora
3d37682722 more stuff 2022-03-01 14:31:25 -05:00
Nora
07e258fd58 Fix Netplay Traversal Error 2022-03-01 14:18:11 -05:00
Nora
12b4ebd6a7
buildbot from dolphin-mpn-src to dolphin-mpn-advanced-src 2022-02-28 23:21:35 -05:00
Nora
2b811d8272
more stuff (#1)
Co-authored-by: JosJuice <josjuice@gmail.com>
2022-02-28 16:48:25 -07:00
Nora
1c6d3c2557 Merge branch 'master' of https://github.com/UnicorNora/dolphin 2022-02-28 18:43:20 -05:00
Nora
993a234642 more stuff 2022-02-28 18:43:12 -05:00
JMC47
ea116fbbdf
Merge pull request #9834 from AdmiralCurtiss/fastmem-reserve-region-linux
MemArena: Keep fastmem memory region mapped on Linux to ensure nothing allocates within the fastmem space.
2022-02-28 12:46:34 -05:00
JosJuice
bbb64ff993 Shadergen: Use real_ocol0 workaround for shader logic ops
Previously we were using this workaround when using framebuffer fetch
to emulate dual source blending, but it seems like we also need to use
it when using framebuffer fetch to emulate logic ops, otherwise some
Adreno devices get a crash when compiling OpenGL ES ubershaders.

Using the workaround in specialized shaders doesn't seem to be
necessary, but I've made the same change there for consistency.

This gets us closer to fixing https://bugs.dolphin-emu.org/issues/12791
but doesn't actually fix it.
2022-02-28 18:32:19 +01:00
JMC47
f65dc6d525
Merge pull request #10441 from OatmealDome/improved-logic-op-workaround
BlendingState: Set source and destination alpha factors in logic op workaround
2022-02-28 12:17:25 -05:00
JMC47
20e4e34e91
Merge pull request #10487 from JosJuice/android-savestate-spacing
Android: Set letterSpacing for savestate options
2022-02-28 12:13:10 -05:00
JMC47
56a98532e1
Merge pull request #10488 from JosJuice/logic-ops-logic
PixelShaderGen: Check uid_data for use_shader_logic_op
2022-02-28 12:12:52 -05:00
Nora
99915e0772
Merge branch 'dolphin-emu:master' into master 2022-02-27 20:21:10 -05:00
JosJuice
fe09429194 Merge pull request #10456 from merryhime/rm-StringFromFormatV
JitRegister: Use fmt
2022-02-27 20:19:08 -05:00
JosJuice
608799f1e4 PixelShaderGen: Check uid_data for use_shader_logic_op
On devices which have hardware support for dual source blending
but not logic ops, this lets us skip performing the framebuffer
fetch in situations where the game isn't actually using logic ops.
2022-02-28 00:04:31 +01:00
JosJuice
8588272b3b Android: Set letterSpacing for savestate options
fbe7cf6 set this for most buttons in the in-game menu but missed
the savestate-related buttons and Unpause Emulation.
2022-02-27 22:45:21 +01:00
Tony Gong
c95c43bfb6 Make pos/neg analog axes symmetrical
Currently, the axes for the main and C sticks range from 0-255, with
128 being the mid-point; but this isn't symmetrical: the negative axis
has 128 values not including 0, while the positive axis has 127 values
not including 0.

Normalizing so that the range is 1-255 makes the positive and negative
axes symmetrical. The inability to yield 0 shouldn't be an issue as a
real GC controller cannot yield it anyway.
2022-02-27 09:58:21 -08:00
Admiral H. Curtiss
1fd9a1117e
Qt/GeneralPane: Don't trigger config change events when populating GUI. 2022-02-27 17:56:35 +01:00
Admiral H. Curtiss
aa0ac83997
Merge pull request #10468 from JosJuice/sd-card-callback
Use config changed callback to detect SD insertion/ejection
2022-02-26 17:31:31 +01:00
Mai M
c474db9301
Merge pull request #10407 from JosJuice/android-reset-callback
Android: Call OnConfigChanged when resetting a setting
2022-02-26 11:24:18 -05:00
Dentomologist
01bd5e15ba FileUtil: Remove redundant statement 2022-02-25 21:16:07 -08:00