mirror of
https://github.com/libretro/px68k-libretro.git
synced 2026-11-07 04:25:57 -10:00
22 lines
536 B
C
22 lines
536 B
C
// ---------------------------------------------------------------------------------------
|
|
// COMMON - 標準ヘッダ群(COMMON.H)とエラーダイアログ表示とか
|
|
// ---------------------------------------------------------------------------------------
|
|
#include <windows.h>
|
|
#include <stdio.h>
|
|
|
|
#include "sstp.h"
|
|
|
|
extern HWND hWndMain;
|
|
extern const BYTE PrgTitle[];
|
|
|
|
void Error(const char* s)
|
|
{
|
|
char title[80];
|
|
sprintf(title, "%s エラー\0", PrgTitle);
|
|
|
|
SSTP_SendMes(SSTPMES_ERROR);
|
|
|
|
MessageBox(hWndMain, s, title, MB_ICONERROR | MB_OK);
|
|
}
|
|
|