mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-04 04:38:03 +03:00
44 lines
815 B
C
44 lines
815 B
C
#include "config.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "portab.h"
|
|
#include "system.h"
|
|
#include "xsystem35.h"
|
|
#include "nact.h"
|
|
void Init() {
|
|
int p1 = getCaliValue();
|
|
|
|
DEBUG_COMMAND_YET("Confirm.Init %d:\n", p1);
|
|
}
|
|
|
|
void ExistKeyFile() {
|
|
char *p1 = sys_getString(0);
|
|
int *p2 = getCaliVariable();
|
|
int *var = getCaliVariable();
|
|
|
|
*var = 1;
|
|
|
|
DEBUG_COMMAND_YET("Confirm.ExistKeyFile %s,%p,%p:\n",p1, p2, var);
|
|
}
|
|
|
|
void CheckProtectFile() {
|
|
char *p1 = sys_getString(0);
|
|
int *p2 = getCaliVariable();
|
|
int *var = getCaliVariable();
|
|
|
|
*var = 1;
|
|
|
|
DEBUG_COMMAND_YET("Confirm.CheckProtectFile %s,%p,%p:\n", p1,p2,var);
|
|
}
|
|
|
|
void CreateKeyFile() {
|
|
char *p1 = sys_getString(0);
|
|
int *p2 = getCaliVariable();
|
|
int *var = getCaliVariable();
|
|
|
|
*var = 1;
|
|
|
|
DEBUG_COMMAND_YET("Confirm.CreateKeyFile %s,%p,%p:\n", p1,p2,var);
|
|
}
|