mirror of
https://gitea.tendokyu.moe/Hay1tsme/segatools.git
synced 2026-05-06 13:25:35 -05:00
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>
14 lines
251 B
C
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);
|