- linux buildfix;
- add game code of "Made in Ore" for Slot1 auto selection;
This commit is contained in:
parent
85675ca0ab
commit
9935052acc
|
@ -43,7 +43,8 @@ public:
|
||||||
NDS_SLOT1_TYPE selection = NDS_SLOT1_RETAIL_MCROM;
|
NDS_SLOT1_TYPE selection = NDS_SLOT1_RETAIL_MCROM;
|
||||||
|
|
||||||
//check game ID in core emulator and select right implementation
|
//check game ID in core emulator and select right implementation
|
||||||
if(!memcmp(gameInfo.header.gameCode,"UORE",4))
|
if(!memcmp(gameInfo.header.gameCode,"UORE",4) ||
|
||||||
|
!memcmp(gameInfo.header.gameCode,"UORJ",4))
|
||||||
selection = NDS_SLOT1_RETAIL_NAND;
|
selection = NDS_SLOT1_RETAIL_NAND;
|
||||||
|
|
||||||
mSelectedImplementation = slot1_List[selection];
|
mSelectedImplementation = slot1_List[selection];
|
||||||
|
|
|
@ -16,9 +16,11 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
#include <string.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#endif
|
||||||
#include "fsnitro.h"
|
#include "fsnitro.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
|
@ -18,6 +18,10 @@
|
||||||
#ifndef _FS_NITRO_H_
|
#ifndef _FS_NITRO_H_
|
||||||
#define _FS_NITRO_H_
|
#define _FS_NITRO_H_
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
#endif
|
||||||
#include "../types.h"
|
#include "../types.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
Loading…
Reference in New Issue