jak-project/game/kernel/jak1/ksound.cpp
water111 e630b50690
[ckernel] split by game version (#1559)
* temp

* split up kprint, other than format

* start kmachine

* split kmachine

* split kscheme

* split klink

* split klisten

* split remaining

* jak2 ckernel gets to nokernel loop
2022-06-26 18:17:11 -04:00

21 lines
726 B
C++

#include "ksound.h"
#include "game/kernel/common/kdgo.h"
#include "game/kernel/common/ksound.h"
#include "game/kernel/jak1/kscheme.h"
namespace jak1 {
/*!
* Set up some functions which are somewhat related to sound.
*/
void InitSoundScheme() {
make_function_symbol_from_c("rpc-call", (void*)RpcCall_wrapper);
make_function_symbol_from_c("rpc-busy?", (void*)RpcBusy);
make_function_symbol_from_c("test-load-dgo-c", (void*)LoadDGOTest);
make_stack_arg_function_symbol_from_c("rpc-call", (void*)RpcCall_wrapper);
// PC port interns
make_function_symbol_from_c("pc-sound-set-flava-hack", (void*)set_flava_hack);
make_function_symbol_from_c("pc-sound-set-fade-hack", (void*)set_fade_hack);
}
} // namespace jak1