mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-23 18:19:21 +01:00
plg_ldr: Revert state back to static for now. (#7326)
This commit is contained in:
parent
bc352e8168
commit
b2c740ee0e
@ -40,6 +40,10 @@ namespace Service::PLGLDR {
|
|||||||
|
|
||||||
static const Kernel::CoreVersion plgldr_version = Kernel::CoreVersion(1, 0, 0);
|
static const Kernel::CoreVersion plgldr_version = Kernel::CoreVersion(1, 0, 0);
|
||||||
|
|
||||||
|
PLG_LDR::PluginLoaderContext PLG_LDR::plgldr_context;
|
||||||
|
bool PLG_LDR::allow_game_change = true;
|
||||||
|
PAddr PLG_LDR::plugin_fb_addr = 0;
|
||||||
|
|
||||||
PLG_LDR::PLG_LDR(Core::System& system_) : ServiceFramework{"plg:ldr", 1}, system(system_) {
|
PLG_LDR::PLG_LDR(Core::System& system_) : ServiceFramework{"plg:ldr", 1}, system(system_) {
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
// clang-format off
|
// clang-format off
|
||||||
|
@ -104,9 +104,9 @@ public:
|
|||||||
private:
|
private:
|
||||||
Core::System& system;
|
Core::System& system;
|
||||||
|
|
||||||
PluginLoaderContext plgldr_context;
|
static PluginLoaderContext plgldr_context;
|
||||||
PAddr plugin_fb_addr = 0;
|
static PAddr plugin_fb_addr;
|
||||||
bool allow_game_change = true;
|
static bool allow_game_change;
|
||||||
|
|
||||||
void IsEnabled(Kernel::HLERequestContext& ctx);
|
void IsEnabled(Kernel::HLERequestContext& ctx);
|
||||||
void SetEnabled(Kernel::HLERequestContext& ctx);
|
void SetEnabled(Kernel::HLERequestContext& ctx);
|
||||||
|
Loading…
Reference in New Issue
Block a user