Beispiel #1
0
FILE *moduleripper2_fopen (const char *name, const char *mode, const char *aid, int addr, int size)
{
	TCHAR msg[MAX_DPATH], msg2[MAX_DPATH];
	TCHAR *id;
	int ret;

	if (canceled)
		return NULL;
	got++;
	translate_message (NUMSG_MODRIP_SAVE, msg);
	id = au (aid);
	_stprintf (msg2, msg, id, addr, size);
	ret = gui_message_multibutton (2, msg2);
	xfree (id);
	if (ret < 0)
		canceled = 1;
	if (ret < 0 || ret != 1)
		return NULL;
	return moduleripper_fopen (name, mode);
}
Beispiel #2
0
FILE * PW_fopen (char *filename, char *fopenargs)
{
    return moduleripper_fopen (filename, fopenargs);
}