HLE: Correct helper thread arg handling.

This commit is contained in:
Unknown W. Brackets 2021-02-27 12:51:25 -08:00
parent aa13f5afb7
commit fa320599dc
3 changed files with 12 additions and 10 deletions

View file

@ -29,7 +29,7 @@
HLEHelperThread::HLEHelperThread() : id_(-1), entry_(0) {
}
HLEHelperThread::HLEHelperThread(const char *threadName, u32 instructions[], u32 instrCount, u32 prio, int stacksize) {
HLEHelperThread::HLEHelperThread(const char *threadName, const u32 instructions[], u32 instrCount, u32 prio, int stacksize) {
u32 instrBytes = instrCount * sizeof(u32);
u32 totalBytes = instrBytes + sizeof(u32) * 2;
AllocEntry(totalBytes);