diff --git a/src/gapi/d3d8.h b/src/gapi/d3d8.h index fe01446..7f99f91 100644 --- a/src/gapi/d3d8.h +++ b/src/gapi/d3d8.h @@ -249,6 +249,10 @@ namespace GAPI { void init(void *data) { ASSERT((opt & OPT_PROXY) == 0); + if (origWidth < 8 || origHeight < 8) { + opt &= ~OPT_MIPMAPS; + } + bool isDepth = fmt == FMT_DEPTH || fmt == FMT_SHADOW; bool mipmaps = (opt & OPT_MIPMAPS) != 0; bool cube = (opt & OPT_CUBEMAP) != 0; @@ -271,10 +275,6 @@ namespace GAPI { FormatDesc desc = formats[fmt]; - if (isTarget) { - - } - uint32 usage = 0; if (isDepth) usage |= D3DUSAGE_DEPTHSTENCIL; if (isTarget) usage |= D3DUSAGE_RENDERTARGET; diff --git a/src/input.h b/src/input.h index f22cc60..4f95302 100644 --- a/src/input.h +++ b/src/input.h @@ -7,7 +7,7 @@ #define MAX_PLAYERS COUNT(Core::settings.controls) #define INPUT_JOY_COUNT 4 -#define INPUT_JOY_DZ_STICK 0.2f +#define INPUT_JOY_DZ_STICK 0.3f #define INPUT_JOY_DZ_TRIGGER 0.01f namespace Input { diff --git a/src/platform/xbox/main.cpp b/src/platform/xbox/main.cpp index 54d1cd6..2a96241 100644 --- a/src/platform/xbox/main.cpp +++ b/src/platform/xbox/main.cpp @@ -316,7 +316,7 @@ void main() Core::defLang = checkLanguage(); - Game::init("PSXDATA\\LEVEL1.PSX"); // (char*)NULL); + Game::init((char*)NULL);//"PSXDATA\\LEVEL1.PSX"); while (!Core::isQuit) { joyUpdate();