- linux buildfix;

- add game code of "Made in Ore" for Slot1 auto selection;
This commit is contained in:
mtabachenko 2013-08-31 07:31:08 +00:00
parent 85675ca0ab
commit 9935052acc
3 changed files with 10 additions and 3 deletions

View File

@ -43,7 +43,8 @@ public:
NDS_SLOT1_TYPE selection = NDS_SLOT1_RETAIL_MCROM;
//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;
mSelectedImplementation = slot1_List[selection];

View File

@ -16,9 +16,11 @@
*/
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <string>
#ifndef _MSC_VER
#include <string.h>
#include <stdint.h>
#endif
#include "fsnitro.h"
using namespace std;

View File

@ -18,6 +18,10 @@
#ifndef _FS_NITRO_H_
#define _FS_NITRO_H_
#include <string>
#ifndef _MSC_VER
#include <stdint.h>
#include <string.h>
#endif
#include "../types.h"
using namespace std;