mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 22:49:00 +01:00
commit
8bb0e0ee96
@ -123,10 +123,6 @@ void Host_RequestRenderWindowSize(int width, int height)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void Host_SetStartupDebuggingParameters()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Host_UINeedsControllerState()
|
bool Host_UINeedsControllerState()
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
@ -103,7 +103,7 @@ void CachedInterpreter::ExecuteOneBlock()
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
ERROR_LOG(POWERPC, "Unknown CachedInterpreter Instruction: %d", code->type);
|
ERROR_LOG(POWERPC, "Unknown CachedInterpreter Instruction: %d", static_cast<int>(code->type));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -644,28 +644,11 @@ void PPCAnalyzer::SetInstructionStats(CodeBlock* block, CodeOp* code, const Gekk
|
|||||||
if (opinfo->flags & FL_IN_FLOAT_S)
|
if (opinfo->flags & FL_IN_FLOAT_S)
|
||||||
code->fregsIn[code->inst.FS] = true;
|
code->fregsIn[code->inst.FS] = true;
|
||||||
|
|
||||||
switch (opinfo->type)
|
// For analysis purposes, we can assume that blr eats opinfo->flags.
|
||||||
|
if (opinfo->type == OpType::Branch && code->inst.hex == 0x4e800020)
|
||||||
{
|
{
|
||||||
case OpType::Integer:
|
code->outputCR0 = true;
|
||||||
case OpType::Load:
|
code->outputCR1 = true;
|
||||||
case OpType::Store:
|
|
||||||
case OpType::LoadFP:
|
|
||||||
case OpType::StoreFP:
|
|
||||||
break;
|
|
||||||
case OpType::SingleFP:
|
|
||||||
case OpType::DoubleFP:
|
|
||||||
break;
|
|
||||||
case OpType::Branch:
|
|
||||||
if (code->inst.hex == 0x4e800020)
|
|
||||||
{
|
|
||||||
// For analysis purposes, we can assume that blr eats opinfo->flags.
|
|
||||||
code->outputCR0 = true;
|
|
||||||
code->outputCR1 = true;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case OpType::System:
|
|
||||||
case OpType::SystemFP:
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -217,7 +217,7 @@ private:
|
|||||||
MoFile m_mo_file;
|
MoFile m_mo_file;
|
||||||
};
|
};
|
||||||
|
|
||||||
QStringList FindPossibleLanguageCodes(const QString& exact_language_code)
|
static QStringList FindPossibleLanguageCodes(const QString& exact_language_code)
|
||||||
{
|
{
|
||||||
QStringList possible_language_codes;
|
QStringList possible_language_codes;
|
||||||
possible_language_codes << exact_language_code;
|
possible_language_codes << exact_language_code;
|
||||||
|
@ -76,8 +76,8 @@ static bool s_efbCacheIsCleared = false;
|
|||||||
static std::vector<u32>
|
static std::vector<u32>
|
||||||
s_efbCache[2][EFB_CACHE_WIDTH * EFB_CACHE_HEIGHT]; // 2 for PeekZ and PeekColor
|
s_efbCache[2][EFB_CACHE_WIDTH * EFB_CACHE_HEIGHT]; // 2 for PeekZ and PeekColor
|
||||||
|
|
||||||
void APIENTRY ErrorCallback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length,
|
static void APIENTRY ErrorCallback(GLenum source, GLenum type, GLuint id, GLenum severity,
|
||||||
const char* message, const void* userParam)
|
GLsizei length, const char* message, const void* userParam)
|
||||||
{
|
{
|
||||||
const char* s_source;
|
const char* s_source;
|
||||||
const char* s_type;
|
const char* s_type;
|
||||||
|
@ -34,9 +34,6 @@ void Host_UpdateMainFrame()
|
|||||||
void Host_RequestRenderWindowSize(int, int)
|
void Host_RequestRenderWindowSize(int, int)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
void Host_SetStartupDebuggingParameters()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
bool Host_UINeedsControllerState()
|
bool Host_UINeedsControllerState()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
@ -36,9 +36,6 @@ void Host_UpdateMainFrame()
|
|||||||
void Host_RequestRenderWindowSize(int, int)
|
void Host_RequestRenderWindowSize(int, int)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
void Host_SetStartupDebuggingParameters()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
bool Host_UINeedsControllerState()
|
bool Host_UINeedsControllerState()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user