mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Global: Cleanup initialization/pointer checks.
Cleaning up a lot of cases of uninitialized data, unchecked return values for failures, and similar.
This commit is contained in:
1 parent
a7b7bf7826
commit
9cfcbc46e6
41 files changed
+190
-138
No files matched your search
@@ -963,7 +963,7 @@ bool ScrollView::SubviewFocused(View *view) {
|
||||
float visibleSize = orientation_ == ORIENT_VERTICAL ? bounds_.h : bounds_.w;
|
||||
float visibleEnd = scrollPos_ + visibleSize;
|
||||
|
||||
float viewStart, viewEnd;
|
||||
float viewStart = 0.0f, viewEnd = 0.0f;
|
||||
switch (orientation_) {
|
||||
case ORIENT_HORIZONTAL:
|
||||
viewStart = layoutScrollPos_ + vBounds.x - bounds_.x;
|
||||
|
||||
Reference in new issue
Block a user