mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
use std::function in Thread_Create so we can revert back to using it
This commit is contained in:
@ -188,7 +188,7 @@ FILE* OpenLocalFile(const char* path, const char* mode)
|
||||
return OpenFile(fullpath.toUtf8(), mode, mode[0] != 'w');
|
||||
}
|
||||
|
||||
Thread* Thread_Create(void (* func)())
|
||||
Thread* Thread_Create(std::function<void()> func)
|
||||
{
|
||||
QThread* t = QThread::create(func);
|
||||
t->start();
|
||||
|
Reference in New Issue
Block a user