mirror of
https://github.com/jfdelnero/HxCFloppyEmulator.git
synced 2026-10-26 22:10:31 +00:00
Fix Emscripten/static build.
This commit is contained in:
1 parent
82742f213b
commit
4ac075335e
2 files changed
+10
-6
No files matched your search
@@ -256,7 +256,11 @@ int32_t createlistenerthread(RDTHREADFUNCTION thread,int32_t priority,ftdi_conte
|
||||
//pthread_attr_setprio(&threadattrib,4);
|
||||
|
||||
pthread_attr_setschedpolicy(&threadattrib,SCHED_FIFO);
|
||||
|
||||
#ifndef __EMSCRIPTEN__
|
||||
param.sched_priority = sched_get_priority_max(SCHED_FIFO) ;
|
||||
#endif
|
||||
|
||||
/* set the new scheduling param */
|
||||
pthread_attr_setschedparam (&threadattrib, ¶m);
|
||||
|
||||
|
||||
@@ -60,15 +60,15 @@
|
||||
|
||||
//#define DEBUGVB 1
|
||||
|
||||
trackzone trackzonebuffer_0[2048*2];
|
||||
trackzone trackzonebuffer_1[2048*2];
|
||||
static trackzone trackzonebuffer_0[2048*2];
|
||||
static trackzone trackzonebuffer_1[2048*2];
|
||||
|
||||
trackzone trackzonebuffer_temp[2048*2];
|
||||
static trackzone trackzonebuffer_temp[2048*2];
|
||||
|
||||
trackpart trackpartbuffer_0[4096*2];
|
||||
trackpart trackpartbuffer_1[4096*2];
|
||||
static trackpart trackpartbuffer_0[4096*2];
|
||||
static trackpart trackpartbuffer_1[4096*2];
|
||||
|
||||
void adjustrand(unsigned char * d, unsigned char * r)
|
||||
static void adjustrand(unsigned char * d, unsigned char * r)
|
||||
{
|
||||
if ( (*d & 0xC0) == 0xC0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user