mirror of
https://github.com/DaedalusX64/daedalus.git
synced 2024-06-01 18:58:00 -04:00
Disable SDL on the PSP Build for now
This commit is contained in:
parent
3f7a151922
commit
9948c9d69a
|
@ -100,7 +100,7 @@ endif()
|
|||
option(DAEDALUS_PSP_USE_ME "Use the Media Engine" ON)
|
||||
option(DAEDALUS_PSP_USE_VFPU "Enable VFPU Instructions" ON)
|
||||
option(DAEDALUS_SIM_DOUBLES "Simulate Doubles" ON)
|
||||
option(DAEDALUS_SDL "Enable SDL" ON)
|
||||
option(DAEDALUS_SDL "Enable SDL" OFF)
|
||||
elseif(UNIX)
|
||||
option(DAEDALUS_SDL "SDL Build" ON)
|
||||
option(DAEDALUS_ENABLE_DYNAREC "Enable Dynamic Recompilation, Disable if system not supported" OFF)
|
||||
|
|
|
@ -17,7 +17,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/../EBOOT.PBP DESTINATION DaedalusX64)
|
|||
list(APPEND daed_libs)
|
||||
set(daed_libs ${daed_libs} PARENT_SCOPE)
|
||||
|
||||
list(APPEND sys_libraries intrafont pspkubridge pspfpu pspdebug)
|
||||
list(APPEND sys_libraries pspgu pspdisplay pspge pspctrl psppower pspaudio pspaudiolib intrafont pspkubridge pspfpu pspdebug)
|
||||
set(sys_libraries ${sys_libraries} PARENT_SCOPE)
|
||||
|
||||
set(plat_main SysPSP/main.cpp PARENT_SCOPE)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
add_library(HLEAudio_PSP OBJECT
|
||||
# ${PROJECT_SOURCE_DIR}/Source/SysPosix/HLEAudio/AudioPluginSDL.cpp
|
||||
AudioPluginPSP_SDL.cpp
|
||||
AudioPluginPSP.cpp
|
||||
)
|
||||
|
||||
list(APPEND daed_libs "HLEAudio_PSP")
|
||||
|
|
|
@ -116,12 +116,6 @@ static bool Initialize()
|
|||
sceCtrlSetSamplingCycle(0);
|
||||
sceCtrlSetSamplingMode(PSP_CTRL_MODE_ANALOG);
|
||||
|
||||
if( SDL_Init( SDL_INIT_AUDIO ) < 0 )
|
||||
{
|
||||
printf( "SDL could not initialize! SDL Error: %s\n", SDL_GetError() );
|
||||
return false;
|
||||
}
|
||||
|
||||
// Detect PSP greater than PSP 1000
|
||||
if ( kuKernelGetModel() > 0 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue