Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PSP] Update Daedalus code when gprof #71

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ endif()
if(DAEDALUS_PSP_GPROF)
message("DAEDALUS_PSP_GPROF=ON")
add_compile_definitions(DAEDALUS_PSP_GPROF)
add_compile_options(-pg)
add_link_options(-pg)
endif()

if(DAEDALUS_SIM_DOUBLES)
Expand Down
1 change: 1 addition & 0 deletions Source/HLEAudio/Plugin/PSP/AudioPluginPSP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ bool InitialiseMediaEngine()
else
{
printf("Media Engine already Initialised\n");
return true;
wally4000 marked this conversation as resolved.
Show resolved Hide resolved
}
}

Expand Down
4 changes: 0 additions & 4 deletions Source/Input/SDL/InputManagerSDL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,4 @@ v2 ApplyDeadzone( const v2 & in, f32 min_deadzone, f32 max_deadzone )
scale = std::clamp( scale, 0.0f, 1.0f );

return ProjectToUnitSquare( in * (scale / length) );
}

void sceKernelExitGame() {
// todo
}
2 changes: 0 additions & 2 deletions Source/SysPSP/Debug/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ add_library(Debug_PSP OBJECT
DBGConsolePSP.cpp
)

set (GPROF_SRCS SysPSP/Debug/prof.c SysPSP/Debug/mcount.S )


list(APPEND daed_libs "Debug_PSP")
set(daed_libs ${daed_libs} PARENT_SCOPE)
60 changes: 0 additions & 60 deletions Source/SysPSP/Debug/mcount.S

This file was deleted.

274 changes: 0 additions & 274 deletions Source/SysPSP/Debug/prof.c

This file was deleted.

Loading
Loading