Disabling auto-refresh of game list by default, as it is causing bugs sometimes
[open-ps2-loader.git] / pc / opl2iso / src / opl2iso.h
blobf8b8439b56218e9464b40d24018a14a35d46e082
1 /*
2 Copyright 2010, volca
3 Parts Copyright 2009, jimmikaelkael
4 Copyright (c) 2002, A.Lee & Nicholas Van Veen
5 Licenced under Academic Free License version 3.0
6 Review OpenUsbLd README & LICENSE files for further details.
8 Some parts of the code are taken from libcdvd by A.Lee & Nicholas Van Veen
9 Review license_libcdvd file for further details.
12 #ifndef __OPL2ISO_H__
13 #define __OPL2ISO_H__
15 #include <stdio.h>
16 #include <stdlib.h>
17 #include <string.h>
18 #include <ctype.h>
19 #include <fcntl.h>
20 #include <unistd.h>
21 #include <dirent.h>
22 #include <sys/types.h>
23 #include <sys/stat.h>
25 #define PROGRAM_NAME "opl2iso"
26 #define PROGRAM_EXTNAME "UL.CFG to ISO converter"
27 #define PROGRAM_VER "0.0.2"
29 typedef unsigned char u8;
30 typedef unsigned short u16;
31 typedef unsigned int u32;
32 typedef unsigned long long u64;
33 typedef signed char s8;
34 typedef signed short s16;
35 typedef signed int s32;
36 typedef signed long long s64;
38 // padded for easy manipulation (e.g. the first two are one byte longer than needed)
39 typedef struct {
40 char name[33];
41 char image[16];
42 u8 parts;
43 u8 media;
44 u8 pad[15];
45 } cfg_t;
47 #endif