1 // Copyright (C) 2003 Dolphin Project.
3 // This program is free software: you can redistribute it and/or modify
4 // it under the terms of the GNU General Public License as published by
5 // the Free Software Foundation, version 2.0.
7 // This program is distributed in the hope that it will be useful,
8 // but WITHOUT ANY WARRANTY; without even the implied warranty of
9 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 // GNU General Public License 2.0 for more details.
12 // A copy of the GPL 2.0 should have been included with the program.
13 // If not, see http://www.gnu.org/licenses/
15 // Official SVN repository and contact information can be found at
16 // http://code.google.com/p/dolphin-emu/
18 #ifndef _EXIDEVICE_IPL_H
19 #define _EXIDEVICE_IPL_H
21 #include "EXI_Device.h"
24 class CEXIIPL
: public IEXIDevice
30 virtual void SetCS(int _iCS
);
32 void DoState(PointerWrap
&p
);
34 static u32
GetGCTime();
35 static u32
GetNetGCTime();
37 static void Descrambler(u8
* data
, u32 size
);
42 ROM_SIZE
= 1024*1024*2,
43 ROM_MASK
= (ROM_SIZE
- 1)
68 virtual void TransferByte(u8
&_uByte
);
70 void LoadFileToIPL(std::string filename
, u32 offset
);