mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
a897be92c7
* Imp sceUtilsBufferCopyWithRange Used in Shin Sangoku Musou 6 Special chinese patach #13205 * Fix sceUtilsBufferCopyByPollingWithRange * Add logging and reporting * Fix logging and remove report by @hrydgard
40 lines
1.5 KiB
C
40 lines
1.5 KiB
C
// Copyright (c) 2012- PPSSPP Project.
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, version 2.0 or later versions.
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License 2.0 for more details.
|
|
|
|
// A copy of the GPL 2.0 should have been included with the program.
|
|
// If not, see http://www.gnu.org/licenses/
|
|
|
|
// Official git repository and contact information can be found at
|
|
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
|
|
|
#pragma once
|
|
|
|
int sceKernelCancelSema(SceUID id, int newCount, u32 numWaitThreadsPtr);
|
|
int sceKernelCreateSema(const char* name, u32 attr, int initVal, int maxVal, u32 optionPtr);
|
|
int sceKernelDeleteSema(SceUID id);
|
|
int sceKernelPollSema(SceUID id, int wantedCount);
|
|
int sceKernelReferSemaStatus(SceUID id, u32 infoPtr);
|
|
int sceKernelSignalSema(SceUID id, int signal);
|
|
int sceKernelWaitSema(SceUID semaid, int signal, u32 timeoutPtr);
|
|
int sceKernelWaitSemaCB(SceUID semaid, int signal, u32 timeoutPtr);
|
|
|
|
void __KernelSemaTimeout(u64 userdata, int cycleslate);
|
|
|
|
void __KernelSemaInit();
|
|
void __KernelSemaDoState(PointerWrap &p);
|
|
KernelObject *__KernelSemaphoreObject();
|
|
|
|
void Register_semaphore();
|
|
|
|
extern "C"
|
|
{
|
|
#include "ext/libkirk/kirk_engine.h"
|
|
} |