xuduser stuff now weak so can be overridden
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
|
||||
#include "devicedefines.h"
|
||||
#include "hostactive.h"
|
||||
#include "audiostream.h"
|
||||
|
||||
void XUD_UserSuspend(void)
|
||||
{
|
||||
UserAudioStreamStop();
|
||||
UserHostActive(0);
|
||||
}
|
||||
|
||||
void XUD_UserResume(void)
|
||||
{
|
||||
unsigned config;
|
||||
|
||||
asm("ldw %0, dp[g_currentConfig]" : "=r" (config):);
|
||||
|
||||
if(config == 1)
|
||||
{
|
||||
UserHostActive(1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user