/* Copyright 2005-2006 Theo Berkau12This file is part of Yabause.34Yabause is free software; you can redistribute it and/or modify5it under the terms of the GNU General Public License as published by6the Free Software Foundation; either version 2 of the License, or7(at your option) any later version.89Yabause is distributed in the hope that it will be useful,10but WITHOUT ANY WARRANTY; without even the implied warranty of11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12GNU General Public License for more details.1314You should have received a copy of the GNU General Public License15along with Yabause; if not, write to the Free Software16Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA17*/1819#ifndef ERROR_H20#define ERROR_H2122#define YAB_ERR_UNKNOWN 023#define YAB_ERR_FILENOTFOUND 124#define YAB_ERR_MEMORYALLOC 225#define YAB_ERR_FILEREAD 326#define YAB_ERR_FILEWRITE 427#define YAB_ERR_CANNOTINIT 52829#define YAB_ERR_SH2INVALIDOPCODE 630#define YAB_ERR_SH2READ 731#define YAB_ERR_SH2WRITE 83233#define YAB_ERR_SDL 93435#define YAB_ERR_OTHER 103637void YabSetError(int type, const void *extra);38#endif394041