mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Throw in assorted warning fixes
This commit is contained in:
parent
f6cb6c7695
commit
85d1f28997
@ -231,6 +231,7 @@ StencilValueType ReplaceAlphaWithStencilType() {
|
||||
case GE_FORMAT_8888:
|
||||
case GE_FORMAT_INVALID:
|
||||
case GE_FORMAT_DEPTH16:
|
||||
case GE_FORMAT_CLUT8:
|
||||
switch (gstate.getStencilOpZPass()) {
|
||||
case GE_STENCILOP_REPLACE:
|
||||
// TODO: Could detect zero here and force ZERO - less uniform updates?
|
||||
|
@ -171,6 +171,7 @@ bool FramebufferManagerCommon::PerformStencilUpload(u32 addr, int size, StencilU
|
||||
break;
|
||||
case GE_FORMAT_INVALID:
|
||||
case GE_FORMAT_DEPTH16:
|
||||
case GE_FORMAT_CLUT8:
|
||||
// Inconceivable.
|
||||
_assert_(false);
|
||||
break;
|
||||
|
@ -1997,6 +1997,9 @@ static bool CanDepalettize(GETextureFormat texFormat, GEBufferFormat bufferForma
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
case GE_FORMAT_CLUT8:
|
||||
// Shouldn't happen here.
|
||||
return false;
|
||||
}
|
||||
WARN_LOG(G3D, "Invalid CLUT/framebuffer combination: %s vs %s", GeTextureFormatToString(texFormat), GeBufferFormatToString(bufferFormat));
|
||||
return false;
|
||||
|
@ -1235,6 +1235,7 @@ void ClearRectangle(const VertexData &v0, const VertexData &v1, const BinCoords
|
||||
|
||||
case GE_FORMAT_INVALID:
|
||||
case GE_FORMAT_DEPTH16:
|
||||
case GE_FORMAT_CLUT8:
|
||||
_dbg_assert_msg_(false, "Software: invalid framebuf format.");
|
||||
break;
|
||||
}
|
||||
|
@ -100,8 +100,7 @@ public:
|
||||
const char *tag() const override { return "LogLevel"; }
|
||||
|
||||
private:
|
||||
virtual void OnCompleted(DialogResult result);
|
||||
|
||||
void OnCompleted(DialogResult result) override;
|
||||
};
|
||||
|
||||
class SystemInfoScreen : public UIDialogScreenWithBackground {
|
||||
|
Loading…
Reference in New Issue
Block a user