segatools/common/platform/misc.h
kyoubate-haruka 85b8ae02fa misc: add ability to re-enable a few things (#100)
This adds two new config flags to re-enable master registry key access and rebooting. This is needed on real hardware if you want to be able to move to System Test Mode.

Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/100
Reviewed-by: Dniel97 <dniel97@noreply.gitea.tendokyu.moe>
Co-authored-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
Co-committed-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
2026-03-04 07:58:01 +00:00

14 lines
251 B
C

#pragma once
#include <windows.h>
#include <stdbool.h>
#include <stdint.h>
struct misc_config {
bool enable;
bool allowReboot;
bool allowMasterKeyWrite;
};
HRESULT misc_hook_init(const struct misc_config *cfg, const char *platform_id);