-moved some things because of possible graphical problems

This commit is contained in:
fix94.1 2012-06-09 11:06:47 +00:00
parent 0f2ca0c34a
commit 8e4bc53c21
3 changed files with 7 additions and 7 deletions

View File

@ -20,8 +20,6 @@
#define TITLE_UPPER(x) ((u32)((x) >> 32))
#define TITLE_LOWER(x) ((u32)(x) & 0xFFFFFFFF)
#define SWAP32(x) ((((x) & 0xff) << 24) | (((x) & 0xff00) << 8) | (((x) & 0xff0000) >> 8) | (((x) >> 24) & 0xff))
#define Write8(addr, val) *(u8 *)addr = val; DCFlushRange((void *)addr, sizeof(u8));
#define Write16(addr, val) *(u16 *)addr = val; DCFlushRange((void *)addr, sizeof(u16));
#define Write32(addr, val) *(u32 *)addr = val; DCFlushRange((void *)addr, sizeof(u32));

View File

@ -22,10 +22,6 @@ static const string emptyString2("/");
static char* emptyChar = (char*)" ";
u32 ScummVM_magic;
#define TAG_GAME_ID "{gameid}"
#define TAG_LOC "{loc}"
#define TAG_CONSOLE "{console}"
void Plugin::init(string m_pluginsDir)
{
ScummVM_magic = 0;

View File

@ -12,10 +12,16 @@
#include <string>
#include <vector>
using namespace std;
#include "config/config.hpp"
#include "loader/disc.h"
using namespace std;
#define SWAP32(x) ((((x) & 0xff) << 24) | (((x) & 0xff00) << 8) | (((x) & 0xff0000) >> 8) | (((x) >> 24) & 0xff))
#define TAG_GAME_ID "{gameid}"
#define TAG_LOC "{loc}"
#define TAG_CONSOLE "{console}"
struct PluginOptions
{