mirror of
https://github.com/libretro/Mu.git
synced 2026-10-07 13:59:27 +00:00
15 lines
389 B
C
15 lines
389 B
C
#include <PalmOS.h>
|
|
#include <stdint.h>
|
|
#include "emuFeatureRegistersSpec.h"
|
|
|
|
Boolean isEmulator(){
|
|
/*return (readArbitraryMemory32(EMU_REGISTER_BASE | EMU_INFO) & FEATURE_EMU_HONEST) != 0;*/
|
|
return false;
|
|
}
|
|
|
|
Boolean isEmulatorFeatureEnabled(uint32_t feature){
|
|
if(isEmulator())
|
|
return (readArbitraryMemory32(EMU_REGISTER_BASE | EMU_INFO) & feature) != 0;
|
|
return false;
|
|
}
|