mirror of
https://github.com/open-goal/jak-project
synced 2026-08-22 07:04:29 -04:00
Overlord fixes (#1301)
* srpc: Implement part of VBlank_Handler And call it on RPC message for lack of better ways * ssound: Fix distance calculation avoids negative array index * srpc: fix sound id assignment * srpc: bail out on missing sound id * ssound: Fixes for angle and volume calculation * srpc: Fix VAG filename stuff * ssound: Fix CalculateAngle * ssound: UpdateAutoVol fixes * srpc: Fix up SET_PARAM command
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include "game/graphics/gfx.h"
|
||||
#include <cstdio>
|
||||
#include "common/util/Assert.h"
|
||||
#include "game/overlord/srpc.h"
|
||||
|
||||
/*!
|
||||
* Wait for rendering to complete.
|
||||
@@ -28,5 +29,6 @@ u32 sceGsSyncPath(u32 mode, u32 timeout) {
|
||||
*/
|
||||
u32 sceGsSyncV(u32 mode) {
|
||||
ASSERT(mode == 0);
|
||||
VBlank_Handler();
|
||||
return Gfx::vsync();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user