mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 05:21:18 +12:00
Code clean up + replace some wstring instances with utf8 (#640)
This commit is contained in:
parent
ca79a6aa0d
commit
f3ff919be2
41 changed files with 163 additions and 641 deletions
|
@ -500,6 +500,14 @@ GraphicPack2::GraphicPack2(std::wstring filename, IniParser& rules)
|
|||
}
|
||||
}
|
||||
|
||||
// returns true if enabling, disabling (changeEnableState) or changing presets (changePreset) for the graphic pack requires restarting if the game is already running
|
||||
bool GraphicPack2::RequiresRestart(bool changeEnableState, bool changePreset)
|
||||
{
|
||||
if (!GetTextureRules().empty())
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool GraphicPack2::Reload()
|
||||
{
|
||||
Deactivate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue