mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Merge NativeUpdate and NativeRender, we always call them together.
This commit is contained in:
1 parent
096c168dd7
commit
bcae36d8cb
10 files changed
+48
-60
No files matched your search
+2
-3
@@ -210,8 +210,7 @@ void UpdateRunLoop() {
|
||||
sleep_ms(16);
|
||||
return;
|
||||
}
|
||||
NativeUpdate();
|
||||
NativeRender(graphicsContext);
|
||||
NativeFrame(graphicsContext);
|
||||
}
|
||||
|
||||
void KeepScreenAwake() {
|
||||
@@ -325,7 +324,7 @@ void Core_ProcessStepping() {
|
||||
}
|
||||
|
||||
// Many platforms, like Android, do not call this function but handle things on their own.
|
||||
// Instead they simply call NativeRender and NativeUpdate directly.
|
||||
// Instead they simply call NativeFrame directly.
|
||||
bool Core_Run(GraphicsContext *ctx) {
|
||||
System_Notify(SystemNotification::DISASSEMBLY);
|
||||
while (true) {
|
||||
|
||||
Reference in new issue
Block a user