コード例 #1
0
ファイル: mac-appleevent.cpp プロジェクト: OV2/snes9x-libsnes
static pascal OSErr AEquit (const AppleEvent *theEvent, AppleEvent *theReply, long refCon)
{
	if (running)
		return (noErr);

	SNES9X_Quit();
	QuitApplicationEventLoop();

	return (noErr);
}
コード例 #2
0
ファイル: mac-appleevent.cpp プロジェクト: alesegdia/snes-sdk
static pascal OSErr AEquit(const AppleEvent *theEvent, AppleEvent *theReply, long refCon)
{	
	#pragma unused (theEvent, theReply, refCon)
	
	if (running)
		return noErr;

	SNES9X_Quit();
	QuitApplicationEventLoop();
	
	return noErr;
}