mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
Fix some confusing code noticed by unknown, typo fix
This commit is contained in:
1 parent
60dcf8fae9
commit
13b8277bd3
2 files changed
+5
-4
No files matched your search
@@ -188,7 +188,7 @@ extern "C" void Java_com_henrikrydgard_libnative_NativeApp_audioInit(JNIEnv *, j
|
||||
optimalSampleRate = 44100;
|
||||
AndroidAudio_Init(&NativeMix, library_path, optimalFramesPerBuffer, optimalSampleRate);
|
||||
}
|
||||
ILOG("NativeApp.audioShutdown() -- end");
|
||||
ILOG("NativeApp.audioInit() -- end");
|
||||
}
|
||||
|
||||
extern "C" void Java_com_henrikrydgard_libnative_NativeApp_audioShutdown(JNIEnv *, jclass) {
|
||||
|
||||
+4
-3
@@ -730,9 +730,10 @@ EventReturn ChoiceStrip::OnChoiceClick(EventParams &e) {
|
||||
}
|
||||
|
||||
EventParams e2;
|
||||
e.a = selected_;
|
||||
e2.v = views_[selected_];
|
||||
e2.a = selected_;
|
||||
// Dispatch immediately (we're already on the UI thread as we're in an event handler).
|
||||
return OnChoice.Dispatch(e);
|
||||
return OnChoice.Dispatch(e2);
|
||||
}
|
||||
|
||||
void ChoiceStrip::SetSelection(int sel) {
|
||||
@@ -834,4 +835,4 @@ void UpdateViewHierarchy(const InputState &input_state, ViewGroup *root) {
|
||||
root->Update(input_state);
|
||||
DispatchEvents();
|
||||
}
|
||||
} // namespace UI
|
||||
} // namespace UI
|
||||
Reference in new issue
Block a user