Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StrFmt.h: Fix throw_exception log message #15611

Merged
merged 8 commits into from
May 21, 2024
Merged

StrFmt.h: Fix throw_exception log message #15611

merged 8 commits into from
May 21, 2024

Conversation

elad335
Copy link
Contributor

@elad335 elad335 commented May 20, 2024

Turns out when the stars aligned.. and the arguments trail of fmt::throw_exception are of exactly u32 type, they would spill onto the code location arguments and ruin the formatting due a missing arguments break.
image

Other changes:

  • Tell the user what 0 value of blocks log limit does.
  • Join RSX shader compilation threads early-on on RSX exit for faster emulation termination.
  • Reduce sys_tty thread dump spam.
  • Internal fixes of SPU Debug option.
  • Rename Suspsend to Anti-Cheat Savestates. The original naming was derived from the Developer perspective, but it does not help the actual user.
  • Use std::source_location where applicable.

@elad335 elad335 added the Savestates Anything that involves savestates label May 20, 2024
@@ -52,7 +52,7 @@ class Tooltips : public QObject
const QString disabled_from_global = tr("Do not change this setting globally.\nRight-click a game in the game list and choose \"Configure\" instead.");
const QString vulkan_async_scheduler = tr("Determines how to schedule GPU async compute jobs when using asynchronous streaming.\nUse 'Safe' mode for more spec compliant behavior at the cost of some CPU overhead. This setting works with all devices.\nUse 'Fast' to use a faster but hacky version. This option is internally disabled for NVIDIA GPUs due to causing GPU hangs.");
const QString disable_msl_fast_math = tr("Disables Fast Math for MSL shaders, which may violate the IEEE 754 standard.\nDisabling it may fix some artifacts, especially on Apple GPUs, at the cost of performance.");
const QString suspend_savestates = tr("When this mode is on, emulation exits when saving and the savestate file is concealed after loading it, preventing reuse by RPCS3.\nThis mode is like hibernation of emulation: if you don't want to be able to cheat using savestates when playing the game, consider using this mode.\nDo note that the savestate file is not gone completely, just ignored by RPCS3. You can manually relaunch it if needed.");
const QString anti_cheat_savestates = tr("When this mode is on, emulation exits when saving and the savestate file is concealed after its load, preventing reuse by RPCS3.\nThis mode is like hibernation of emulation: if you don't want to be able to cheat using savestates when playing the game, consider using this mode.\nDo note that the savestate file is not gone completely, just ignored by RPCS3. You can manually relaunch it if needed.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const QString anti_cheat_savestates = tr("When this mode is on, emulation exits when saving and the savestate file is concealed after its load, preventing reuse by RPCS3.\nThis mode is like hibernation of emulation: if you don't want to be able to cheat using savestates when playing the game, consider using this mode.\nDo note that the savestate file is not gone completely, just ignored by RPCS3. You can manually relaunch it if needed.");
const QString anti_cheat_savestates = tr("When this mode is on, emulation exits when saving and the savestate file is concealed after being loaded, preventing reuse by RPCS3.\nThis mode is like hibernation of emulation: if you don't want to be able to cheat using savestates when playing the game, consider using this mode.\nDo note that the savestate file is not gone completely, just ignored by RPCS3. You can manually relaunch it if needed.");

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tbh, why does this exist in the first place?
Neither the old name nor the new name make it any more useful.
It's just bloating the software trying to adhere to an issue that doesn't exist.
(Unless you know people who actually use it)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has its uses, this is not the place to question it.

Utilities/StrFmt.h Outdated Show resolved Hide resolved
@elad335 elad335 merged commit a2dcbb9 into RPCS3:master May 21, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix Miscellaneous Savestates Anything that involves savestates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants