mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Minor cleanup
This commit is contained in:
parent
aa17f71f14
commit
35ad5f95f2
4 changed files with 9 additions and 2 deletions
|
@ -143,7 +143,7 @@ if(IOS_APP_STORE)
|
|||
set(CMAKE_XCODE_SCHEME_ENABLE_GPU_API_VALIDATION FALSE)
|
||||
set(CMAKE_XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE DISABLED)
|
||||
message("iOS App Store build")
|
||||
else()
|
||||
elseif(IOS)
|
||||
message("iOS sideload build")
|
||||
endif()
|
||||
|
||||
|
|
|
@ -197,7 +197,7 @@ bool MpegDemux::demux(int audioChannel)
|
|||
while (m_index < m_readSize && !needMore)
|
||||
{
|
||||
// Search for start code
|
||||
int startCode = 0xFF;
|
||||
u32 startCode = 0xFF;
|
||||
while ((startCode & PACKET_START_CODE_MASK) != PACKET_START_CODE_PREFIX && !isEOF()) {
|
||||
startCode = (startCode << 8) | read8();
|
||||
}
|
||||
|
|
|
@ -21,3 +21,7 @@ Works fine on WSL2 with OpenGL, at least. For more notes, see https://www.ppsspp
|
|||
|
||||
Running with valgrind
|
||||
=====================
|
||||
|
||||
Here's an example where we both use suppressions, and generate new ones (that you can then take from suppressions.log and simplify and copy to valgrind-wsl2.supp):
|
||||
|
||||
> valgrind --suppressions=SDL/valgrind-wsl2.supp --gen-suppressions=all --log-file=suppressions.log build/PPSSPPSDL
|
||||
|
|
3
b.sh
3
b.sh
|
@ -78,6 +78,9 @@ do
|
|||
--gold) echo "Gold build enabled"
|
||||
CMAKE_ARGS="-DGOLD=ON ${CMAKE_ARGS}"
|
||||
;;
|
||||
--alderlake) echo "Alderlake opt"
|
||||
CMAKE_ARGS="-DCMAKE_C_FLAGS=\"-march=alderlake\" -DCMAKE_CPP_FLAGS=\"-march=alderlake\""
|
||||
;;
|
||||
*) MAKE_OPT="$1 ${MAKE_OPT}"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue