2012-04-21 23:13:50 +02:00
|
|
|
/* RetroArch - A frontend for libretro.
|
2014-01-01 01:50:59 +01:00
|
|
|
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
|
|
|
|
* Copyright (C) 2011-2014 - Daniel De Matteis
|
2012-01-25 01:10:53 +01:00
|
|
|
*
|
2012-04-21 23:13:50 +02:00
|
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
2012-01-25 01:10:53 +01:00
|
|
|
* of the GNU General Public License as published by the Free Software Found-
|
|
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
|
|
*
|
2012-04-21 23:13:50 +02:00
|
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
2012-01-25 01:10:53 +01:00
|
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
|
|
*
|
2012-04-21 23:31:57 +02:00
|
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
2012-01-25 01:10:53 +01:00
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2012-04-13 22:06:48 +02:00
|
|
|
#ifndef CONSOLE_EXT_H__
|
|
|
|
#define CONSOLE_EXT_H__
|
2012-01-25 01:10:53 +01:00
|
|
|
|
2012-08-20 03:30:09 +02:00
|
|
|
#ifdef _WIN32
|
|
|
|
#define MAXIMUM_PATH 260
|
|
|
|
#else
|
2012-07-28 22:52:30 +02:00
|
|
|
#define MAXIMUM_PATH 512
|
2012-08-20 03:30:09 +02:00
|
|
|
#endif
|
2012-07-28 22:52:30 +02:00
|
|
|
|
2012-07-23 18:17:50 +02:00
|
|
|
typedef struct
|
|
|
|
{
|
2012-07-28 22:52:30 +02:00
|
|
|
char core_dir[MAXIMUM_PATH];
|
|
|
|
char port_dir[MAXIMUM_PATH];
|
|
|
|
char savestate_dir[MAXIMUM_PATH];
|
|
|
|
char sram_dir[MAXIMUM_PATH];
|
|
|
|
char system_dir[MAXIMUM_PATH];
|
2012-07-23 18:17:50 +02:00
|
|
|
} default_paths_t;
|
|
|
|
|
|
|
|
extern default_paths_t default_paths;
|
2012-03-25 01:56:27 +01:00
|
|
|
|
2012-04-13 22:06:48 +02:00
|
|
|
#endif
|