int RecvPcsxInfo() { int tmp; if (NET_recvData == NULL || NET_sendData == NULL) return 0; NET_recvData(&Config.Xa, sizeof(Config.Xa), PSE_NET_BLOCKING); NET_recvData(&Config.SioIrq, sizeof(Config.SioIrq), PSE_NET_BLOCKING); NET_recvData(&Config.SpuIrq, sizeof(Config.SpuIrq), PSE_NET_BLOCKING); NET_recvData(&Config.RCntFix, sizeof(Config.RCntFix), PSE_NET_BLOCKING); NET_recvData(&Config.PsxType, sizeof(Config.PsxType), PSE_NET_BLOCKING); SysUpdate(); tmp = Config.Cpu; NET_recvData(&Config.Cpu, sizeof(Config.Cpu), PSE_NET_BLOCKING); if (tmp != Config.Cpu) { psxCpu->Shutdown(); #ifdef PSXREC if (Config.Cpu == CPU_INTERPRETER) psxCpu = &psxInt; else psxCpu = &psxRec; #else psxCpu = &psxInt; #endif if (psxCpu->Init() == -1) { SysClose(); return -1; } psxCpu->Reset(); } return 0; }
template <typename SV> bool ParticleSmoother<SV>::UpdateInternal(SystemModel<StateVar>* const sysmodel, const StateVar& u,Pdf<StateVar>* const filtered_post) { cout << "update started" << endl; SysUpdate(sysmodel,u,filtered_post); cout << "update fininshed" << endl; return true; }
void EmuUpdate() { // Do not allow hotkeys inside a softcall from HLE BIOS if (!Config.HLE || !hleSoftCall) SysUpdate(); ApplyCheats(); // reamed hack { extern void pl_frame_limit(void); pl_frame_limit(); } }
void EmuUpdate() { // Do not allow hotkeys inside a softcall from HLE BIOS if (!Config.HLE || !hleSoftCall) SysUpdate(); ApplyCheats(); if (vblank_count_hideafter) { if (!(--vblank_count_hideafter)) { GPU_showScreenPic(NULL); } } if (Config.RewindInterval > 0 && !(++rewind_counter%Config.RewindInterval)) { CreateRewindState(); } }