summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2013-11-13 16:17:42 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2013-11-13 16:17:42 -0600
commit2a23bdde6f76c0bff0906bbbee298480b52ba0c2 (patch)
tree22a7bccfb1cb25d4c9f247ca3d43904a4a6d79dc /Source
parent3c7613fc83981f9ef8efa2e4ac478af9fe23bdec (diff)
parent63a9dff3bb8c88cdc5b941db1f3813843c7a8564 (diff)
Merge branch 'master' into android-new-control-input-overlay
Conflicts: Source/Core/DolphinWX/Src/Android/ButtonManager.h
Diffstat (limited to 'Source')
-rw-r--r--Source/Android/android.toolchain.cmake6
-rw-r--r--Source/Android/src/org/dolphinemu/dolphinemu/settings/video/VideoSettingsFragment.java8
-rw-r--r--Source/CMakeLists.txt6
-rw-r--r--Source/Core/AudioCommon/AudioCommon.vcxproj192
-rw-r--r--Source/Core/AudioCommon/AudioCommon.vcxproj.filters39
-rw-r--r--Source/Core/AudioCommon/Src/AOSoundStream.h4
-rw-r--r--Source/Core/AudioCommon/Src/AlsaSoundStream.cpp36
-rw-r--r--Source/Core/AudioCommon/Src/AlsaSoundStream.h4
-rw-r--r--Source/Core/AudioCommon/Src/AudioCommon.cpp57
-rw-r--r--Source/Core/AudioCommon/Src/AudioCommon.h2
-rw-r--r--Source/Core/AudioCommon/Src/DSoundStream.cpp3
-rw-r--r--Source/Core/AudioCommon/Src/DSoundStream.h7
-rw-r--r--Source/Core/AudioCommon/Src/Mixer.cpp16
-rw-r--r--Source/Core/AudioCommon/Src/Mixer.h4
-rw-r--r--Source/Core/AudioCommon/Src/NullSoundStream.h2
-rw-r--r--Source/Core/AudioCommon/Src/OpenALStream.h8
-rw-r--r--Source/Core/AudioCommon/Src/OpenSLESStream.cpp2
-rw-r--r--Source/Core/AudioCommon/Src/PulseAudioStream.h2
-rw-r--r--Source/Core/AudioCommon/Src/SoundStream.h8
-rw-r--r--Source/Core/AudioCommon/Src/WaveFile.cpp2
-rw-r--r--Source/Core/AudioCommon/Src/XAudio2Stream.cpp88
-rw-r--r--Source/Core/AudioCommon/Src/XAudio2Stream.h71
-rw-r--r--Source/Core/AudioCommon/Src/XAudio2_7Stream.cpp289
-rw-r--r--Source/Core/AudioCommon/Src/XAudio2_7Stream.h81
-rw-r--r--Source/Core/AudioCommon/Src/aldlist.cpp60
-rw-r--r--Source/Core/AudioCommon/Src/stdafx.cpp5
-rw-r--r--Source/Core/AudioCommon/Src/stdafx.h17
-rw-r--r--Source/Core/Common/CMakeLists.txt2
-rw-r--r--Source/Core/Common/Common.vcxproj242
-rw-r--r--Source/Core/Common/Common.vcxproj.filters130
-rw-r--r--Source/Core/Common/SCMRevGen.vcxproj (renamed from Source/Core/Common/SVNRevGen.vcxproj)43
-rw-r--r--Source/Core/Common/Src/ArmCPUDetect.cpp20
-rw-r--r--Source/Core/Common/Src/ArmEmitter.cpp555
-rw-r--r--Source/Core/Common/Src/ArmEmitter.h168
-rw-r--r--Source/Core/Common/Src/BreakPoints.cpp78
-rw-r--r--Source/Core/Common/Src/CDUtils.cpp11
-rw-r--r--Source/Core/Common/Src/CPUDetect.h1
-rw-r--r--Source/Core/Common/Src/ChunkFile.h73
-rw-r--r--Source/Core/Common/Src/CommonFuncs.h21
-rw-r--r--Source/Core/Common/Src/ConsoleListener.cpp24
-rw-r--r--Source/Core/Common/Src/Crypto/aes.h143
-rw-r--r--Source/Core/Common/Src/Crypto/aes_cbc.cpp131
-rw-r--r--Source/Core/Common/Src/Crypto/aes_core.cpp1159
-rw-r--r--Source/Core/Common/Src/Crypto/aes_locl.h88
-rw-r--r--Source/Core/Common/Src/Crypto/ec.cpp4
-rw-r--r--Source/Core/Common/Src/ExtendedTrace.cpp26
-rw-r--r--Source/Core/Common/Src/FPURoundMode.h4
-rw-r--r--Source/Core/Common/Src/FifoQueue.h2
-rw-r--r--Source/Core/Common/Src/FileSearch.cpp6
-rw-r--r--Source/Core/Common/Src/FileUtil.cpp91
-rw-r--r--Source/Core/Common/Src/FileUtil.h16
-rw-r--r--Source/Core/Common/Src/Hash.cpp32
-rw-r--r--Source/Core/Common/Src/IniFile.cpp47
-rw-r--r--Source/Core/Common/Src/IniFile.h4
-rw-r--r--Source/Core/Common/Src/LinearDiskCache.h6
-rw-r--r--Source/Core/Common/Src/Log.h4
-rw-r--r--Source/Core/Common/Src/LogManager.cpp20
-rw-r--r--Source/Core/Common/Src/LogManager.h4
-rw-r--r--Source/Core/Common/Src/MathUtil.cpp12
-rw-r--r--Source/Core/Common/Src/MathUtil.h4
-rw-r--r--Source/Core/Common/Src/MemArena.cpp8
-rw-r--r--Source/Core/Common/Src/MsgHandler.h42
-rw-r--r--Source/Core/Common/Src/NandPaths.cpp2
-rw-r--r--Source/Core/Common/Src/SDCardUtil.cpp3
-rw-r--r--Source/Core/Common/Src/StdConditionVariable.h7
-rw-r--r--Source/Core/Common/Src/StdMutex.h16
-rw-r--r--Source/Core/Common/Src/StdThread.h12
-rw-r--r--Source/Core/Common/Src/StringUtil.cpp28
-rw-r--r--Source/Core/Common/Src/StringUtil.h2
-rw-r--r--Source/Core/Common/Src/SymbolDB.cpp10
-rw-r--r--Source/Core/Common/Src/SysConf.cpp16
-rw-r--r--Source/Core/Common/Src/Thread.cpp6
-rw-r--r--Source/Core/Common/Src/Thread.h50
-rw-r--r--Source/Core/Common/Src/Version.cpp2
-rw-r--r--Source/Core/Common/Src/stdafx.h6
-rw-r--r--Source/Core/Common/Src/x64ABI.cpp34
-rw-r--r--Source/Core/Common/Src/x64ABI.h2
-rw-r--r--Source/Core/Common/Src/x64Analyzer.cpp34
-rw-r--r--Source/Core/Common/Src/x64CPUDetect.cpp19
-rw-r--r--Source/Core/Common/Src/x64Emitter.cpp103
-rw-r--r--Source/Core/Common/Src/x64Emitter.h169
-rw-r--r--Source/Core/Common/Src/x64FPURoundMode.cpp6
-rw-r--r--Source/Core/Common/make_scmrev.h.js2
-rw-r--r--Source/Core/Core/Core.vcxproj233
-rw-r--r--Source/Core/Core/Core.vcxproj.filters1310
-rw-r--r--Source/Core/Core/Src/ActionReplay.cpp57
-rw-r--r--Source/Core/Core/Src/ArmMemTools.cpp2
-rw-r--r--Source/Core/Core/Src/Boot/Boot.cpp18
-rw-r--r--Source/Core/Core/Src/Boot/Boot_DOL.cpp28
-rw-r--r--Source/Core/Core/Src/Boot/Boot_ELF.cpp8
-rw-r--r--Source/Core/Core/Src/Boot/Boot_WiiWAD.cpp6
-rw-r--r--Source/Core/Core/Src/Boot/ElfReader.cpp10
-rw-r--r--Source/Core/Core/Src/Boot/ElfReader.h6
-rw-r--r--Source/Core/Core/Src/Boot/ElfTypes.h30
-rw-r--r--Source/Core/Core/Src/BootManager.cpp4
-rw-r--r--Source/Core/Core/Src/ConfigManager.cpp4
-rw-r--r--Source/Core/Core/Src/Core.cpp2
-rw-r--r--Source/Core/Core/Src/Core.h2
-rw-r--r--Source/Core/Core/Src/CoreParameter.cpp4
-rw-r--r--Source/Core/Core/Src/CoreTiming.cpp35
-rw-r--r--Source/Core/Core/Src/DSP/DSPAccelerator.cpp4
-rw-r--r--Source/Core/Core/Src/DSP/DSPAnalyzer.cpp18
-rw-r--r--Source/Core/Core/Src/DSP/DSPBreakpoints.h7
-rw-r--r--Source/Core/Core/Src/DSP/DSPCodeUtil.cpp12
-rw-r--r--Source/Core/Core/Src/DSP/DSPCore.cpp8
-rw-r--r--Source/Core/Core/Src/DSP/DSPCore.h2
-rw-r--r--Source/Core/Core/Src/DSP/DSPEmitter.cpp16
-rw-r--r--Source/Core/Core/Src/DSP/DSPEmitter.h2
-rw-r--r--Source/Core/Core/Src/DSP/DSPHWInterface.cpp6
-rw-r--r--Source/Core/Core/Src/DSP/DSPIntCCUtil.cpp12
-rw-r--r--Source/Core/Core/Src/DSP/DSPIntCCUtil.h2
-rw-r--r--Source/Core/Core/Src/DSP/DSPIntExtOps.cpp32
-rw-r--r--Source/Core/Core/Src/DSP/DSPIntExtOps.h6
-rw-r--r--Source/Core/Core/Src/DSP/DSPIntUtil.h22
-rw-r--r--Source/Core/Core/Src/DSP/DSPInterpreter.cpp16
-rw-r--r--Source/Core/Core/Src/DSP/DSPInterpreter.h2
-rw-r--r--Source/Core/Core/Src/DSP/DSPMemoryMap.cpp4
-rw-r--r--Source/Core/Core/Src/DSP/DSPTables.cpp41
-rw-r--r--Source/Core/Core/Src/DSP/DSPTables.h2
-rw-r--r--Source/Core/Core/Src/DSP/DspIntArithmetic.cpp40
-rw-r--r--Source/Core/Core/Src/DSP/DspIntBranch.cpp12
-rw-r--r--Source/Core/Core/Src/DSP/DspIntLoadStore.cpp22
-rw-r--r--Source/Core/Core/Src/DSP/DspIntMisc.cpp10
-rw-r--r--Source/Core/Core/Src/DSP/DspIntMultiplier.cpp30
-rw-r--r--Source/Core/Core/Src/DSP/Jit/DSPJitArithmetic.cpp30
-rw-r--r--Source/Core/Core/Src/DSP/Jit/DSPJitBranch.cpp12
-rw-r--r--Source/Core/Core/Src/DSP/Jit/DSPJitCCUtil.cpp8
-rw-r--r--Source/Core/Core/Src/DSP/Jit/DSPJitExtOps.cpp12
-rw-r--r--Source/Core/Core/Src/DSP/Jit/DSPJitLoadStore.cpp20
-rw-r--r--Source/Core/Core/Src/DSP/Jit/DSPJitMisc.cpp6
-rw-r--r--Source/Core/Core/Src/DSP/Jit/DSPJitMultiplier.cpp8
-rw-r--r--Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.cpp22
-rw-r--r--Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.h2
-rw-r--r--Source/Core/Core/Src/DSP/LabelMap.cpp14
-rw-r--r--Source/Core/Core/Src/DSP/assemble.cpp20
-rw-r--r--Source/Core/Core/Src/DSP/assemble.h2
-rw-r--r--Source/Core/Core/Src/DSPEmulator.cpp2
-rw-r--r--Source/Core/Core/Src/DSPEmulator.h1
-rw-r--r--Source/Core/Core/Src/Debugger/Debugger_SymbolMap.cpp14
-rw-r--r--Source/Core/Core/Src/Debugger/Debugger_SymbolMap.h2
-rw-r--r--Source/Core/Core/Src/Debugger/Dump.cpp6
-rw-r--r--Source/Core/Core/Src/Debugger/Dump.h2
-rw-r--r--Source/Core/Core/Src/Debugger/PPCDebugInterface.cpp16
-rw-r--r--Source/Core/Core/Src/Debugger/PPCDebugInterface.h48
-rw-r--r--Source/Core/Core/Src/FifoPlayer/FifoAnalyzer.cpp12
-rw-r--r--Source/Core/Core/Src/FifoPlayer/FifoDataFile.cpp20
-rw-r--r--Source/Core/Core/Src/FifoPlayer/FifoDataFile.h4
-rw-r--r--Source/Core/Core/Src/FifoPlayer/FifoFileStruct.h2
-rw-r--r--Source/Core/Core/Src/FifoPlayer/FifoPlaybackAnalyzer.cpp12
-rw-r--r--Source/Core/Core/Src/FifoPlayer/FifoPlaybackAnalyzer.h2
-rw-r--r--Source/Core/Core/Src/FifoPlayer/FifoPlayer.cpp10
-rw-r--r--Source/Core/Core/Src/FifoPlayer/FifoPlayer.h2
-rw-r--r--Source/Core/Core/Src/FifoPlayer/FifoRecordAnalyzer.cpp4
-rw-r--r--Source/Core/Core/Src/FifoPlayer/FifoRecordAnalyzer.h2
-rw-r--r--Source/Core/Core/Src/FifoPlayer/FifoRecorder.cpp12
-rw-r--r--Source/Core/Core/Src/FifoPlayer/FifoRecorder.h2
-rw-r--r--Source/Core/Core/Src/GeckoCode.cpp6
-rw-r--r--Source/Core/Core/Src/GeckoCode.h2
-rw-r--r--Source/Core/Core/Src/GeckoCodeConfig.cpp21
-rw-r--r--Source/Core/Core/Src/HLE/HLE.cpp4
-rw-r--r--Source/Core/Core/Src/HW/AudioInterface.cpp16
-rw-r--r--Source/Core/Core/Src/HW/BBA-TAP/TAP_Unix.cpp4
-rw-r--r--Source/Core/Core/Src/HW/BBA-TAP/TAP_Win32.cpp10
-rw-r--r--Source/Core/Core/Src/HW/CPU.cpp8
-rw-r--r--Source/Core/Core/Src/HW/CPU.h6
-rw-r--r--Source/Core/Core/Src/HW/DSP.cpp10
-rw-r--r--Source/Core/Core/Src/HW/DSP.h2
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/DSPHLE.cpp4
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/DSPHLE.h39
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/HLEMixer.h6
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/MailHandler.h2
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX.cpp42
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX.h10
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXStructs.h2
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.cpp17
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.h6
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_CARD.h6
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_GBA.h6
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_InitAudioSystem.h6
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_ROM.cpp4
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_ROM.h8
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda.cpp14
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda.h20
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_ADPCM.cpp18
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_Synth.cpp14
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_Voice.cpp40
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCodes.cpp4
-rw-r--r--Source/Core/Core/Src/HW/DSPHLE/UCodes/UCodes.h2
-rw-r--r--Source/Core/Core/Src/HW/DSPLLE/DSPDebugInterface.cpp18
-rw-r--r--Source/Core/Core/Src/HW/DSPLLE/DSPDebugInterface.h2
-rw-r--r--Source/Core/Core/Src/HW/DSPLLE/DSPHost.cpp2
-rw-r--r--Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp6
-rw-r--r--Source/Core/Core/Src/HW/DSPLLE/DSPLLE.h1
-rw-r--r--Source/Core/Core/Src/HW/DSPLLE/DSPLLEGlobals.cpp9
-rw-r--r--Source/Core/Core/Src/HW/DSPLLE/DSPLLEGlobals.h2
-rw-r--r--Source/Core/Core/Src/HW/DSPLLE/DSPLLETools.cpp6
-rw-r--r--Source/Core/Core/Src/HW/DSPLLE/DSPSymbols.cpp14
-rw-r--r--Source/Core/Core/Src/HW/DSPLLE/DSPSymbols.h6
-rw-r--r--Source/Core/Core/Src/HW/DVDInterface.cpp24
-rw-r--r--Source/Core/Core/Src/HW/EXI.cpp22
-rw-r--r--Source/Core/Core/Src/HW/EXI_Channel.cpp42
-rw-r--r--Source/Core/Core/Src/HW/EXI_Channel.h3
-rw-r--r--Source/Core/Core/Src/HW/EXI_Device.cpp12
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceAD16.cpp4
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceAD16.h10
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceAMBaseboard.cpp2
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceAMBaseboard.h10
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceEthernet.cpp8
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceEthernet.h28
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceGecko.cpp14
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceGecko.h4
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp8
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.cpp32
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.h26
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceMic.cpp12
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceMic.h2
-rw-r--r--Source/Core/Core/Src/HW/GCMemcard.cpp49
-rw-r--r--Source/Core/Core/Src/HW/GCMemcard.h6
-rw-r--r--Source/Core/Core/Src/HW/GCPad.cpp6
-rw-r--r--Source/Core/Core/Src/HW/GCPadEmu.cpp10
-rw-r--r--Source/Core/Core/Src/HW/GCPadEmu.h6
-rw-r--r--Source/Core/Core/Src/HW/GPFifo.cpp8
-rw-r--r--Source/Core/Core/Src/HW/Memmap.cpp4
-rw-r--r--Source/Core/Core/Src/HW/Memmap.h4
-rw-r--r--Source/Core/Core/Src/HW/MemmapFunctions.cpp72
-rw-r--r--Source/Core/Core/Src/HW/MemoryInterface.cpp2
-rw-r--r--Source/Core/Core/Src/HW/MemoryInterface.h2
-rw-r--r--Source/Core/Core/Src/HW/ProcessorInterface.cpp20
-rw-r--r--Source/Core/Core/Src/HW/ProcessorInterface.h6
-rw-r--r--Source/Core/Core/Src/HW/SI.cpp6
-rw-r--r--Source/Core/Core/Src/HW/SI_Device.cpp8
-rw-r--r--Source/Core/Core/Src/HW/SI_DeviceAMBaseboard.cpp12
-rw-r--r--Source/Core/Core/Src/HW/SI_DeviceAMBaseboard.h6
-rw-r--r--Source/Core/Core/Src/HW/SI_DeviceDanceMat.cpp6
-rw-r--r--Source/Core/Core/Src/HW/SI_DeviceDanceMat.h12
-rw-r--r--Source/Core/Core/Src/HW/SI_DeviceGBA.cpp4
-rw-r--r--Source/Core/Core/Src/HW/SI_DeviceGBA.h6
-rw-r--r--Source/Core/Core/Src/HW/SI_DeviceGCController.cpp6
-rw-r--r--Source/Core/Core/Src/HW/SI_DeviceGCController.h4
-rw-r--r--Source/Core/Core/Src/HW/SI_DeviceGCSteeringWheel.cpp2
-rw-r--r--Source/Core/Core/Src/HW/SI_DeviceGCSteeringWheel.h4
-rw-r--r--Source/Core/Core/Src/HW/Sram.cpp4
-rw-r--r--Source/Core/Core/Src/HW/StreamADPCM.cpp2
-rw-r--r--Source/Core/Core/Src/HW/SystemTimers.cpp4
-rw-r--r--Source/Core/Core/Src/HW/VideoInterface.cpp2
-rw-r--r--Source/Core/Core/Src/HW/VideoInterface.h28
-rw-r--r--Source/Core/Core/Src/HW/WII_IPC.cpp2
-rw-r--r--Source/Core/Core/Src/HW/Wiimote.cpp6
-rw-r--r--Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Attachment.h2
-rw-r--r--Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Classic.cpp14
-rw-r--r--Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Drums.cpp4
-rw-r--r--Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Guitar.cpp4
-rw-r--r--Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Guitar.h2
-rw-r--r--Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Nunchuk.cpp8
-rw-r--r--Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Nunchuk.h6
-rw-r--r--Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Turntable.cpp4
-rw-r--r--Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Turntable.h2
-rw-r--r--Source/Core/Core/Src/HW/WiimoteEmu/Encryption.cpp18
-rw-r--r--Source/Core/Core/Src/HW/WiimoteEmu/MatrixMath.h6
-rw-r--r--Source/Core/Core/Src/HW/WiimoteEmu/WiimoteEmu.cpp78
-rw-r--r--Source/Core/Core/Src/HW/WiimoteReal/IONix.cpp4
-rw-r--r--Source/Core/Core/Src/HW/WiimoteReal/IOWin.cpp76
-rw-r--r--Source/Core/Core/Src/HW/WiimoteReal/IOdarwin.mm1
-rw-r--r--Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp80
-rw-r--r--Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.h10
-rw-r--r--Source/Core/Core/Src/HW/WiimoteReal/WiimoteRealBase.h7
-rw-r--r--Source/Core/Core/Src/Host.h2
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.h4
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device.h50
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp28
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.h4
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp44
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.h2
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp84
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.h2
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.cpp27
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.h2
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_hid.cpp2
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_hid.h2
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp46
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net_ssl.cpp6
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp6
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.h4
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h6
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb.cpp42
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb.h19
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb_kbd.cpp21
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.cpp8
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.h10
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_Socket.cpp70
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WiiMote_HID_Attr.cpp156
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WiiMote_HID_Attr.h2
-rw-r--r--Source/Core/Core/Src/IPC_HLE/hci.h13
-rw-r--r--Source/Core/Core/Src/Movie.cpp52
-rw-r--r--Source/Core/Core/Src/Movie.h2
-rw-r--r--Source/Core/Core/Src/NetPlayServer.cpp8
-rw-r--r--Source/Core/Core/Src/PatchEngine.cpp17
-rw-r--r--Source/Core/Core/Src/PowerPC/Gekko.h36
-rw-r--r--Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.cpp4
-rw-r--r--Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.h14
-rw-r--r--Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Branch.cpp2
-rw-r--r--Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FPUtils.h6
-rw-r--r--Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp42
-rw-r--r--Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Integer.cpp18
-rw-r--r--Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp22
-rw-r--r--Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStorePaired.cpp28
-rw-r--r--Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Paired.cpp52
-rw-r--r--Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp16
-rw-r--r--Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Tables.cpp180
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/Jit.cpp28
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/Jit.h34
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/Jit64_Tables.cpp124
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/JitAsm.cpp14
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/JitAsm.h2
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/JitRegCache.cpp21
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/JitRegCache.h32
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/Jit_Branch.cpp14
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/Jit_FloatingPoint.cpp122
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp78
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp44
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp12
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStorePaired.cpp10
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/Jit_Paired.cpp75
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/Jit_SystemRegisters.cpp2
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64IL/IR_X86.cpp82
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64IL/JitIL.cpp44
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64IL/JitIL.h58
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64IL/JitILAsm.cpp16
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64IL/JitILAsm.h2
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64IL/JitIL_Tables.cpp118
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/Jit.cpp34
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/Jit.h14
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitArm_BackPatch.cpp12
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Branch.cpp27
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FPUtils.h4
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FloatingPoint.cpp70
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Integer.cpp48
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStore.cpp40
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStoreFloating.cpp30
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStorePaired.cpp10
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Paired.cpp112
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitArm_SystemRegisters.cpp18
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Tables.cpp58
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.cpp112
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.h2
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitFPRCache.cpp12
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitFPRCache.h12
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitRegCache.cpp16
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArm32/JitRegCache.h12
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArmIL/IR_Arm.cpp12
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArmIL/JitIL.cpp18
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArmIL/JitIL.h8
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArmIL/JitILAsm.cpp24
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArmIL/JitILAsm.h6
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArmIL/JitIL_Branch.cpp6
-rw-r--r--Source/Core/Core/Src/PowerPC/JitArmIL/JitIL_Tables.cpp58
-rw-r--r--Source/Core/Core/Src/PowerPC/JitCommon/JitAsmCommon.cpp38
-rw-r--r--Source/Core/Core/Src/PowerPC/JitCommon/JitBackpatch.cpp9
-rw-r--r--Source/Core/Core/Src/PowerPC/JitCommon/JitBase.cpp2
-rw-r--r--Source/Core/Core/Src/PowerPC/JitCommon/JitBase.h16
-rw-r--r--Source/Core/Core/Src/PowerPC/JitCommon/JitCache.cpp16
-rw-r--r--Source/Core/Core/Src/PowerPC/JitCommon/JitCache.h8
-rw-r--r--Source/Core/Core/Src/PowerPC/JitCommon/Jit_Util.cpp38
-rw-r--r--Source/Core/Core/Src/PowerPC/JitCommon/Jit_Util.h21
-rw-r--r--Source/Core/Core/Src/PowerPC/JitILCommon/IR.cpp79
-rw-r--r--Source/Core/Core/Src/PowerPC/JitILCommon/IR.h10
-rw-r--r--Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase.h6
-rw-r--r--Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Branch.cpp10
-rw-r--r--Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Integer.cpp10
-rw-r--r--Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_LoadStore.cpp4
-rw-r--r--Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Paired.cpp8
-rw-r--r--Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_SystemRegisters.cpp4
-rw-r--r--Source/Core/Core/Src/PowerPC/JitInterface.cpp25
-rw-r--r--Source/Core/Core/Src/PowerPC/JitInterface.h6
-rw-r--r--Source/Core/Core/Src/PowerPC/PPCAnalyst.cpp43
-rw-r--r--Source/Core/Core/Src/PowerPC/PPCAnalyst.h3
-rw-r--r--Source/Core/Core/Src/PowerPC/PPCCache.cpp4
-rw-r--r--Source/Core/Core/Src/PowerPC/PPCSymbolDB.cpp20
-rw-r--r--Source/Core/Core/Src/PowerPC/PPCSymbolDB.h6
-rw-r--r--Source/Core/Core/Src/PowerPC/PPCTables.cpp15
-rw-r--r--Source/Core/Core/Src/PowerPC/PPCTables.h2
-rw-r--r--Source/Core/Core/Src/PowerPC/PowerPC.cpp8
-rw-r--r--Source/Core/Core/Src/PowerPC/PowerPC.h6
-rw-r--r--Source/Core/Core/Src/PowerPC/Profiler.h10
-rw-r--r--Source/Core/Core/Src/PowerPC/SignatureDB.cpp14
-rw-r--r--Source/Core/Core/Src/PowerPC/SignatureDB.h2
-rw-r--r--Source/Core/Core/Src/State.cpp24
-rw-r--r--Source/Core/Core/Src/VolumeHandler.cpp2
-rw-r--r--Source/Core/Core/Src/stdafx.h2
-rw-r--r--Source/Core/DiscIO/DiscIO.vcxproj211
-rw-r--r--Source/Core/DiscIO/DiscIO.vcxproj.filters168
-rw-r--r--Source/Core/DiscIO/Src/BannerLoaderGC.cpp2
-rw-r--r--Source/Core/DiscIO/Src/BannerLoaderGC.h2
-rw-r--r--Source/Core/DiscIO/Src/BannerLoaderWii.cpp14
-rw-r--r--Source/Core/DiscIO/Src/BannerLoaderWii.h2
-rw-r--r--Source/Core/DiscIO/Src/Blob.cpp2
-rw-r--r--Source/Core/DiscIO/Src/CISOBlob.cpp8
-rw-r--r--Source/Core/DiscIO/Src/CISOBlob.h8
-rw-r--r--Source/Core/DiscIO/Src/CompressedBlob.cpp8
-rw-r--r--Source/Core/DiscIO/Src/DiscScrubber.cpp15
-rw-r--r--Source/Core/DiscIO/Src/DriveBlob.cpp2
-rw-r--r--Source/Core/DiscIO/Src/FileHandlerARC.cpp6
-rw-r--r--Source/Core/DiscIO/Src/FileMonitor.cpp2
-rw-r--r--Source/Core/DiscIO/Src/FileSystemGCWii.cpp27
-rw-r--r--Source/Core/DiscIO/Src/FileSystemGCWii.h2
-rw-r--r--Source/Core/DiscIO/Src/Filesystem.h2
-rw-r--r--Source/Core/DiscIO/Src/NANDContentLoader.cpp95
-rw-r--r--Source/Core/DiscIO/Src/Volume.h2
-rw-r--r--Source/Core/DiscIO/Src/VolumeCommon.cpp12
-rw-r--r--Source/Core/DiscIO/Src/VolumeCreator.cpp22
-rw-r--r--Source/Core/DiscIO/Src/VolumeDirectory.cpp38
-rw-r--r--Source/Core/DiscIO/Src/VolumeDirectory.h2
-rw-r--r--Source/Core/DiscIO/Src/VolumeGC.cpp2
-rw-r--r--Source/Core/DiscIO/Src/VolumeGC.h4
-rw-r--r--Source/Core/DiscIO/Src/VolumeWad.cpp8
-rw-r--r--Source/Core/DiscIO/Src/VolumeWad.h4
-rw-r--r--Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp18
-rw-r--r--Source/Core/DiscIO/Src/VolumeWiiCrypted.h4
-rw-r--r--Source/Core/DiscIO/Src/WbfsBlob.cpp6
-rw-r--r--Source/Core/DiscIO/Src/WbfsBlob.h2
-rw-r--r--Source/Core/DiscIO/Src/WiiWad.cpp8
-rw-r--r--Source/Core/DiscIO/Src/WiiWad.h4
-rw-r--r--Source/Core/DiscIO/Src/stdafx.h2
-rw-r--r--Source/Core/DolphinWX/CMakeLists.txt16
-rw-r--r--Source/Core/DolphinWX/Dolphin.vcxproj408
-rw-r--r--Source/Core/DolphinWX/Dolphin.vcxproj.user29
-rw-r--r--Source/Core/DolphinWX/DolphinWX.vcxproj244
-rw-r--r--Source/Core/DolphinWX/DolphinWX.vcxproj.filters (renamed from Source/Core/DolphinWX/Dolphin.vcxproj.filters)336
-rw-r--r--Source/Core/DolphinWX/DolphinWX.vcxproj.user9
-rw-r--r--Source/Core/DolphinWX/Src/ARCodeAddEdit.cpp6
-rw-r--r--Source/Core/DolphinWX/Src/Android/ButtonManager.cpp14
-rw-r--r--Source/Core/DolphinWX/Src/Android/ButtonManager.h8
-rw-r--r--Source/Core/DolphinWX/Src/Android/TextureLoader.cpp30
-rw-r--r--Source/Core/DolphinWX/Src/CheatsWindow.cpp4
-rw-r--r--Source/Core/DolphinWX/Src/ConfigMain.cpp38
-rw-r--r--Source/Core/DolphinWX/Src/ConfigMain.h2
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/BreakpointDlg.h2
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/BreakpointView.cpp11
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/BreakpointWindow.cpp4
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/CodeView.cpp10
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/CodeView.h2
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/CodeWindow.cpp34
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/CodeWindowFunctions.cpp2
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/DSPDebugWindow.cpp2
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/DebuggerPanel.cpp2
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/DebuggerPanel.h2
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/MemoryCheckDlg.h2
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/MemoryView.cpp32
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/MemoryWindow.cpp2
-rw-r--r--Source/Core/DolphinWX/Src/Debugger/RegisterView.cpp4
-rw-r--r--Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp102
-rw-r--r--Source/Core/DolphinWX/Src/FifoPlayerDlg.h2
-rw-r--r--Source/Core/DolphinWX/Src/Frame.cpp8
-rw-r--r--Source/Core/DolphinWX/Src/Frame.h8
-rw-r--r--Source/Core/DolphinWX/Src/FrameAui.cpp44
-rw-r--r--Source/Core/DolphinWX/Src/FrameTools.cpp52
-rw-r--r--Source/Core/DolphinWX/Src/GLInterface/AGL.cpp4
-rw-r--r--Source/Core/DolphinWX/Src/GLInterface/EGL.cpp5
-rw-r--r--Source/Core/DolphinWX/Src/GLInterface/EGL.h2
-rw-r--r--Source/Core/DolphinWX/Src/GLInterface/GLX.cpp7
-rw-r--r--Source/Core/DolphinWX/Src/GLInterface/GLX.h2
-rw-r--r--Source/Core/DolphinWX/Src/GLInterface/InterfaceBase.h4
-rw-r--r--Source/Core/DolphinWX/Src/GLInterface/Platform.cpp4
-rw-r--r--Source/Core/DolphinWX/Src/GLInterface/WGL.cpp4
-rw-r--r--Source/Core/DolphinWX/Src/GLInterface/WGL.h2
-rw-r--r--Source/Core/DolphinWX/Src/GameListCtrl.cpp49
-rw-r--r--Source/Core/DolphinWX/Src/GameListCtrl.h2
-rw-r--r--Source/Core/DolphinWX/Src/GeckoCodeDiag.cpp8
-rw-r--r--Source/Core/DolphinWX/Src/Globals.h2
-rw-r--r--Source/Core/DolphinWX/Src/HotkeyDlg.cpp4
-rw-r--r--Source/Core/DolphinWX/Src/ISOFile.cpp14
-rw-r--r--Source/Core/DolphinWX/Src/ISOProperties.cpp72
-rw-r--r--Source/Core/DolphinWX/Src/ISOProperties.h2
-rw-r--r--Source/Core/DolphinWX/Src/InputConfigDiag.cpp18
-rw-r--r--Source/Core/DolphinWX/Src/InputConfigDiag.h4
-rw-r--r--Source/Core/DolphinWX/Src/InputConfigDiagBitmaps.cpp2
-rw-r--r--Source/Core/DolphinWX/Src/LogConfigWindow.cpp10
-rw-r--r--Source/Core/DolphinWX/Src/LogWindow.cpp12
-rw-r--r--Source/Core/DolphinWX/Src/Main.cpp12
-rw-r--r--Source/Core/DolphinWX/Src/MainAndroid.cpp16
-rw-r--r--Source/Core/DolphinWX/Src/MainNoGUI.cpp8
-rw-r--r--Source/Core/DolphinWX/Src/MemcardManager.cpp20
-rw-r--r--Source/Core/DolphinWX/Src/MemcardManager.h6
-rw-r--r--Source/Core/DolphinWX/Src/MemoryCards/WiiSaveCrypted.cpp112
-rw-r--r--Source/Core/DolphinWX/Src/MemoryCards/WiiSaveCrypted.h7
-rw-r--r--Source/Core/DolphinWX/Src/NetWindow.cpp24
-rw-r--r--Source/Core/DolphinWX/Src/PatchAddEdit.cpp14
-rw-r--r--Source/Core/DolphinWX/Src/TASInputDlg.cpp70
-rw-r--r--Source/Core/DolphinWX/Src/UDPConfigDiag.cpp2
-rw-r--r--Source/Core/DolphinWX/Src/VideoConfigDiag.cpp6
-rw-r--r--Source/Core/DolphinWX/Src/VideoConfigDiag.h2
-rw-r--r--Source/Core/DolphinWX/Src/WiimoteConfigDiag.cpp37
-rw-r--r--Source/Core/DolphinWX/Src/X11Utils.cpp2
-rw-r--r--Source/Core/DolphinWX/resource.h2
-rw-r--r--Source/Core/DolphinWX/resources/dolphin_logo.cpp5732
-rw-r--r--Source/Core/InputCommon/InputCommon.vcxproj155
-rw-r--r--Source/Core/InputCommon/InputCommon.vcxproj.filters87
-rw-r--r--Source/Core/InputCommon/Src/ControllerEmu.cpp8
-rw-r--r--Source/Core/InputCommon/Src/ControllerEmu.h10
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp6
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h2
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/DInput/DInputJoystick.cpp16
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/DInput/DInputJoystick.h2
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp24
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm6
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp26
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.h32
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.cpp76
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.h10
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/Xlib/XInput2.cpp100
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/Xlib/XInput2.h22
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.cpp4
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.h16
-rw-r--r--Source/Core/InputCommon/Src/UDPWiimote.cpp51
-rw-r--r--Source/Core/InputCommon/Src/UDPWiimote.h2
-rw-r--r--Source/Core/InputCommon/Src/UDPWrapper.cpp2
-rw-r--r--Source/Core/InputCommon/Src/X11InputBase.cpp12
-rw-r--r--Source/Core/InputCommon/Src/stdafx.cpp5
-rw-r--r--Source/Core/InputCommon/Src/stdafx.h14
-rw-r--r--Source/Core/VideoBackends/D3D/D3D.vcxproj131
-rw-r--r--Source/Core/VideoBackends/D3D/D3D.vcxproj.filters82
-rw-r--r--Source/Core/VideoBackends/D3D/Src/D3DBase.cpp63
-rw-r--r--Source/Core/VideoBackends/D3D/Src/D3DBase.h38
-rw-r--r--Source/Core/VideoBackends/D3D/Src/D3DShader.cpp19
-rw-r--r--Source/Core/VideoBackends/D3D/Src/D3DTexture.cpp126
-rw-r--r--Source/Core/VideoBackends/D3D/Src/D3DTexture.h1
-rw-r--r--Source/Core/VideoBackends/D3D/Src/FramebufferManager.cpp4
-rw-r--r--Source/Core/VideoBackends/D3D/Src/LineGeometryShader.cpp2
-rw-r--r--Source/Core/VideoBackends/D3D/Src/NativeVertexFormat.cpp4
-rw-r--r--Source/Core/VideoBackends/D3D/Src/PSTextureEncoder.cpp64
-rw-r--r--Source/Core/VideoBackends/D3D/Src/PSTextureEncoder.h4
-rw-r--r--Source/Core/VideoBackends/D3D/Src/PerfQuery.cpp4
-rw-r--r--Source/Core/VideoBackends/D3D/Src/PixelShaderCache.cpp12
-rw-r--r--Source/Core/VideoBackends/D3D/Src/PointGeometryShader.cpp2
-rw-r--r--Source/Core/VideoBackends/D3D/Src/Render.cpp115
-rw-r--r--Source/Core/VideoBackends/D3D/Src/Render.h2
-rw-r--r--Source/Core/VideoBackends/D3D/Src/Television.cpp2
-rw-r--r--Source/Core/VideoBackends/D3D/Src/TextureCache.cpp34
-rw-r--r--Source/Core/VideoBackends/D3D/Src/VertexManager.cpp20
-rw-r--r--Source/Core/VideoBackends/D3D/Src/VertexManager.h2
-rw-r--r--Source/Core/VideoBackends/D3D/Src/VertexShaderCache.cpp6
-rw-r--r--Source/Core/VideoBackends/D3D/Src/VertexShaderCache.h4
-rw-r--r--Source/Core/VideoBackends/D3D/Src/main.cpp1
-rw-r--r--Source/Core/VideoBackends/D3D/Src/stdafx.h2
-rw-r--r--Source/Core/VideoBackends/OGL/OGL.vcxproj144
-rw-r--r--Source/Core/VideoBackends/OGL/OGL.vcxproj.filters58
-rw-r--r--Source/Core/VideoBackends/OGL/Src/FramebufferManager.cpp46
-rw-r--r--Source/Core/VideoBackends/OGL/Src/FramebufferManager.h18
-rw-r--r--Source/Core/VideoBackends/OGL/Src/GLFunctions.cpp4
-rw-r--r--Source/Core/VideoBackends/OGL/Src/GLUtil.cpp11
-rw-r--r--Source/Core/VideoBackends/OGL/Src/GLUtil.h9
-rw-r--r--Source/Core/VideoBackends/OGL/Src/NativeVertexFormat.cpp10
-rw-r--r--Source/Core/VideoBackends/OGL/Src/PerfQuery.cpp18
-rw-r--r--Source/Core/VideoBackends/OGL/Src/PerfQuery.h10
-rw-r--r--Source/Core/VideoBackends/OGL/Src/PostProcessing.cpp48
-rw-r--r--Source/Core/VideoBackends/OGL/Src/ProgramShaderCache.cpp98
-rw-r--r--Source/Core/VideoBackends/OGL/Src/ProgramShaderCache.h8
-rw-r--r--Source/Core/VideoBackends/OGL/Src/RasterFont.cpp204
-rw-r--r--Source/Core/VideoBackends/OGL/Src/RasterFont.h2
-rw-r--r--Source/Core/VideoBackends/OGL/Src/Render.cpp209
-rw-r--r--Source/Core/VideoBackends/OGL/Src/Render.h49
-rw-r--r--Source/Core/VideoBackends/OGL/Src/SamplerCache.cpp22
-rw-r--r--Source/Core/VideoBackends/OGL/Src/SamplerCache.h22
-rw-r--r--Source/Core/VideoBackends/OGL/Src/StreamBuffer.cpp34
-rw-r--r--Source/Core/VideoBackends/OGL/Src/StreamBuffer.h8
-rw-r--r--Source/Core/VideoBackends/OGL/Src/TextureCache.cpp41
-rw-r--r--Source/Core/VideoBackends/OGL/Src/TextureCache.h10
-rw-r--r--Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp40
-rw-r--r--Source/Core/VideoBackends/OGL/Src/VertexManager.cpp44
-rw-r--r--Source/Core/VideoBackends/OGL/Src/VertexManager.h18
-rw-r--r--Source/Core/VideoBackends/OGL/Src/VideoBackend.h18
-rw-r--r--Source/Core/VideoBackends/OGL/Src/main.cpp19
-rw-r--r--Source/Core/VideoBackends/OGL/Src/stdafx.h2
-rw-r--r--Source/Core/VideoBackends/Software/Software.vcxproj160
-rw-r--r--Source/Core/VideoBackends/Software/Software.vcxproj.filters67
-rw-r--r--Source/Core/VideoBackends/Software/Src/BPMemLoader.cpp2
-rw-r--r--Source/Core/VideoBackends/Software/Src/Clipper.cpp28
-rw-r--r--Source/Core/VideoBackends/Software/Src/DebugUtil.h2
-rw-r--r--Source/Core/VideoBackends/Software/Src/EfbCopy.cpp2
-rw-r--r--Source/Core/VideoBackends/Software/Src/EfbInterface.cpp4
-rw-r--r--Source/Core/VideoBackends/Software/Src/HwRasterizer.cpp6
-rw-r--r--Source/Core/VideoBackends/Software/Src/HwRasterizer.h10
-rw-r--r--Source/Core/VideoBackends/Software/Src/NativeVertexFormat.h8
-rw-r--r--Source/Core/VideoBackends/Software/Src/OpcodeDecoder.cpp12
-rw-r--r--Source/Core/VideoBackends/Software/Src/Rasterizer.cpp8
-rw-r--r--Source/Core/VideoBackends/Software/Src/SWCommandProcessor.cpp4
-rw-r--r--Source/Core/VideoBackends/Software/Src/SWPixelEngine.cpp4
-rw-r--r--Source/Core/VideoBackends/Software/Src/SWPixelEngine.h12
-rw-r--r--Source/Core/VideoBackends/Software/Src/SWRenderer.cpp14
-rw-r--r--Source/Core/VideoBackends/Software/Src/SWVertexLoader.cpp10
-rw-r--r--Source/Core/VideoBackends/Software/Src/SWVideoConfig.cpp2
-rw-r--r--Source/Core/VideoBackends/Software/Src/SWVideoConfig.h2
-rw-r--r--Source/Core/VideoBackends/Software/Src/SWmain.cpp12
-rw-r--r--Source/Core/VideoBackends/Software/Src/SetupUnit.cpp2
-rw-r--r--Source/Core/VideoBackends/Software/Src/Tev.cpp12
-rw-r--r--Source/Core/VideoBackends/Software/Src/Tev.h4
-rw-r--r--Source/Core/VideoBackends/Software/Src/TextureEncoder.cpp24
-rw-r--r--Source/Core/VideoBackends/Software/Src/TextureSampler.cpp2
-rw-r--r--Source/Core/VideoBackends/Software/Src/TransformUnit.cpp4
-rw-r--r--Source/Core/VideoBackends/Software/Src/Vec3.h6
-rw-r--r--Source/Core/VideoBackends/Software/Src/VideoBackend.h68
-rw-r--r--Source/Core/VideoBackends/Software/Src/VideoConfigDialog.cpp4
-rw-r--r--Source/Core/VideoBackends/Software/Src/XFMemLoader.cpp2
-rw-r--r--Source/Core/VideoBackends/Software/Src/XFMemLoader.h4
-rw-r--r--Source/Core/VideoBackends/Software/Src/stdafx.h2
-rw-r--r--Source/Core/VideoCommon/Src/AVIDump.cpp8
-rw-r--r--Source/Core/VideoCommon/Src/AVIDump.h2
-rw-r--r--Source/Core/VideoCommon/Src/BPFunctions.cpp2
-rw-r--r--Source/Core/VideoCommon/Src/BPMemory.cpp13
-rw-r--r--Source/Core/VideoCommon/Src/BPMemory.h52
-rw-r--r--Source/Core/VideoCommon/Src/BPStructs.cpp27
-rw-r--r--Source/Core/VideoCommon/Src/CPMemory.h36
-rw-r--r--Source/Core/VideoCommon/Src/CommandProcessor.cpp6
-rw-r--r--Source/Core/VideoCommon/Src/CommandProcessor.h2
-rw-r--r--Source/Core/VideoCommon/Src/DataReader.h2
-rw-r--r--Source/Core/VideoCommon/Src/Debugger.cpp4
-rw-r--r--Source/Core/VideoCommon/Src/DriverDetails.cpp18
-rw-r--r--Source/Core/VideoCommon/Src/DriverDetails.h10
-rw-r--r--Source/Core/VideoCommon/Src/EmuWindow.cpp4
-rw-r--r--Source/Core/VideoCommon/Src/Fifo.cpp8
-rw-r--r--Source/Core/VideoCommon/Src/GenericDLCache.cpp2
-rw-r--r--Source/Core/VideoCommon/Src/GenericTextureDecoder.cpp1286
-rw-r--r--Source/Core/VideoCommon/Src/HiresTextures.cpp18
-rw-r--r--Source/Core/VideoCommon/Src/ImageWrite.cpp2
-rw-r--r--Source/Core/VideoCommon/Src/IndexGenerator.cpp30
-rw-r--r--Source/Core/VideoCommon/Src/IndexGenerator.h2
-rw-r--r--Source/Core/VideoCommon/Src/MainBase.cpp6
-rw-r--r--Source/Core/VideoCommon/Src/NativeVertexFormat.h2
-rw-r--r--Source/Core/VideoCommon/Src/OpcodeDecoding.cpp14
-rw-r--r--Source/Core/VideoCommon/Src/OpenCL.cpp4
-rw-r--r--Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp2
-rw-r--r--Source/Core/VideoCommon/Src/PixelEngine.cpp20
-rw-r--r--Source/Core/VideoCommon/Src/PixelEngine.h20
-rw-r--r--Source/Core/VideoCommon/Src/PixelShaderGen.cpp14
-rw-r--r--Source/Core/VideoCommon/Src/PixelShaderManager.cpp18
-rw-r--r--Source/Core/VideoCommon/Src/PixelShaderManager.h2
-rw-r--r--Source/Core/VideoCommon/Src/RenderBase.cpp23
-rw-r--r--Source/Core/VideoCommon/Src/RenderBase.h7
-rw-r--r--Source/Core/VideoCommon/Src/ShaderGenCommon.h4
-rw-r--r--Source/Core/VideoCommon/Src/Statistics.h8
-rw-r--r--Source/Core/VideoCommon/Src/TextureCacheBase.cpp37
-rw-r--r--Source/Core/VideoCommon/Src/TextureConversionShader.cpp52
-rw-r--r--Source/Core/VideoCommon/Src/TextureDecoder.h2
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoader.cpp36
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoader.h8
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoaderManager.cpp8
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoader_Color.cpp4
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp2
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoader_Normal.h2
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoader_Position.cpp2
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp2
-rw-r--r--Source/Core/VideoCommon/Src/VertexManagerBase.cpp28
-rw-r--r--Source/Core/VideoCommon/Src/VertexManagerBase.h16
-rw-r--r--Source/Core/VideoCommon/Src/VertexShaderGen.cpp8
-rw-r--r--Source/Core/VideoCommon/Src/VertexShaderGen.h2
-rw-r--r--Source/Core/VideoCommon/Src/VertexShaderManager.cpp85
-rw-r--r--Source/Core/VideoCommon/Src/VertexShaderManager.h4
-rw-r--r--Source/Core/VideoCommon/Src/VideoBackendBase.cpp8
-rw-r--r--Source/Core/VideoCommon/Src/VideoBackendBase.h2
-rw-r--r--Source/Core/VideoCommon/Src/VideoConfig.h5
-rw-r--r--Source/Core/VideoCommon/Src/VideoState.cpp2
-rw-r--r--Source/Core/VideoCommon/Src/XFMemory.h14
-rw-r--r--Source/Core/VideoCommon/Src/XFStructs.cpp8
-rw-r--r--Source/Core/VideoCommon/Src/memcpy_amd.cpp10
-rw-r--r--Source/Core/VideoCommon/Src/stdafx.cpp5
-rw-r--r--Source/Core/VideoCommon/Src/stdafx.h14
-rw-r--r--Source/Core/VideoCommon/Src/x64DLCache.cpp48
-rw-r--r--Source/Core/VideoCommon/Src/x64TextureDecoder.cpp1310
-rw-r--r--Source/Core/VideoCommon/VideoCommon.vcxproj180
-rw-r--r--Source/Core/VideoCommon/VideoCommon.vcxproj.filters367
-rw-r--r--Source/DSPSpy/dsp_interface.cpp2
-rw-r--r--Source/DSPSpy/dsp_interface.h2
-rw-r--r--Source/DSPSpy/main_spy.cpp18
-rw-r--r--Source/DSPSpy/mem_dump.h1024
-rw-r--r--Source/DSPTool/DSPTool.vcxproj187
-rw-r--r--Source/DSPTool/DSPTool.vcxproj.filters5
-rw-r--r--Source/DSPTool/Src/DSPTool.cpp74
-rw-r--r--Source/Dolphin_2010.sln446
-rw-r--r--Source/TestSuite/ASM/source/Init.cpp16
-rw-r--r--Source/TestSuite/ASM/source/asm_tables.cpp22
-rw-r--r--Source/TestSuite/ASM/source/asm_tables.h2
-rw-r--r--Source/TestSuite/ASM/source/dolphintest_asm.cpp6
-rw-r--r--Source/TestSuite/AX/source/dolphintest_ax.cpp6
-rw-r--r--Source/TestSuite/FPU/source/asm.h30
-rw-r--r--Source/TestSuite/PAD/source/dolphintest_pad.cpp2
-rw-r--r--Source/TestSuite/WPAD/source/dolphintest_wpad.cpp2
-rw-r--r--Source/UnitTests/AudioJitTests.cpp28
-rw-r--r--Source/UnitTests/DSPJitTester.cpp6
-rw-r--r--Source/UnitTests/DSPJitTester.h36
-rw-r--r--Source/VSProps/Base.props114
-rw-r--r--Source/VSProps/CodeGen_Debug.props16
-rw-r--r--Source/VSProps/CodeGen_DebugFast.props17
-rw-r--r--Source/VSProps/CodeGen_Release.props29
-rw-r--r--Source/VSProps/Dolphin.Win32.props15
-rw-r--r--Source/VSProps/Dolphin.x64.props16
-rw-r--r--Source/VSProps/PrecompiledHeader.props3
-rw-r--r--Source/VSProps/WXWOverrides.props12
-rw-r--r--Source/dolphin-emu.sln320
-rw-r--r--Source/pch.h1
699 files changed, 13977 insertions, 15937 deletions
diff --git a/Source/Android/android.toolchain.cmake b/Source/Android/android.toolchain.cmake
index 0f7e340678..4ca8f94266 100644
--- a/Source/Android/android.toolchain.cmake
+++ b/Source/Android/android.toolchain.cmake
@@ -119,7 +119,7 @@
# libraries. Automatically turned for NDK r5x and r6x due to GLESv2
# problems.
#
-# LIBRARY_OUTPUT_PATH_ROOT=${CMAKE_SOURCE_DIR} - where to output binary
+# LIBRARY_OUTPUT_PATH_ROOT=${CMAKE_CURRENT_BINARY_DIR} - where to output binary
# files. See additional details below.
#
# ANDROID_SET_OBSOLETE_VARIABLES=ON - if set, then toolchain defines some
@@ -187,7 +187,7 @@
#
# LIBRARY_OUTPUT_PATH_ROOT should be set in cache to determine where Android
# libraries will be installed.
-# Default is ${CMAKE_SOURCE_DIR}, and the android libs will always be
+# Default is ${CMAKE_CURRENT_BINARY_DIR}, and the android libs will always be
# under the ${LIBRARY_OUTPUT_PATH_ROOT}/libs/${ANDROID_NDK_ABI_NAME}
# (depending on the target ABI). This is convenient for Android packaging.
#
@@ -1431,7 +1431,7 @@ include_directories( SYSTEM "${ANDROID_SYSROOT}/usr/include" ${ANDROID_STL_INCLU
link_directories( "${CMAKE_INSTALL_PREFIX}/libs/${ANDROID_NDK_ABI_NAME}" )
# setup output directories
-set( LIBRARY_OUTPUT_PATH_ROOT ${CMAKE_SOURCE_DIR} CACHE PATH "root for library output, set this to change where android libs are installed to" )
+set( LIBRARY_OUTPUT_PATH_ROOT ${CMAKE_CURRENT_BINARY_DIR} CACHE PATH "root for library output, set this to change where android libs are installed to" )
set( CMAKE_INSTALL_PREFIX "${ANDROID_TOOLCHAIN_ROOT}/user" CACHE STRING "path for installing" )
if(NOT _CMAKE_IN_TRY_COMPILE)
diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/settings/video/VideoSettingsFragment.java b/Source/Android/src/org/dolphinemu/dolphinemu/settings/video/VideoSettingsFragment.java
index c5d22ff821..97ed412d8d 100644
--- a/Source/Android/src/org/dolphinemu/dolphinemu/settings/video/VideoSettingsFragment.java
+++ b/Source/Android/src/org/dolphinemu/dolphinemu/settings/video/VideoSettingsFragment.java
@@ -190,14 +190,6 @@ public final class VideoSettingsFragment extends PreferenceFragment
// Is a Tegra 4 since it supports 24bit depth
mSupportsGLES3 = true;
}
- if (!mSupportsGLES3 &&
- m_GLVendor == null &&
- m_GLRenderer == null &&
- m_GLExtensions == null)
- {
- // Couldn't get information. Give them the benefit of the doubt
- mSupportsGLES3 = true;
- }
return mSupportsGLES3;
}
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 7c667ba551..fcfc1be7b6 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -2,7 +2,11 @@ set(CMAKE_FAKELANG_CREATE_STATIC_LIBRARY "touch <TARGET>")
if(ENABLE_PCH)
# This is actually a .h file, but trick cmake into compiling it as a source file
set(pch_out_filename "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/pch.dir/pch.h")
- set(pch_lib_filename "${CMAKE_CURRENT_BINARY_DIR}/libpch.a")
+ if (ANDROID)
+ set(pch_lib_filename "${LIBRARY_OUTPUT_PATH}/libpch.a")
+ else()
+ set(pch_lib_filename "${CMAKE_CURRENT_BINARY_DIR}/libpch.a")
+ endif()
set(pch_src_filename "${CMAKE_CURRENT_SOURCE_DIR}/pch.h")
if(APPLE)
diff --git a/Source/Core/AudioCommon/AudioCommon.vcxproj b/Source/Core/AudioCommon/AudioCommon.vcxproj
index abb5dbf505..6f6d8a5aa7 100644
--- a/Source/Core/AudioCommon/AudioCommon.vcxproj
+++ b/Source/Core/AudioCommon/AudioCommon.vcxproj
@@ -1,14 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="DebugFast|Win32">
- <Configuration>DebugFast</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="DebugFast|x64">
- <Configuration>DebugFast</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
@@ -27,210 +19,74 @@
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
- <ProjectGuid>{37D007BD-D66C-4EAF-B56C-BD1AAC340A05}</ProjectGuid>
- <RootNamespace>AudioCommon</RootNamespace>
+ <ProjectGuid>{54AA7840-5BEB-4A0C-9452-74BA4CC7FD44}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <UseDebugLibraries>true</UseDebugLibraries>
+ <PropertyGroup Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
+ <PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+ <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <UseDebugLibraries>false</UseDebugLibraries>
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Release.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_DebugFast.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+ <ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Release.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_DebugFast.props" />
+ <Import Project="..\..\VSProps\PrecompiledHeader.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Core\Src;..\Common\Src;..\..\..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- <Lib>
- <AdditionalDependencies>SoundTouchD.lib;OpenAL32.lib;dsound.lib;dxerr.lib</AdditionalDependencies>
- <AdditionalLibraryDirectories>..\..\..\Externals\OpenAL\Win32;..\..\..\Externals\SoundTouch\Win32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- </Lib>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Core\Src;..\Common\Src;..\..\..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- <Lib>
- <AdditionalDependencies>SoundTouchD.lib;OpenAL32.lib;dsound.lib;dxerr.lib</AdditionalDependencies>
- <AdditionalLibraryDirectories>..\..\..\Externals\OpenAL\Win64;..\..\..\Externals\SoundTouch\Win64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- </Lib>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Core\Src;..\Common\Src;..\..\..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib>
- <AdditionalDependencies>SoundTouch.lib;OpenAL32.lib;dsound.lib;dxerr.lib</AdditionalDependencies>
- <AdditionalLibraryDirectories>..\..\..\Externals\OpenAL\Win32;..\..\..\Externals\SoundTouch\Win32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- </Lib>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Core\Src;..\Common\Src;..\..\..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib>
- <AdditionalDependencies>SoundTouch.lib;OpenAL32.lib;dsound.lib;dxerr.lib</AdditionalDependencies>
- <AdditionalLibraryDirectories>..\..\..\Externals\OpenAL\Win32;..\..\..\Externals\SoundTouch\Win32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- </Lib>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Core\Src;..\Common\Src;..\..\..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib>
- <AdditionalDependencies>SoundTouch.lib;OpenAL32.lib;dsound.lib;dxerr.lib</AdditionalDependencies>
- <AdditionalLibraryDirectories>..\..\..\Externals\OpenAL\Win64;..\..\..\Externals\SoundTouch\Win64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- </Lib>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Core\Src;..\Common\Src;..\..\..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib>
- <AdditionalDependencies>SoundTouch.lib;OpenAL32.lib;dsound.lib;dxerr.lib</AdditionalDependencies>
- <AdditionalLibraryDirectories>..\..\..\Externals\OpenAL\Win64;..\..\..\Externals\SoundTouch\Win64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- </Lib>
- </ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="Src\aldlist.cpp" />
- <ClCompile Include="Src\AOSoundStream.cpp" />
<ClCompile Include="Src\AudioCommon.cpp" />
<ClCompile Include="Src\DPL2Decoder.cpp" />
<ClCompile Include="Src\DSoundStream.cpp" />
<ClCompile Include="Src\Mixer.cpp" />
<ClCompile Include="Src\NullSoundStream.cpp" />
<ClCompile Include="Src\OpenALStream.cpp" />
+ <ClCompile Include="Src\stdafx.cpp">
+ <PrecompiledHeader>Create</PrecompiledHeader>
+ </ClCompile>
<ClCompile Include="Src\WaveFile.cpp" />
<ClCompile Include="Src\XAudio2Stream.cpp" />
+ <ClCompile Include="Src\XAudio2_7Stream.cpp">
+ <AdditionalIncludeDirectories Condition="Exists('$(DXSDK_DIR)')">$(DXSDK_DIR)Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="Src\aldlist.h" />
+ <ClInclude Include="Src\AlsaSoundStream.h" />
<ClInclude Include="Src\AOSoundStream.h" />
<ClInclude Include="Src\AudioCommon.h" />
+ <ClInclude Include="Src\CoreAudioSoundStream.h" />
<ClInclude Include="Src\DPL2Decoder.h" />
<ClInclude Include="Src\DSoundStream.h" />
<ClInclude Include="Src\Mixer.h" />
<ClInclude Include="Src\NullSoundStream.h" />
<ClInclude Include="Src\OpenALStream.h" />
+ <ClInclude Include="Src\OpenSLESStream.h" />
+ <ClInclude Include="Src\PulseAudioStream.h" />
<ClInclude Include="Src\SoundStream.h" />
+ <ClInclude Include="Src\stdafx.h" />
<ClInclude Include="Src\WaveFile.h" />
<ClInclude Include="Src\XAudio2Stream.h" />
+ <ClInclude Include="Src\XAudio2_7Stream.h" />
</ItemGroup>
<ItemGroup>
- <None Include="CMakeLists.txt" />
+ <Text Include="CMakeLists.txt" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\..\..\Externals\SoundTouch\SoundTouch.vcxproj">
- <Project>{68a5dd20-7057-448b-8fe0-b6ac8d205509}</Project>
- <Private>true</Private>
- <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
- <CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
- <LinkLibraryDependencies>true</LinkLibraryDependencies>
- <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
+ <ProjectReference Include="..\..\..\Externals\soundtouch\SoundTouch.vcxproj">
+ <Project>{ec082900-b4d8-42e9-9663-77f02f6936ae}</Project>
</ProjectReference>
<ProjectReference Include="..\Common\Common.vcxproj">
- <Project>{c87a4178-44f6-49b2-b7aa-c79af1b8c534}</Project>
- <Private>true</Private>
- <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
- <CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
- <LinkLibraryDependencies>true</LinkLibraryDependencies>
- <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
+ <Project>{2e6c348c-c75c-4d94-8d1e-9c1fcbf3efe4}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
diff --git a/Source/Core/AudioCommon/AudioCommon.vcxproj.filters b/Source/Core/AudioCommon/AudioCommon.vcxproj.filters
index 30ff35a073..5d0ae6c354 100644
--- a/Source/Core/AudioCommon/AudioCommon.vcxproj.filters
+++ b/Source/Core/AudioCommon/AudioCommon.vcxproj.filters
@@ -1,14 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
+ <Filter Include="SoundStreams">
+ <UniqueIdentifier>{25ec8f16-fc60-4a63-bc3e-ad0272fd5942}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
<ClCompile Include="Src\aldlist.cpp" />
<ClCompile Include="Src\AudioCommon.cpp" />
+ <ClCompile Include="Src\DPL2Decoder.cpp" />
<ClCompile Include="Src\Mixer.cpp" />
<ClCompile Include="Src\WaveFile.cpp" />
- <ClCompile Include="Src\AOSoundStream.cpp">
+ <ClCompile Include="Src\DSoundStream.cpp">
<Filter>SoundStreams</Filter>
</ClCompile>
- <ClCompile Include="Src\DSoundStream.cpp">
+ <ClCompile Include="Src\NullSoundStream.cpp">
<Filter>SoundStreams</Filter>
</ClCompile>
<ClCompile Include="Src\OpenALStream.cpp">
@@ -17,14 +23,15 @@
<ClCompile Include="Src\XAudio2Stream.cpp">
<Filter>SoundStreams</Filter>
</ClCompile>
- <ClCompile Include="Src\NullSoundStream.cpp">
+ <ClCompile Include="Src\stdafx.cpp" />
+ <ClCompile Include="Src\XAudio2_7Stream.cpp">
<Filter>SoundStreams</Filter>
</ClCompile>
- <ClCompile Include="Src\DPL2Decoder.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="Src\aldlist.h" />
<ClInclude Include="Src\AudioCommon.h" />
+ <ClInclude Include="Src\DPL2Decoder.h" />
<ClInclude Include="Src\Mixer.h" />
<ClInclude Include="Src\SoundStream.h" />
<ClInclude Include="Src\WaveFile.h" />
@@ -43,14 +50,24 @@
<ClInclude Include="Src\XAudio2Stream.h">
<Filter>SoundStreams</Filter>
</ClInclude>
- <ClInclude Include="Src\DPL2Decoder.h" />
- </ItemGroup>
- <ItemGroup>
- <None Include="CMakeLists.txt" />
+ <ClInclude Include="Src\stdafx.h" />
+ <ClInclude Include="Src\XAudio2_7Stream.h">
+ <Filter>SoundStreams</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\PulseAudioStream.h">
+ <Filter>SoundStreams</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\OpenSLESStream.h">
+ <Filter>SoundStreams</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\CoreAudioSoundStream.h">
+ <Filter>SoundStreams</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\AlsaSoundStream.h">
+ <Filter>SoundStreams</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
- <Filter Include="SoundStreams">
- <UniqueIdentifier>{efb9f5b5-ab0c-455d-b78b-26df725386af}</UniqueIdentifier>
- </Filter>
+ <Text Include="CMakeLists.txt" />
</ItemGroup>
</Project> \ No newline at end of file
diff --git a/Source/Core/AudioCommon/Src/AOSoundStream.h b/Source/Core/AudioCommon/Src/AOSoundStream.h
index f8fe67b727..1eb762492c 100644
--- a/Source/Core/AudioCommon/Src/AOSoundStream.h
+++ b/Source/Core/AudioCommon/Src/AOSoundStream.h
@@ -42,8 +42,8 @@ public:
return true;
}
- virtual bool usesMixer() const {
- return true;
+ virtual bool usesMixer() const {
+ return true;
}
virtual void Update();
diff --git a/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp b/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp
index 2ccf4d22ae..4c84ae69e1 100644
--- a/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp
+++ b/Source/Core/AudioCommon/Src/AlsaSoundStream.cpp
@@ -57,7 +57,7 @@ void AlsaSound::SoundLoop()
// Underrun
snd_pcm_prepare(handle);
}
- else if (rc < 0)
+ else if (rc < 0)
{
ERROR_LOG(AUDIO, "writei fail: %s", snd_strerror(rc));
}
@@ -77,7 +77,7 @@ bool AlsaSound::AlsaInit()
unsigned int periods;
err = snd_pcm_open(&handle, "default", SND_PCM_STREAM_PLAYBACK, 0);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "Audio open error: %s\n", snd_strerror(err));
return false;
@@ -86,21 +86,21 @@ bool AlsaSound::AlsaInit()
snd_pcm_hw_params_alloca(&hwparams);
err = snd_pcm_hw_params_any(handle, hwparams);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "Broken configuration for this PCM: %s\n", snd_strerror(err));
return false;
}
-
+
err = snd_pcm_hw_params_set_access(handle, hwparams, SND_PCM_ACCESS_RW_INTERLEAVED);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "Access type not available: %s\n", snd_strerror(err));
return false;
}
err = snd_pcm_hw_params_set_format(handle, hwparams, SND_PCM_FORMAT_S16_LE);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "Sample format not available: %s\n", snd_strerror(err));
return false;
@@ -108,14 +108,14 @@ bool AlsaSound::AlsaInit()
dir = 0;
err = snd_pcm_hw_params_set_rate_near(handle, hwparams, &sample_rate, &dir);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "Rate not available: %s\n", snd_strerror(err));
return false;
}
err = snd_pcm_hw_params_set_channels(handle, hwparams, 2);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "Channels count not available: %s\n", snd_strerror(err));
return false;
@@ -123,7 +123,7 @@ bool AlsaSound::AlsaInit()
periods = BUFFER_SIZE_MAX / FRAME_COUNT_MIN;
err = snd_pcm_hw_params_set_periods_max(handle, hwparams, &periods, &dir);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "Cannot set Minimum periods: %s\n", snd_strerror(err));
return false;
@@ -131,34 +131,34 @@ bool AlsaSound::AlsaInit()
buffer_size_max = BUFFER_SIZE_MAX;
err = snd_pcm_hw_params_set_buffer_size_max(handle, hwparams, &buffer_size_max);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "Cannot set minimum buffer size: %s\n", snd_strerror(err));
return false;
}
err = snd_pcm_hw_params(handle, hwparams);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "Unable to install hw params: %s\n", snd_strerror(err));
return false;
}
err = snd_pcm_hw_params_get_buffer_size(hwparams, &buffer_size);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "Cannot get buffer size: %s\n", snd_strerror(err));
return false;
}
err = snd_pcm_hw_params_get_periods_max(hwparams, &periods, &dir);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "Cannot get periods: %s\n", snd_strerror(err));
return false;
}
- //periods is the number of fragments alsa can wait for during one
+ //periods is the number of fragments alsa can wait for during one
//buffer_size
frames_to_deliver = buffer_size / periods;
//limit the minimum size. pulseaudio advertises a minimum of 32 samples.
@@ -172,28 +172,28 @@ bool AlsaSound::AlsaInit()
snd_pcm_sw_params_alloca(&swparams);
err = snd_pcm_sw_params_current(handle, swparams);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "cannot init sw params: %s\n", snd_strerror(err));
return false;
}
err = snd_pcm_sw_params_set_start_threshold(handle, swparams, 0U);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "cannot set start thresh: %s\n", snd_strerror(err));
return false;
}
err = snd_pcm_sw_params(handle, swparams);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "cannot set sw params: %s\n", snd_strerror(err));
return false;
}
err = snd_pcm_prepare(handle);
- if (err < 0)
+ if (err < 0)
{
ERROR_LOG(AUDIO, "Unable to prepare: %s\n", snd_strerror(err));
return false;
diff --git a/Source/Core/AudioCommon/Src/AlsaSoundStream.h b/Source/Core/AudioCommon/Src/AlsaSoundStream.h
index 47c9e7ae82..56ab4176b9 100644
--- a/Source/Core/AudioCommon/Src/AlsaSoundStream.h
+++ b/Source/Core/AudioCommon/Src/AlsaSoundStream.h
@@ -28,8 +28,8 @@ public:
static bool isValid() {
return true;
}
- virtual bool usesMixer() const {
- return true;
+ virtual bool usesMixer() const {
+ return true;
}
virtual void Update();
diff --git a/Source/Core/AudioCommon/Src/AudioCommon.cpp b/Source/Core/AudioCommon/Src/AudioCommon.cpp
index 8b343aa493..c8c37ea891 100644
--- a/Source/Core/AudioCommon/Src/AudioCommon.cpp
+++ b/Source/Core/AudioCommon/Src/AudioCommon.cpp
@@ -7,6 +7,7 @@
#include "Mixer.h"
#include "NullSoundStream.h"
#include "DSoundStream.h"
+#include "XAudio2_7Stream.h"
#include "XAudio2Stream.h"
#include "AOSoundStream.h"
#include "AlsaSoundStream.h"
@@ -18,34 +19,47 @@
#include "../../Core/Src/ConfigManager.h"
// This shouldn't be a global, at least not here.
-SoundStream *soundStream;
+SoundStream *soundStream = nullptr;
namespace AudioCommon
-{
- SoundStream *InitSoundStream(CMixer *mixer, void *hWnd)
+{
+ SoundStream *InitSoundStream(CMixer *mixer, void *hWnd)
{
// TODO: possible memleak with mixer
std::string backend = SConfig::GetInstance().sBackend;
- if (backend == BACKEND_OPENAL && OpenALStream::isValid())
+ if (backend == BACKEND_OPENAL && OpenALStream::isValid())
soundStream = new OpenALStream(mixer);
- else if (backend == BACKEND_NULLSOUND && NullSound::isValid())
- soundStream = new NullSound(mixer, hWnd);
- else if (backend == BACKEND_DIRECTSOUND && DSound::isValid())
+ else if (backend == BACKEND_NULLSOUND && NullSound::isValid())
+ soundStream = new NullSound(mixer);
+ else if (backend == BACKEND_DIRECTSOUND && DSound::isValid())
soundStream = new DSound(mixer, hWnd);
- else if (backend == BACKEND_XAUDIO2 && XAudio2::isValid())
- soundStream = new XAudio2(mixer);
- else if (backend == BACKEND_AOSOUND && AOSound::isValid())
+ else if (backend == BACKEND_XAUDIO2)
+ {
+ if (XAudio2::isValid())
+ soundStream = new XAudio2(mixer);
+ else if (XAudio2_7::isValid())
+ soundStream = new XAudio2_7(mixer);
+ }
+ else if (backend == BACKEND_AOSOUND && AOSound::isValid())
soundStream = new AOSound(mixer);
else if (backend == BACKEND_ALSA && AlsaSound::isValid())
soundStream = new AlsaSound(mixer);
- else if (backend == BACKEND_COREAUDIO && CoreAudioSound::isValid())
+ else if (backend == BACKEND_COREAUDIO && CoreAudioSound::isValid())
soundStream = new CoreAudioSound(mixer);
else if (backend == BACKEND_PULSEAUDIO && PulseAudio::isValid())
soundStream = new PulseAudio(mixer);
else if (backend == BACKEND_OPENSLES && OpenSLESStream::isValid())
soundStream = new OpenSLESStream(mixer);
- if (soundStream != NULL)
+
+ if (!soundStream && NullSound::isValid())
+ {
+ WARN_LOG(DSPHLE, "Could not initialize backend %s, using %s instead.",
+ backend.c_str(), BACKEND_NULLSOUND);
+ soundStream = new NullSound(mixer);
+ }
+
+ if (soundStream)
{
UpdateSoundStream();
if (soundStream->Start())
@@ -61,31 +75,32 @@ namespace AudioCommon
}
PanicAlertT("Could not initialize backend %s.", backend.c_str());
}
+
PanicAlertT("Sound backend %s is not valid.", backend.c_str());
delete soundStream;
- soundStream = NULL;
- return NULL;
+ soundStream = nullptr;
+ return nullptr;
}
- void ShutdownSoundStream()
+ void ShutdownSoundStream()
{
INFO_LOG(DSPHLE, "Shutting down sound stream");
- if (soundStream)
+ if (soundStream)
{
soundStream->Stop();
if (SConfig::GetInstance().m_DumpAudio)
soundStream->GetMixer()->StopLogAudio();
//soundStream->StopLogAudio();
delete soundStream;
- soundStream = NULL;
+ soundStream = nullptr;
}
- INFO_LOG(DSPHLE, "Done shutting down sound stream");
+ INFO_LOG(DSPHLE, "Done shutting down sound stream");
}
- std::vector<std::string> GetSoundBackends()
+ std::vector<std::string> GetSoundBackends()
{
std::vector<std::string> backends;
@@ -93,7 +108,7 @@ namespace AudioCommon
backends.push_back(BACKEND_NULLSOUND);
if (DSound::isValid())
backends.push_back(BACKEND_DIRECTSOUND);
- if (XAudio2::isValid())
+ if (XAudio2_7::isValid() || XAudio2::isValid())
backends.push_back(BACKEND_XAUDIO2);
if (AOSound::isValid())
backends.push_back(BACKEND_AOSOUND);
@@ -110,7 +125,7 @@ namespace AudioCommon
return backends;
}
- bool UseJIT()
+ bool UseJIT()
{
if (!Movie::IsDSPHLE() && Movie::IsPlayingInput() && Movie::IsConfigSaved())
{
diff --git a/Source/Core/AudioCommon/Src/AudioCommon.h b/Source/Core/AudioCommon/Src/AudioCommon.h
index cd1896396e..9c49293a48 100644
--- a/Source/Core/AudioCommon/Src/AudioCommon.h
+++ b/Source/Core/AudioCommon/Src/AudioCommon.h
@@ -38,7 +38,7 @@ union UDSPControl
UDSPControl(u16 _Hex = 0) : Hex(_Hex) {}
};
-namespace AudioCommon
+namespace AudioCommon
{
SoundStream *InitSoundStream(CMixer *mixer, void *hWnd);
void ShutdownSoundStream();
diff --git a/Source/Core/AudioCommon/Src/DSoundStream.cpp b/Source/Core/AudioCommon/Src/DSoundStream.cpp
index 41a1dd9951..c5d2e3afb8 100644
--- a/Source/Core/AudioCommon/Src/DSoundStream.cpp
+++ b/Source/Core/AudioCommon/Src/DSoundStream.cpp
@@ -6,7 +6,6 @@
#include <functional>
#include <windows.h>
-#include <dxerr.h>
#include "AudioCommon.h"
#include "DSoundStream.h"
@@ -43,7 +42,7 @@ bool DSound::CreateBuffer()
else
{
// Failed.
- PanicAlertT("Sound buffer creation failed: %s", DXGetErrorString(res));
+ PanicAlertT("Sound buffer creation failed: %08x", res);
dsBuffer = NULL;
return false;
}
diff --git a/Source/Core/AudioCommon/Src/DSoundStream.h b/Source/Core/AudioCommon/Src/DSoundStream.h
index 6145ea62e9..a872e79181 100644
--- a/Source/Core/AudioCommon/Src/DSoundStream.h
+++ b/Source/Core/AudioCommon/Src/DSoundStream.h
@@ -9,6 +9,7 @@
#include "Thread.h"
#ifdef _WIN32
+#include <Windows.h>
#include <mmsystem.h>
#include <dsound.h>
@@ -47,7 +48,7 @@ class DSound : public SoundStream
bool WriteDataToBuffer(DWORD dwOffset, char* soundData, DWORD dwSoundBytes);
public:
- DSound(CMixer *mixer, void *_hWnd = NULL)
+ DSound(CMixer *mixer, void *_hWnd)
: SoundStream(mixer)
, bufferSize(0)
, currentPos(0)
@@ -58,7 +59,7 @@ public:
{}
virtual ~DSound() {}
-
+
virtual bool Start();
virtual void SoundLoop();
virtual void SetVolume(int volume);
@@ -70,7 +71,7 @@ public:
#else
public:
- DSound(CMixer *mixer, void *hWnd = NULL)
+ DSound(CMixer *mixer, void *_hWnd)
: SoundStream(mixer)
{}
#endif
diff --git a/Source/Core/AudioCommon/Src/Mixer.cpp b/Source/Core/AudioCommon/Src/Mixer.cpp
index fb29f4902f..61b4604dc1 100644
--- a/Source/Core/AudioCommon/Src/Mixer.cpp
+++ b/Source/Core/AudioCommon/Src/Mixer.cpp
@@ -52,7 +52,7 @@ unsigned int CMixer::Mix(short* samples, unsigned int numSamples)
// interpolation loop.
u32 indexR = Common::AtomicLoad(m_indexR);
u32 indexW = Common::AtomicLoad(m_indexW);
-
+
if (m_AIplaying) {
numLeft = (numLeft > numSamples) ? numSamples : numLeft;
@@ -125,8 +125,8 @@ unsigned int CMixer::Mix(short* samples, unsigned int numSamples)
*(u32*)(samples+i) = *(u32*)(s);
// memset(&samples[numLeft * 2], 0, (numSamples - numLeft) * 4);
}
-
- // Flush cached variable
+
+ // Flush cached variable
Common::AtomicStore(m_indexR, indexR);
//when logging, also throttle HLE audio
@@ -158,13 +158,13 @@ void CMixer::PushSamples(const short *samples, unsigned int num_samples)
// indexR isn't allowed to cache in the audio throttling loop as it
// needs to get updates to not deadlock.
u32 indexW = Common::AtomicLoad(m_indexW);
-
+
if (m_throttle)
{
// The auto throttle function. This loop will put a ceiling on the CPU MHz.
while (num_samples * 2 + ((indexW - Common::AtomicLoad(m_indexR)) & INDEX_MASK) >= MAX_SAMPLES * 2)
{
- if (*PowerPC::GetStatePtr() != PowerPC::CPU_RUNNING || soundStream->IsMuted())
+ if (*PowerPC::GetStatePtr() != PowerPC::CPU_RUNNING || soundStream->IsMuted())
break;
// Shortcut key for Throttle Skipping
if (Host_GetKeyState('\t'))
@@ -192,9 +192,9 @@ void CMixer::PushSamples(const short *samples, unsigned int num_samples)
{
memcpy(&m_buffer[indexW & INDEX_MASK], samples, num_samples * 4);
}
-
+
Common::AtomicAdd(m_indexW, num_samples * 2);
-
+
return;
}
@@ -206,7 +206,7 @@ unsigned int CMixer::GetNumSamples()
// We also can't say the current interpolation state (specially
// the frac), so to be sure, subtract one again to be sure not
// to underflow the fifo.
-
+
u32 numSamples = ((Common::AtomicLoad(m_indexW) - Common::AtomicLoad(m_indexR)) & INDEX_MASK) / 2;
if (AudioInterface::GetAIDSampleRate() == m_sampleRate)
diff --git a/Source/Core/AudioCommon/Src/Mixer.h b/Source/Core/AudioCommon/Src/Mixer.h
index 6d797d5c3e..144d22a183 100644
--- a/Source/Core/AudioCommon/Src/Mixer.h
+++ b/Source/Core/AudioCommon/Src/Mixer.h
@@ -14,7 +14,7 @@
#define RESERVED_SAMPLES (256)
class CMixer {
-
+
public:
CMixer(unsigned int AISampleRate = 48000, unsigned int DACSampleRate = 48000, unsigned int BackendSampleRate = 32000)
: m_aiSampleRate(AISampleRate)
@@ -89,7 +89,7 @@ protected:
int m_channels;
WaveFileWriter g_wave_writer;
-
+
bool m_HLEready;
bool m_logAudio;
diff --git a/Source/Core/AudioCommon/Src/NullSoundStream.h b/Source/Core/AudioCommon/Src/NullSoundStream.h
index b82a584cde..aade06b9ac 100644
--- a/Source/Core/AudioCommon/Src/NullSoundStream.h
+++ b/Source/Core/AudioCommon/Src/NullSoundStream.h
@@ -16,7 +16,7 @@ class NullSound : public SoundStream
short realtimeBuffer[BUF_SIZE / sizeof(short)];
public:
- NullSound(CMixer *mixer, void *hWnd = NULL)
+ NullSound(CMixer *mixer)
: SoundStream(mixer)
{}
diff --git a/Source/Core/AudioCommon/Src/OpenALStream.h b/Source/Core/AudioCommon/Src/OpenALStream.h
index 488f0d0df4..bccf3bd824 100644
--- a/Source/Core/AudioCommon/Src/OpenALStream.h
+++ b/Source/Core/AudioCommon/Src/OpenALStream.h
@@ -48,9 +48,9 @@ public:
OpenALStream(CMixer *mixer, void *hWnd = NULL)
: SoundStream(mixer)
, uiSource(0)
- {};
+ {}
- virtual ~OpenALStream() {};
+ virtual ~OpenALStream() {}
virtual bool Start();
virtual void SoundLoop();
@@ -74,7 +74,9 @@ private:
u8 numBuffers;
#else
public:
- OpenALStream(CMixer *mixer, void *hWnd = NULL): SoundStream(mixer) {}
+ OpenALStream(CMixer *mixer)
+ : SoundStream(mixer)
+ {}
#endif // HAVE_OPENAL
};
diff --git a/Source/Core/AudioCommon/Src/OpenSLESStream.cpp b/Source/Core/AudioCommon/Src/OpenSLESStream.cpp
index 26391d5d72..67e77a4d86 100644
--- a/Source/Core/AudioCommon/Src/OpenSLESStream.cpp
+++ b/Source/Core/AudioCommon/Src/OpenSLESStream.cpp
@@ -21,7 +21,7 @@ static SLPlayItf bqPlayerPlay;
static SLAndroidSimpleBufferQueueItf bqPlayerBufferQueue;
static SLMuteSoloItf bqPlayerMuteSolo;
static SLVolumeItf bqPlayerVolume;
-static CMixer *g_mixer;
+static CMixer *g_mixer;
#define BUFFER_SIZE 512
#define BUFFER_SIZE_IN_SAMPLES (BUFFER_SIZE / 2)
diff --git a/Source/Core/AudioCommon/Src/PulseAudioStream.h b/Source/Core/AudioCommon/Src/PulseAudioStream.h
index 62b7e86f82..8be8eae11d 100644
--- a/Source/Core/AudioCommon/Src/PulseAudioStream.h
+++ b/Source/Core/AudioCommon/Src/PulseAudioStream.h
@@ -24,7 +24,7 @@ public:
PulseAudio(CMixer *mixer);
virtual bool Start();
- virtual void Stop();
+ virtual void Stop();
static bool isValid() {return true;}
diff --git a/Source/Core/AudioCommon/Src/SoundStream.h b/Source/Core/AudioCommon/Src/SoundStream.h
index 855a0cc4f0..b7b0b20a58 100644
--- a/Source/Core/AudioCommon/Src/SoundStream.h
+++ b/Source/Core/AudioCommon/Src/SoundStream.h
@@ -21,11 +21,11 @@ protected:
WaveFileWriter g_wave_writer;
bool m_muted;
-public:
- SoundStream(CMixer *mixer) : m_mixer(mixer), threadData(0), m_logAudio(false), m_muted(false) {}
- virtual ~SoundStream() { delete m_mixer;}
+public:
+ SoundStream(CMixer *mixer) : m_mixer(mixer), threadData(0), m_logAudio(false), m_muted(false) {}
+ virtual ~SoundStream() { delete m_mixer; }
- static bool isValid() { return false; }
+ static bool isValid() { return false; }
virtual CMixer *GetMixer() const { return m_mixer; }
virtual bool Start() { return false; }
virtual void SetVolume(int) {}
diff --git a/Source/Core/AudioCommon/Src/WaveFile.cpp b/Source/Core/AudioCommon/Src/WaveFile.cpp
index 7eabbb3b48..6443d1c112 100644
--- a/Source/Core/AudioCommon/Src/WaveFile.cpp
+++ b/Source/Core/AudioCommon/Src/WaveFile.cpp
@@ -121,7 +121,7 @@ void WaveFileWriter::AddStereoSamplesBE(const short *sample_data, u32 count)
if (count > BUF_SIZE * 2)
PanicAlert("WaveFileWriter - buffer too small (count = %u).", count);
- if (skip_silence)
+ if (skip_silence)
{
bool all_zero = true;
diff --git a/Source/Core/AudioCommon/Src/XAudio2Stream.cpp b/Source/Core/AudioCommon/Src/XAudio2Stream.cpp
index 59a826365c..8c8a2253d0 100644
--- a/Source/Core/AudioCommon/Src/XAudio2Stream.cpp
+++ b/Source/Core/AudioCommon/Src/XAudio2Stream.cpp
@@ -2,9 +2,42 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
+#include <xaudio2.h>
#include "AudioCommon.h"
#include "XAudio2Stream.h"
+#ifndef XAUDIO2_DLL
+#error You are building this module against the wrong version of DirectX. You probably need to remove DXSDK_DIR from your include path.
+#endif
+
+struct StreamingVoiceContext : public IXAudio2VoiceCallback
+{
+private:
+ CMixer* const m_mixer;
+ Common::Event& m_sound_sync_event;
+ IXAudio2SourceVoice* m_source_voice;
+ std::unique_ptr<BYTE[]> xaudio_buffer;
+
+ void SubmitBuffer(PBYTE buf_data);
+
+public:
+ StreamingVoiceContext(IXAudio2 *pXAudio2, CMixer *pMixer, Common::Event& pSyncEvent);
+
+ ~StreamingVoiceContext();
+
+ void StreamingVoiceContext::Stop();
+ void StreamingVoiceContext::Play();
+
+ STDMETHOD_(void, OnVoiceError) (THIS_ void* pBufferContext, HRESULT Error) {}
+ STDMETHOD_(void, OnVoiceProcessingPassStart) (UINT32) {}
+ STDMETHOD_(void, OnVoiceProcessingPassEnd) () {}
+ STDMETHOD_(void, OnBufferStart) (void*) {}
+ STDMETHOD_(void, OnLoopEnd) (void*) {}
+ STDMETHOD_(void, OnStreamEnd) () {}
+
+ STDMETHOD_(void, OnBufferEnd) (void* context);
+};
+
const int NUM_BUFFERS = 3;
const int SAMPLES_PER_BUFFER = 96;
@@ -90,13 +123,59 @@ void StreamingVoiceContext::OnBufferEnd(void* context)
SubmitBuffer(static_cast<BYTE*>(context));
}
+HMODULE XAudio2::m_xaudio2_dll = nullptr;
+typedef decltype(&XAudio2Create) XAudio2Create_t;
+void *XAudio2::PXAudio2Create = nullptr;
+
+bool XAudio2::InitLibrary()
+{
+ if (m_xaudio2_dll)
+ {
+ return true;
+ }
+
+ m_xaudio2_dll = ::LoadLibrary(XAUDIO2_DLL);
+ if (!m_xaudio2_dll)
+ {
+ return false;
+ }
+
+ if (!PXAudio2Create)
+ {
+ PXAudio2Create = (XAudio2Create_t)::GetProcAddress(m_xaudio2_dll, "XAudio2Create");
+ if (!PXAudio2Create)
+ {
+ ::FreeLibrary(m_xaudio2_dll);
+ m_xaudio2_dll = nullptr;
+ return false;
+ }
+ }
+
+ return true;
+}
+
+XAudio2::XAudio2(CMixer *mixer)
+ : SoundStream(mixer)
+ , m_mastering_voice(nullptr)
+ , m_volume(1.0f)
+ , m_cleanup_com(SUCCEEDED(CoInitializeEx(NULL, COINIT_MULTITHREADED)))
+{
+}
+
+XAudio2::~XAudio2()
+{
+ Stop();
+ if (m_cleanup_com)
+ CoUninitialize();
+}
+
bool XAudio2::Start()
{
HRESULT hr;
// callback doesn't seem to run on a specific cpu anyways
IXAudio2* xaudptr;
- if (FAILED(hr = XAudio2Create(&xaudptr, 0, XAUDIO2_DEFAULT_PROCESSOR)))
+ if (FAILED(hr = ((XAudio2Create_t)PXAudio2Create)(&xaudptr, 0, XAUDIO2_DEFAULT_PROCESSOR)))
{
PanicAlertT("XAudio2 init failed: %#X", hr);
Stop();
@@ -172,4 +251,11 @@ void XAudio2::Stop()
}
m_xaudio2.reset(); // release interface
+
+ if (m_xaudio2_dll)
+ {
+ ::FreeLibrary(m_xaudio2_dll);
+ m_xaudio2_dll = nullptr;
+ PXAudio2Create = nullptr;
+ }
}
diff --git a/Source/Core/AudioCommon/Src/XAudio2Stream.h b/Source/Core/AudioCommon/Src/XAudio2Stream.h
index 4310a46435..d85aafc4f7 100644
--- a/Source/Core/AudioCommon/Src/XAudio2Stream.h
+++ b/Source/Core/AudioCommon/Src/XAudio2Stream.h
@@ -2,43 +2,21 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
-#ifndef _XAUDIO2STREAM_H_
-#define _XAUDIO2STREAM_H_
+// This audio backend uses XAudio2 via XAUDIO2_DLL
+// It works on Windows 8+, where it is included as an OS component.
+// This backend is always compiled, but only available if running on Win8+
-#include "SoundStream.h"
+#pragma once
-#ifdef _WIN32
-#include "Thread.h"
-#include <xaudio2.h>
#include <memory>
+#include "Thread.h"
+#include "SoundStream.h"
-struct StreamingVoiceContext : public IXAudio2VoiceCallback
-{
-private:
- CMixer* const m_mixer;
- Common::Event& m_sound_sync_event;
- IXAudio2SourceVoice* m_source_voice;
- std::unique_ptr<BYTE[]> xaudio_buffer;
-
- void SubmitBuffer(PBYTE buf_data);
+#ifdef _WIN32
-public:
- StreamingVoiceContext(IXAudio2 *pXAudio2, CMixer *pMixer, Common::Event& pSyncEvent);
-
- ~StreamingVoiceContext();
-
- void StreamingVoiceContext::Stop();
- void StreamingVoiceContext::Play();
-
- STDMETHOD_(void, OnVoiceError) (THIS_ void* pBufferContext, HRESULT Error) {}
- STDMETHOD_(void, OnVoiceProcessingPassStart) (UINT32) {}
- STDMETHOD_(void, OnVoiceProcessingPassEnd) () {}
- STDMETHOD_(void, OnBufferStart) (void*) {}
- STDMETHOD_(void, OnLoopEnd) (void*) {}
- STDMETHOD_(void, OnStreamEnd) () {}
-
- STDMETHOD_(void, OnBufferEnd) (void* context);
-};
+struct StreamingVoiceContext;
+struct IXAudio2;
+struct IXAudio2MasteringVoice;
#endif
@@ -46,6 +24,7 @@ class XAudio2 : public SoundStream
{
#ifdef _WIN32
+private:
class Releaser
{
public:
@@ -56,7 +35,6 @@ class XAudio2 : public SoundStream
}
};
-private:
std::unique_ptr<IXAudio2, Releaser> m_xaudio2;
std::unique_ptr<StreamingVoiceContext> m_voice_context;
IXAudio2MasteringVoice *m_mastering_voice;
@@ -66,21 +44,15 @@ private:
const bool m_cleanup_com;
+ static HMODULE m_xaudio2_dll;
+ static void *PXAudio2Create;
+
+ static bool InitLibrary();
+
public:
- XAudio2(CMixer *mixer)
- : SoundStream(mixer)
- , m_mastering_voice(nullptr)
- , m_volume(1.0f)
- , m_cleanup_com(SUCCEEDED(CoInitializeEx(NULL, COINIT_MULTITHREADED)))
- {}
+ XAudio2(CMixer *mixer);
+ virtual ~XAudio2();
- virtual ~XAudio2()
- {
- Stop();
- if (m_cleanup_com)
- CoUninitialize();
- }
-
virtual bool Start();
virtual void Stop();
@@ -89,15 +61,14 @@ public:
virtual void SetVolume(int volume);
virtual bool usesMixer() const { return true; }
- static bool isValid() { return true; }
+ static bool isValid() { return InitLibrary(); }
#else
public:
- XAudio2(CMixer *mixer, void *hWnd = NULL)
+ XAudio2(CMixer *mixer)
: SoundStream(mixer)
{}
+
#endif
};
-
-#endif //_XAUDIO2STREAM_H_
diff --git a/Source/Core/AudioCommon/Src/XAudio2_7Stream.cpp b/Source/Core/AudioCommon/Src/XAudio2_7Stream.cpp
new file mode 100644
index 0000000000..782a29a301
--- /dev/null
+++ b/Source/Core/AudioCommon/Src/XAudio2_7Stream.cpp
@@ -0,0 +1,289 @@
+// Copyright 2013 Dolphin Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+// Note that this file *and this file only* must also have %DXSDK_DIR%/Include prepended
+// to its include path in order fetch dxsdkver.h and XAudio2.h from the DXSDK
+// instead of other possible places. This may be accomplished by adding the path to
+// the AdditionalIncludeDirectories for this file via msbuild.
+
+#include "AudioCommon.h"
+#include "XAudio2_7Stream.h"
+
+#ifdef HAVE_DXSDK
+#include <dxsdkver.h>
+#if (_DXSDK_PRODUCT_MAJOR == 9) && (_DXSDK_PRODUCT_MINOR == 29) && (_DXSDK_BUILD_MAJOR == 1962) && (_DXSDK_BUILD_MINOR == 0)
+#define HAVE_DXSDK_JUNE_2010
+#else
+#pragma message("You have DirectX SDK installed, but it is not the expected version (June 2010). Update it to build this module.")
+#endif
+#endif
+
+#ifdef HAVE_DXSDK_JUNE_2010
+
+#include <XAudio2.h>
+
+struct StreamingVoiceContext2_7 : public IXAudio2VoiceCallback
+{
+private:
+ CMixer* const m_mixer;
+ Common::Event& m_sound_sync_event;
+ IXAudio2SourceVoice* m_source_voice;
+ std::unique_ptr<BYTE[]> xaudio_buffer;
+
+ void SubmitBuffer(PBYTE buf_data);
+
+public:
+ StreamingVoiceContext2_7(IXAudio2 *pXAudio2, CMixer *pMixer, Common::Event& pSyncEvent);
+
+ ~StreamingVoiceContext2_7();
+
+ void StreamingVoiceContext2_7::Stop();
+ void StreamingVoiceContext2_7::Play();
+
+ STDMETHOD_(void, OnVoiceError) (THIS_ void* pBufferContext, HRESULT Error) {}
+ STDMETHOD_(void, OnVoiceProcessingPassStart) (UINT32) {}
+ STDMETHOD_(void, OnVoiceProcessingPassEnd) () {}
+ STDMETHOD_(void, OnBufferStart) (void*) {}
+ STDMETHOD_(void, OnLoopEnd) (void*) {}
+ STDMETHOD_(void, OnStreamEnd) () {}
+
+ STDMETHOD_(void, OnBufferEnd) (void* context);
+};
+
+const int NUM_BUFFERS = 3;
+const int SAMPLES_PER_BUFFER = 96;
+
+const int NUM_CHANNELS = 2;
+const int BUFFER_SIZE = SAMPLES_PER_BUFFER * NUM_CHANNELS;
+const int BUFFER_SIZE_BYTES = BUFFER_SIZE * sizeof(s16);
+
+void StreamingVoiceContext2_7::SubmitBuffer(PBYTE buf_data)
+{
+ XAUDIO2_BUFFER buf = {};
+ buf.AudioBytes = BUFFER_SIZE_BYTES;
+ buf.pContext = buf_data;
+ buf.pAudioData = buf_data;
+
+ m_source_voice->SubmitSourceBuffer(&buf);
+}
+
+StreamingVoiceContext2_7::StreamingVoiceContext2_7(IXAudio2 *pXAudio2, CMixer *pMixer, Common::Event& pSyncEvent)
+ : m_mixer(pMixer)
+ , m_sound_sync_event(pSyncEvent)
+ , xaudio_buffer(new BYTE[NUM_BUFFERS * BUFFER_SIZE_BYTES]())
+{
+ WAVEFORMATEXTENSIBLE wfx = {};
+
+ wfx.Format.wFormatTag = WAVE_FORMAT_EXTENSIBLE;
+ wfx.Format.nSamplesPerSec = m_mixer->GetSampleRate();
+ wfx.Format.nChannels = 2;
+ wfx.Format.wBitsPerSample = 16;
+ wfx.Format.nBlockAlign = wfx.Format.nChannels*wfx.Format.wBitsPerSample / 8;
+ wfx.Format.nAvgBytesPerSec = wfx.Format.nSamplesPerSec * wfx.Format.nBlockAlign;
+ wfx.Format.cbSize = sizeof(WAVEFORMATEXTENSIBLE) - sizeof(WAVEFORMATEX);
+ wfx.Samples.wValidBitsPerSample = 16;
+ wfx.dwChannelMask = SPEAKER_FRONT_LEFT | SPEAKER_FRONT_RIGHT;
+ wfx.SubFormat = KSDATAFORMAT_SUBTYPE_PCM;
+
+ // create source voice
+ HRESULT hr;
+ if (FAILED(hr = pXAudio2->CreateSourceVoice(&m_source_voice, &wfx.Format, XAUDIO2_VOICE_NOSRC, 1.0f, this)))
+ {
+ PanicAlertT("XAudio2_7 CreateSourceVoice failed: %#X", hr);
+ return;
+ }
+
+ m_source_voice->Start();
+
+ // start buffers with silence
+ for (int i = 0; i != NUM_BUFFERS; ++i)
+ SubmitBuffer(xaudio_buffer.get() + (i * BUFFER_SIZE_BYTES));
+}
+
+StreamingVoiceContext2_7::~StreamingVoiceContext2_7()
+{
+ if (m_source_voice)
+ {
+ m_source_voice->Stop();
+ m_source_voice->DestroyVoice();
+ }
+}
+
+void StreamingVoiceContext2_7::Stop()
+{
+ if (m_source_voice)
+ m_source_voice->Stop();
+}
+
+void StreamingVoiceContext2_7::Play()
+{
+ if (m_source_voice)
+ m_source_voice->Start();
+}
+
+void StreamingVoiceContext2_7::OnBufferEnd(void* context)
+{
+ // buffer end callback; gets SAMPLES_PER_BUFFER samples for a new buffer
+
+ if (!m_source_voice || !context)
+ return;
+
+ //m_sound_sync_event->Wait(); // sync
+ //m_sound_sync_event->Spin(); // or tight sync
+
+ m_mixer->Mix(static_cast<short*>(context), SAMPLES_PER_BUFFER);
+ SubmitBuffer(static_cast<BYTE*>(context));
+}
+
+HMODULE XAudio2_7::m_xaudio2_dll = nullptr;
+
+void XAudio2_7::ReleaseIXAudio2(IXAudio2* ptr)
+{
+ ptr->Release();
+}
+
+bool XAudio2_7::InitLibrary()
+{
+ if (m_xaudio2_dll)
+ {
+ return true;
+ }
+
+ m_xaudio2_dll = ::LoadLibrary(TEXT("xaudio2_7.dll"));
+
+ return m_xaudio2_dll != nullptr;
+}
+
+XAudio2_7::XAudio2_7(CMixer *mixer)
+ : SoundStream(mixer)
+ , m_mastering_voice(nullptr)
+ , m_volume(1.0f)
+ , m_cleanup_com(SUCCEEDED(CoInitializeEx(NULL, COINIT_MULTITHREADED)))
+{
+}
+
+XAudio2_7::~XAudio2_7()
+{
+ Stop();
+ if (m_cleanup_com)
+ CoUninitialize();
+}
+
+bool XAudio2_7::Start()
+{
+ HRESULT hr;
+
+ // callback doesn't seem to run on a specific cpu anyways
+ IXAudio2* xaudptr;
+ if (FAILED(hr = XAudio2Create(&xaudptr, 0, XAUDIO2_DEFAULT_PROCESSOR)))
+ {
+ PanicAlertT("XAudio2_7 init failed: %#X", hr);
+ Stop();
+ return false;
+ }
+ m_xaudio2 = std::unique_ptr<IXAudio2, Releaser>(xaudptr);
+
+ // XAudio2 master voice
+ // XAUDIO2_DEFAULT_CHANNELS instead of 2 for expansion?
+ if (FAILED(hr = m_xaudio2->CreateMasteringVoice(&m_mastering_voice, 2, m_mixer->GetSampleRate())))
+ {
+ PanicAlertT("XAudio2_7 master voice creation failed: %#X", hr);
+ Stop();
+ return false;
+ }
+
+ // Volume
+ m_mastering_voice->SetVolume(m_volume);
+
+ m_voice_context = std::unique_ptr<StreamingVoiceContext2_7>
+ (new StreamingVoiceContext2_7(m_xaudio2.get(), m_mixer, m_sound_sync_event));
+
+ return true;
+}
+
+void XAudio2_7::SetVolume(int volume)
+{
+ //linear 1- .01
+ m_volume = (float)volume / 100.f;
+
+ if (m_mastering_voice)
+ m_mastering_voice->SetVolume(m_volume);
+}
+
+void XAudio2_7::Update()
+{
+ //m_sound_sync_event.Set();
+
+ //static int xi = 0;
+ //if (100000 == ++xi)
+ //{
+ // xi = 0;
+ // XAUDIO2_PERFORMANCE_DATA perfData;
+ // pXAudio2->GetPerformanceData(&perfData);
+ // NOTICE_LOG(DSPHLE, "XAudio2_7 latency (samples): %i", perfData.CurrentLatencyInSamples);
+ // NOTICE_LOG(DSPHLE, "XAudio2_7 total glitches: %i", perfData.GlitchesSinceEngineStarted);
+ //}
+}
+
+void XAudio2_7::Clear(bool mute)
+{
+ m_muted = mute;
+
+ if (m_voice_context)
+ {
+ if (m_muted)
+ m_voice_context->Stop();
+ else
+ m_voice_context->Play();
+ }
+}
+
+void XAudio2_7::Stop()
+{
+ //m_sound_sync_event.Set();
+
+ m_voice_context.reset();
+
+ if (m_mastering_voice)
+ {
+ m_mastering_voice->DestroyVoice();
+ m_mastering_voice = nullptr;
+ }
+
+ m_xaudio2.reset(); // release interface
+
+ if (m_xaudio2_dll)
+ {
+ ::FreeLibrary(m_xaudio2_dll);
+ m_xaudio2_dll = nullptr;
+ }
+}
+
+bool XAudio2_7::usesMixer() const { return true; }
+
+#else
+
+struct StreamingVoiceContext2_7 {};
+struct IXAudio2 {};
+struct IXAudio2MasteringVoice {};
+void XAudio2_7::ReleaseIXAudio2(IXAudio2* ptr) {}
+
+XAudio2_7::XAudio2_7(CMixer *mixer)
+ : SoundStream(mixer)
+ , m_mastering_voice(nullptr)
+ , m_volume(1.0f)
+ , m_cleanup_com(false)
+{}
+
+XAudio2_7::~XAudio2_7() {}
+
+bool XAudio2_7::Start() { return SoundStream::Start(); }
+void XAudio2_7::Stop() {}
+void XAudio2_7::Update() {}
+void XAudio2_7::Clear(bool mute) {}
+void XAudio2_7::SetVolume(int volume) {}
+bool XAudio2_7::usesMixer() const { return false; }
+bool XAudio2_7::InitLibrary() { return false; }
+
+#endif
diff --git a/Source/Core/AudioCommon/Src/XAudio2_7Stream.h b/Source/Core/AudioCommon/Src/XAudio2_7Stream.h
new file mode 100644
index 0000000000..bbea6dd2db
--- /dev/null
+++ b/Source/Core/AudioCommon/Src/XAudio2_7Stream.h
@@ -0,0 +1,81 @@
+// Copyright 2013 Dolphin Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+// This audio backend uses XAudio2 via XAudio2_7.dll
+// This version of the library is included in the June 2010 DirectX SDK and
+// works on all versions of Windows, however the SDK and/or redist must be
+// seperately installed.
+// Therefore this backend is available iff:
+// * SDK is available at compile-time
+// * runtime dll is available at runtime
+
+#pragma once
+
+#include <memory>
+#include "Thread.h"
+#include "SoundStream.h"
+
+#ifdef _WIN32
+
+#include <Windows.h>
+
+struct StreamingVoiceContext2_7;
+struct IXAudio2;
+struct IXAudio2MasteringVoice;
+
+#endif
+
+class XAudio2_7 : public SoundStream
+{
+#ifdef _WIN32
+
+private:
+ static void ReleaseIXAudio2(IXAudio2 *ptr);
+
+ class Releaser
+ {
+ public:
+ template <typename R>
+ void operator()(R *ptr)
+ {
+ ReleaseIXAudio2(ptr);
+ }
+ };
+
+ std::unique_ptr<IXAudio2, Releaser> m_xaudio2;
+ std::unique_ptr<StreamingVoiceContext2_7> m_voice_context;
+ IXAudio2MasteringVoice *m_mastering_voice;
+
+ Common::Event m_sound_sync_event;
+ float m_volume;
+
+ const bool m_cleanup_com;
+
+ static HMODULE m_xaudio2_dll;
+
+ static bool InitLibrary();
+
+public:
+ XAudio2_7(CMixer *mixer);
+ virtual ~XAudio2_7();
+
+ virtual bool Start();
+ virtual void Stop();
+
+ virtual void Update();
+ virtual void Clear(bool mute);
+ virtual void SetVolume(int volume);
+ virtual bool usesMixer() const;
+
+ static bool isValid() { return InitLibrary(); }
+
+#else
+
+public:
+ XAudio2_7(CMixer *mixer)
+ : SoundStream(mixer)
+ {}
+
+#endif
+};
diff --git a/Source/Core/AudioCommon/Src/aldlist.cpp b/Source/Core/AudioCommon/Src/aldlist.cpp
index fa11fe3282..577ed733fe 100644
--- a/Source/Core/AudioCommon/Src/aldlist.cpp
+++ b/Source/Core/AudioCommon/Src/aldlist.cpp
@@ -1,17 +1,17 @@
/*
* Copyright (c) 2006, Creative Labs Inc.
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
- *
+ *
* * Redistributions of source code must retain the above copyright notice, this list of conditions and
* the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions
* and the following disclaimer in the documentation and/or other materials provided with the distribution.
* * Neither the name of Creative Labs Inc. nor the names of its contributors may be used to endorse or
* promote products derived from this software without specific prior written permission.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
@@ -36,7 +36,7 @@
#endif
-/*
+/*
* Init call
*/
ALDeviceList::ALDeviceList()
@@ -61,30 +61,30 @@ ALDeviceList::ALDeviceList()
defaultDeviceName = (char *)alcGetString(NULL, ALC_DEFAULT_DEVICE_SPECIFIER);
index = 0;
// go through device list (each device terminated with a single NULL, list terminated with double NULL)
- while (devices != NULL && strlen(devices) > 0)
+ while (devices != NULL && strlen(devices) > 0)
{
- if (strcmp(defaultDeviceName, devices) == 0)
+ if (strcmp(defaultDeviceName, devices) == 0)
{
defaultDeviceIndex = index;
}
ALCdevice *device = alcOpenDevice(devices);
- if (device)
+ if (device)
{
ALCcontext *context = alcCreateContext(device, NULL);
- if (context)
+ if (context)
{
alcMakeContextCurrent(context);
// if new actual device name isn't already in the list, then add it...
actualDeviceName = alcGetString(device, ALC_DEVICE_SPECIFIER);
bool bNewName = true;
- for (s32 i = 0; i < GetNumDevices(); i++)
+ for (s32 i = 0; i < GetNumDevices(); i++)
{
- if (strcmp(GetDeviceName(i), actualDeviceName) == 0)
+ if (strcmp(GetDeviceName(i), actualDeviceName) == 0)
{
bNewName = false;
}
}
- if ((bNewName) && (actualDeviceName != NULL) && (strlen(actualDeviceName) > 0))
+ if ((bNewName) && (actualDeviceName != NULL) && (strlen(actualDeviceName) > 0))
{
ALDeviceInfo.bSelected = true;
ALDeviceInfo.strDeviceName = actualDeviceName;
@@ -107,7 +107,7 @@ ALDeviceList::ALDeviceList()
ALDeviceInfo.pvstrExtensions->push_back("AL_EXT_LINEAR_DISTANCE");
if (alIsExtensionPresent("AL_EXT_EXPONENT_DISTANCE") == AL_TRUE)
ALDeviceInfo.pvstrExtensions->push_back("AL_EXT_EXPONENT_DISTANCE");
-
+
if (alIsExtensionPresent("EAX2.0") == AL_TRUE)
ALDeviceInfo.pvstrExtensions->push_back("EAX2.0");
if (alIsExtensionPresent("EAX3.0") == AL_TRUE)
@@ -139,15 +139,15 @@ ALDeviceList::ALDeviceList()
ResetFilters();
}
-/*
+/*
* Exit call
*/
ALDeviceList::~ALDeviceList()
{
- for (u32 i = 0; i < vDeviceInfo.size(); i++) {
- if (vDeviceInfo[i].pvstrExtensions) {
- vDeviceInfo[i].pvstrExtensions->clear();
- delete vDeviceInfo[i].pvstrExtensions;
+ for (auto& di : vDeviceInfo) {
+ if (di.pvstrExtensions) {
+ di.pvstrExtensions->clear();
+ delete di.pvstrExtensions;
}
}
@@ -159,10 +159,10 @@ ALDeviceList::~ALDeviceList()
*/
s32 ALDeviceList::GetNumDevices()
{
- return (s32)vDeviceInfo.size();
+ return (s32)vDeviceInfo.size();
}
-/*
+/*
* Returns the device name at an index in the complete device list
*/
char * ALDeviceList::GetDeviceName(s32 index)
@@ -206,11 +206,11 @@ bool ALDeviceList::IsExtensionSupported(s32 index, char *szExtName)
bool bReturn = false;
if (index < GetNumDevices()) {
- for (u32 i = 0; i < vDeviceInfo[index].pvstrExtensions->size(); i++) {
- if (!strcasecmp(vDeviceInfo[index].pvstrExtensions->at(i).c_str(), szExtName)) {
+ for (auto& ext : *vDeviceInfo[index].pvstrExtensions) {
+ if (!strcasecmp(ext.c_str(), szExtName)) {
bReturn = true;
break;
- }
+ }
}
}
@@ -225,7 +225,7 @@ s32 ALDeviceList::GetDefaultDevice()
return defaultDeviceIndex;
}
-/*
+/*
* Deselects devices which don't have the specified minimum version
*/
void ALDeviceList::FilterDevicesMinVer(s32 major, s32 minor)
@@ -239,7 +239,7 @@ void ALDeviceList::FilterDevicesMinVer(s32 major, s32 minor)
}
}
-/*
+/*
* Deselects devices which don't have the specified maximum version
*/
void ALDeviceList::FilterDevicesMaxVer(s32 major, s32 minor)
@@ -260,16 +260,16 @@ void ALDeviceList::FilterDevicesExtension(char *szExtName)
{
bool bFound;
- for (u32 i = 0; i < vDeviceInfo.size(); i++) {
+ for (auto& di : vDeviceInfo) {
bFound = false;
- for (u32 j = 0; j < vDeviceInfo[i].pvstrExtensions->size(); j++) {
- if (!strcasecmp(vDeviceInfo[i].pvstrExtensions->at(j).c_str(), szExtName)) {
+ for (auto& ext : *di.pvstrExtensions) {
+ if (!strcasecmp(ext.c_str(), szExtName)) {
bFound = true;
break;
}
}
if (!bFound)
- vDeviceInfo[i].bSelected = false;
+ di.bSelected = false;
}
}
@@ -339,9 +339,9 @@ u32 ALDeviceList::GetMaxNumSources()
alDeleteSources(iSourceCount, uiSources);
if (alGetError() != AL_NO_ERROR)
{
- for (u32 i = 0; i < 256; i++)
+ for (auto& uiSource : uiSources)
{
- alDeleteSources(1, &uiSources[i]);
+ alDeleteSources(1, &uiSource);
}
}
diff --git a/Source/Core/AudioCommon/Src/stdafx.cpp b/Source/Core/AudioCommon/Src/stdafx.cpp
new file mode 100644
index 0000000000..b602b39925
--- /dev/null
+++ b/Source/Core/AudioCommon/Src/stdafx.cpp
@@ -0,0 +1,5 @@
+// Copyright 2013 Dolphin Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#include "stdafx.h"
diff --git a/Source/Core/AudioCommon/Src/stdafx.h b/Source/Core/AudioCommon/Src/stdafx.h
new file mode 100644
index 0000000000..9cd419573c
--- /dev/null
+++ b/Source/Core/AudioCommon/Src/stdafx.h
@@ -0,0 +1,17 @@
+// Copyright 2013 Dolphin Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#pragma once
+/*
+#ifdef HAVE_DXSDK_JUNE_2010
+#define _WIN32_WINNT 0x501
+#else
+#pragma message("Resulting binary will be compatible with DirectX >= Windows 8. Install the June 2010 DirectX SDK if you want to build for older environments.")
+#define _WIN32_WINNT 0x602
+#endif
+*/
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+
+#include <algorithm>
+#include <functional>
diff --git a/Source/Core/Common/CMakeLists.txt b/Source/Core/Common/CMakeLists.txt
index ce76f003da..e6701061d9 100644
--- a/Source/Core/Common/CMakeLists.txt
+++ b/Source/Core/Common/CMakeLists.txt
@@ -24,8 +24,6 @@ set(SRCS Src/BreakPoints.cpp
Src/x64ABI.cpp
Src/x64Analyzer.cpp
Src/x64Emitter.cpp
- Src/Crypto/aes_cbc.cpp
- Src/Crypto/aes_core.cpp
Src/Crypto/bn.cpp
Src/Crypto/ec.cpp)
diff --git a/Source/Core/Common/Common.vcxproj b/Source/Core/Common/Common.vcxproj
index 20cf92dfc3..aeedafb20c 100644
--- a/Source/Core/Common/Common.vcxproj
+++ b/Source/Core/Common/Common.vcxproj
@@ -1,14 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="DebugFast|Win32">
- <Configuration>DebugFast</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="DebugFast|x64">
- <Configuration>DebugFast</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
@@ -27,197 +19,29 @@
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
- <ProjectGuid>{C87A4178-44F6-49B2-B7AA-C79AF1B8C534}</ProjectGuid>
- <RootNamespace>Common</RootNamespace>
+ <ProjectGuid>{2E6C348C-C75C-4D94-8D1E-9C1FCBF3EFE4}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <UseDebugLibraries>true</UseDebugLibraries>
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <CharacterSet>MultiByte</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <UseDebugLibraries>true</UseDebugLibraries>
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <CharacterSet>MultiByte</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <UseDebugLibraries>false</UseDebugLibraries>
+ <PropertyGroup Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
+ <PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>MultiByte</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <UseDebugLibraries>false</UseDebugLibraries>
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
+ <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
+ <UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
+ <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\VSProps\Base.props" />
<Import Project="..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Release.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_DebugFast.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Release.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_DebugFast.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile />
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- <Lib />
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\..\Externals\polarssl\include</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile />
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- <Lib />
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\..\Externals\polarssl\include</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile />
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib />
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\..\Externals\polarssl\include</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <ClCompile />
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib />
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\..\Externals\polarssl\include</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile />
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib />
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\..\Externals\polarssl\include</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <ClCompile />
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib />
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\..\Externals\polarssl\include</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="Src\BreakPoints.cpp" />
- <ClCompile Include="Src\CDUtils.cpp" />
- <ClCompile Include="Src\ColorUtil.cpp" />
- <ClCompile Include="Src\ConsoleListener.cpp" />
- <ClCompile Include="Src\Crypto\aes_cbc.cpp" />
- <ClCompile Include="Src\Crypto\aes_core.cpp" />
- <ClCompile Include="Src\Crypto\bn.cpp" />
- <ClCompile Include="Src\Crypto\ec.cpp" />
- <ClCompile Include="Src\ExtendedTrace.cpp" />
- <ClCompile Include="Src\FileSearch.cpp" />
- <ClCompile Include="Src\FileUtil.cpp" />
- <ClCompile Include="Src\Hash.cpp" />
- <ClCompile Include="Src\IniFile.cpp" />
- <ClCompile Include="Src\LogManager.cpp" />
- <ClCompile Include="Src\MathUtil.cpp" />
- <ClCompile Include="Src\MemArena.cpp" />
- <ClCompile Include="Src\MemoryUtil.cpp" />
- <ClCompile Include="Src\Misc.cpp" />
- <ClCompile Include="Src\MsgHandler.cpp" />
- <ClCompile Include="Src\NandPaths.cpp" />
- <ClCompile Include="Src\SDCardUtil.cpp" />
- <ClCompile Include="Src\SettingsHandler.cpp" />
- <ClCompile Include="Src\stdafx.cpp">
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">Create</PrecompiledHeader>
- </ClCompile>
- <ClCompile Include="Src\StringUtil.cpp" />
- <ClCompile Include="Src\SymbolDB.cpp" />
- <ClCompile Include="Src\SysConf.cpp" />
- <ClCompile Include="Src\Thread.cpp" />
- <ClCompile Include="Src\Timer.cpp" />
- <ClCompile Include="Src\Version.cpp" />
- <ClCompile Include="Src\x64ABI.cpp" />
- <ClCompile Include="Src\x64Analyzer.cpp" />
- <ClCompile Include="Src\x64CPUDetect.cpp" />
- <ClCompile Include="Src\x64Emitter.cpp" />
- <ClCompile Include="Src\x64FPURoundMode.cpp" />
- </ItemGroup>
<ItemGroup>
<ClInclude Include="Src\Atomic.h" />
<ClInclude Include="Src\Atomic_GCC.h" />
@@ -232,8 +56,6 @@
<ClInclude Include="Src\CommonTypes.h" />
<ClInclude Include="Src\ConsoleListener.h" />
<ClInclude Include="Src\CPUDetect.h" />
- <ClInclude Include="Src\Crypto\aes.h" />
- <ClInclude Include="Src\Crypto\aes_locl.h" />
<ClInclude Include="Src\Crypto\tools.h" />
<ClInclude Include="Src\DebugInterface.h" />
<ClInclude Include="Src\ExtendedTrace.h" />
@@ -241,6 +63,7 @@
<ClInclude Include="Src\FileSearch.h" />
<ClInclude Include="Src\FileUtil.h" />
<ClInclude Include="Src\FixedSizeQueue.h" />
+ <ClInclude Include="Src\FPURoundMode.h" />
<ClInclude Include="Src\Hash.h" />
<ClInclude Include="Src\IniFile.h" />
<ClInclude Include="Src\LinearDiskCache.h" />
@@ -253,7 +76,6 @@
<ClInclude Include="Src\NandPaths.h" />
<ClInclude Include="Src\SDCardUtil.h" />
<ClInclude Include="Src\SettingsHandler.h" />
- <ClInclude Include="Src\Setup.h" />
<ClInclude Include="Src\stdafx.h" />
<ClInclude Include="Src\StdConditionVariable.h" />
<ClInclude Include="Src\StdMutex.h" />
@@ -268,7 +90,51 @@
<ClInclude Include="Src\x64Emitter.h" />
</ItemGroup>
<ItemGroup>
- <None Include="CMakeLists.txt" />
+ <ClCompile Include="Src\BreakPoints.cpp" />
+ <ClCompile Include="Src\CDUtils.cpp" />
+ <ClCompile Include="Src\ColorUtil.cpp" />
+ <ClCompile Include="Src\ConsoleListener.cpp" />
+ <ClCompile Include="Src\Crypto\bn.cpp" />
+ <ClCompile Include="Src\Crypto\ec.cpp" />
+ <ClCompile Include="Src\ExtendedTrace.cpp" />
+ <ClCompile Include="Src\FileSearch.cpp" />
+ <ClCompile Include="Src\FileUtil.cpp" />
+ <ClCompile Include="Src\Hash.cpp" />
+ <ClCompile Include="Src\IniFile.cpp" />
+ <ClCompile Include="Src\LogManager.cpp" />
+ <ClCompile Include="Src\MathUtil.cpp" />
+ <ClCompile Include="Src\MemArena.cpp" />
+ <ClCompile Include="Src\MemoryUtil.cpp" />
+ <ClCompile Include="Src\Misc.cpp" />
+ <ClCompile Include="Src\MsgHandler.cpp" />
+ <ClCompile Include="Src\NandPaths.cpp" />
+ <ClCompile Include="Src\SDCardUtil.cpp" />
+ <ClCompile Include="Src\SettingsHandler.cpp" />
+ <ClCompile Include="Src\stdafx.cpp">
+ <PrecompiledHeader>Create</PrecompiledHeader>
+ </ClCompile>
+ <ClCompile Include="Src\StringUtil.cpp" />
+ <ClCompile Include="Src\SymbolDB.cpp" />
+ <ClCompile Include="Src\SysConf.cpp" />
+ <ClCompile Include="Src\Thread.cpp" />
+ <ClCompile Include="Src\Timer.cpp" />
+ <ClCompile Include="Src\Version.cpp" />
+ <ClCompile Include="Src\x64ABI.cpp" />
+ <ClCompile Include="Src\x64Analyzer.cpp" />
+ <ClCompile Include="Src\x64CPUDetect.cpp" />
+ <ClCompile Include="Src\x64Emitter.cpp" />
+ <ClCompile Include="Src\x64FPURoundMode.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <Text Include="CMakeLists.txt" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\..\Externals\polarssl\visualc\PolarSSL.vcxproj">
+ <Project>{bdb6578b-0691-4e80-a46c-df21639fd3b8}</Project>
+ </ProjectReference>
+ <ProjectReference Include="SCMRevGen.vcxproj">
+ <Project>{41279555-f94f-4ebc-99de-af863c10c5c4}</Project>
+ </ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
diff --git a/Source/Core/Common/Common.vcxproj.filters b/Source/Core/Common/Common.vcxproj.filters
index 05b9edcb14..8b257398f6 100644
--- a/Source/Core/Common/Common.vcxproj.filters
+++ b/Source/Core/Common/Common.vcxproj.filters
@@ -1,52 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
- <ClCompile Include="Src\BreakPoints.cpp" />
- <ClCompile Include="Src\CDUtils.cpp" />
- <ClCompile Include="Src\ColorUtil.cpp" />
- <ClCompile Include="Src\ExtendedTrace.cpp" />
- <ClCompile Include="Src\FileSearch.cpp" />
- <ClCompile Include="Src\FileUtil.cpp" />
- <ClCompile Include="Src\Hash.cpp" />
- <ClCompile Include="Src\IniFile.cpp" />
- <ClCompile Include="Src\MathUtil.cpp" />
- <ClCompile Include="Src\MemArena.cpp" />
- <ClCompile Include="Src\MemoryUtil.cpp" />
- <ClCompile Include="Src\Misc.cpp" />
- <ClCompile Include="Src\MsgHandler.cpp" />
- <ClCompile Include="Src\NandPaths.cpp" />
- <ClCompile Include="Src\SDCardUtil.cpp" />
- <ClCompile Include="Src\stdafx.cpp" />
- <ClCompile Include="Src\StringUtil.cpp" />
- <ClCompile Include="Src\SymbolDB.cpp" />
- <ClCompile Include="Src\SysConf.cpp" />
- <ClCompile Include="Src\Thread.cpp" />
- <ClCompile Include="Src\Timer.cpp" />
- <ClCompile Include="Src\Version.cpp" />
- <ClCompile Include="Src\x64Analyzer.cpp" />
- <ClCompile Include="Src\x64Emitter.cpp" />
- <ClCompile Include="Src\LogManager.cpp">
- <Filter>Logging</Filter>
- </ClCompile>
- <ClCompile Include="Src\ConsoleListener.cpp">
- <Filter>Logging</Filter>
- </ClCompile>
- <ClCompile Include="Src\Crypto\aes_cbc.cpp">
- <Filter>Crypto</Filter>
- </ClCompile>
- <ClCompile Include="Src\Crypto\aes_core.cpp">
- <Filter>Crypto</Filter>
- </ClCompile>
- <ClCompile Include="Src\Crypto\bn.cpp">
- <Filter>Crypto</Filter>
- </ClCompile>
- <ClCompile Include="Src\Crypto\ec.cpp">
- <Filter>Crypto</Filter>
- </ClCompile>
- <ClCompile Include="Src\SettingsHandler.cpp" />
- <ClCompile Include="Src\x64ABI.cpp" />
- <ClCompile Include="Src\x64CPUDetect.cpp" />
- <ClCompile Include="Src\x64FPURoundMode.cpp" />
+ <Filter Include="Crypto">
+ <UniqueIdentifier>{0336df21-7c3f-48a9-b767-9cf11d8958a6}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Logging">
+ <UniqueIdentifier>{c54973ce-5723-491c-ac23-41cea3565b05}</UniqueIdentifier>
+ </Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="Src\Atomic.h" />
@@ -67,6 +27,7 @@
<ClInclude Include="Src\FileSearch.h" />
<ClInclude Include="Src\FileUtil.h" />
<ClInclude Include="Src\FixedSizeQueue.h" />
+ <ClInclude Include="Src\FPURoundMode.h" />
<ClInclude Include="Src\Hash.h" />
<ClInclude Include="Src\IniFile.h" />
<ClInclude Include="Src\LinearDiskCache.h" />
@@ -76,48 +37,75 @@
<ClInclude Include="Src\MsgHandler.h" />
<ClInclude Include="Src\NandPaths.h" />
<ClInclude Include="Src\SDCardUtil.h" />
- <ClInclude Include="Src\Setup.h" />
- <ClInclude Include="Src\stdafx.h" />
+ <ClInclude Include="Src\SettingsHandler.h" />
+ <ClInclude Include="Src\StdConditionVariable.h" />
+ <ClInclude Include="Src\StdMutex.h" />
<ClInclude Include="Src\StdThread.h" />
<ClInclude Include="Src\StringUtil.h" />
<ClInclude Include="Src\SymbolDB.h" />
<ClInclude Include="Src\SysConf.h" />
<ClInclude Include="Src\Thread.h" />
<ClInclude Include="Src\Timer.h" />
+ <ClInclude Include="Src\x64ABI.h" />
<ClInclude Include="Src\x64Analyzer.h" />
<ClInclude Include="Src\x64Emitter.h" />
- <ClInclude Include="Src\Log.h">
- <Filter>Logging</Filter>
- </ClInclude>
- <ClInclude Include="Src\LogManager.h">
- <Filter>Logging</Filter>
+ <ClInclude Include="Src\Crypto\tools.h">
+ <Filter>Crypto</Filter>
</ClInclude>
<ClInclude Include="Src\ConsoleListener.h">
<Filter>Logging</Filter>
</ClInclude>
- <ClInclude Include="Src\Crypto\aes.h">
- <Filter>Crypto</Filter>
- </ClInclude>
- <ClInclude Include="Src\Crypto\aes_locl.h">
- <Filter>Crypto</Filter>
+ <ClInclude Include="Src\Log.h">
+ <Filter>Logging</Filter>
</ClInclude>
- <ClInclude Include="Src\Crypto\tools.h">
- <Filter>Crypto</Filter>
+ <ClInclude Include="Src\LogManager.h">
+ <Filter>Logging</Filter>
</ClInclude>
- <ClInclude Include="Src\StdMutex.h" />
- <ClInclude Include="Src\StdConditionVariable.h" />
- <ClInclude Include="Src\SettingsHandler.h" />
- <ClInclude Include="Src\x64ABI.h" />
+ <ClInclude Include="Src\stdafx.h" />
</ItemGroup>
<ItemGroup>
- <None Include="CMakeLists.txt" />
+ <ClCompile Include="Src\BreakPoints.cpp" />
+ <ClCompile Include="Src\CDUtils.cpp" />
+ <ClCompile Include="Src\ColorUtil.cpp" />
+ <ClCompile Include="Src\ExtendedTrace.cpp" />
+ <ClCompile Include="Src\FileSearch.cpp" />
+ <ClCompile Include="Src\FileUtil.cpp" />
+ <ClCompile Include="Src\Hash.cpp" />
+ <ClCompile Include="Src\IniFile.cpp" />
+ <ClCompile Include="Src\MathUtil.cpp" />
+ <ClCompile Include="Src\MemArena.cpp" />
+ <ClCompile Include="Src\MemoryUtil.cpp" />
+ <ClCompile Include="Src\Misc.cpp" />
+ <ClCompile Include="Src\MsgHandler.cpp" />
+ <ClCompile Include="Src\NandPaths.cpp" />
+ <ClCompile Include="Src\SDCardUtil.cpp" />
+ <ClCompile Include="Src\SettingsHandler.cpp" />
+ <ClCompile Include="Src\StringUtil.cpp" />
+ <ClCompile Include="Src\SymbolDB.cpp" />
+ <ClCompile Include="Src\SysConf.cpp" />
+ <ClCompile Include="Src\Thread.cpp" />
+ <ClCompile Include="Src\Timer.cpp" />
+ <ClCompile Include="Src\Version.cpp" />
+ <ClCompile Include="Src\x64ABI.cpp" />
+ <ClCompile Include="Src\x64Analyzer.cpp" />
+ <ClCompile Include="Src\x64CPUDetect.cpp" />
+ <ClCompile Include="Src\x64Emitter.cpp" />
+ <ClCompile Include="Src\x64FPURoundMode.cpp" />
+ <ClCompile Include="Src\Crypto\bn.cpp">
+ <Filter>Crypto</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Crypto\ec.cpp">
+ <Filter>Crypto</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\ConsoleListener.cpp">
+ <Filter>Logging</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\LogManager.cpp">
+ <Filter>Logging</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\stdafx.cpp" />
</ItemGroup>
<ItemGroup>
- <Filter Include="Crypto">
- <UniqueIdentifier>{21b7df68-af69-45f4-9741-590a6a7f1ed1}</UniqueIdentifier>
- </Filter>
- <Filter Include="Logging">
- <UniqueIdentifier>{f078f36e-a0ff-4cd0-95f8-476100d68e68}</UniqueIdentifier>
- </Filter>
+ <Text Include="CMakeLists.txt" />
</ItemGroup>
</Project>
diff --git a/Source/Core/Common/SVNRevGen.vcxproj b/Source/Core/Common/SCMRevGen.vcxproj
index 803e059d19..8b8b1867f3 100644
--- a/Source/Core/Common/SVNRevGen.vcxproj
+++ b/Source/Core/Common/SCMRevGen.vcxproj
@@ -1,44 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Release|x64">
+ <ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
- <Platform>x64</Platform>
+ <Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
- <ItemGroup>
- <None Include="make_scmrev.h.js">
- </None>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="force_rebuild.h" />
- <ClInclude Include="Src\scmrev.h" />
- </ItemGroup>
<PropertyGroup Label="Globals">
- <ProjectGuid>{69F00340-5C3D-449F-9A80-958435C6CF06}</ProjectGuid>
- <RootNamespace>SVNRevGen</RootNamespace>
- <ProjectName>SCMRevGen</ProjectName>
+ <ProjectGuid>{41279555-F94F-4EBC-99DE-AF863C10C5C4}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Utility</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
+ <PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+ <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="..\..\VSProps\Base.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <!--
+ OutDir is always created, which is annoying for SCMRevGen as it doesn't really have an outdir.
+ Here it's redirected to some other place to hide the annoyance.
+ -->
+ <PropertyGroup>
+ <OutDir>$(BuildRootDir)</OutDir>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<PreBuildEvent>
<Command>cscript /nologo /E:JScript "make_scmrev.h.js"</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
+ <ItemGroup>
+ <None Include="make_scmrev.h.js" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="Src\force_rebuild.h" />
+ <ClInclude Include="Src\scmrev.h" />
+ </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
diff --git a/Source/Core/Common/Src/ArmCPUDetect.cpp b/Source/Core/Common/Src/ArmCPUDetect.cpp
index ef49d6efb1..f04d7d9b49 100644
--- a/Source/Core/Common/Src/ArmCPUDetect.cpp
+++ b/Source/Core/Common/Src/ArmCPUDetect.cpp
@@ -34,7 +34,7 @@ char *GetCPUString()
auto const fp = file.GetHandle();
if (!fp)
return 0;
-
+
while (fgets(buf, sizeof(buf), fp))
{
if (strncmp(buf, marker, sizeof(marker) - 1))
@@ -43,7 +43,7 @@ char *GetCPUString()
cpu_string = strndup(cpu_string, strlen(cpu_string) - 1); // Strip the newline
break;
}
-
+
return cpu_string;
}
@@ -110,7 +110,7 @@ bool CheckCPUFeature(const char *feature)
auto const fp = file.GetHandle();
if (!fp)
return 0;
-
+
while (fgets(buf, sizeof(buf), fp))
{
if (strncmp(buf, marker, sizeof(marker) - 1))
@@ -120,11 +120,11 @@ bool CheckCPUFeature(const char *feature)
while (token != NULL)
{
if (strstr(token, feature))
- return true;
+ return true;
token = strtok(NULL, " ");
}
}
-
+
return false;
}
#endif
@@ -144,14 +144,14 @@ int GetCoreCount()
auto const fp = file.GetHandle();
if (!fp)
return 0;
-
+
while (fgets(buf, sizeof(buf), fp))
{
if (strncmp(buf, marker, sizeof(marker) - 1))
continue;
++cores;
}
-
+
return cores;
#endif
}
@@ -170,10 +170,10 @@ void CPUInfo::Detect()
HTT = false;
OS64bit = false;
CPU64bit = false;
- Mode64bit = false;
+ Mode64bit = false;
vendor = VENDOR_ARM;
-
- // Get the information about the CPU
+
+ // Get the information about the CPU
num_cores = GetCoreCount();
#if defined(__SYMBIAN32__) || defined(BLACKBERRY) || defined(IOS)
bool isVFP3 = false;
diff --git a/Source/Core/Common/Src/ArmEmitter.cpp b/Source/Core/Common/Src/ArmEmitter.cpp
index bb90097f0f..6178d2c58c 100644
--- a/Source/Core/Common/Src/ArmEmitter.cpp
+++ b/Source/Core/Common/Src/ArmEmitter.cpp
@@ -104,7 +104,7 @@ bool ARMXEmitter::TrySetValue_TwoOp(ARMReg reg, u32 val)
}
if (ops > 2)
return false;
-
+
bool first = true;
for (int i = 0; i < 16; i++, val >>=2) {
if (val & 0x3) {
@@ -418,7 +418,7 @@ void ARMXEmitter::SetJumpTarget(FixupBranch const &branch)
branch.ptr);
if(branch.type == 0) // B
*(u32*)branch.ptr = (u32)(branch.condition | (10 << 24) | ((distance >> 2) &
- 0x00FFFFFF));
+ 0x00FFFFFF));
else // BL
*(u32*)branch.ptr = (u32)(branch.condition | 0x0B000000 | ((distance >> 2)
& 0x00FFFFFF));
@@ -497,7 +497,7 @@ void ARMXEmitter::WriteShiftedDataOp(u32 op, bool SetFlags, ARMReg dest, ARMReg
Write32(condition | (13 << 21) | (SetFlags << 20) | (dest << 12) | op2.Imm5() | (op << 4) | src);
}
-// IMM, REG, IMMSREG, RSR
+// IMM, REG, IMMSREG, RSR
// -1 for invalid if the instruction doesn't support that
const s32 InstOps[][4] = {{16, 0, 0, 0}, // AND(s)
{17, 1, 1, 1}, // EOR(s)
@@ -517,7 +517,7 @@ const s32 InstOps[][4] = {{16, 0, 0, 0}, // AND(s)
{31, 15, 15, 15}, // MVN(s)
{24, -1, -1, -1}, // MOVW
{26, -1, -1, -1}, // MOVT
- };
+ };
const char *InstNames[] = { "AND",
"EOR",
@@ -586,7 +586,7 @@ void ARMXEmitter::WriteInstruction (u32 Op, ARMReg Rd, ARMReg Rn, Operand2 Rm, b
}
}
if (op == -1)
- _dbg_assert_msg_(DYNA_REC, false, "%s not yet support %d", InstNames[Op], Rm.GetType());
+ _dbg_assert_msg_(DYNA_REC, false, "%s not yet support %d", InstNames[Op], Rm.GetType());
Write32(condition | (op << 21) | (SetFlags ? (1 << 20) : 0) | Rn << 16 | Rd << 12 | Data);
}
@@ -678,7 +678,7 @@ void ARMXEmitter::SXTH (ARMReg dest, ARMReg op2, u8 rotation)
{
SXTAH(dest, (ARMReg)15, op2, rotation);
}
-void ARMXEmitter::SXTAH(ARMReg dest, ARMReg src, ARMReg op2, u8 rotation)
+void ARMXEmitter::SXTAH(ARMReg dest, ARMReg src, ARMReg op2, u8 rotation)
{
// bits ten and 11 are the rotation amount, see 8.8.232 for more
// information
@@ -688,7 +688,7 @@ void ARMXEmitter::RBIT(ARMReg dest, ARMReg src)
{
Write32(condition | (0x6F << 20) | (0xF << 16) | (dest << 12) | (0xF3 << 4) | src);
}
-void ARMXEmitter::REV (ARMReg dest, ARMReg src)
+void ARMXEmitter::REV (ARMReg dest, ARMReg src)
{
Write32(condition | (0x6BF << 16) | (dest << 12) | (0xF3 << 4) | src);
}
@@ -768,7 +768,7 @@ void ARMXEmitter::WriteStoreOp(u32 Op, ARMReg Rt, ARMReg Rn, Operand2 Rm, bool R
bool SignedLoad = false;
if (op == -1)
- _dbg_assert_msg_(DYNA_REC, false, "%s does not support %d", LoadStoreNames[Op], Rm.GetType());
+ _dbg_assert_msg_(DYNA_REC, false, "%s does not support %d", LoadStoreNames[Op], Rm.GetType());
switch (Op)
{
@@ -801,7 +801,7 @@ void ARMXEmitter::WriteStoreOp(u32 Op, ARMReg Rt, ARMReg Rn, Operand2 Rm, bool R
Data = abs(Temp);
// The offset is encoded differently on this one.
if (SpecialOp)
- Data = (Data & 0xF0 << 4) | (Data & 0xF);
+ Data = ((Data & 0xF0) << 4) | (Data & 0xF);
if (Temp >= 0) Add = true;
}
break;
@@ -910,7 +910,7 @@ u32 EncodeVn(ARMReg Vn)
{
bool quad_reg = Vn >= Q0;
bool double_reg = Vn >= D0;
-
+
ARMReg Reg = SubBase(Vn);
if (quad_reg)
return ((Reg & 0xF) << 16) | ((Reg & 0x10) << 3);
@@ -938,13 +938,13 @@ u32 EncodeVm(ARMReg Vm)
// Double/single, Neon
extern const VFPEnc VFPOps[16][2] = {
- {{0xE0, 0xA0}, {0x20, 0xD1}}, // 0: VMLA
+ {{0xE0, 0xA0}, { -1, -1}}, // 0: VMLA
{{0xE1, 0xA4}, { -1, -1}}, // 1: VNMLA
- {{0xE0, 0xA4}, {0x22, 0xD1}}, // 2: VMLS
+ {{0xE0, 0xA4}, { -1, -1}}, // 2: VMLS
{{0xE1, 0xA0}, { -1, -1}}, // 3: VNMLS
- {{0xE3, 0xA0}, {0x20, 0xD0}}, // 4: VADD
- {{0xE3, 0xA4}, {0x22, 0xD0}}, // 5: VSUB
- {{0xE2, 0xA0}, {0x30, 0xD1}}, // 6: VMUL
+ {{0xE3, 0xA0}, { -1, -1}}, // 4: VADD
+ {{0xE3, 0xA4}, { -1, -1}}, // 5: VSUB
+ {{0xE2, 0xA0}, { -1, -1}}, // 6: VMUL
{{0xE2, 0xA4}, { -1, -1}}, // 7: VNMUL
{{0xEB, 0xAC}, { -1 /* 0x3B */, -1 /* 0x70 */}}, // 8: VABS(Vn(0x0) used for encoding)
{{0xE8, 0xA0}, { -1, -1}}, // 9: VDIV
@@ -980,7 +980,7 @@ void ARMXEmitter::WriteVFPDataOp(u32 Op, ARMReg Vd, ARMReg Vn, ARMReg Vm)
VFPEnc enc = VFPOps[Op][quad_reg];
if (enc.opc1 == -1 && enc.opc2 == -1)
- _dbg_assert_msg_(DYNA_REC, false, "%s does not support %s", VFPOpNames[Op], quad_reg ? "NEON" : "VFP");
+ _dbg_assert_msg_(DYNA_REC, false, "%s does not support %s", VFPOpNames[Op], quad_reg ? "NEON" : "VFP");
u32 VdEnc = EncodeVd(Vd);
u32 VnEnc = EncodeVn(Vn);
u32 VmEnc = EncodeVm(Vm);
@@ -995,7 +995,7 @@ void ARMXEmitter::WriteVFPDataOp6bit(u32 Op, ARMReg Vd, ARMReg Vn, ARMReg Vm, u3
VFPEnc enc = VFPOps[Op][quad_reg];
if (enc.opc1 == -1 && enc.opc2 == -1)
- _dbg_assert_msg_(DYNA_REC, false, "%s does not support %s", VFPOpNames[Op], quad_reg ? "NEON" : "VFP");
+ _dbg_assert_msg_(DYNA_REC, false, "%s does not support %s", VFPOpNames[Op], quad_reg ? "NEON" : "VFP");
u32 VdEnc = EncodeVd(Vd);
u32 VnEnc = EncodeVn(Vn);
u32 VmEnc = EncodeVm(Vm);
@@ -1112,7 +1112,7 @@ void ARMXEmitter::VMOV(ARMReg Dest, ARMReg Src)
if (Dest < D0)
{
// Moving to a Neon register FROM ARM Reg
- Dest = (ARMReg)(Dest - S0);
+ Dest = (ARMReg)(Dest - S0);
Write32(condition | (0xE0 << 20) | ((Dest & 0x1E) << 15) | (Src << 12) \
| (0xA << 8) | ((Dest & 0x1) << 7) | (1 << 4));
return;
@@ -1121,9 +1121,9 @@ void ARMXEmitter::VMOV(ARMReg Dest, ARMReg Src)
{
// Move 64bit from Arm reg
ARMReg Src2 = (ARMReg)(Src + 1);
- Dest = SubBase(Dest);
+ Dest = SubBase(Dest);
Write32(condition | (0xC4 << 20) | (Src2 << 16) | (Src << 12) \
- | (0xB << 8) | ((Dest & 0x10) << 1) | (1 << 4) | (Dest & 0xF));
+ | (0xB << 8) | ((Dest & 0x10) << 1) | (1 << 4) | (Dest & 0xF));
return;
}
}
@@ -1146,7 +1146,7 @@ void ARMXEmitter::VMOV(ARMReg Dest, ARMReg Src)
ARMReg Dest2 = (ARMReg)(Dest + 1);
Src = SubBase(Src);
Write32(condition | (0xC5 << 20) | (Dest2 << 16) | (Dest << 12) \
- | (0xB << 8) | ((Dest & 0x10) << 1) | (1 << 4) | (Src & 0xF));
+ | (0xB << 8) | ((Dest & 0x10) << 1) | (1 << 4) | (Src & 0xF));
return;
}
}
@@ -1178,7 +1178,7 @@ void ARMXEmitter::VMOV(ARMReg Dest, ARMReg Src)
// Double and quad
if (Quad)
{
- _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Trying to use quad registers when you don't support ASIMD.");
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Trying to use quad registers when you don't support ASIMD.");
// Gets encoded as a Double register
Write32((0xF2 << 24) | ((Dest & 0x10) << 18) | (2 << 20) | ((Src & 0xF) << 16) \
| ((Dest & 0xF) << 12) | (1 << 8) | ((Src & 0x10) << 3) | (1 << 6) \
@@ -1237,7 +1237,7 @@ void ARMXEmitter::VCVT(ARMReg Dest, ARMReg Source, int flags)
}
}
-void NEONXEmitter::VABA(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VABA(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1248,7 +1248,7 @@ void NEONXEmitter::VABA(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
| (encodedSize(Size) << 20) | EncodeVd(Vd) | (0x71 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VABAL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VABAL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, Vn >= D0 && Vn < Q0, "Pass invalid register to " __FUNCTION__);
@@ -1260,7 +1260,7 @@ void NEONXEmitter::VABAL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
| (encodedSize(Size) << 20) | EncodeVd(Vd) | (0x50 << 4) | EncodeVm(Vm));
}
-void NEONXEmitter::VABD(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VABD(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1273,7 +1273,7 @@ void NEONXEmitter::VABD(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
| (encodedSize(Size) << 20) | EncodeVd(Vd) | (0x70 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VABDL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VABDL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, Vn >= D0 && Vn < Q0, "Pass invalid register to " __FUNCTION__);
@@ -1285,7 +1285,7 @@ void NEONXEmitter::VABDL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
| (encodedSize(Size) << 20) | EncodeVd(Vd) | (0x70 << 4) | EncodeVm(Vm));
}
-void NEONXEmitter::VABS(NEONElementType Size, ARMReg Vd, ARMReg Vm)
+void NEONXEmitter::VABS(u32 Size, ARMReg Vd, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1327,7 +1327,7 @@ void NEONXEmitter::VACLT(ARMReg Vd, ARMReg Vn, ARMReg Vm)
VACGT(Vd, Vn, Vm);
}
-void NEONXEmitter::VADD(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VADD(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1341,7 +1341,7 @@ void NEONXEmitter::VADD(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
| (0x8 << 8) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VADDHN(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VADDHN(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd < Q0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, Vn >= Q0, "Pass invalid register to " __FUNCTION__);
@@ -1353,7 +1353,7 @@ void NEONXEmitter::VADDHN(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
| EncodeVd(Vd) | (0x80 << 4) | EncodeVm(Vm));
}
-void NEONXEmitter::VADDL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VADDL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, Vn >= D0 && Vn < Q0, "Pass invalid register to " __FUNCTION__);
@@ -1364,7 +1364,7 @@ void NEONXEmitter::VADDL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
Write32((0xF2 << 24) | ((Size & I_UNSIGNED ? 1 : 0) << 24) | (1 << 23) | (encodedSize(Size) << 20) | EncodeVn(Vn) \
| EncodeVd(Vd) | EncodeVm(Vm));
}
-void NEONXEmitter::VADDW(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VADDW(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, Vn >= Q0, "Pass invalid register to " __FUNCTION__);
@@ -1420,7 +1420,7 @@ void NEONXEmitter::VBSL(ARMReg Vd, ARMReg Vn, ARMReg Vm)
Write32((0xF3 << 24) | (1 << 20) | EncodeVn(Vn) | EncodeVd(Vd) | (0x11 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VCEQ(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VCEQ(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1433,7 +1433,7 @@ void NEONXEmitter::VCEQ(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
| (0x81 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VCEQ(NEONElementType Size, ARMReg Vd, ARMReg Vm)
+void NEONXEmitter::VCEQ(u32 Size, ARMReg Vd, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1443,7 +1443,7 @@ void NEONXEmitter::VCEQ(NEONElementType Size, ARMReg Vd, ARMReg Vm)
Write32((0xF2 << 24) | (0xB << 20) | (encodedSize(Size) << 18) | (1 << 16) \
| EncodeVd(Vd) | ((Size & F_32 ? 1 : 0) << 10) | (0x10 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VCGE(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VCGE(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1455,7 +1455,7 @@ void NEONXEmitter::VCGE(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
Write32((0xF2 << 24) | ((Size & I_UNSIGNED ? 1 : 0) << 24) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) \
| (0x31 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VCGE(NEONElementType Size, ARMReg Vd, ARMReg Vm)
+void NEONXEmitter::VCGE(u32 Size, ARMReg Vd, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1464,7 +1464,7 @@ void NEONXEmitter::VCGE(NEONElementType Size, ARMReg Vd, ARMReg Vm)
Write32((0xF3 << 24) | (0xB << 20) | (encodedSize(Size) << 18) | (1 << 16) \
| EncodeVd(Vd) | ((Size & F_32 ? 1 : 0) << 10) | (0x8 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VCGT(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VCGT(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1476,7 +1476,7 @@ void NEONXEmitter::VCGT(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
Write32((0xF2 << 24) | ((Size & I_UNSIGNED ? 1 : 0) << 24) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) \
| (0x30 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VCGT(NEONElementType Size, ARMReg Vd, ARMReg Vm)
+void NEONXEmitter::VCGT(u32 Size, ARMReg Vd, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1485,11 +1485,11 @@ void NEONXEmitter::VCGT(NEONElementType Size, ARMReg Vd, ARMReg Vm)
Write32((0xF3 << 24) | (0xD << 20) | (encodedSize(Size) << 18) | (1 << 16) \
| EncodeVd(Vd) | ((Size & F_32 ? 1 : 0) << 10) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VCLE(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VCLE(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
VCGE(Size, Vd, Vm, Vn);
}
-void NEONXEmitter::VCLE(NEONElementType Size, ARMReg Vd, ARMReg Vm)
+void NEONXEmitter::VCLE(u32 Size, ARMReg Vd, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1498,7 +1498,7 @@ void NEONXEmitter::VCLE(NEONElementType Size, ARMReg Vd, ARMReg Vm)
Write32((0xF3 << 24) | (0xD << 20) | (encodedSize(Size) << 18) | (1 << 16) \
| EncodeVd(Vd) | ((Size & F_32 ? 1 : 0) << 10) | (3 << 7) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VCLS(NEONElementType Size, ARMReg Vd, ARMReg Vm)
+void NEONXEmitter::VCLS(u32 Size, ARMReg Vd, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1508,11 +1508,11 @@ void NEONXEmitter::VCLS(NEONElementType Size, ARMReg Vd, ARMReg Vm)
Write32((0xF3 << 24) | (0xD << 20) | (encodedSize(Size) << 18) \
| EncodeVd(Vd) | (1 << 10) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VCLT(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VCLT(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
VCGT(Size, Vd, Vm, Vn);
}
-void NEONXEmitter::VCLT(NEONElementType Size, ARMReg Vd, ARMReg Vm)
+void NEONXEmitter::VCLT(u32 Size, ARMReg Vd, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1521,7 +1521,7 @@ void NEONXEmitter::VCLT(NEONElementType Size, ARMReg Vd, ARMReg Vm)
Write32((0xF3 << 24) | (0xD << 20) | (encodedSize(Size) << 18) | (1 << 16) \
| EncodeVd(Vd) | ((Size & F_32 ? 1 : 0) << 10) | (0x20 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VCLZ(NEONElementType Size, ARMReg Vd, ARMReg Vm)
+void NEONXEmitter::VCLZ(u32 Size, ARMReg Vd, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1530,7 +1530,7 @@ void NEONXEmitter::VCLZ(NEONElementType Size, ARMReg Vd, ARMReg Vm)
Write32((0xF3 << 24) | (0xD << 20) | (encodedSize(Size) << 18) \
| EncodeVd(Vd) | (0x48 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VCNT(NEONElementType Size, ARMReg Vd, ARMReg Vm)
+void NEONXEmitter::VCNT(u32 Size, ARMReg Vd, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1540,7 +1540,7 @@ void NEONXEmitter::VCNT(NEONElementType Size, ARMReg Vd, ARMReg Vm)
Write32((0xF3 << 24) | (0xD << 20) | (encodedSize(Size) << 18) \
| EncodeVd(Vd) | (0x90 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VDUP(NEONElementType Size, ARMReg Vd, ARMReg Vm, u8 index)
+void NEONXEmitter::VDUP(u32 Size, ARMReg Vd, ARMReg Vm, u8 index)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1562,7 +1562,7 @@ void NEONXEmitter::VDUP(NEONElementType Size, ARMReg Vd, ARMReg Vm, u8 index)
Write32((0xF3 << 24) | (0xD << 20) | (sizeEncoded << 16) | (indexEncoded << 16) \
| EncodeVd(Vd) | (0xC0 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VDUP(NEONElementType Size, ARMReg Vd, ARMReg Rt)
+void NEONXEmitter::VDUP(u32 Size, ARMReg Vd, ARMReg Rt)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, Rt < D0, "Pass invalid register to " __FUNCTION__);
@@ -1616,7 +1616,7 @@ void NEONXEmitter::VFMS(ARMReg Vd, ARMReg Vn, ARMReg Vm)
Write32((0xF2 << 24) | (1 << 21) | EncodeVn(Vn) | EncodeVd(Vd) | (0xC1 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VHADD(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VHADD(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1627,7 +1627,7 @@ void NEONXEmitter::VHADD(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
Write32((0xF2 << 24) | ((Size & I_UNSIGNED ? 1 : 0) << 23) | (encodedSize(Size) << 20) \
| EncodeVn(Vn) | EncodeVd(Vd) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VHSUB(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VHSUB(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1638,7 +1638,7 @@ void NEONXEmitter::VHSUB(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
Write32((0xF2 << 24) | ((Size & I_UNSIGNED ? 1 : 0) << 23) | (encodedSize(Size) << 20) \
| EncodeVn(Vn) | EncodeVd(Vd) | (1 << 9) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VMAX(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VMAX(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1651,7 +1651,7 @@ void NEONXEmitter::VMAX(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
Write32((0xF2 << 24) | ((Size & I_UNSIGNED ? 1 : 0) << 23) | (encodedSize(Size) << 20) \
| EncodeVn(Vn) | EncodeVd(Vd) | (0x60 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VMIN(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VMIN(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1664,7 +1664,7 @@ void NEONXEmitter::VMIN(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
Write32((0xF2 << 24) | ((Size & I_UNSIGNED ? 1 : 0) << 23) | (encodedSize(Size) << 20) \
| EncodeVn(Vn) | EncodeVd(Vd) | (0x61 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VMLA(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VMLA(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1676,7 +1676,7 @@ void NEONXEmitter::VMLA(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
else
Write32((0xF2 << 24) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | (0x90 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VMLS(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VMLS(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
@@ -1688,7 +1688,7 @@ void NEONXEmitter::VMLS(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
else
Write32((0xF2 << 24) | (1 << 24) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | (0x90 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
-void NEONXEmitter::VMLAL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VMLAL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, Vn >= Q0, "Pass invalid register to " __FUNCTION__);
@@ -1699,7 +1699,7 @@ void NEONXEmitter::VMLAL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
Write32((0xF2 << 24) | ((Size & I_UNSIGNED ? 1 : 0) << 24) | (encodedSize(Size) << 20) \
| EncodeVn(Vn) | EncodeVd(Vd) | (0x80 << 4) | EncodeVm(Vm));
}
-void NEONXEmitter::VMLSL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+void NEONXEmitter::VMLSL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
_dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
_dbg_assert_msg_(DYNA_REC, Vn >= Q0, "Pass invalid register to " __FUNCTION__);
@@ -1710,57 +1710,435 @@ void NEONXEmitter::VMLSL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
Write32((0xF2 << 24) | ((Size & I_UNSIGNED ? 1 : 0) << 24) | (encodedSize(Size) << 20) \
| EncodeVn(Vn) | EncodeVd(Vd) | (0xA0 << 4) | EncodeVm(Vm));
}
+void NEONXEmitter::VMUL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ bool register_quad = Vd >= Q0;
-void NEONXEmitter::VSUB(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+ if (Size & F_32)
+ Write32((0xF3 << 24) | EncodeVn(Vn) | EncodeVd(Vd) | (0xD1 << 4) | (register_quad << 6) | EncodeVm(Vm));
+ else
+ Write32((0xF2 << 24) | ((Size & I_POLYNOMIAL) ? (1 << 24) : 0) | (encodedSize(Size) << 20) | \
+ EncodeVn(Vn) | EncodeVd(Vd) | (0x91 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VMULL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
{
- _dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to VSUB(integer)");
- _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use VSUB(integer) when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
- // Gets encoded as a double register
+ Write32((0xF2 << 24) | (1 << 23) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0xC0 << 4) | ((Size & I_POLYNOMIAL) ? 1 << 9 : 0) | EncodeVm(Vm));
+}
+void NEONXEmitter::VNEG(u32 Size, ARMReg Vd, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF3 << 24) | (0xB << 20) | (encodedSize(Size) << 18) | (1 << 16) | \
+ EncodeVd(Vd) | ((Size & F_32) ? 1 << 10 : 0) | (0xE << 6) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VORN(ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF2 << 24) | (3 << 20) | EncodeVn(Vn) | EncodeVd(Vd) | (0x11 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VORR(ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF2 << 24) | (2 << 20) | EncodeVn(Vn) | EncodeVd(Vd) | (0x11 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VPADAL(u32 Size, ARMReg Vd, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF3 << 24) | (0xB << 20) | (encodedSize(Size) << 18) | EncodeVd(Vd) | \
+ (0x60 << 4) | ((Size & I_UNSIGNED) ? 1 << 7 : 0) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VPADD(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ if (Size & F_32)
+ Write32((0xF3 << 24) | EncodeVn(Vn) | EncodeVd(Vd) | (0xD0 << 4) | EncodeVm(Vm));
+ else
+ Write32((0xF2 << 24) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0xB1 << 4) | EncodeVm(Vm));
+}
+void NEONXEmitter::VPADDL(u32 Size, ARMReg Vd, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF3 << 24) | (0xB << 20) | (encodedSize(Size) << 18) | EncodeVd(Vd) | \
+ (0x20 << 4) | (Size & I_UNSIGNED ? 1 << 7 : 0) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VPMAX(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ if (Size & F_32)
+ Write32((0xF3 << 24) | EncodeVn(Vn) | EncodeVd(Vd) | (0xF0 << 4) | EncodeVm(Vm));
+ else
+ Write32((0xF2 << 24) | (Size & I_UNSIGNED ? 1 << 24 : 0) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0xA0 << 4) | EncodeVm(Vm));
+}
+void NEONXEmitter::VPMIN(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ if (Size & F_32)
+ Write32((0xF3 << 24) | (1 << 21) | EncodeVn(Vn) | EncodeVd(Vd) | (0xF0 << 4) | EncodeVm(Vm));
+ else
+ Write32((0xF2 << 24) | (Size & I_UNSIGNED ? 1 << 24 : 0) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0xA1 << 4) | EncodeVm(Vm));
+}
+void NEONXEmitter::VQABS(u32 Size, ARMReg Vd, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF3 << 24) | (0xB << 20) | (encodedSize(Size) << 18) | EncodeVd(Vd) | \
+ (0x70 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VQADD(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF2 << 24) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x1 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VQDMLAL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ Write32((0xF2 << 24) | (1 << 23) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x90 << 4) | EncodeVm(Vm));
+}
+void NEONXEmitter::VQDMLSL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ Write32((0xF2 << 24) | (1 << 23) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0xB0 << 4) | EncodeVm(Vm));
+}
+void NEONXEmitter::VQDMULH(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ Write32((0xF2 << 24) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0xB0 << 4) | EncodeVm(Vm));
+}
+void NEONXEmitter::VQDMULL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ Write32((0xF2 << 24) | (1 << 23) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0xD0 << 4) | EncodeVm(Vm));
+}
+void NEONXEmitter::VQNEG(u32 Size, ARMReg Vd, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF3 << 24) | (0xB << 20) | (encodedSize(Size) << 18) | EncodeVd(Vd) | \
+ (0x78 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VQRDMULH(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ Write32((0xF3 << 24) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0xB0 << 4) | EncodeVm(Vm));
+}
+void NEONXEmitter::VQRSHL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF2 << 24) | (Size & I_UNSIGNED ? 1 << 24 : 0) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x51 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VQSHL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF2 << 24) | (Size & I_UNSIGNED ? 1 << 24 : 0) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x41 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VQSUB(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF2 << 24) | (Size & I_UNSIGNED ? 1 << 24 : 0) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x21 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VRADDHN(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ Write32((0xF3 << 24) | (1 << 23) | ((encodedSize(Size) - 1) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x40 << 4) | EncodeVm(Vm));
+}
+void NEONXEmitter::VRECPE(u32 Size, ARMReg Vd, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF3 << 24) | (0xB << 20) | (0xB << 16) | EncodeVd(Vd) | \
+ (0x40 << 4) | (Size & F_32 ? 1 << 8 : 0) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VRECPS(ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF2 << 24) | EncodeVn(Vn) | EncodeVd(Vd) | (0xF1 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VRHADD(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF2 << 24) | (Size & I_UNSIGNED ? 1 << 24 : 0) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x10 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VRSHL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF2 << 24) | (Size & I_UNSIGNED ? 1 << 24 : 0) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x50 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VRSQRTE(u32 Size, ARMReg Vd, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ bool register_quad = Vd >= Q0;
Vd = SubBase(Vd);
- Vn = SubBase(Vn);
Vm = SubBase(Vm);
- Write32((0xF3 << 24) | ((Vd & 0x10) << 18) | (encodedSize(Size) << 20) | ((Vn & 0xF) << 16) \
- | ((Vd & 0xF) << 12) | (0x8 << 8) | ((Vn & 0x10) << 3) | (1 << 6) \
- | ((Vm & 0x10) << 1) | (Vm & 0xF));
+ Write32((0xF3 << 24) | (0xB << 20) | ((Vd & 0x10) << 18) | (0xB << 16)
+ | ((Vd & 0xF) << 12) | (9 << 7) | (Size & F_32 ? (1 << 8) : 0) | (register_quad << 6)
+ | ((Vm & 0x10) << 1) | (Vm & 0xF));
+}
+void NEONXEmitter::VRSQRTS(ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF2 << 24) | (1 << 21) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0xF1 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VRSUBHN(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ Write32((0xF3 << 24) | (1 << 23) | ((encodedSize(Size) - 1) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x60 << 4) | EncodeVm(Vm));
+}
+void NEONXEmitter::VSHL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= D0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+ _dbg_assert_msg_(DYNA_REC, !(Size & F_32), __FUNCTION__ " doesn't support float");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF2 << 24) | (Size & I_UNSIGNED ? 1 << 24 : 0) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x40 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VSUB(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ bool register_quad = Vd >= Q0;
+
+ if (Size & F_32)
+ Write32((0xF2 << 24) | (1 << 21) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0xD0 << 4) | (register_quad << 6) | EncodeVm(Vm));
+ else
+ Write32((0xF3 << 24) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x80 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VSUBHN(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ Write32((0xF2 << 24) | (1 << 23) | ((encodedSize(Size) - 1) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x60 << 4) | EncodeVm(Vm));
+}
+void NEONXEmitter::VSUBL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ Write32((0xF2 << 24) | (Size & I_UNSIGNED ? 1 << 24 : 0) | (1 << 23) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x20 << 4) | EncodeVm(Vm));
+}
+void NEONXEmitter::VSUBW(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ Write32((0xF2 << 24) | (Size & I_UNSIGNED ? 1 << 24 : 0) | (1 << 23) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x30 << 4) | EncodeVm(Vm));
+}
+void NEONXEmitter::VSWP(ARMReg Vd, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF3 << 24) | (0xB << 20) | (1 << 17) | EncodeVd(Vd) | \
+ (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VTRN(u32 Size, ARMReg Vd, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF3 << 24) | (0xB << 20) | (encodedSize(Size) << 18) | (1 << 17) | EncodeVd(Vd) | \
+ (1 << 7) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VTST(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF2 << 24) | (encodedSize(Size) << 20) | EncodeVn(Vn) | EncodeVd(Vd) | \
+ (0x81 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VUZP(u32 Size, ARMReg Vd, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
+
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF3 << 24) | (0xB << 20) | (encodedSize(Size) << 18) | (1 << 17) | EncodeVd(Vd) | \
+ (0x10 << 4) | (register_quad << 6) | EncodeVm(Vm));
}
+void NEONXEmitter::VZIP(u32 Size, ARMReg Vd, ARMReg Vm)
+{
+ _dbg_assert_msg_(DYNA_REC, Vd >= Q0, "Pass invalid register to " __FUNCTION__);
+ _dbg_assert_msg_(DYNA_REC, cpu_info.bNEON, "Can't use " __FUNCTION__ " when CPU doesn't support it");
-void NEONXEmitter::VLD1(NEONElementType Size, ARMReg Vd, ARMReg Rn, NEONAlignment align, ARMReg Rm)
+ bool register_quad = Vd >= Q0;
+
+ Write32((0xF3 << 24) | (0xB << 20) | (encodedSize(Size) << 18) | (1 << 17) | EncodeVd(Vd) | \
+ (0x18 << 4) | (register_quad << 6) | EncodeVm(Vm));
+}
+void NEONXEmitter::VLD1(u32 Size, ARMReg Vd, ARMReg Rn, NEONAlignment align, ARMReg Rm)
{
- u32 spacing = 0x7; // Only support loading to 1 reg
+ u32 spacing = 0x7; // Only support loading to 1 reg
// Gets encoded as a double register
Vd = SubBase(Vd);
- Write32((0xF4 << 24) | ((Vd & 0x10) << 18) | (1 << 21) | (Rn << 16)
+ Write32((0xF4 << 24) | ((Vd & 0x10) << 18) | (1 << 21) | (Rn << 16)
| ((Vd & 0xF) << 12) | (spacing << 8) | (encodedSize(Size) << 6)
| (align << 4) | Rm);
}
-
-void NEONXEmitter::VLD2(NEONElementType Size, ARMReg Vd, ARMReg Rn, NEONAlignment align, ARMReg Rm)
+void NEONXEmitter::VLD2(u32 Size, ARMReg Vd, ARMReg Rn, NEONAlignment align, ARMReg Rm)
{
u32 spacing = 0x8; // Single spaced registers
// Gets encoded as a double register
Vd = SubBase(Vd);
- Write32((0xF4 << 24) | ((Vd & 0x10) << 18) | (1 << 21) | (Rn << 16)
+ Write32((0xF4 << 24) | ((Vd & 0x10) << 18) | (1 << 21) | (Rn << 16)
| ((Vd & 0xF) << 12) | (spacing << 8) | (encodedSize(Size) << 6)
| (align << 4) | Rm);
}
-
-void NEONXEmitter::VST1(NEONElementType Size, ARMReg Vd, ARMReg Rn, NEONAlignment align, ARMReg Rm)
+void NEONXEmitter::VST1(u32 Size, ARMReg Vd, ARMReg Rn, NEONAlignment align, ARMReg Rm)
{
u32 spacing = 0x7; // Single spaced registers
// Gets encoded as a double register
Vd = SubBase(Vd);
- Write32((0xF4 << 24) | ((Vd & 0x10) << 18) | (Rn << 16)
+ Write32((0xF4 << 24) | ((Vd & 0x10) << 18) | (Rn << 16)
| ((Vd & 0xF) << 12) | (spacing << 8) | (encodedSize(Size) << 6)
| (align << 4) | Rm);
}
-
-void NEONXEmitter::VREVX(u32 size, NEONElementType Size, ARMReg Vd, ARMReg Vm)
+void NEONXEmitter::VREVX(u32 size, u32 Size, ARMReg Vd, ARMReg Vm)
{
bool register_quad = Vd >= Q0;
Vd = SubBase(Vd);
@@ -1771,44 +2149,19 @@ void NEONXEmitter::VREVX(u32 size, NEONElementType Size, ARMReg Vd, ARMReg Vm)
| (register_quad << 6) | ((Vm & 0x10) << 1) | (Vm & 0xF));
}
-void NEONXEmitter::VREV64(NEONElementType Size, ARMReg Vd, ARMReg Vm)
+void NEONXEmitter::VREV64(u32 Size, ARMReg Vd, ARMReg Vm)
{
VREVX(0, Size, Vd, Vm);
}
-void NEONXEmitter::VREV32(NEONElementType Size, ARMReg Vd, ARMReg Vm)
+void NEONXEmitter::VREV32(u32 Size, ARMReg Vd, ARMReg Vm)
{
VREVX(1, Size, Vd, Vm);
}
-void NEONXEmitter::VREV16(NEONElementType Size, ARMReg Vd, ARMReg Vm)
+void NEONXEmitter::VREV16(u32 Size, ARMReg Vd, ARMReg Vm)
{
VREVX(2, Size, Vd, Vm);
}
-
-void NEONXEmitter::VRSQRTE(NEONElementType Size, ARMReg Vd, ARMReg Vm)
-{
- bool register_quad = Vd >= Q0;
- Vd = SubBase(Vd);
- Vm = SubBase(Vm);
-
- Write32((0xF3 << 24) | (0xB << 20) | ((Vd & 0x10) << 18) | (0xB << 16)
- | ((Vd & 0xF) << 12) | (9 << 7) | (Size & F_32 ? (1 << 8) : 0) | (register_quad << 6)
- | ((Vm & 0x10) << 1) | (Vm & 0xF));
-}
-
-void NEONXEmitter::VORR(ARMReg Vd, ARMReg Vn, ARMReg Vm)
-{
- bool register_quad = Vd >= Q0;
- Vd = SubBase(Vd);
- Vn = SubBase(Vn);
- Vm = SubBase(Vm);
-
- Write32((0xF2 << 24) | (0x1 << 21) | ((Vd & 0x10) << 18) | ((Vn & 0xF) << 16)
- | ((Vd & 0xF) << 12) | (1 << 8) | ((Vn & 0x10) << 3)
- | (register_quad << 6) | ((Vm & 0x10) << 1) | (1 << 4) | (Vm & 0xF));
-}
-
-
}
diff --git a/Source/Core/Common/Src/ArmEmitter.h b/Source/Core/Common/Src/ArmEmitter.h
index 9f9727e4a4..99024f3b6f 100644
--- a/Source/Core/Common/Src/ArmEmitter.h
+++ b/Source/Core/Common/Src/ArmEmitter.h
@@ -66,7 +66,7 @@ enum ARMReg
D8, D9, D10, D11, D12, D13, D14, D15,
D16, D17, D18, D19, D20, D21, D22, D23,
D24, D25, D26, D27, D28, D29, D30, D31,
-
+
// ASIMD Quad-Word registers
Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7,
Q8, Q9, Q10, Q11, Q12, Q13, Q14, Q15,
@@ -142,11 +142,11 @@ public:
{
return Type;
}
- Operand2() {}
+ Operand2() {}
Operand2(u32 imm, OpType type = TYPE_IMM)
- {
- Type = type;
- Value = imm;
+ {
+ Type = type;
+ Value = imm;
Rotation = 0;
}
@@ -338,12 +338,21 @@ struct LiteralPool
};
typedef const u8* JumpTarget;
+// XXX: Stop polluting the global namespace
+const u32 I_8 = (1 << 0);
+const u32 I_16 = (1 << 1);
+const u32 I_32 = (1 << 2);
+const u32 I_64 = (1 << 3);
+const u32 I_SIGNED = (1 << 4);
+const u32 I_UNSIGNED = (1 << 5);
+const u32 F_32 = (1 << 6);
+const u32 I_POLYNOMIAL = (1 << 7); // Only used in VMUL/VMULL
u32 EncodeVd(ARMReg Vd);
u32 EncodeVn(ARMReg Vn);
u32 EncodeVm(ARMReg Vm);
// Subtracts the base from the register to give us the real one
-ARMReg SubBase(ARMReg Reg);
+ARMReg SubBase(ARMReg Reg);
class ARMXEmitter
{
@@ -474,7 +483,7 @@ public:
void MOVW(ARMReg dest, Operand2 op2);
void MOVT(ARMReg dest, Operand2 op2, bool TopBits = false);
- // UDIV and SDIV are only available on CPUs that have
+ // UDIV and SDIV are only available on CPUs that have
// the idiva hardare capacity
void UDIV(ARMReg dest, ARMReg dividend, ARMReg divisor);
void SDIV(ARMReg dest, ARMReg dividend, ARMReg divisor);
@@ -526,7 +535,7 @@ public:
// None of these will be created with conditional since ARM
// is deprecating conditional execution of ASIMD instructions.
// ASIMD instructions don't even have a conditional encoding.
-
+
// VFP Only
void VLDR(ARMReg Dest, ARMReg Base, s16 offset);
void VSTR(ARMReg Src, ARMReg Base, s16 offset);
@@ -572,17 +581,6 @@ public:
}; // class ARMXEmitter
-enum NEONElementType
-{
- I_8 = (1 << 0),
- I_16 = (1 << 1),
- I_32 = (1 << 2),
- I_64 = (1 << 3),
- I_SIGNED = (1 << 4),
- I_UNSIGNED = (1 << 5),
- F_32 = (1 << 6)
-};
-
enum NEONAlignment
{
ALIGN_NONE = 0,
@@ -597,7 +595,7 @@ class NEONXEmitter
private:
ARMXEmitter *_emit;
inline void Write32(u32 value) { _emit->Write32(value); }
-
+
inline u32 encodedSize(u32 value)
{
if (value & I_8)
@@ -612,72 +610,106 @@ private:
_dbg_assert_msg_(DYNA_REC, false, "Passed invalid size to integer NEON instruction");
return 0;
}
-
- void VREVX(u32 size, NEONElementType Size, ARMReg Vd, ARMReg Vm);
-public:
+ void VREVX(u32 size, u32 Size, ARMReg Vd, ARMReg Vm);
+
+public:
NEONXEmitter(ARMXEmitter *emit)
: _emit(emit)
{}
- void VABA(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VABAL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VABD(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VABDL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VABS(NEONElementType Size, ARMReg Vd, ARMReg Vm);
+ void VABA(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VABAL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VABD(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VABDL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VABS(u32 Size, ARMReg Vd, ARMReg Vm);
void VACGE(ARMReg Vd, ARMReg Vn, ARMReg Vm);
void VACGT(ARMReg Vd, ARMReg Vn, ARMReg Vm);
void VACLE(ARMReg Vd, ARMReg Vn, ARMReg Vm);
void VACLT(ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VADD(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VADDHN(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VADDL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VADDW(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VADD(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VADDHN(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VADDL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VADDW(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
void VAND(ARMReg Vd, ARMReg Vn, ARMReg Vm);
void VBIC(ARMReg Vd, ARMReg Vn, ARMReg Vm);
void VBIF(ARMReg Vd, ARMReg Vn, ARMReg Vm);
void VBIT(ARMReg Vd, ARMReg Vn, ARMReg Vm);
void VBSL(ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VCEQ(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VCEQ(NEONElementType Size, ARMReg Vd, ARMReg Vm);
- void VCGE(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VCGE(NEONElementType Size, ARMReg Vd, ARMReg Vm);
- void VCGT(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VCGT(NEONElementType Size, ARMReg Vd, ARMReg Vm);
- void VCLE(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VCLE(NEONElementType Size, ARMReg Vd, ARMReg Vm);
- void VCLS(NEONElementType Size, ARMReg Vd, ARMReg Vm);
- void VCLT(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VCLT(NEONElementType Size, ARMReg Vd, ARMReg Vm);
- void VCLZ(NEONElementType Size, ARMReg Vd, ARMReg Vm);
- void VCNT(NEONElementType Size, ARMReg Vd, ARMReg Vm);
- void VDUP(NEONElementType Size, ARMReg Vd, ARMReg Vm, u8 index);
- void VDUP(NEONElementType Size, ARMReg Vd, ARMReg Rt);
+ void VCEQ(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VCEQ(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VCGE(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VCGE(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VCGT(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VCGT(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VCLE(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VCLE(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VCLS(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VCLT(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VCLT(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VCLZ(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VCNT(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VDUP(u32 Size, ARMReg Vd, ARMReg Vm, u8 index);
+ void VDUP(u32 Size, ARMReg Vd, ARMReg Rt);
void VEOR(ARMReg Vd, ARMReg Vn, ARMReg Vm);
void VEXT(ARMReg Vd, ARMReg Vn, ARMReg Vm, u8 index);
void VFMA(ARMReg Vd, ARMReg Vn, ARMReg Vm);
void VFMS(ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VHADD(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VHSUB(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VMAX(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VMIN(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VMLA(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VMLS(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VMLAL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VMLSL(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VSUB(NEONElementType Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
- void VREV64(NEONElementType Size, ARMReg Vd, ARMReg Vm);
- void VREV32(NEONElementType Size, ARMReg Vd, ARMReg Vm);
- void VREV16(NEONElementType Size, ARMReg Vd, ARMReg Vm);
-
- void VRSQRTE(NEONElementType Size, ARMReg Vd, ARMReg Vm);
-
+ void VHADD(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VHSUB(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VMAX(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VMIN(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VMLA(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VMLS(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VMLAL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VMLSL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VMUL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VMULL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VNEG(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VORN(ARMReg Vd, ARMReg Vn, ARMReg Vm);
void VORR(ARMReg Vd, ARMReg Vn, ARMReg Vm);
-
- void VLD1(NEONElementType Size, ARMReg Vd, ARMReg Rn, NEONAlignment align = ALIGN_NONE, ARMReg Rm = _PC);
- void VLD2(NEONElementType Size, ARMReg Vd, ARMReg Rn, NEONAlignment align = ALIGN_NONE, ARMReg Rm = _PC);
-
- void VST1(NEONElementType Size, ARMReg Vd, ARMReg Rn, NEONAlignment align = ALIGN_NONE, ARMReg Rm = _PC);
+ void VPADAL(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VPADD(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VPADDL(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VPMAX(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VPMIN(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VQABS(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VQADD(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VQDMLAL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VQDMLSL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VQDMULH(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VQDMULL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VQNEG(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VQRDMULH(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VQRSHL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VQSHL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VQSUB(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VRADDHN(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VRECPE(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VRECPS(ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VRHADD(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VRSHL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VRSQRTE(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VRSQRTS(ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VRSUBHN(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VSHL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VSUB(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VSUBHN(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VSUBL(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VSUBW(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VSWP(ARMReg Vd, ARMReg Vm);
+ void VTRN(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VTST(u32 Size, ARMReg Vd, ARMReg Vn, ARMReg Vm);
+ void VUZP(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VZIP(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VREV64(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VREV32(u32 Size, ARMReg Vd, ARMReg Vm);
+ void VREV16(u32 Size, ARMReg Vd, ARMReg Vm);
+
+ void VLD1(u32 Size, ARMReg Vd, ARMReg Rn, NEONAlignment align = ALIGN_NONE, ARMReg Rm = _PC);
+ void VLD2(u32 Size, ARMReg Vd, ARMReg Rn, NEONAlignment align = ALIGN_NONE, ARMReg Rm = _PC);
+
+ void VST1(u32 Size, ARMReg Vd, ARMReg Rn, NEONAlignment align = ALIGN_NONE, ARMReg Rm = _PC);
};
// Everything that needs to generate X86 code should inherit from this.
@@ -703,7 +735,7 @@ public:
// Always clear code space with breakpoints, so that if someone accidentally executes
// uninitialized, it just breaks into the debugger.
- void ClearCodeSpace()
+ void ClearCodeSpace()
{
// x86/64: 0xCC = breakpoint
memset(region, 0xCC, region_size);
diff --git a/Source/Core/Common/Src/BreakPoints.cpp b/Source/Core/Common/Src/BreakPoints.cpp
index 57d1b06538..1dee12ffd1 100644
--- a/Source/Core/Common/Src/BreakPoints.cpp
+++ b/Source/Core/Common/Src/BreakPoints.cpp
@@ -12,16 +12,16 @@
bool BreakPoints::IsAddressBreakPoint(u32 _iAddress)
{
- for (TBreakPoints::iterator i = m_BreakPoints.begin(); i != m_BreakPoints.end(); ++i)
- if (i->iAddress == _iAddress)
+ for (auto& bp : m_BreakPoints)
+ if (bp.iAddress == _iAddress)
return true;
return false;
}
bool BreakPoints::IsTempBreakPoint(u32 _iAddress)
{
- for (TBreakPoints::iterator i = m_BreakPoints.begin(); i != m_BreakPoints.end(); ++i)
- if (i->iAddress == _iAddress && i->bTemporary)
+ for (auto& bp : m_BreakPoints)
+ if (bp.iAddress == _iAddress && bp.bTemporary)
return true;
return false;
}
@@ -29,29 +29,28 @@ bool BreakPoints::IsTempBreakPoint(u32 _iAddress)
BreakPoints::TBreakPointsStr BreakPoints::GetStrings() const
{
TBreakPointsStr bps;
- for (TBreakPoints::const_iterator i = m_BreakPoints.begin();
- i != m_BreakPoints.end(); ++i)
+ for (const auto& bp : m_BreakPoints)
{
- if (!i->bTemporary)
+ if (!bp.bTemporary)
{
- std::stringstream bp;
- bp << std::hex << i->iAddress << " " << (i->bOn ? "n" : "");
- bps.push_back(bp.str());
+ std::stringstream ss;
+ ss << std::hex << bp.iAddress << " " << (bp.bOn ? "n" : "");
+ bps.push_back(ss.str());
}
}
return bps;
}
-void BreakPoints::AddFromStrings(const TBreakPointsStr& bps)
+void BreakPoints::AddFromStrings(const TBreakPointsStr& bpstrs)
{
- for (TBreakPointsStr::const_iterator i = bps.begin(); i != bps.end(); ++i)
+ for (const auto& bpstr : bpstrs)
{
TBreakPoint bp;
- std::stringstream bpstr;
- bpstr << std::hex << *i;
- bpstr >> bp.iAddress;
- bp.bOn = i->find("n") != i->npos;
+ std::stringstream ss;
+ ss << std::hex << bpstr;
+ ss >> bp.iAddress;
+ bp.bOn = bpstr.find("n") != bpstr.npos;
bp.bTemporary = false;
Add(bp);
}
@@ -108,42 +107,41 @@ void BreakPoints::Clear()
}
);
}
-
+
m_BreakPoints.clear();
}
MemChecks::TMemChecksStr MemChecks::GetStrings() const
{
TMemChecksStr mcs;
- for (TMemChecks::const_iterator i = m_MemChecks.begin();
- i != m_MemChecks.end(); ++i)
+ for (const auto& bp : m_MemChecks)
{
std::stringstream mc;
- mc << std::hex << i->StartAddress;
- mc << " " << (i->bRange ? i->EndAddress : i->StartAddress) << " " <<
- (i->bRange ? "n" : "") << (i->OnRead ? "r" : "") <<
- (i->OnWrite ? "w" : "") << (i->Log ? "l" : "") << (i->Break ? "p" : "");
+ mc << std::hex << bp.StartAddress;
+ mc << " " << (bp.bRange ? bp.EndAddress : bp.StartAddress) << " " <<
+ (bp.bRange ? "n" : "") << (bp.OnRead ? "r" : "") <<
+ (bp.OnWrite ? "w" : "") << (bp.Log ? "l" : "") << (bp.Break ? "p" : "");
mcs.push_back(mc.str());
}
return mcs;
}
-void MemChecks::AddFromStrings(const TMemChecksStr& mcs)
+void MemChecks::AddFromStrings(const TMemChecksStr& mcstrs)
{
- for (TMemChecksStr::const_iterator i = mcs.begin(); i != mcs.end(); ++i)
+ for (const auto& mcstr : mcstrs)
{
TMemCheck mc;
- std::stringstream mcstr;
- mcstr << std::hex << *i;
- mcstr >> mc.StartAddress;
- mc.bRange = i->find("n") != i->npos;
- mc.OnRead = i->find("r") != i->npos;
- mc.OnWrite = i->find("w") != i->npos;
- mc.Log = i->find("l") != i->npos;
- mc.Break = i->find("p") != i->npos;
+ std::stringstream ss;
+ ss << std::hex << mcstr;
+ ss >> mc.StartAddress;
+ mc.bRange = mcstr.find("n") != mcstr.npos;
+ mc.OnRead = mcstr.find("r") != mcstr.npos;
+ mc.OnWrite = mcstr.find("w") != mcstr.npos;
+ mc.Log = mcstr.find("l") != mcstr.npos;
+ mc.Break = mcstr.find("p") != mcstr.npos;
if (mc.bRange)
- mcstr >> mc.EndAddress;
+ ss >> mc.EndAddress;
else
mc.EndAddress = mc.StartAddress;
Add(mc);
@@ -170,15 +168,15 @@ void MemChecks::Remove(u32 _Address)
TMemCheck *MemChecks::GetMemCheck(u32 address)
{
- for (TMemChecks::iterator i = m_MemChecks.begin(); i != m_MemChecks.end(); ++i)
+ for (auto& bp : m_MemChecks)
{
- if (i->bRange)
+ if (bp.bRange)
{
- if (address >= i->StartAddress && address <= i->EndAddress)
- return &(*i);
+ if (address >= bp.StartAddress && address <= bp.EndAddress)
+ return &(bp);
}
- else if (i->StartAddress == address)
- return &(*i);
+ else if (bp.StartAddress == address)
+ return &(bp);
}
// none found
diff --git a/Source/Core/Common/Src/CDUtils.cpp b/Source/Core/Common/Src/CDUtils.cpp
index f697476df5..569ceb3c3b 100644
--- a/Source/Core/Common/Src/CDUtils.cpp
+++ b/Source/Core/Common/Src/CDUtils.cpp
@@ -211,24 +211,21 @@ std::vector<std::string> cdio_get_devices ()
// Returns true if device is a cdrom/dvd drive
bool cdio_is_cdrom(std::string device)
{
-#ifdef __linux__
+#ifndef _WIN32
// Resolve symbolic links. This allows symbolic links to valid
// drives to be passed from the command line with the -e flag.
char resolved_path[MAX_PATH];
char *devname = realpath(device.c_str(), resolved_path);
if (!devname)
return false;
+ device = devname;
#endif
std::vector<std::string> devices = cdio_get_devices();
bool res = false;
- for (unsigned int i = 0; i < devices.size(); i++)
+ for (auto& odevice : devices)
{
-#ifdef __linux__
- if (strncmp(devices[i].c_str(), devname, MAX_PATH) == 0)
-#else
- if (strncmp(devices[i].c_str(), device.c_str(), MAX_PATH) == 0)
-#endif
+ if (strncmp(odevice.c_str(), device.c_str(), MAX_PATH) == 0)
{
res = true;
break;
diff --git a/Source/Core/Common/Src/CPUDetect.h b/Source/Core/Common/Src/CPUDetect.h
index be6ce34985..e93a902d63 100644
--- a/Source/Core/Common/Src/CPUDetect.h
+++ b/Source/Core/Common/Src/CPUDetect.h
@@ -41,6 +41,7 @@ struct CPUInfo
bool bLZCNT;
bool bSSE4A;
bool bAVX;
+ bool bFMA;
bool bAES;
bool bLAHFSAHF64;
bool bLongMode;
diff --git a/Source/Core/Common/Src/ChunkFile.h b/Source/Core/Common/Src/ChunkFile.h
index 6fed73a7ed..d7aeba0558 100644
--- a/Source/Core/Common/Src/ChunkFile.h
+++ b/Source/Core/Common/Src/ChunkFile.h
@@ -16,6 +16,7 @@
// - Serialization code for anything complex has to be manually written.
#include <map>
+#include <set>
#include <vector>
#include <list>
#include <deque>
@@ -25,6 +26,21 @@
#include "Common.h"
#include "FileUtil.h"
+// ewww
+#if _LIBCPP_VERSION
+#define IsTriviallyCopyable(T) std::is_trivially_copyable<T>::value
+#elif __GNUC__
+#define IsTriviallyCopyable(T) std::has_trivial_copy_constructor<T>::value
+#elif _MSC_VER >= 1800
+// work around bug
+#define IsTriviallyCopyable(T) (std::is_trivially_copyable<T>::value || std::is_pod<T>::value)
+#elif defined(_MSC_VER)
+#define IsTriviallyCopyable(T) std::has_trivial_copy<T>::value
+#else
+#error No version of is_trivially_copyable
+#endif
+
+
template <class T>
struct LinkedListItem : public T
{
@@ -74,10 +90,38 @@ public:
case MODE_WRITE:
case MODE_MEASURE:
case MODE_VERIFY:
+ for (auto& elem : x)
+ {
+ Do(elem.first);
+ Do(elem.second);
+ }
+ break;
+ }
+ }
+
+ template <typename V>
+ void Do(std::set<V>& x)
+ {
+ u32 count = (u32)x.size();
+ Do(count);
+
+ switch (mode)
+ {
+ case MODE_READ:
+ for (x.clear(); count != 0; --count)
+ {
+ V value;
+ Do(value);
+ x.insert(value);
+ }
+ break;
+
+ case MODE_WRITE:
+ case MODE_MEASURE:
+ case MODE_VERIFY:
for (auto itr = x.begin(); itr != x.end(); ++itr)
{
- Do(itr->first);
- Do(itr->second);
+ Do(*itr);
}
break;
}
@@ -90,8 +134,8 @@ public:
Do(size);
x.resize(size);
- for (auto itr = x.begin(); itr != x.end(); ++itr)
- Do(*itr);
+ for (auto& elem : x)
+ Do(elem);
}
template <typename T>
@@ -118,6 +162,13 @@ public:
DoContainer(x);
}
+ template <typename T, typename U>
+ void Do(std::pair<T, U>& x)
+ {
+ Do(x.first);
+ Do(x.second);
+ }
+
template <typename T>
void DoArray(T* x, u32 count)
{
@@ -128,12 +179,10 @@ public:
template <typename T>
void Do(T& x)
{
- // Ideally this would be std::is_trivially_copyable, but not enough support yet
- static_assert(std::is_pod<T>::value, "Only sane for POD types");
-
+ static_assert(IsTriviallyCopyable(T), "Only sane for trivially copyable types");
DoVoid((void*)&x, sizeof(x));
}
-
+
template <typename T>
void DoPOD(T& x)
{
@@ -144,10 +193,12 @@ public:
void DoPointer(T*& x, T* const base)
{
// pointers can be more than 2^31 apart, but you're using this function wrong if you need that much range
- s32 offset = x - base;
+ ptrdiff_t offset = x - base;
Do(offset);
if (mode == MODE_READ)
+ {
x = base + offset;
+ }
}
// Let's pretend std::list doesn't exist!
@@ -271,7 +322,7 @@ public:
if (!File::Exists(_rFilename))
return false;
-
+
// Check file size
const u64 fileSize = File::GetSize(_rFilename);
static const u64 headerSize = sizeof(SChunkHeader);
@@ -324,7 +375,7 @@ public:
u8* ptr = &buffer[0];
PointerWrap p(&ptr, PointerWrap::MODE_READ);
_class.DoState(p);
-
+
INFO_LOG(COMMON, "ChunkReader: Done loading %s" , _rFilename.c_str());
return true;
}
diff --git a/Source/Core/Common/Src/CommonFuncs.h b/Source/Core/Common/Src/CommonFuncs.h
index daf135373e..63bdc04dfb 100644
--- a/Source/Core/Common/Src/CommonFuncs.h
+++ b/Source/Core/Common/Src/CommonFuncs.h
@@ -27,11 +27,16 @@ struct ArraySizeImpl : public std::extent<T>
#define b2(x) ( (x) | ( (x) >> 1) )
#define b4(x) ( b2(x) | ( b2(x) >> 2) )
#define b8(x) ( b4(x) | ( b4(x) >> 4) )
-#define b16(x) ( b8(x) | ( b8(x) >> 8) )
+#define b16(x) ( b8(x) | ( b8(x) >> 8) )
#define b32(x) (b16(x) | (b16(x) >>16) )
#define ROUND_UP_POW2(x) (b32(x - 1) + 1)
-#if defined __GNUC__ && !defined __SSSE3__ && !defined _M_GENERIC
+#ifndef __GNUC_PREREQ
+ #define __GNUC_PREREQ(a, b) 0
+#endif
+
+#if (defined __GNUC__ && !__GNUC_PREREQ(4,9)) \
+ && !defined __SSSE3__ && !defined _M_GENERIC
#include <emmintrin.h>
static __inline __m128i __attribute__((__always_inline__))
_mm_shuffle_epi8(__m128i a, __m128i mask)
@@ -95,12 +100,12 @@ inline u64 _rotr64(u64 x, unsigned int shift){
#define unlink _unlink
#define snprintf _snprintf
#define vscprintf _vscprintf
-
+
// Locale Cross-Compatibility
#define locale_t _locale_t
#define freelocale _free_locale
#define newlocale(mask, locale, base) _create_locale(mask, locale)
-
+
#define LC_GLOBAL_LOCALE ((locale_t)-1)
#define LC_ALL_MASK LC_ALL
#define LC_COLLATE_MASK LC_COLLATE
@@ -108,7 +113,7 @@ inline u64 _rotr64(u64 x, unsigned int shift){
#define LC_MONETARY_MASK LC_MONETARY
#define LC_NUMERIC_MASK LC_NUMERIC
#define LC_TIME_MASK LC_TIME
-
+
inline locale_t uselocale(locale_t new_locale)
{
// Retrieve the current per thread locale setting
@@ -184,8 +189,8 @@ inline u16 swap16(u16 _data) {return _byteswap_ushort(_data);}
inline u32 swap32(u32 _data) {return _byteswap_ulong (_data);}
inline u64 swap64(u64 _data) {return _byteswap_uint64(_data);}
#elif _M_ARM
-inline u16 swap16 (u16 _data) { u32 data = _data; __asm__ ("rev16 %0, %1\n" : "=l" (data) : "l" (data)); return (u16)data;}
-inline u32 swap32 (u32 _data) {__asm__ ("rev %0, %1\n" : "=l" (_data) : "l" (_data)); return _data;}
+inline u16 swap16 (u16 _data) { u32 data = _data; __asm__ ("rev16 %0, %1\n" : "=l" (data) : "l" (data)); return (u16)data;}
+inline u32 swap32 (u32 _data) {__asm__ ("rev %0, %1\n" : "=l" (_data) : "l" (_data)); return _data;}
inline u64 swap64(u64 _data) {return ((u64)swap32(_data) << 32) | swap32(_data >> 32);}
#elif __linux__
inline u16 swap16(u16 _data) {return bswap_16(_data);}
@@ -242,7 +247,7 @@ template <typename T>
inline T FromBigEndian(T data)
{
//static_assert(std::is_arithmetic<T>::value, "function only makes sense with arithmetic types");
-
+
swap<sizeof(data)>(reinterpret_cast<u8*>(&data));
return data;
}
diff --git a/Source/Core/Common/Src/ConsoleListener.cpp b/Source/Core/Common/Src/ConsoleListener.cpp
index d793f7261b..fa8780d598 100644
--- a/Source/Core/Common/Src/ConsoleListener.cpp
+++ b/Source/Core/Common/Src/ConsoleListener.cpp
@@ -87,7 +87,7 @@ bool ConsoleListener::IsOpen()
/*
LetterSpace: SetConsoleScreenBufferSize and SetConsoleWindowInfo are
- dependent on each other, that's the reason for the additional checks.
+ dependent on each other, that's the reason for the additional checks.
*/
void ConsoleListener::BufferWidthHeight(int BufferWidth, int BufferHeight, int ScreenWidth, int ScreenHeight, bool BufferFirst)
{
@@ -226,7 +226,7 @@ void ConsoleListener::PixelSpace(int Left, int Top, int Width, int Height, bool
BytesWritten += cAttrWritten;
coordScreen = GetCoordinates(BytesWritten, LBufWidth);
- }
+ }
const int OldCursor = ConInfo.dwCursorPosition.Y * ConInfo.dwSize.X + ConInfo.dwCursorPosition.X;
COORD Coo = GetCoordinates(OldCursor, LBufWidth);
@@ -311,23 +311,23 @@ void ConsoleListener::Log(LogTypes::LOG_LEVELS Level, const char *Text)
}
// Clear console screen
void ConsoleListener::ClearScreen(bool Cursor)
-{
+{
#if defined(_WIN32)
- COORD coordScreen = { 0, 0 };
- DWORD cCharsWritten;
- CONSOLE_SCREEN_BUFFER_INFO csbi;
- DWORD dwConSize;
+ COORD coordScreen = { 0, 0 };
+ DWORD cCharsWritten;
+ CONSOLE_SCREEN_BUFFER_INFO csbi;
+ DWORD dwConSize;
- HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
+ HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
- GetConsoleScreenBufferInfo(hConsole, &csbi);
+ GetConsoleScreenBufferInfo(hConsole, &csbi);
dwConSize = csbi.dwSize.X * csbi.dwSize.Y;
// Write space to the entire console
- FillConsoleOutputCharacter(hConsole, TEXT(' '), dwConSize, coordScreen, &cCharsWritten);
- GetConsoleScreenBufferInfo(hConsole, &csbi);
+ FillConsoleOutputCharacter(hConsole, TEXT(' '), dwConSize, coordScreen, &cCharsWritten);
+ GetConsoleScreenBufferInfo(hConsole, &csbi);
FillConsoleOutputAttribute(hConsole, csbi.wAttributes, dwConSize, coordScreen, &cCharsWritten);
// Reset cursor
- if (Cursor) SetConsoleCursorPosition(hConsole, coordScreen);
+ if (Cursor) SetConsoleCursorPosition(hConsole, coordScreen);
#endif
}
diff --git a/Source/Core/Common/Src/Crypto/aes.h b/Source/Core/Common/Src/Crypto/aes.h
deleted file mode 100644
index 8d5059e1be..0000000000
--- a/Source/Core/Common/Src/Crypto/aes.h
+++ /dev/null
@@ -1,143 +0,0 @@
-/* crypto/aes/aes.h -*- mode:C; c-file-style: "eay" -*- */
-/* ====================================================================
- * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. All advertising materials mentioning features or use of this
- * software must display the following acknowledgment:
- * "This product includes software developed by the OpenSSL Project
- * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
- *
- * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
- * endorse or promote products derived from this software without
- * prior written permission. For written permission, please contact
- * openssl-core@openssl.org.
- *
- * 5. Products derived from this software may not be called "OpenSSL"
- * nor may "OpenSSL" appear in their names without prior written
- * permission of the OpenSSL Project.
- *
- * 6. Redistributions of any form whatsoever must retain the following
- * acknowledgment:
- * "This product includes software developed by the OpenSSL Project
- * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
- *
- * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
- * OF THE POSSIBILITY OF SUCH DAMAGE.
- * ====================================================================
- *
- */
-
-#ifndef HEADER_AES_H
-#define HEADER_AES_H
-
-// #include <openssl/opensslconf.h>
-
-#ifdef OPENSSL_NO_AES
-#error AES is disabled.
-#endif
-
-#define AES_ENCRYPT 1
-#define AES_DECRYPT 0
-
-/* Because array size can't be a const in C, the following two are macros.
- Both sizes are in bytes. */
-#define AES_MAXNR 14
-#define AES_BLOCK_SIZE 16
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* This should be a hidden type, but EVP requires that the size be known */
-struct aes_key_st
-{
-#ifdef AES_LONG
- unsigned long rd_key[4 * (AES_MAXNR + 1)];
-#else
- unsigned int rd_key[4 * (AES_MAXNR + 1)];
-#endif
- int rounds;
-};
-typedef struct aes_key_st AES_KEY;
-
-const char* AES_options(void);
-
-int AES_set_encrypt_key(const unsigned char* userKey, const int bits,
- AES_KEY* key);
-int AES_set_decrypt_key(const unsigned char* userKey, const int bits,
- AES_KEY* key);
-
-void AES_encrypt(const unsigned char* in, unsigned char* out,
- const AES_KEY* key);
-void AES_decrypt(const unsigned char* in, unsigned char* out,
- const AES_KEY* key);
-
-void AES_ecb_encrypt(const unsigned char* in, unsigned char* out,
- const AES_KEY* key, const int enc);
-void AES_cbc_encrypt(const unsigned char* in, unsigned char* out,
- const unsigned long length, const AES_KEY* key,
- unsigned char* ivec, const int enc);
-void AES_cfb128_encrypt(const unsigned char* in, unsigned char* out,
- const unsigned long length, const AES_KEY* key,
- unsigned char* ivec, int* num, const int enc);
-void AES_cfb1_encrypt(const unsigned char* in, unsigned char* out,
- const unsigned long length, const AES_KEY* key,
- unsigned char* ivec, int* num, const int enc);
-void AES_cfb8_encrypt(const unsigned char* in, unsigned char* out,
- const unsigned long length, const AES_KEY* key,
- unsigned char* ivec, int* num, const int enc);
-void AES_cfbr_encrypt_block(const unsigned char* in, unsigned char* out,
- const int nbits, const AES_KEY* key,
- unsigned char* ivec, const int enc);
-void AES_ofb128_encrypt(const unsigned char* in, unsigned char* out,
- const unsigned long length, const AES_KEY* key,
- unsigned char* ivec, int* num);
-
-
-void AES_ctr128_encrypt(const unsigned char* in, unsigned char* out,
- const unsigned long length, const AES_KEY * key,
- unsigned char ivec[AES_BLOCK_SIZE],
- unsigned char ecount_buf[AES_BLOCK_SIZE],
- unsigned int* num);
-
-/* For IGE, see also http://www.links.org/files/openssl-ige.pdf
- NB: the IV is _two_ blocks long */
-void AES_ige_encrypt(const unsigned char* in, unsigned char* out,
- const unsigned long length, const AES_KEY* key,
- unsigned char* ivec, const int enc);
-
-
-/* NB: the IV is _four_ blocks long */
-void AES_bi_ige_encrypt(const unsigned char* in, unsigned char* out,
- const unsigned long length, const AES_KEY* key,
- const AES_KEY* key2, const unsigned char* ivec,
- const int enc);
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* !HEADER_AES_H */
diff --git a/Source/Core/Common/Src/Crypto/aes_cbc.cpp b/Source/Core/Common/Src/Crypto/aes_cbc.cpp
deleted file mode 100644
index 780c35a88d..0000000000
--- a/Source/Core/Common/Src/Crypto/aes_cbc.cpp
+++ /dev/null
@@ -1,131 +0,0 @@
-/* crypto/aes/aes_cbc.c -*- mode:C; c-file-style: "eay" -*- */
-/* ====================================================================
- * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. All advertising materials mentioning features or use of this
- * software must display the following acknowledgment:
- * "This product includes software developed by the OpenSSL Project
- * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
- *
- * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
- * endorse or promote products derived from this software without
- * prior written permission. For written permission, please contact
- * openssl-core@openssl.org.
- *
- * 5. Products derived from this software may not be called "OpenSSL"
- * nor may "OpenSSL" appear in their names without prior written
- * permission of the OpenSSL Project.
- *
- * 6. Redistributions of any form whatsoever must retain the following
- * acknowledgment:
- * "This product includes software developed by the OpenSSL Project
- * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
- *
- * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
- * OF THE POSSIBILITY OF SUCH DAMAGE.
- * ====================================================================
- *
- */
-
-#ifndef AES_DEBUG
-# ifndef NDEBUG
-# define NDEBUG
-# endif
-#endif
-#include <assert.h>
-
-#include "aes.h"
-#include "aes_locl.h"
-
-void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
- const unsigned long length, const AES_KEY *key,
- unsigned char *ivec, const int enc) {
-
- unsigned long n;
- unsigned long len = length;
- unsigned char tmp[AES_BLOCK_SIZE];
- const unsigned char *iv = ivec;
-
- assert(in && out && key && ivec);
- assert((AES_ENCRYPT == enc)||(AES_DECRYPT == enc));
-
- if (AES_ENCRYPT == enc) {
- while (len >= AES_BLOCK_SIZE) {
- for(n=0; n < AES_BLOCK_SIZE; ++n)
- out[n] = in[n] ^ iv[n];
- AES_encrypt(out, out, key);
- iv = out;
- len -= AES_BLOCK_SIZE;
- in += AES_BLOCK_SIZE;
- out += AES_BLOCK_SIZE;
- }
- if (len) {
- for(n=0; n < len; ++n)
- out[n] = in[n] ^ iv[n];
- for(n=len; n < AES_BLOCK_SIZE; ++n)
- out[n] = iv[n];
- AES_encrypt(out, out, key);
- iv = out;
- }
- memcpy(ivec,iv,AES_BLOCK_SIZE);
- } else if (in != out) {
- while (len >= AES_BLOCK_SIZE) {
- AES_decrypt(in, out, key);
- for(n=0; n < AES_BLOCK_SIZE; ++n)
- out[n] ^= iv[n];
- iv = in;
- len -= AES_BLOCK_SIZE;
- in += AES_BLOCK_SIZE;
- out += AES_BLOCK_SIZE;
- }
- if (len) {
- AES_decrypt(in,tmp,key);
- for(n=0; n < len; ++n)
- out[n] = tmp[n] ^ iv[n];
- iv = in;
- }
- memcpy(ivec,iv,AES_BLOCK_SIZE);
- } else {
- while (len >= AES_BLOCK_SIZE) {
- memcpy(tmp, in, AES_BLOCK_SIZE);
- AES_decrypt(in, out, key);
- for(n=0; n < AES_BLOCK_SIZE; ++n)
- out[n] ^= ivec[n];
- memcpy(ivec, tmp, AES_BLOCK_SIZE);
- len -= AES_BLOCK_SIZE;
- in += AES_BLOCK_SIZE;
- out += AES_BLOCK_SIZE;
- }
- if (len) {
- memcpy(tmp, in, AES_BLOCK_SIZE);
- AES_decrypt(tmp, out, key);
- for(n=0; n < len; ++n)
- out[n] ^= ivec[n];
- for(n=len; n < AES_BLOCK_SIZE; ++n)
- out[n] = tmp[n];
- memcpy(ivec, tmp, AES_BLOCK_SIZE);
- }
- }
-}
diff --git a/Source/Core/Common/Src/Crypto/aes_core.cpp b/Source/Core/Common/Src/Crypto/aes_core.cpp
deleted file mode 100644
index ad54bc6006..0000000000
--- a/Source/Core/Common/Src/Crypto/aes_core.cpp
+++ /dev/null
@@ -1,1159 +0,0 @@
-/* crypto/aes/aes_core.c -*- mode:C; c-file-style: "eay" -*- */
-/**
- * rijndael-alg-fst.c
- *
- * @version 3.0 (December 2000)
- *
- * Optimised ANSI C code for the Rijndael cipher (now AES)
- *
- * @author Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be>
- * @author Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be>
- * @author Paulo Barreto <paulo.barreto@terra.com.br>
- *
- * This code is hereby placed in the public domain.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS
- * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
- * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
- * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
- * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-/* Note: rewritten a little bit to provide error control and an OpenSSL-
- compatible API */
-
-#ifndef AES_DEBUG
-# ifndef NDEBUG
-# define NDEBUG
-# endif
-#endif
-#include <assert.h>
-
-#include <stdlib.h>
-#include "aes.h"
-#include "aes_locl.h"
-
-/*
-Te0[x] = S [x].[02, 01, 01, 03];
-Te1[x] = S [x].[03, 02, 01, 01];
-Te2[x] = S [x].[01, 03, 02, 01];
-Te3[x] = S [x].[01, 01, 03, 02];
-
-Td0[x] = Si[x].[0e, 09, 0d, 0b];
-Td1[x] = Si[x].[0b, 0e, 09, 0d];
-Td2[x] = Si[x].[0d, 0b, 0e, 09];
-Td3[x] = Si[x].[09, 0d, 0b, 0e];
-Td4[x] = Si[x].[01];
-*/
-
-static const u32 Te0[256] = {
- 0xc66363a5U, 0xf87c7c84U, 0xee777799U, 0xf67b7b8dU,
- 0xfff2f20dU, 0xd66b6bbdU, 0xde6f6fb1U, 0x91c5c554U,
- 0x60303050U, 0x02010103U, 0xce6767a9U, 0x562b2b7dU,
- 0xe7fefe19U, 0xb5d7d762U, 0x4dababe6U, 0xec76769aU,
- 0x8fcaca45U, 0x1f82829dU, 0x89c9c940U, 0xfa7d7d87U,
- 0xeffafa15U, 0xb25959ebU, 0x8e4747c9U, 0xfbf0f00bU,
- 0x41adadecU, 0xb3d4d467U, 0x5fa2a2fdU, 0x45afafeaU,
- 0x239c9cbfU, 0x53a4a4f7U, 0xe4727296U, 0x9bc0c05bU,
- 0x75b7b7c2U, 0xe1fdfd1cU, 0x3d9393aeU, 0x4c26266aU,
- 0x6c36365aU, 0x7e3f3f41U, 0xf5f7f702U, 0x83cccc4fU,
- 0x6834345cU, 0x51a5a5f4U, 0xd1e5e534U, 0xf9f1f108U,
- 0xe2717193U, 0xabd8d873U, 0x62313153U, 0x2a15153fU,
- 0x0804040cU, 0x95c7c752U, 0x46232365U, 0x9dc3c35eU,
- 0x30181828U, 0x379696a1U, 0x0a05050fU, 0x2f9a9ab5U,
- 0x0e070709U, 0x24121236U, 0x1b80809bU, 0xdfe2e23dU,
- 0xcdebeb26U, 0x4e272769U, 0x7fb2b2cdU, 0xea75759fU,
- 0x1209091bU, 0x1d83839eU, 0x582c2c74U, 0x341a1a2eU,
- 0x361b1b2dU, 0xdc6e6eb2U, 0xb45a5aeeU, 0x5ba0a0fbU,
- 0xa45252f6U, 0x763b3b4dU, 0xb7d6d661U, 0x7db3b3ceU,
- 0x5229297bU, 0xdde3e33eU, 0x5e2f2f71U, 0x13848497U,
- 0xa65353f5U, 0xb9d1d168U, 0x00000000U, 0xc1eded2cU,
- 0x40202060U, 0xe3fcfc1fU, 0x79b1b1c8U, 0xb65b5bedU,
- 0xd46a6abeU, 0x8dcbcb46U, 0x67bebed9U, 0x7239394bU,
- 0x944a4adeU, 0x984c4cd4U, 0xb05858e8U, 0x85cfcf4aU,
- 0xbbd0d06bU, 0xc5efef2aU, 0x4faaaae5U, 0xedfbfb16U,
- 0x864343c5U, 0x9a4d4dd7U, 0x66333355U, 0x11858594U,
- 0x8a4545cfU, 0xe9f9f910U, 0x04020206U, 0xfe7f7f81U,
- 0xa05050f0U, 0x783c3c44U, 0x259f9fbaU, 0x4ba8a8e3U,
- 0xa25151f3U, 0x5da3a3feU, 0x804040c0U, 0x058f8f8aU,
- 0x3f9292adU, 0x219d9dbcU, 0x70383848U, 0xf1f5f504U,
- 0x63bcbcdfU, 0x77b6b6c1U, 0xafdada75U, 0x42212163U,
- 0x20101030U, 0xe5ffff1aU, 0xfdf3f30eU, 0xbfd2d26dU,
- 0x81cdcd4cU, 0x180c0c14U, 0x26131335U, 0xc3ecec2fU,
- 0xbe5f5fe1U, 0x359797a2U, 0x884444ccU, 0x2e171739U,
- 0x93c4c457U, 0x55a7a7f2U, 0xfc7e7e82U, 0x7a3d3d47U,
- 0xc86464acU, 0xba5d5de7U, 0x3219192bU, 0xe6737395U,
- 0xc06060a0U, 0x19818198U, 0x9e4f4fd1U, 0xa3dcdc7fU,
- 0x44222266U, 0x542a2a7eU, 0x3b9090abU, 0x0b888883U,
- 0x8c4646caU, 0xc7eeee29U, 0x6bb8b8d3U, 0x2814143cU,
- 0xa7dede79U, 0xbc5e5ee2U, 0x160b0b1dU, 0xaddbdb76U,
- 0xdbe0e03bU, 0x64323256U, 0x743a3a4eU, 0x140a0a1eU,
- 0x924949dbU, 0x0c06060aU, 0x4824246cU, 0xb85c5ce4U,
- 0x9fc2c25dU, 0xbdd3d36eU, 0x43acacefU, 0xc46262a6U,
- 0x399191a8U, 0x319595a4U, 0xd3e4e437U, 0xf279798bU,
- 0xd5e7e732U, 0x8bc8c843U, 0x6e373759U, 0xda6d6db7U,
- 0x018d8d8cU, 0xb1d5d564U, 0x9c4e4ed2U, 0x49a9a9e0U,
- 0xd86c6cb4U, 0xac5656faU, 0xf3f4f407U, 0xcfeaea25U,
- 0xca6565afU, 0xf47a7a8eU, 0x47aeaee9U, 0x10080818U,
- 0x6fbabad5U, 0xf0787888U, 0x4a25256fU, 0x5c2e2e72U,
- 0x381c1c24U, 0x57a6a6f1U, 0x73b4b4c7U, 0x97c6c651U,
- 0xcbe8e823U, 0xa1dddd7cU, 0xe874749cU, 0x3e1f1f21U,
- 0x964b4bddU, 0x61bdbddcU, 0x0d8b8b86U, 0x0f8a8a85U,
- 0xe0707090U, 0x7c3e3e42U, 0x71b5b5c4U, 0xcc6666aaU,
- 0x904848d8U, 0x06030305U, 0xf7f6f601U, 0x1c0e0e12U,
- 0xc26161a3U, 0x6a35355fU, 0xae5757f9U, 0x69b9b9d0U,
- 0x17868691U, 0x99c1c158U, 0x3a1d1d27U, 0x279e9eb9U,
- 0xd9e1e138U, 0xebf8f813U, 0x2b9898b3U, 0x22111133U,
- 0xd26969bbU, 0xa9d9d970U, 0x078e8e89U, 0x339494a7U,
- 0x2d9b9bb6U, 0x3c1e1e22U, 0x15878792U, 0xc9e9e920U,
- 0x87cece49U, 0xaa5555ffU, 0x50282878U, 0xa5dfdf7aU,
- 0x038c8c8fU, 0x59a1a1f8U, 0x09898980U, 0x1a0d0d17U,
- 0x65bfbfdaU, 0xd7e6e631U, 0x844242c6U, 0xd06868b8U,
- 0x824141c3U, 0x299999b0U, 0x5a2d2d77U, 0x1e0f0f11U,
- 0x7bb0b0cbU, 0xa85454fcU, 0x6dbbbbd6U, 0x2c16163aU,
-};
-static const u32 Te1[256] = {
- 0xa5c66363U, 0x84f87c7cU, 0x99ee7777U, 0x8df67b7bU,
- 0x0dfff2f2U, 0xbdd66b6bU, 0xb1de6f6fU, 0x5491c5c5U,
- 0x50603030U, 0x03020101U, 0xa9ce6767U, 0x7d562b2bU,
- 0x19e7fefeU, 0x62b5d7d7U, 0xe64dababU, 0x9aec7676U,
- 0x458fcacaU, 0x9d1f8282U, 0x4089c9c9U, 0x87fa7d7dU,
- 0x15effafaU, 0xebb25959U, 0xc98e4747U, 0x0bfbf0f0U,
- 0xec41adadU, 0x67b3d4d4U, 0xfd5fa2a2U, 0xea45afafU,
- 0xbf239c9cU, 0xf753a4a4U, 0x96e47272U, 0x5b9bc0c0U,
- 0xc275b7b7U, 0x1ce1fdfdU, 0xae3d9393U, 0x6a4c2626U,
- 0x5a6c3636U, 0x417e3f3fU, 0x02f5f7f7U, 0x4f83ccccU,
- 0x5c683434U, 0xf451a5a5U, 0x34d1e5e5U, 0x08f9f1f1U,
- 0x93e27171U, 0x73abd8d8U, 0x53623131U, 0x3f2a1515U,
- 0x0c080404U, 0x5295c7c7U, 0x65462323U, 0x5e9dc3c3U,
- 0x28301818U, 0xa1379696U, 0x0f0a0505U, 0xb52f9a9aU,
- 0x090e0707U, 0x36241212U, 0x9b1b8080U, 0x3ddfe2e2U,
- 0x26cdebebU, 0x694e2727U, 0xcd7fb2b2U, 0x9fea7575U,
- 0x1b120909U, 0x9e1d8383U, 0x74582c2cU, 0x2e341a1aU,
- 0x2d361b1bU, 0xb2dc6e6eU, 0xeeb45a5aU, 0xfb5ba0a0U,
- 0xf6a45252U, 0x4d763b3bU, 0x61b7d6d6U, 0xce7db3b3U,
- 0x7b522929U, 0x3edde3e3U, 0x715e2f2fU, 0x97138484U,
- 0xf5a65353U, 0x68b9d1d1U, 0x00000000U, 0x2cc1ededU,
- 0x60402020U, 0x1fe3fcfcU, 0xc879b1b1U, 0xedb65b5bU,
- 0xbed46a6aU, 0x468dcbcbU, 0xd967bebeU, 0x4b723939U,
- 0xde944a4aU, 0xd4984c4cU, 0xe8b05858U, 0x4a85cfcfU,
- 0x6bbbd0d0U, 0x2ac5efefU, 0xe54faaaaU, 0x16edfbfbU,
- 0xc5864343U, 0xd79a4d4dU, 0x55663333U, 0x94118585U,
- 0xcf8a4545U, 0x10e9f9f9U, 0x06040202U, 0x81fe7f7fU,
- 0xf0a05050U, 0x44783c3cU, 0xba259f9fU, 0xe34ba8a8U,
- 0xf3a25151U, 0xfe5da3a3U, 0xc0804040U, 0x8a058f8fU,
- 0xad3f9292U, 0xbc219d9dU, 0x48703838U, 0x04f1f5f5U,
- 0xdf63bcbcU, 0xc177b6b6U, 0x75afdadaU, 0x63422121U,
- 0x30201010U, 0x1ae5ffffU, 0x0efdf3f3U, 0x6dbfd2d2U,
- 0x4c81cdcdU, 0x14180c0cU, 0x35261313U, 0x2fc3ececU,
- 0xe1be5f5fU, 0xa2359797U, 0xcc884444U, 0x392e1717U,
- 0x5793c4c4U, 0xf255a7a7U, 0x82fc7e7eU, 0x477a3d3dU,
- 0xacc86464U, 0xe7ba5d5dU, 0x2b321919U, 0x95e67373U,
- 0xa0c06060U, 0x98198181U, 0xd19e4f4fU, 0x7fa3dcdcU,
- 0x66442222U, 0x7e542a2aU, 0xab3b9090U, 0x830b8888U,
- 0xca8c4646U, 0x29c7eeeeU, 0xd36bb8b8U, 0x3c281414U,
- 0x79a7dedeU, 0xe2bc5e5eU, 0x1d160b0bU, 0x76addbdbU,
- 0x3bdbe0e0U, 0x56643232U, 0x4e743a3aU, 0x1e140a0aU,
- 0xdb924949U, 0x0a0c0606U, 0x6c482424U, 0xe4b85c5cU,
- 0x5d9fc2c2U, 0x6ebdd3d3U, 0xef43acacU, 0xa6c46262U,
- 0xa8399191U, 0xa4319595U, 0x37d3e4e4U, 0x8bf27979U,
- 0x32d5e7e7U, 0x438bc8c8U, 0x596e3737U, 0xb7da6d6dU,
- 0x8c018d8dU, 0x64b1d5d5U, 0xd29c4e4eU, 0xe049a9a9U,
- 0xb4d86c6cU, 0xfaac5656U, 0x07f3f4f4U, 0x25cfeaeaU,
- 0xafca6565U, 0x8ef47a7aU, 0xe947aeaeU, 0x18100808U,
- 0xd56fbabaU, 0x88f07878U, 0x6f4a2525U, 0x725c2e2eU,
- 0x24381c1cU, 0xf157a6a6U, 0xc773b4b4U, 0x5197c6c6U,
- 0x23cbe8e8U, 0x7ca1ddddU, 0x9ce87474U, 0x213e1f1fU,
- 0xdd964b4bU, 0xdc61bdbdU, 0x860d8b8bU, 0x850f8a8aU,
- 0x90e07070U, 0x427c3e3eU, 0xc471b5b5U, 0xaacc6666U,
- 0xd8904848U, 0x05060303U, 0x01f7f6f6U, 0x121c0e0eU,
- 0xa3c26161U, 0x5f6a3535U, 0xf9ae5757U, 0xd069b9b9U,
- 0x91178686U, 0x5899c1c1U, 0x273a1d1dU, 0xb9279e9eU,
- 0x38d9e1e1U, 0x13ebf8f8U, 0xb32b9898U, 0x33221111U,
- 0xbbd26969U, 0x70a9d9d9U, 0x89078e8eU, 0xa7339494U,
- 0xb62d9b9bU, 0x223c1e1eU, 0x92158787U, 0x20c9e9e9U,
- 0x4987ceceU, 0xffaa5555U, 0x78502828U, 0x7aa5dfdfU,
- 0x8f038c8cU, 0xf859a1a1U, 0x80098989U, 0x171a0d0dU,
- 0xda65bfbfU, 0x31d7e6e6U, 0xc6844242U, 0xb8d06868U,
- 0xc3824141U, 0xb0299999U, 0x775a2d2dU, 0x111e0f0fU,
- 0xcb7bb0b0U, 0xfca85454U, 0xd66dbbbbU, 0x3a2c1616U,
-};
-static const u32 Te2[256] = {
- 0x63a5c663U, 0x7c84f87cU, 0x7799ee77U, 0x7b8df67bU,
- 0xf20dfff2U, 0x6bbdd66bU, 0x6fb1de6fU, 0xc55491c5U,
- 0x30506030U, 0x01030201U, 0x67a9ce67U, 0x2b7d562bU,
- 0xfe19e7feU, 0xd762b5d7U, 0xabe64dabU, 0x769aec76U,
- 0xca458fcaU, 0x829d1f82U, 0xc94089c9U, 0x7d87fa7dU,
- 0xfa15effaU, 0x59ebb259U, 0x47c98e47U, 0xf00bfbf0U,
- 0xadec41adU, 0xd467b3d4U, 0xa2fd5fa2U, 0xafea45afU,
- 0x9cbf239cU, 0xa4f753a4U, 0x7296e472U, 0xc05b9bc0U,
- 0xb7c275b7U, 0xfd1ce1fdU, 0x93ae3d93U, 0x266a4c26U,
- 0x365a6c36U, 0x3f417e3fU, 0xf702f5f7U, 0xcc4f83ccU,
- 0x345c6834U, 0xa5f451a5U, 0xe534d1e5U, 0xf108f9f1U,
- 0x7193e271U, 0xd873abd8U, 0x31536231U, 0x153f2a15U,
- 0x040c0804U, 0xc75295c7U, 0x23654623U, 0xc35e9dc3U,
- 0x18283018U, 0x96a13796U, 0x050f0a05U, 0x9ab52f9aU,
- 0x07090e07U, 0x12362412U, 0x809b1b80U, 0xe23ddfe2U,
- 0xeb26cdebU, 0x27694e27U, 0xb2cd7fb2U, 0x759fea75U,
- 0x091b1209U, 0x839e1d83U, 0x2c74582cU, 0x1a2e341aU,
- 0x1b2d361bU, 0x6eb2dc6eU, 0x5aeeb45aU, 0xa0fb5ba0U,
- 0x52f6a452U, 0x3b4d763bU, 0xd661b7d6U, 0xb3ce7db3U,
- 0x297b5229U, 0xe33edde3U, 0x2f715e2fU, 0x84971384U,
- 0x53f5a653U, 0xd168b9d1U, 0x00000000U, 0xed2cc1edU,
- 0x20604020U, 0xfc1fe3fcU, 0xb1c879b1U, 0x5bedb65bU,
- 0x6abed46aU, 0xcb468dcbU, 0xbed967beU, 0x394b7239U,
- 0x4ade944aU, 0x4cd4984cU, 0x58e8b058U, 0xcf4a85cfU,
- 0xd06bbbd0U, 0xef2ac5efU, 0xaae54faaU, 0xfb16edfbU,
- 0x43c58643U, 0x4dd79a4dU, 0x33556633U, 0x85941185U,
- 0x45cf8a45U, 0xf910e9f9U, 0x02060402U, 0x7f81fe7fU,
- 0x50f0a050U, 0x3c44783cU, 0x9fba259fU, 0xa8e34ba8U,
- 0x51f3a251U, 0xa3fe5da3U, 0x40c08040U, 0x8f8a058fU,
- 0x92ad3f92U, 0x9dbc219dU, 0x38487038U, 0xf504f1f5U,
- 0xbcdf63bcU, 0xb6c177b6U, 0xda75afdaU, 0x21634221U,
- 0x10302010U, 0xff1ae5ffU, 0xf30efdf3U, 0xd26dbfd2U,
- 0xcd4c81cdU, 0x0c14180cU, 0x13352613U, 0xec2fc3ecU,
- 0x5fe1be5fU, 0x97a23597U, 0x44cc8844U, 0x17392e17U,
- 0xc45793c4U, 0xa7f255a7U, 0x7e82fc7eU, 0x3d477a3dU,
- 0x64acc864U, 0x5de7ba5dU, 0x192b3219U, 0x7395e673U,
- 0x60a0c060U, 0x81981981U, 0x4fd19e4fU, 0xdc7fa3dcU,
- 0x22664422U, 0x2a7e542aU, 0x90ab3b90U, 0x88830b88U,
- 0x46ca8c46U, 0xee29c7eeU, 0xb8d36bb8U, 0x143c2814U,
- 0xde79a7deU, 0x5ee2bc5eU, 0x0b1d160bU, 0xdb76addbU,
- 0xe03bdbe0U, 0x32566432U, 0x3a4e743aU, 0x0a1e140aU,
- 0x49db9249U, 0x060a0c06U, 0x246c4824U, 0x5ce4b85cU,
- 0xc25d9fc2U, 0xd36ebdd3U, 0xacef43acU, 0x62a6c462U,
- 0x91a83991U, 0x95a43195U, 0xe437d3e4U, 0x798bf279U,
- 0xe732d5e7U, 0xc8438bc8U, 0x37596e37U, 0x6db7da6dU,
- 0x8d8c018dU, 0xd564b1d5U, 0x4ed29c4eU, 0xa9e049a9U,
- 0x6cb4d86cU, 0x56faac56U, 0xf407f3f4U, 0xea25cfeaU,
- 0x65afca65U, 0x7a8ef47aU, 0xaee947aeU, 0x08181008U,
- 0xbad56fbaU, 0x7888f078U, 0x256f4a25U, 0x2e725c2eU,
- 0x1c24381cU, 0xa6f157a6U, 0xb4c773b4U, 0xc65197c6U,
- 0xe823cbe8U, 0xdd7ca1ddU, 0x749ce874U, 0x1f213e1fU,
- 0x4bdd964bU, 0xbddc61bdU, 0x8b860d8bU, 0x8a850f8aU,
- 0x7090e070U, 0x3e427c3eU, 0xb5c471b5U, 0x66aacc66U,
- 0x48d89048U, 0x03050603U, 0xf601f7f6U, 0x0e121c0eU,
- 0x61a3c261U, 0x355f6a35U, 0x57f9ae57U, 0xb9d069b9U,
- 0x86911786U, 0xc15899c1U, 0x1d273a1dU, 0x9eb9279eU,
- 0xe138d9e1U, 0xf813ebf8U, 0x98b32b98U, 0x11332211U,
- 0x69bbd269U, 0xd970a9d9U, 0x8e89078eU, 0x94a73394U,
- 0x9bb62d9bU, 0x1e223c1eU, 0x87921587U, 0xe920c9e9U,
- 0xce4987ceU, 0x55ffaa55U, 0x28785028U, 0xdf7aa5dfU,
- 0x8c8f038cU, 0xa1f859a1U, 0x89800989U, 0x0d171a0dU,
- 0xbfda65bfU, 0xe631d7e6U, 0x42c68442U, 0x68b8d068U,
- 0x41c38241U, 0x99b02999U, 0x2d775a2dU, 0x0f111e0fU,
- 0xb0cb7bb0U, 0x54fca854U, 0xbbd66dbbU, 0x163a2c16U,
-};
-static const u32 Te3[256] = {
- 0x6363a5c6U, 0x7c7c84f8U, 0x777799eeU, 0x7b7b8df6U,
- 0xf2f20dffU, 0x6b6bbdd6U, 0x6f6fb1deU, 0xc5c55491U,
- 0x30305060U, 0x01010302U, 0x6767a9ceU, 0x2b2b7d56U,
- 0xfefe19e7U, 0xd7d762b5U, 0xababe64dU, 0x76769aecU,
- 0xcaca458fU, 0x82829d1fU, 0xc9c94089U, 0x7d7d87faU,
- 0xfafa15efU, 0x5959ebb2U, 0x4747c98eU, 0xf0f00bfbU,
- 0xadadec41U, 0xd4d467b3U, 0xa2a2fd5fU, 0xafafea45U,
- 0x9c9cbf23U, 0xa4a4f753U, 0x727296e4U, 0xc0c05b9bU,
- 0xb7b7c275U, 0xfdfd1ce1U, 0x9393ae3dU, 0x26266a4cU,
- 0x36365a6cU, 0x3f3f417eU, 0xf7f702f5U, 0xcccc4f83U,
- 0x34345c68U, 0xa5a5f451U, 0xe5e534d1U, 0xf1f108f9U,
- 0x717193e2U, 0xd8d873abU, 0x31315362U, 0x15153f2aU,
- 0x04040c08U, 0xc7c75295U, 0x23236546U, 0xc3c35e9dU,
- 0x18182830U, 0x9696a137U, 0x05050f0aU, 0x9a9ab52fU,
- 0x0707090eU, 0x12123624U, 0x80809b1bU, 0xe2e23ddfU,
- 0xebeb26cdU, 0x2727694eU, 0xb2b2cd7fU, 0x75759feaU,
- 0x09091b12U, 0x83839e1dU, 0x2c2c7458U, 0x1a1a2e34U,
- 0x1b1b2d36U, 0x6e6eb2dcU, 0x5a5aeeb4U, 0xa0a0fb5bU,
- 0x5252f6a4U, 0x3b3b4d76U, 0xd6d661b7U, 0xb3b3ce7dU,
- 0x29297b52U, 0xe3e33eddU, 0x2f2f715eU, 0x84849713U,
- 0x5353f5a6U, 0xd1d168b9U, 0x00000000U, 0xeded2cc1U,
- 0x20206040U, 0xfcfc1fe3U, 0xb1b1c879U, 0x5b5bedb6U,
- 0x6a6abed4U, 0xcbcb468dU, 0xbebed967U, 0x39394b72U,
- 0x4a4ade94U, 0x4c4cd498U, 0x5858e8b0U, 0xcfcf4a85U,
- 0xd0d06bbbU, 0xefef2ac5U, 0xaaaae54fU, 0xfbfb16edU,
- 0x4343c586U, 0x4d4dd79aU, 0x33335566U, 0x85859411U,
- 0x4545cf8aU, 0xf9f910e9U, 0x02020604U, 0x7f7f81feU,
- 0x5050f0a0U, 0x3c3c4478U, 0x9f9fba25U, 0xa8a8e34bU,
- 0x5151f3a2U, 0xa3a3fe5dU, 0x4040c080U, 0x8f8f8a05U,
- 0x9292ad3fU, 0x9d9dbc21U, 0x38384870U, 0xf5f504f1U,
- 0xbcbcdf63U, 0xb6b6c177U, 0xdada75afU, 0x21216342U,
- 0x10103020U, 0xffff1ae5U, 0xf3f30efdU, 0xd2d26dbfU,
- 0xcdcd4c81U, 0x0c0c1418U, 0x13133526U, 0xecec2fc3U,
- 0x5f5fe1beU, 0x9797a235U, 0x4444cc88U, 0x1717392eU,
- 0xc4c45793U, 0xa7a7f255U, 0x7e7e82fcU, 0x3d3d477aU,
- 0x6464acc8U, 0x5d5de7baU, 0x19192b32U, 0x737395e6U,
- 0x6060a0c0U, 0x81819819U, 0x4f4fd19eU, 0xdcdc7fa3U,
- 0x22226644U, 0x2a2a7e54U, 0x9090ab3bU, 0x8888830bU,
- 0x4646ca8cU, 0xeeee29c7U, 0xb8b8d36bU, 0x14143c28U,
- 0xdede79a7U, 0x5e5ee2bcU, 0x0b0b1d16U, 0xdbdb76adU,
- 0xe0e03bdbU, 0x32325664U, 0x3a3a4e74U, 0x0a0a1e14U,
- 0x4949db92U, 0x06060a0cU, 0x24246c48U, 0x5c5ce4b8U,
- 0xc2c25d9fU, 0xd3d36ebdU, 0xacacef43U, 0x6262a6c4U,
- 0x9191a839U, 0x9595a431U, 0xe4e437d3U, 0x79798bf2U,
- 0xe7e732d5U, 0xc8c8438bU, 0x3737596eU, 0x6d6db7daU,
- 0x8d8d8c01U, 0xd5d564b1U, 0x4e4ed29cU, 0xa9a9e049U,
- 0x6c6cb4d8U, 0x5656faacU, 0xf4f407f3U, 0xeaea25cfU,
- 0x6565afcaU, 0x7a7a8ef4U, 0xaeaee947U, 0x08081810U,
- 0xbabad56fU, 0x787888f0U, 0x25256f4aU, 0x2e2e725cU,
- 0x1c1c2438U, 0xa6a6f157U, 0xb4b4c773U, 0xc6c65197U,
- 0xe8e823cbU, 0xdddd7ca1U, 0x74749ce8U, 0x1f1f213eU,
- 0x4b4bdd96U, 0xbdbddc61U, 0x8b8b860dU, 0x8a8a850fU,
- 0x707090e0U, 0x3e3e427cU, 0xb5b5c471U, 0x6666aaccU,
- 0x4848d890U, 0x03030506U, 0xf6f601f7U, 0x0e0e121cU,
- 0x6161a3c2U, 0x35355f6aU, 0x5757f9aeU, 0xb9b9d069U,
- 0x86869117U, 0xc1c15899U, 0x1d1d273aU, 0x9e9eb927U,
- 0xe1e138d9U, 0xf8f813ebU, 0x9898b32bU, 0x11113322U,
- 0x6969bbd2U, 0xd9d970a9U, 0x8e8e8907U, 0x9494a733U,
- 0x9b9bb62dU, 0x1e1e223cU, 0x87879215U, 0xe9e920c9U,
- 0xcece4987U, 0x5555ffaaU, 0x28287850U, 0xdfdf7aa5U,
- 0x8c8c8f03U, 0xa1a1f859U, 0x89898009U, 0x0d0d171aU,
- 0xbfbfda65U, 0xe6e631d7U, 0x4242c684U, 0x6868b8d0U,
- 0x4141c382U, 0x9999b029U, 0x2d2d775aU, 0x0f0f111eU,
- 0xb0b0cb7bU, 0x5454fca8U, 0xbbbbd66dU, 0x16163a2cU,
-};
-
-static const u32 Td0[256] = {
- 0x51f4a750U, 0x7e416553U, 0x1a17a4c3U, 0x3a275e96U,
- 0x3bab6bcbU, 0x1f9d45f1U, 0xacfa58abU, 0x4be30393U,
- 0x2030fa55U, 0xad766df6U, 0x88cc7691U, 0xf5024c25U,
- 0x4fe5d7fcU, 0xc52acbd7U, 0x26354480U, 0xb562a38fU,
- 0xdeb15a49U, 0x25ba1b67U, 0x45ea0e98U, 0x5dfec0e1U,
- 0xc32f7502U, 0x814cf012U, 0x8d4697a3U, 0x6bd3f9c6U,
- 0x038f5fe7U, 0x15929c95U, 0xbf6d7aebU, 0x955259daU,
- 0xd4be832dU, 0x587421d3U, 0x49e06929U, 0x8ec9c844U,
- 0x75c2896aU, 0xf48e7978U, 0x99583e6bU, 0x27b971ddU,
- 0xbee14fb6U, 0xf088ad17U, 0xc920ac66U, 0x7dce3ab4U,
- 0x63df4a18U, 0xe51a3182U, 0x97513360U, 0x62537f45U,
- 0xb16477e0U, 0xbb6bae84U, 0xfe81a01cU, 0xf9082b94U,
- 0x70486858U, 0x8f45fd19U, 0x94de6c87U, 0x527bf8b7U,
- 0xab73d323U, 0x724b02e2U, 0xe31f8f57U, 0x6655ab2aU,
- 0xb2eb2807U, 0x2fb5c203U, 0x86c57b9aU, 0xd33708a5U,
- 0x302887f2U, 0x23bfa5b2U, 0x02036abaU, 0xed16825cU,
- 0x8acf1c2bU, 0xa779b492U, 0xf307f2f0U, 0x4e69e2a1U,
- 0x65daf4cdU, 0x0605bed5U, 0xd134621fU, 0xc4a6fe8aU,
- 0x342e539dU, 0xa2f355a0U, 0x058ae132U, 0xa4f6eb75U,
- 0x0b83ec39U, 0x4060efaaU, 0x5e719f06U, 0xbd6e1051U,
- 0x3e218af9U, 0x96dd063dU, 0xdd3e05aeU, 0x4de6bd46U,
- 0x91548db5U, 0x71c45d05U, 0x0406d46fU, 0x605015ffU,
- 0x1998fb24U, 0xd6bde997U, 0x894043ccU, 0x67d99e77U,
- 0xb0e842bdU, 0x07898b88U, 0xe7195b38U, 0x79c8eedbU,
- 0xa17c0a47U, 0x7c420fe9U, 0xf8841ec9U, 0x00000000U,
- 0x09808683U, 0x322bed48U, 0x1e1170acU, 0x6c5a724eU,
- 0xfd0efffbU, 0x0f853856U, 0x3daed51eU, 0x362d3927U,
- 0x0a0fd964U, 0x685ca621U, 0x9b5b54d1U, 0x24362e3aU,
- 0x0c0a67b1U, 0x9357e70fU, 0xb4ee96d2U, 0x1b9b919eU,
- 0x80c0c54fU, 0x61dc20a2U, 0x5a774b69U, 0x1c121a16U,
- 0xe293ba0aU, 0xc0a02ae5U, 0x3c22e043U, 0x121b171dU,
- 0x0e090d0bU, 0xf28bc7adU, 0x2db6a8b9U, 0x141ea9c8U,
- 0x57f11985U, 0xaf75074cU, 0xee99ddbbU, 0xa37f60fdU,
- 0xf701269fU, 0x5c72f5bcU, 0x44663bc5U, 0x5bfb7e34U,
- 0x8b432976U, 0xcb23c6dcU, 0xb6edfc68U, 0xb8e4f163U,
- 0xd731dccaU, 0x42638510U, 0x13972240U, 0x84c61120U,
- 0x854a247dU, 0xd2bb3df8U, 0xaef93211U, 0xc729a16dU,
- 0x1d9e2f4bU, 0xdcb230f3U, 0x0d8652ecU, 0x77c1e3d0U,
- 0x2bb3166cU, 0xa970b999U, 0x119448faU, 0x47e96422U,
- 0xa8fc8cc4U, 0xa0f03f1aU, 0x567d2cd8U, 0x223390efU,
- 0x87494ec7U, 0xd938d1c1U, 0x8ccaa2feU, 0x98d40b36U,
- 0xa6f581cfU, 0xa57ade28U, 0xdab78e26U, 0x3fadbfa4U,
- 0x2c3a9de4U, 0x5078920dU, 0x6a5fcc9bU, 0x547e4662U,
- 0xf68d13c2U, 0x90d8b8e8U, 0x2e39f75eU, 0x82c3aff5U,
- 0x9f5d80beU, 0x69d0937cU, 0x6fd52da9U, 0xcf2512b3U,
- 0xc8ac993bU, 0x10187da7U, 0xe89c636eU, 0xdb3bbb7bU,
- 0xcd267809U, 0x6e5918f4U, 0xec9ab701U, 0x834f9aa8U,
- 0xe6956e65U, 0xaaffe67eU, 0x21bccf08U, 0xef15e8e6U,
- 0xbae79bd9U, 0x4a6f36ceU, 0xea9f09d4U, 0x29b07cd6U,
- 0x31a4b2afU, 0x2a3f2331U, 0xc6a59430U, 0x35a266c0U,
- 0x744ebc37U, 0xfc82caa6U, 0xe090d0b0U, 0x33a7d815U,
- 0xf104984aU, 0x41ecdaf7U, 0x7fcd500eU, 0x1791f62fU,
- 0x764dd68dU, 0x43efb04dU, 0xccaa4d54U, 0xe49604dfU,
- 0x9ed1b5e3U, 0x4c6a881bU, 0xc12c1fb8U, 0x4665517fU,
- 0x9d5eea04U, 0x018c355dU, 0xfa877473U, 0xfb0b412eU,
- 0xb3671d5aU, 0x92dbd252U, 0xe9105633U, 0x6dd64713U,
- 0x9ad7618cU, 0x37a10c7aU, 0x59f8148eU, 0xeb133c89U,
- 0xcea927eeU, 0xb761c935U, 0xe11ce5edU, 0x7a47b13cU,
- 0x9cd2df59U, 0x55f2733fU, 0x1814ce79U, 0x73c737bfU,
- 0x53f7cdeaU, 0x5ffdaa5bU, 0xdf3d6f14U, 0x7844db86U,
- 0xcaaff381U, 0xb968c43eU, 0x3824342cU, 0xc2a3405fU,
- 0x161dc372U, 0xbce2250cU, 0x283c498bU, 0xff0d9541U,
- 0x39a80171U, 0x080cb3deU, 0xd8b4e49cU, 0x6456c190U,
- 0x7bcb8461U, 0xd532b670U, 0x486c5c74U, 0xd0b85742U,
-};
-static const u32 Td1[256] = {
- 0x5051f4a7U, 0x537e4165U, 0xc31a17a4U, 0x963a275eU,
- 0xcb3bab6bU, 0xf11f9d45U, 0xabacfa58U, 0x934be303U,
- 0x552030faU, 0xf6ad766dU, 0x9188cc76U, 0x25f5024cU,
- 0xfc4fe5d7U, 0xd7c52acbU, 0x80263544U, 0x8fb562a3U,
- 0x49deb15aU, 0x6725ba1bU, 0x9845ea0eU, 0xe15dfec0U,
- 0x02c32f75U, 0x12814cf0U, 0xa38d4697U, 0xc66bd3f9U,
- 0xe7038f5fU, 0x9515929cU, 0xebbf6d7aU, 0xda955259U,
- 0x2dd4be83U, 0xd3587421U, 0x2949e069U, 0x448ec9c8U,
- 0x6a75c289U, 0x78f48e79U, 0x6b99583eU, 0xdd27b971U,
- 0xb6bee14fU, 0x17f088adU, 0x66c920acU, 0xb47dce3aU,
- 0x1863df4aU, 0x82e51a31U, 0x60975133U, 0x4562537fU,
- 0xe0b16477U, 0x84bb6baeU, 0x1cfe81a0U, 0x94f9082bU,
- 0x58704868U, 0x198f45fdU, 0x8794de6cU, 0xb7527bf8U,
- 0x23ab73d3U, 0xe2724b02U, 0x57e31f8fU, 0x2a6655abU,
- 0x07b2eb28U, 0x032fb5c2U, 0x9a86c57bU, 0xa5d33708U,
- 0xf2302887U, 0xb223bfa5U, 0xba02036aU, 0x5ced1682U,
- 0x2b8acf1cU, 0x92a779b4U, 0xf0f307f2U, 0xa14e69e2U,
- 0xcd65daf4U, 0xd50605beU, 0x1fd13462U, 0x8ac4a6feU,
- 0x9d342e53U, 0xa0a2f355U, 0x32058ae1U, 0x75a4f6ebU,
- 0x390b83ecU, 0xaa4060efU, 0x065e719fU, 0x51bd6e10U,
- 0xf93e218aU, 0x3d96dd06U, 0xaedd3e05U, 0x464de6bdU,
- 0xb591548dU, 0x0571c45dU, 0x6f0406d4U, 0xff605015U,
- 0x241998fbU, 0x97d6bde9U, 0xcc894043U, 0x7767d99eU,
- 0xbdb0e842U, 0x8807898bU, 0x38e7195bU, 0xdb79c8eeU,
- 0x47a17c0aU, 0xe97c420fU, 0xc9f8841eU, 0x00000000U,
- 0x83098086U, 0x48322bedU, 0xac1e1170U, 0x4e6c5a72U,
- 0xfbfd0effU, 0x560f8538U, 0x1e3daed5U, 0x27362d39U,
- 0x640a0fd9U, 0x21685ca6U, 0xd19b5b54U, 0x3a24362eU,
- 0xb10c0a67U, 0x0f9357e7U, 0xd2b4ee96U, 0x9e1b9b91U,
- 0x4f80c0c5U, 0xa261dc20U, 0x695a774bU, 0x161c121aU,
- 0x0ae293baU, 0xe5c0a02aU, 0x433c22e0U, 0x1d121b17U,
- 0x0b0e090dU, 0xadf28bc7U, 0xb92db6a8U, 0xc8141ea9U,
- 0x8557f119U, 0x4caf7507U, 0xbbee99ddU, 0xfda37f60U,
- 0x9ff70126U, 0xbc5c72f5U, 0xc544663bU, 0x345bfb7eU,
- 0x768b4329U, 0xdccb23c6U, 0x68b6edfcU, 0x63b8e4f1U,
- 0xcad731dcU, 0x10426385U, 0x40139722U, 0x2084c611U,
- 0x7d854a24U, 0xf8d2bb3dU, 0x11aef932U, 0x6dc729a1U,
- 0x4b1d9e2fU, 0xf3dcb230U, 0xec0d8652U, 0xd077c1e3U,
- 0x6c2bb316U, 0x99a970b9U, 0xfa119448U, 0x2247e964U,
- 0xc4a8fc8cU, 0x1aa0f03fU, 0xd8567d2cU, 0xef223390U,
- 0xc787494eU, 0xc1d938d1U, 0xfe8ccaa2U, 0x3698d40bU,
- 0xcfa6f581U, 0x28a57adeU, 0x26dab78eU, 0xa43fadbfU,
- 0xe42c3a9dU, 0x0d507892U, 0x9b6a5fccU, 0x62547e46U,
- 0xc2f68d13U, 0xe890d8b8U, 0x5e2e39f7U, 0xf582c3afU,
- 0xbe9f5d80U, 0x7c69d093U, 0xa96fd52dU, 0xb3cf2512U,
- 0x3bc8ac99U, 0xa710187dU, 0x6ee89c63U, 0x7bdb3bbbU,
- 0x09cd2678U, 0xf46e5918U, 0x01ec9ab7U, 0xa8834f9aU,
- 0x65e6956eU, 0x7eaaffe6U, 0x0821bccfU, 0xe6ef15e8U,
- 0xd9bae79bU, 0xce4a6f36U, 0xd4ea9f09U, 0xd629b07cU,
- 0xaf31a4b2U, 0x312a3f23U, 0x30c6a594U, 0xc035a266U,
- 0x37744ebcU, 0xa6fc82caU, 0xb0e090d0U, 0x1533a7d8U,
- 0x4af10498U, 0xf741ecdaU, 0x0e7fcd50U, 0x2f1791f6U,
- 0x8d764dd6U, 0x4d43efb0U, 0x54ccaa4dU, 0xdfe49604U,
- 0xe39ed1b5U, 0x1b4c6a88U, 0xb8c12c1fU, 0x7f466551U,
- 0x049d5eeaU, 0x5d018c35U, 0x73fa8774U, 0x2efb0b41U,
- 0x5ab3671dU, 0x5292dbd2U, 0x33e91056U, 0x136dd647U,
- 0x8c9ad761U, 0x7a37a10cU, 0x8e59f814U, 0x89eb133cU,
- 0xeecea927U, 0x35b761c9U, 0xede11ce5U, 0x3c7a47b1U,
- 0x599cd2dfU, 0x3f55f273U, 0x791814ceU, 0xbf73c737U,
- 0xea53f7cdU, 0x5b5ffdaaU, 0x14df3d6fU, 0x867844dbU,
- 0x81caaff3U, 0x3eb968c4U, 0x2c382434U, 0x5fc2a340U,
- 0x72161dc3U, 0x0cbce225U, 0x8b283c49U, 0x41ff0d95U,
- 0x7139a801U, 0xde080cb3U, 0x9cd8b4e4U, 0x906456c1U,
- 0x617bcb84U, 0x70d532b6U, 0x74486c5cU, 0x42d0b857U,
-};
-static const u32 Td2[256] = {
- 0xa75051f4U, 0x65537e41U, 0xa4c31a17U, 0x5e963a27U,
- 0x6bcb3babU, 0x45f11f9dU, 0x58abacfaU, 0x03934be3U,
- 0xfa552030U, 0x6df6ad76U, 0x769188ccU, 0x4c25f502U,
- 0xd7fc4fe5U, 0xcbd7c52aU, 0x44802635U, 0xa38fb562U,
- 0x5a49deb1U, 0x1b6725baU, 0x0e9845eaU, 0xc0e15dfeU,
- 0x7502c32fU, 0xf012814cU, 0x97a38d46U, 0xf9c66bd3U,
- 0x5fe7038fU, 0x9c951592U, 0x7aebbf6dU, 0x59da9552U,
- 0x832dd4beU, 0x21d35874U, 0x692949e0U, 0xc8448ec9U,
- 0x896a75c2U, 0x7978f48eU, 0x3e6b9958U, 0x71dd27b9U,
- 0x4fb6bee1U, 0xad17f088U, 0xac66c920U, 0x3ab47dceU,
- 0x4a1863dfU, 0x3182e51aU, 0x33609751U, 0x7f456253U,
- 0x77e0b164U, 0xae84bb6bU, 0xa01cfe81U, 0x2b94f908U,
- 0x68587048U, 0xfd198f45U, 0x6c8794deU, 0xf8b7527bU,
- 0xd323ab73U, 0x02e2724bU, 0x8f57e31fU, 0xab2a6655U,
- 0x2807b2ebU, 0xc2032fb5U, 0x7b9a86c5U, 0x08a5d337U,
- 0x87f23028U, 0xa5b223bfU, 0x6aba0203U, 0x825ced16U,
- 0x1c2b8acfU, 0xb492a779U, 0xf2f0f307U, 0xe2a14e69U,
- 0xf4cd65daU, 0xbed50605U, 0x621fd134U, 0xfe8ac4a6U,
- 0x539d342eU, 0x55a0a2f3U, 0xe132058aU, 0xeb75a4f6U,
- 0xec390b83U, 0xefaa4060U, 0x9f065e71U, 0x1051bd6eU,
- 0x8af93e21U, 0x063d96ddU, 0x05aedd3eU, 0xbd464de6U,
- 0x8db59154U, 0x5d0571c4U, 0xd46f0406U, 0x15ff6050U,
- 0xfb241998U, 0xe997d6bdU, 0x43cc8940U, 0x9e7767d9U,
- 0x42bdb0e8U, 0x8b880789U, 0x5b38e719U, 0xeedb79c8U,
- 0x0a47a17cU, 0x0fe97c42U, 0x1ec9f884U, 0x00000000U,
- 0x86830980U, 0xed48322bU, 0x70ac1e11U, 0x724e6c5aU,
- 0xfffbfd0eU, 0x38560f85U, 0xd51e3daeU, 0x3927362dU,
- 0xd9640a0fU, 0xa621685cU, 0x54d19b5bU, 0x2e3a2436U,
- 0x67b10c0aU, 0xe70f9357U, 0x96d2b4eeU, 0x919e1b9bU,
- 0xc54f80c0U, 0x20a261dcU, 0x4b695a77U, 0x1a161c12U,
- 0xba0ae293U, 0x2ae5c0a0U, 0xe0433c22U, 0x171d121bU,
- 0x0d0b0e09U, 0xc7adf28bU, 0xa8b92db6U, 0xa9c8141eU,
- 0x198557f1U, 0x074caf75U, 0xddbbee99U, 0x60fda37fU,
- 0x269ff701U, 0xf5bc5c72U, 0x3bc54466U, 0x7e345bfbU,
- 0x29768b43U, 0xc6dccb23U, 0xfc68b6edU, 0xf163b8e4U,
- 0xdccad731U, 0x85104263U, 0x22401397U, 0x112084c6U,
- 0x247d854aU, 0x3df8d2bbU, 0x3211aef9U, 0xa16dc729U,
- 0x2f4b1d9eU, 0x30f3dcb2U, 0x52ec0d86U, 0xe3d077c1U,
- 0x166c2bb3U, 0xb999a970U, 0x48fa1194U, 0x642247e9U,
- 0x8cc4a8fcU, 0x3f1aa0f0U, 0x2cd8567dU, 0x90ef2233U,
- 0x4ec78749U, 0xd1c1d938U, 0xa2fe8ccaU, 0x0b3698d4U,
- 0x81cfa6f5U, 0xde28a57aU, 0x8e26dab7U, 0xbfa43fadU,
- 0x9de42c3aU, 0x920d5078U, 0xcc9b6a5fU, 0x4662547eU,
- 0x13c2f68dU, 0xb8e890d8U, 0xf75e2e39U, 0xaff582c3U,
- 0x80be9f5dU, 0x937c69d0U, 0x2da96fd5U, 0x12b3cf25U,
- 0x993bc8acU, 0x7da71018U, 0x636ee89cU, 0xbb7bdb3bU,
- 0x7809cd26U, 0x18f46e59U, 0xb701ec9aU, 0x9aa8834fU,
- 0x6e65e695U, 0xe67eaaffU, 0xcf0821bcU, 0xe8e6ef15U,
- 0x9bd9bae7U, 0x36ce4a6fU, 0x09d4ea9fU, 0x7cd629b0U,
- 0xb2af31a4U, 0x23312a3fU, 0x9430c6a5U, 0x66c035a2U,
- 0xbc37744eU, 0xcaa6fc82U, 0xd0b0e090U, 0xd81533a7U,
- 0x984af104U, 0xdaf741ecU, 0x500e7fcdU, 0xf62f1791U,
- 0xd68d764dU, 0xb04d43efU, 0x4d54ccaaU, 0x04dfe496U,
- 0xb5e39ed1U, 0x881b4c6aU, 0x1fb8c12cU, 0x517f4665U,
- 0xea049d5eU, 0x355d018cU, 0x7473fa87U, 0x412efb0bU,
- 0x1d5ab367U, 0xd25292dbU, 0x5633e910U, 0x47136dd6U,
- 0x618c9ad7U, 0x0c7a37a1U, 0x148e59f8U, 0x3c89eb13U,
- 0x27eecea9U, 0xc935b761U, 0xe5ede11cU, 0xb13c7a47U,
- 0xdf599cd2U, 0x733f55f2U, 0xce791814U, 0x37bf73c7U,
- 0xcdea53f7U, 0xaa5b5ffdU, 0x6f14df3dU, 0xdb867844U,
- 0xf381caafU, 0xc43eb968U, 0x342c3824U, 0x405fc2a3U,
- 0xc372161dU, 0x250cbce2U, 0x498b283cU, 0x9541ff0dU,
- 0x017139a8U, 0xb3de080cU, 0xe49cd8b4U, 0xc1906456U,
- 0x84617bcbU, 0xb670d532U, 0x5c74486cU, 0x5742d0b8U,
-};
-static const u32 Td3[256] = {
- 0xf4a75051U, 0x4165537eU, 0x17a4c31aU, 0x275e963aU,
- 0xab6bcb3bU, 0x9d45f11fU, 0xfa58abacU, 0xe303934bU,
- 0x30fa5520U, 0x766df6adU, 0xcc769188U, 0x024c25f5U,
- 0xe5d7fc4fU, 0x2acbd7c5U, 0x35448026U, 0x62a38fb5U,
- 0xb15a49deU, 0xba1b6725U, 0xea0e9845U, 0xfec0e15dU,
- 0x2f7502c3U, 0x4cf01281U, 0x4697a38dU, 0xd3f9c66bU,
- 0x8f5fe703U, 0x929c9515U, 0x6d7aebbfU, 0x5259da95U,
- 0xbe832dd4U, 0x7421d358U, 0xe0692949U, 0xc9c8448eU,
- 0xc2896a75U, 0x8e7978f4U, 0x583e6b99U, 0xb971dd27U,
- 0xe14fb6beU, 0x88ad17f0U, 0x20ac66c9U, 0xce3ab47dU,
- 0xdf4a1863U, 0x1a3182e5U, 0x51336097U, 0x537f4562U,
- 0x6477e0b1U, 0x6bae84bbU, 0x81a01cfeU, 0x082b94f9U,
- 0x48685870U, 0x45fd198fU, 0xde6c8794U, 0x7bf8b752U,
- 0x73d323abU, 0x4b02e272U, 0x1f8f57e3U, 0x55ab2a66U,
- 0xeb2807b2U, 0xb5c2032fU, 0xc57b9a86U, 0x3708a5d3U,
- 0x2887f230U, 0xbfa5b223U, 0x036aba02U, 0x16825cedU,
- 0xcf1c2b8aU, 0x79b492a7U, 0x07f2f0f3U, 0x69e2a14eU,
- 0xdaf4cd65U, 0x05bed506U, 0x34621fd1U, 0xa6fe8ac4U,
- 0x2e539d34U, 0xf355a0a2U, 0x8ae13205U, 0xf6eb75a4U,
- 0x83ec390bU, 0x60efaa40U, 0x719f065eU, 0x6e1051bdU,
- 0x218af93eU, 0xdd063d96U, 0x3e05aeddU, 0xe6bd464dU,
- 0x548db591U, 0xc45d0571U, 0x06d46f04U, 0x5015ff60U,
- 0x98fb2419U, 0xbde997d6U, 0x4043cc89U, 0xd99e7767U,
- 0xe842bdb0U, 0x898b8807U, 0x195b38e7U, 0xc8eedb79U,
- 0x7c0a47a1U, 0x420fe97cU, 0x841ec9f8U, 0x00000000U,
- 0x80868309U, 0x2bed4832U, 0x1170ac1eU, 0x5a724e6cU,
- 0x0efffbfdU, 0x8538560fU, 0xaed51e3dU, 0x2d392736U,
- 0x0fd9640aU, 0x5ca62168U, 0x5b54d19bU, 0x362e3a24U,
- 0x0a67b10cU, 0x57e70f93U, 0xee96d2b4U, 0x9b919e1bU,
- 0xc0c54f80U, 0xdc20a261U, 0x774b695aU, 0x121a161cU,
- 0x93ba0ae2U, 0xa02ae5c0U, 0x22e0433cU, 0x1b171d12U,
- 0x090d0b0eU, 0x8bc7adf2U, 0xb6a8b92dU, 0x1ea9c814U,
- 0xf1198557U, 0x75074cafU, 0x99ddbbeeU, 0x7f60fda3U,
- 0x01269ff7U, 0x72f5bc5cU, 0x663bc544U, 0xfb7e345bU,
- 0x4329768bU, 0x23c6dccbU, 0xedfc68b6U, 0xe4f163b8U,
- 0x31dccad7U, 0x63851042U, 0x97224013U, 0xc6112084U,
- 0x4a247d85U, 0xbb3df8d2U, 0xf93211aeU, 0x29a16dc7U,
- 0x9e2f4b1dU, 0xb230f3dcU, 0x8652ec0dU, 0xc1e3d077U,
- 0xb3166c2bU, 0x70b999a9U, 0x9448fa11U, 0xe9642247U,
- 0xfc8cc4a8U, 0xf03f1aa0U, 0x7d2cd856U, 0x3390ef22U,
- 0x494ec787U, 0x38d1c1d9U, 0xcaa2fe8cU, 0xd40b3698U,
- 0xf581cfa6U, 0x7ade28a5U, 0xb78e26daU, 0xadbfa43fU,
- 0x3a9de42cU, 0x78920d50U, 0x5fcc9b6aU, 0x7e466254U,
- 0x8d13c2f6U, 0xd8b8e890U, 0x39f75e2eU, 0xc3aff582U,
- 0x5d80be9fU, 0xd0937c69U, 0xd52da96fU, 0x2512b3cfU,
- 0xac993bc8U, 0x187da710U, 0x9c636ee8U, 0x3bbb7bdbU,
- 0x267809cdU, 0x5918f46eU, 0x9ab701ecU, 0x4f9aa883U,
- 0x956e65e6U, 0xffe67eaaU, 0xbccf0821U, 0x15e8e6efU,
- 0xe79bd9baU, 0x6f36ce4aU, 0x9f09d4eaU, 0xb07cd629U,
- 0xa4b2af31U, 0x3f23312aU, 0xa59430c6U, 0xa266c035U,
- 0x4ebc3774U, 0x82caa6fcU, 0x90d0b0e0U, 0xa7d81533U,
- 0x04984af1U, 0xecdaf741U, 0xcd500e7fU, 0x91f62f17U,
- 0x4dd68d76U, 0xefb04d43U, 0xaa4d54ccU, 0x9604dfe4U,
- 0xd1b5e39eU, 0x6a881b4cU, 0x2c1fb8c1U, 0x65517f46U,
- 0x5eea049dU, 0x8c355d01U, 0x877473faU, 0x0b412efbU,
- 0x671d5ab3U, 0xdbd25292U, 0x105633e9U, 0xd647136dU,
- 0xd7618c9aU, 0xa10c7a37U, 0xf8148e59U, 0x133c89ebU,
- 0xa927eeceU, 0x61c935b7U, 0x1ce5ede1U, 0x47b13c7aU,
- 0xd2df599cU, 0xf2733f55U, 0x14ce7918U, 0xc737bf73U,
- 0xf7cdea53U, 0xfdaa5b5fU, 0x3d6f14dfU, 0x44db8678U,
- 0xaff381caU, 0x68c43eb9U, 0x24342c38U, 0xa3405fc2U,
- 0x1dc37216U, 0xe2250cbcU, 0x3c498b28U, 0x0d9541ffU,
- 0xa8017139U, 0x0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0xf2U, 0xcfU, 0xceU, 0xf0U, 0xb4U, 0xe6U, 0x73U,
- 0x96U, 0xacU, 0x74U, 0x22U, 0xe7U, 0xadU, 0x35U, 0x85U,
- 0xe2U, 0xf9U, 0x37U, 0xe8U, 0x1cU, 0x75U, 0xdfU, 0x6eU,
- 0x47U, 0xf1U, 0x1aU, 0x71U, 0x1dU, 0x29U, 0xc5U, 0x89U,
- 0x6fU, 0xb7U, 0x62U, 0x0eU, 0xaaU, 0x18U, 0xbeU, 0x1bU,
- 0xfcU, 0x56U, 0x3eU, 0x4bU, 0xc6U, 0xd2U, 0x79U, 0x20U,
- 0x9aU, 0xdbU, 0xc0U, 0xfeU, 0x78U, 0xcdU, 0x5aU, 0xf4U,
- 0x1fU, 0xddU, 0xa8U, 0x33U, 0x88U, 0x07U, 0xc7U, 0x31U,
- 0xb1U, 0x12U, 0x10U, 0x59U, 0x27U, 0x80U, 0xecU, 0x5fU,
- 0x60U, 0x51U, 0x7fU, 0xa9U, 0x19U, 0xb5U, 0x4aU, 0x0dU,
- 0x2dU, 0xe5U, 0x7aU, 0x9fU, 0x93U, 0xc9U, 0x9cU, 0xefU,
- 0xa0U, 0xe0U, 0x3bU, 0x4dU, 0xaeU, 0x2aU, 0xf5U, 0xb0U,
- 0xc8U, 0xebU, 0xbbU, 0x3cU, 0x83U, 0x53U, 0x99U, 0x61U,
- 0x17U, 0x2bU, 0x04U, 0x7eU, 0xbaU, 0x77U, 0xd6U, 0x26U,
- 0xe1U, 0x69U, 0x14U, 0x63U, 0x55U, 0x21U, 0x0cU, 0x7dU,
-};
-static const u32 rcon[] = {
- 0x01000000, 0x02000000, 0x04000000, 0x08000000,
- 0x10000000, 0x20000000, 0x40000000, 0x80000000,
- 0x1B000000, 0x36000000, /* for 128-bit blocks, Rijndael never uses more than 10 rcon values */
-};
-
-/**
- * Expand the cipher key into the encryption key schedule.
- */
-int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
- AES_KEY *key) {
-
- u32 *rk;
- int i = 0;
- u32 temp;
-
- if (!userKey || !key)
- return -1;
- if (bits != 128 && bits != 192 && bits != 256)
- return -2;
-
- rk = key->rd_key;
-
- if (bits==128)
- key->rounds = 10;
- else if (bits==192)
- key->rounds = 12;
- else
- key->rounds = 14;
-
- rk[0] = GETU32(userKey );
- rk[1] = GETU32(userKey + 4);
- rk[2] = GETU32(userKey + 8);
- rk[3] = GETU32(userKey + 12);
- if (bits == 128) {
- for (;;) {
- temp = rk[3];
- rk[4] = rk[0] ^
- (Te2[(temp >> 16) & 0xff] & 0xff000000) ^
- (Te3[(temp >> 8) & 0xff] & 0x00ff0000) ^
- (Te0[(temp ) & 0xff] & 0x0000ff00) ^
- (Te1[(temp >> 24) ] & 0x000000ff) ^
- rcon[i];
- rk[5] = rk[1] ^ rk[4];
- rk[6] = rk[2] ^ rk[5];
- rk[7] = rk[3] ^ rk[6];
- if (++i == 10) {
- return 0;
- }
- rk += 4;
- }
- }
- rk[4] = GETU32(userKey + 16);
- rk[5] = GETU32(userKey + 20);
- if (bits == 192) {
- for (;;) {
- temp = rk[ 5];
- rk[ 6] = rk[ 0] ^
- (Te2[(temp >> 16) & 0xff] & 0xff000000) ^
- (Te3[(temp >> 8) & 0xff] & 0x00ff0000) ^
- (Te0[(temp ) & 0xff] & 0x0000ff00) ^
- (Te1[(temp >> 24) ] & 0x000000ff) ^
- rcon[i];
- rk[ 7] = rk[ 1] ^ rk[ 6];
- rk[ 8] = rk[ 2] ^ rk[ 7];
- rk[ 9] = rk[ 3] ^ rk[ 8];
- if (++i == 8) {
- return 0;
- }
- rk[10] = rk[ 4] ^ rk[ 9];
- rk[11] = rk[ 5] ^ rk[10];
- rk += 6;
- }
- }
- rk[6] = GETU32(userKey + 24);
- rk[7] = GETU32(userKey + 28);
- if (bits == 256) {
- for (;;) {
- temp = rk[ 7];
- rk[ 8] = rk[ 0] ^
- (Te2[(temp >> 16) & 0xff] & 0xff000000) ^
- (Te3[(temp >> 8) & 0xff] & 0x00ff0000) ^
- (Te0[(temp ) & 0xff] & 0x0000ff00) ^
- (Te1[(temp >> 24) ] & 0x000000ff) ^
- rcon[i];
- rk[ 9] = rk[ 1] ^ rk[ 8];
- rk[10] = rk[ 2] ^ rk[ 9];
- rk[11] = rk[ 3] ^ rk[10];
- if (++i == 7) {
- return 0;
- }
- temp = rk[11];
- rk[12] = rk[ 4] ^
- (Te2[(temp >> 24) ] & 0xff000000) ^
- (Te3[(temp >> 16) & 0xff] & 0x00ff0000) ^
- (Te0[(temp >> 8) & 0xff] & 0x0000ff00) ^
- (Te1[(temp ) & 0xff] & 0x000000ff);
- rk[13] = rk[ 5] ^ rk[12];
- rk[14] = rk[ 6] ^ rk[13];
- rk[15] = rk[ 7] ^ rk[14];
-
- rk += 8;
- }
- }
- return 0;
-}
-
-/**
- * Expand the cipher key into the decryption key schedule.
- */
-int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
- AES_KEY *key) {
-
- u32 *rk;
- int i, j, status;
- u32 temp;
-
- /* first, start with an encryption schedule */
- status = AES_set_encrypt_key(userKey, bits, key);
- if (status < 0)
- return status;
-
- rk = key->rd_key;
-
- /* invert the order of the round keys: */
- for (i = 0, j = 4*(key->rounds); i < j; i += 4, j -= 4) {
- temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp;
- temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[j + 1] = temp;
- temp = rk[i + 2]; rk[i + 2] = rk[j + 2]; rk[j + 2] = temp;
- temp = rk[i + 3]; rk[i + 3] = rk[j + 3]; rk[j + 3] = temp;
- }
- /* apply the inverse MixColumn transform to all round keys but the first and the last: */
- for (i = 1; i < (key->rounds); i++) {
- rk += 4;
- rk[0] =
- Td0[Te1[(rk[0] >> 24) ] & 0xff] ^
- Td1[Te1[(rk[0] >> 16) & 0xff] & 0xff] ^
- Td2[Te1[(rk[0] >> 8) & 0xff] & 0xff] ^
- Td3[Te1[(rk[0] ) & 0xff] & 0xff];
- rk[1] =
- Td0[Te1[(rk[1] >> 24) ] & 0xff] ^
- Td1[Te1[(rk[1] >> 16) & 0xff] & 0xff] ^
- Td2[Te1[(rk[1] >> 8) & 0xff] & 0xff] ^
- Td3[Te1[(rk[1] ) & 0xff] & 0xff];
- rk[2] =
- Td0[Te1[(rk[2] >> 24) ] & 0xff] ^
- Td1[Te1[(rk[2] >> 16) & 0xff] & 0xff] ^
- Td2[Te1[(rk[2] >> 8) & 0xff] & 0xff] ^
- Td3[Te1[(rk[2] ) & 0xff] & 0xff];
- rk[3] =
- Td0[Te1[(rk[3] >> 24) ] & 0xff] ^
- Td1[Te1[(rk[3] >> 16) & 0xff] & 0xff] ^
- Td2[Te1[(rk[3] >> 8) & 0xff] & 0xff] ^
- Td3[Te1[(rk[3] ) & 0xff] & 0xff];
- }
- return 0;
-}
-
-#ifndef AES_ASM
-/*
- * Encrypt a single block
- * in and out can overlap
- */
-void AES_encrypt(const unsigned char *in, unsigned char *out,
- const AES_KEY *key) {
-
- const u32 *rk;
- u32 s0, s1, s2, s3, t0, t1, t2, t3;
-#ifndef FULL_UNROLL
- int r;
-#endif /* ?FULL_UNROLL */
-
- assert(in && out && key);
- rk = key->rd_key;
-
- /*
- * map byte array block to cipher state
- * and add initial round key:
- */
- s0 = GETU32(in ) ^ rk[0];
- s1 = GETU32(in + 4) ^ rk[1];
- s2 = GETU32(in + 8) ^ rk[2];
- s3 = GETU32(in + 12) ^ rk[3];
-#ifdef FULL_UNROLL
- /* round 1: */
- t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[ 4];
- t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[ 5];
- t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6];
- t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[ 7];
- /* round 2: */
- s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[ 8];
- s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[ 9];
- s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[10];
- s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[11];
- /* round 3: */
- t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[12];
- t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[13];
- t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14];
- t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[15];
- /* round 4: */
- s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[16];
- s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[17];
- s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[18];
- s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[19];
- /* round 5: */
- t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[20];
- t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[21];
- t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[22];
- t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[23];
- /* round 6: */
- s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[24];
- s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[25];
- s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[26];
- s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[27];
- /* round 7: */
- t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[28];
- t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[29];
- t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[30];
- t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[31];
- /* round 8: */
- s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[32];
- s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[33];
- s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[34];
- s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[35];
- /* round 9: */
- t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[36];
- t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[37];
- t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[38];
- t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[39];
- if (key->rounds > 10) {
- /* round 10: */
- s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[40];
- s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[41];
- s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[42];
- s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[43];
- /* round 11: */
- t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[44];
- t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[45];
- t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[46];
- t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[47];
- if (key->rounds > 12) {
- /* round 12: */
- s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[48];
- s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[49];
- s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[50];
- s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[51];
- /* round 13: */
- t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[52];
- t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[53];
- t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[54];
- t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[55];
- }
- }
- rk += key->rounds << 2;
-#else /* !FULL_UNROLL */
- /*
- * Nr - 1 full rounds:
- */
- r = key->rounds >> 1;
- for (;;) {
- t0 =
- Te0[(s0 >> 24) ] ^
- Te1[(s1 >> 16) & 0xff] ^
- Te2[(s2 >> 8) & 0xff] ^
- Te3[(s3 ) & 0xff] ^
- rk[4];
- t1 =
- Te0[(s1 >> 24) ] ^
- Te1[(s2 >> 16) & 0xff] ^
- Te2[(s3 >> 8) & 0xff] ^
- Te3[(s0 ) & 0xff] ^
- rk[5];
- t2 =
- Te0[(s2 >> 24) ] ^
- Te1[(s3 >> 16) & 0xff] ^
- Te2[(s0 >> 8) & 0xff] ^
- Te3[(s1 ) & 0xff] ^
- rk[6];
- t3 =
- Te0[(s3 >> 24) ] ^
- Te1[(s0 >> 16) & 0xff] ^
- Te2[(s1 >> 8) & 0xff] ^
- Te3[(s2 ) & 0xff] ^
- rk[7];
-
- rk += 8;
- if (--r == 0) {
- break;
- }
-
- s0 =
- Te0[(t0 >> 24) ] ^
- Te1[(t1 >> 16) & 0xff] ^
- Te2[(t2 >> 8) & 0xff] ^
- Te3[(t3 ) & 0xff] ^
- rk[0];
- s1 =
- Te0[(t1 >> 24) ] ^
- Te1[(t2 >> 16) & 0xff] ^
- Te2[(t3 >> 8) & 0xff] ^
- Te3[(t0 ) & 0xff] ^
- rk[1];
- s2 =
- Te0[(t2 >> 24) ] ^
- Te1[(t3 >> 16) & 0xff] ^
- Te2[(t0 >> 8) & 0xff] ^
- Te3[(t1 ) & 0xff] ^
- rk[2];
- s3 =
- Te0[(t3 >> 24) ] ^
- Te1[(t0 >> 16) & 0xff] ^
- Te2[(t1 >> 8) & 0xff] ^
- Te3[(t2 ) & 0xff] ^
- rk[3];
- }
-#endif /* ?FULL_UNROLL */
- /*
- * apply last round and
- * map cipher state to byte array block:
- */
- s0 =
- (Te2[(t0 >> 24) ] & 0xff000000) ^
- (Te3[(t1 >> 16) & 0xff] & 0x00ff0000) ^
- (Te0[(t2 >> 8) & 0xff] & 0x0000ff00) ^
- (Te1[(t3 ) & 0xff] & 0x000000ff) ^
- rk[0];
- PUTU32(out , s0);
- s1 =
- (Te2[(t1 >> 24) ] & 0xff000000) ^
- (Te3[(t2 >> 16) & 0xff] & 0x00ff0000) ^
- (Te0[(t3 >> 8) & 0xff] & 0x0000ff00) ^
- (Te1[(t0 ) & 0xff] & 0x000000ff) ^
- rk[1];
- PUTU32(out + 4, s1);
- s2 =
- (Te2[(t2 >> 24) ] & 0xff000000) ^
- (Te3[(t3 >> 16) & 0xff] & 0x00ff0000) ^
- (Te0[(t0 >> 8) & 0xff] & 0x0000ff00) ^
- (Te1[(t1 ) & 0xff] & 0x000000ff) ^
- rk[2];
- PUTU32(out + 8, s2);
- s3 =
- (Te2[(t3 >> 24) ] & 0xff000000) ^
- (Te3[(t0 >> 16) & 0xff] & 0x00ff0000) ^
- (Te0[(t1 >> 8) & 0xff] & 0x0000ff00) ^
- (Te1[(t2 ) & 0xff] & 0x000000ff) ^
- rk[3];
- PUTU32(out + 12, s3);
-}
-
-/*
- * Decrypt a single block
- * in and out can overlap
- */
-void AES_decrypt(const unsigned char *in, unsigned char *out,
- const AES_KEY *key) {
-
- const u32 *rk;
- u32 s0, s1, s2, s3, t0, t1, t2, t3;
-#ifndef FULL_UNROLL
- int r;
-#endif /* ?FULL_UNROLL */
-
- assert(in && out && key);
- rk = key->rd_key;
-
- /*
- * map byte array block to cipher state
- * and add initial round key:
- */
- s0 = GETU32(in ) ^ rk[0];
- s1 = GETU32(in + 4) ^ rk[1];
- s2 = GETU32(in + 8) ^ rk[2];
- s3 = GETU32(in + 12) ^ rk[3];
-#ifdef FULL_UNROLL
- /* round 1: */
- t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[ 4];
- t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[ 5];
- t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[ 6];
- t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[ 7];
- /* round 2: */
- s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[ 8];
- s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[ 9];
- s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[10];
- s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[11];
- /* round 3: */
- t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[12];
- t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[13];
- t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[14];
- t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[15];
- /* round 4: */
- s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[16];
- s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[17];
- s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[18];
- s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[19];
- /* round 5: */
- t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[20];
- t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[21];
- t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[22];
- t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[23];
- /* round 6: */
- s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[24];
- s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[25];
- s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[26];
- s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[27];
- /* round 7: */
- t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[28];
- t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[29];
- t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[30];
- t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[31];
- /* round 8: */
- s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[32];
- s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[33];
- s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[34];
- s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[35];
- /* round 9: */
- t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[36];
- t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[37];
- t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[38];
- t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[39];
- if (key->rounds > 10) {
- /* round 10: */
- s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[40];
- s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[41];
- s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[42];
- s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[43];
- /* round 11: */
- t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[44];
- t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[45];
- t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[46];
- t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[47];
- if (key->rounds > 12) {
- /* round 12: */
- s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[48];
- s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[49];
- s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[50];
- s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[51];
- /* round 13: */
- t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[52];
- t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[53];
- t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[54];
- t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[55];
- }
- }
- rk += key->rounds << 2;
-#else /* !FULL_UNROLL */
- /*
- * Nr - 1 full rounds:
- */
- r = key->rounds >> 1;
- for (;;) {
- t0 =
- Td0[(s0 >> 24) ] ^
- Td1[(s3 >> 16) & 0xff] ^
- Td2[(s2 >> 8) & 0xff] ^
- Td3[(s1 ) & 0xff] ^
- rk[4];
- t1 =
- Td0[(s1 >> 24) ] ^
- Td1[(s0 >> 16) & 0xff] ^
- Td2[(s3 >> 8) & 0xff] ^
- Td3[(s2 ) & 0xff] ^
- rk[5];
- t2 =
- Td0[(s2 >> 24) ] ^
- Td1[(s1 >> 16) & 0xff] ^
- Td2[(s0 >> 8) & 0xff] ^
- Td3[(s3 ) & 0xff] ^
- rk[6];
- t3 =
- Td0[(s3 >> 24) ] ^
- Td1[(s2 >> 16) & 0xff] ^
- Td2[(s1 >> 8) & 0xff] ^
- Td3[(s0 ) & 0xff] ^
- rk[7];
-
- rk += 8;
- if (--r == 0) {
- break;
- }
-
- s0 =
- Td0[(t0 >> 24) ] ^
- Td1[(t3 >> 16) & 0xff] ^
- Td2[(t2 >> 8) & 0xff] ^
- Td3[(t1 ) & 0xff] ^
- rk[0];
- s1 =
- Td0[(t1 >> 24) ] ^
- Td1[(t0 >> 16) & 0xff] ^
- Td2[(t3 >> 8) & 0xff] ^
- Td3[(t2 ) & 0xff] ^
- rk[1];
- s2 =
- Td0[(t2 >> 24) ] ^
- Td1[(t1 >> 16) & 0xff] ^
- Td2[(t0 >> 8) & 0xff] ^
- Td3[(t3 ) & 0xff] ^
- rk[2];
- s3 =
- Td0[(t3 >> 24) ] ^
- Td1[(t2 >> 16) & 0xff] ^
- Td2[(t1 >> 8) & 0xff] ^
- Td3[(t0 ) & 0xff] ^
- rk[3];
- }
-#endif /* ?FULL_UNROLL */
- /*
- * apply last round and
- * map cipher state to byte array block:
- */
- s0 =
- (Td4[(t0 >> 24) ] << 24) ^
- (Td4[(t3 >> 16) & 0xff] << 16) ^
- (Td4[(t2 >> 8) & 0xff] << 8) ^
- (Td4[(t1 ) & 0xff]) ^
- rk[0];
- PUTU32(out , s0);
- s1 =
- (Td4[(t1 >> 24) ] << 24) ^
- (Td4[(t0 >> 16) & 0xff] << 16) ^
- (Td4[(t3 >> 8) & 0xff] << 8) ^
- (Td4[(t2 ) & 0xff]) ^
- rk[1];
- PUTU32(out + 4, s1);
- s2 =
- (Td4[(t2 >> 24) ] << 24) ^
- (Td4[(t1 >> 16) & 0xff] << 16) ^
- (Td4[(t0 >> 8) & 0xff] << 8) ^
- (Td4[(t3 ) & 0xff]) ^
- rk[2];
- PUTU32(out + 8, s2);
- s3 =
- (Td4[(t3 >> 24) ] << 24) ^
- (Td4[(t2 >> 16) & 0xff] << 16) ^
- (Td4[(t1 >> 8) & 0xff] << 8) ^
- (Td4[(t0 ) & 0xff]) ^
- rk[3];
- PUTU32(out + 12, s3);
-}
-
-#endif /* AES_ASM */
diff --git a/Source/Core/Common/Src/Crypto/aes_locl.h b/Source/Core/Common/Src/Crypto/aes_locl.h
deleted file mode 100644
index c222ed744b..0000000000
--- a/Source/Core/Common/Src/Crypto/aes_locl.h
+++ /dev/null
@@ -1,88 +0,0 @@
-/* crypto/aes/aes.h -*- mode:C; c-file-style: "eay" -*- */
-/* ====================================================================
- * Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. All advertising materials mentioning features or use of this
- * software must display the following acknowledgment:
- * "This product includes software developed by the OpenSSL Project
- * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
- *
- * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
- * endorse or promote products derived from this software without
- * prior written permission. For written permission, please contact
- * openssl-core@openssl.org.
- *
- * 5. Products derived from this software may not be called "OpenSSL"
- * nor may "OpenSSL" appear in their names without prior written
- * permission of the OpenSSL Project.
- *
- * 6. Redistributions of any form whatsoever must retain the following
- * acknowledgment:
- * "This product includes software developed by the OpenSSL Project
- * for use in the OpenSSL Toolkit (http://www.openssl.org/)"
- *
- * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
- * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
- * OF THE POSSIBILITY OF SUCH DAMAGE.
- * ====================================================================
- *
- */
-
-#ifndef HEADER_AES_LOCL_H
-#define HEADER_AES_LOCL_H
-
-
-#ifdef OPENSSL_NO_AES
-#error AES is disabled.
-#endif
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#if defined (_MSC_VER) && (defined (_M_IX86) || defined (_M_AMD64) || defined (_M_X64))
-# define SWAP(x) (_lrotl(x, 8) & 0x00ff00ff | _lrotr(x, 8) & 0xff00ff00)
-# define GETU32(p) SWAP(*((u32*)(p)))
-# define PUTU32(ct, st) {*((u32*)(ct)) = SWAP((st));}
-#else
-# define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt)[3]))
-# define PUTU32(ct, st) {(ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st);}
-#endif
-
-#ifdef AES_LONG
-typedef unsigned long u32;
-#else
-typedef unsigned int u32;
-#endif
-typedef unsigned short u16;
-typedef unsigned char u8;
-
-#define MAXKC (256 / 32)
-#define MAXKB (256 / 8)
-#define MAXNR 14
-
-/* This controls loop-unrolling in aes_core.c */
-#undef FULL_UNROLL
-
-#endif /* !HEADER_AES_LOCL_H */
diff --git a/Source/Core/Common/Src/Crypto/ec.cpp b/Source/Core/Common/Src/Crypto/ec.cpp
index 6580dfb5ff..d360a5b659 100644
--- a/Source/Core/Common/Src/Crypto/ec.cpp
+++ b/Source/Core/Common/Src/Crypto/ec.cpp
@@ -323,7 +323,7 @@ void point_mul(u8 *d, const u8 *a, u8 *b) // a is bignum
}
}
-void silly_random(u8 * rndArea, u8 count)
+void silly_random(u8 * rndArea, u8 count)
{
u16 i;
srand((unsigned) (time(NULL)));
@@ -331,7 +331,7 @@ void silly_random(u8 * rndArea, u8 count)
for(i=0;i<count;i++)
{
rndArea[i]=rand();
- }
+ }
}
void generate_ecdsa(u8 *R, u8 *S, const u8 *k, u8 *hash)
diff --git a/Source/Core/Common/Src/ExtendedTrace.cpp b/Source/Core/Common/Src/ExtendedTrace.cpp
index 08740c3c95..379b2c4f03 100644
--- a/Source/Core/Common/Src/ExtendedTrace.cpp
+++ b/Source/Core/Common/Src/ExtendedTrace.cpp
@@ -30,7 +30,7 @@ using namespace std;
void PCSTR2LPTSTR( PCSTR lpszIn, LPTSTR lpszOut )
{
#if defined(UNICODE)||defined(_UNICODE)
- ULONG index = 0;
+ ULONG index = 0;
PCSTR lpAct = lpszIn;
for( ; ; lpAct++ )
@@ -38,7 +38,7 @@ void PCSTR2LPTSTR( PCSTR lpszIn, LPTSTR lpszOut )
lpszOut[index++] = (TCHAR)(*lpAct);
if ( *lpAct == 0 )
break;
- }
+ }
#else
// This is trivial :)
strcpy( lpszOut, lpszIn );
@@ -102,7 +102,7 @@ BOOL InitSymInfo( PCSTR lpszInitialSymbolPath )
CHAR lpszSymbolPath[BUFFERSIZE];
DWORD symOptions = SymGetOptions();
- symOptions |= SYMOPT_LOAD_LINES;
+ symOptions |= SYMOPT_LOAD_LINES;
symOptions &= ~SYMOPT_UNDNAME;
SymSetOptions( symOptions );
InitSymbolPath( lpszSymbolPath, lpszInitialSymbolPath );
@@ -154,15 +154,15 @@ static BOOL GetFunctionInfoFromAddresses( ULONG fnAddress, ULONG stackAddress, L
#ifndef _M_X64
DWORD dwDisp = 0;
if ( SymGetSymFromAddr( GetCurrentProcess(), (ULONG)fnAddress, &dwDisp, pSym ) )
-#else
+#else
//makes it compile but hell im not sure if this works...
DWORD64 dwDisp = 0;
if ( SymGetSymFromAddr( GetCurrentProcess(), (ULONG)fnAddress, (PDWORD64)&dwDisp, pSym ) )
#endif
{
// Make the symbol readable for humans
- UnDecorateSymbolName( pSym->Name, lpszNonUnicodeUnDSymbol, BUFFERSIZE,
- UNDNAME_COMPLETE |
+ UnDecorateSymbolName( pSym->Name, lpszNonUnicodeUnDSymbol, BUFFERSIZE,
+ UNDNAME_COMPLETE |
UNDNAME_NO_THISTYPE |
UNDNAME_NO_SPECIAL_SYMS |
UNDNAME_NO_MEMBER_TYPE |
@@ -224,7 +224,7 @@ static BOOL GetFunctionInfoFromAddresses( ULONG fnAddress, ULONG stackAddress, L
_tcscat( lpszSymbol, lpszParsed );
ret = TRUE;
- }
+ }
GlobalFree( pSym );
return ret;
@@ -330,14 +330,14 @@ void StackTrace( HANDLE hThread, const char* lpszMessage, FILE *file )
PrintFunctionAndSourceInfo(file, callStack);
- for( ULONG index = 0; ; index++ )
+ for( ULONG index = 0; ; index++ )
{
bResult = StackWalk(
IMAGE_FILE_MACHINE_I386,
hProcess,
hThread,
&callStack,
- NULL,
+ NULL,
NULL,
SymFunctionTableAccess,
SymGetModuleBase,
@@ -346,7 +346,7 @@ void StackTrace( HANDLE hThread, const char* lpszMessage, FILE *file )
if ( index == 0 )
continue;
- if( !bResult || callStack.AddrFrame.Offset == 0 )
+ if( !bResult || callStack.AddrFrame.Offset == 0 )
break;
PrintFunctionAndSourceInfo(file, callStack);
@@ -387,14 +387,14 @@ void StackTrace(HANDLE hThread, const char* lpszMessage, FILE *file, DWORD eip,
PrintFunctionAndSourceInfo(file, callStack);
- for( ULONG index = 0; ; index++ )
+ for( ULONG index = 0; ; index++ )
{
bResult = StackWalk(
IMAGE_FILE_MACHINE_I386,
hProcess,
hThread,
&callStack,
- NULL,
+ NULL,
NULL,
SymFunctionTableAccess,
SymGetModuleBase,
@@ -403,7 +403,7 @@ void StackTrace(HANDLE hThread, const char* lpszMessage, FILE *file, DWORD eip,
if ( index == 0 )
continue;
- if( !bResult || callStack.AddrFrame.Offset == 0 )
+ if( !bResult || callStack.AddrFrame.Offset == 0 )
break;
PrintFunctionAndSourceInfo(file, callStack);
diff --git a/Source/Core/Common/Src/FPURoundMode.h b/Source/Core/Common/Src/FPURoundMode.h
index 4dc18012dd..fad4d5d6aa 100644
--- a/Source/Core/Common/Src/FPURoundMode.h
+++ b/Source/Core/Common/Src/FPURoundMode.h
@@ -35,12 +35,12 @@ namespace FPURoundMode
void SetRoundMode(u32 mode);
void SetPrecisionMode(u32 mode);
-
+
void SetSIMDMode(u32 mode);
/*
* There are two different flavors of float to int conversion:
- * _mm_cvtps_epi32() and _mm_cvttps_epi32().
+ * _mm_cvtps_epi32() and _mm_cvttps_epi32().
*
* The first rounds according to the MXCSR rounding bits.
* The second one always uses round towards zero.
diff --git a/Source/Core/Common/Src/FifoQueue.h b/Source/Core/Common/Src/FifoQueue.h
index 19687e8a4e..c3d15ff7d8 100644
--- a/Source/Core/Common/Src/FifoQueue.h
+++ b/Source/Core/Common/Src/FifoQueue.h
@@ -48,7 +48,7 @@ public:
// create the element, add it to the queue
m_write_ptr->current = std::forward<Arg>(t);
// set the next pointer to a new element ptr
- // then advance the write pointer
+ // then advance the write pointer
ElementPtr* new_ptr = new ElementPtr();
AtomicStoreRelease(m_write_ptr->next, new_ptr);
m_write_ptr = new_ptr;
diff --git a/Source/Core/Common/Src/FileSearch.cpp b/Source/Core/Common/Src/FileSearch.cpp
index 3a6b6c1dc9..7597b91496 100644
--- a/Source/Core/Common/Src/FileSearch.cpp
+++ b/Source/Core/Common/Src/FileSearch.cpp
@@ -21,11 +21,11 @@
CFileSearch::CFileSearch(const CFileSearch::XStringVector& _rSearchStrings, const CFileSearch::XStringVector& _rDirectories)
{
// Reverse the loop order for speed?
- for (size_t j = 0; j < _rSearchStrings.size(); j++)
+ for (auto& _rSearchString : _rSearchStrings)
{
- for (size_t i = 0; i < _rDirectories.size(); i++)
+ for (auto& _rDirectory : _rDirectories)
{
- FindFiles(_rSearchStrings[j], _rDirectories[i]);
+ FindFiles(_rSearchString, _rDirectory);
}
}
}
diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp
index 84a48599da..7eed3f08f4 100644
--- a/Source/Core/Common/Src/FileUtil.cpp
+++ b/Source/Core/Common/Src/FileUtil.cpp
@@ -92,7 +92,7 @@ bool IsDirectory(const std::string &filename)
#endif
if (result < 0) {
- WARN_LOG(COMMON, "IsDirectory: stat failed on %s: %s",
+ WARN_LOG(COMMON, "IsDirectory: stat failed on %s: %s",
filename.c_str(), GetLastErrorMsg());
return false;
}
@@ -106,7 +106,7 @@ bool Delete(const std::string &filename)
{
INFO_LOG(COMMON, "Delete: file %s", filename.c_str());
- // Return true because we care about the file no
+ // Return true because we care about the file no
// being there, not the actual delete.
if (!Exists(filename))
{
@@ -124,13 +124,13 @@ bool Delete(const std::string &filename)
#ifdef _WIN32
if (!DeleteFile(UTF8ToTStr(filename).c_str()))
{
- WARN_LOG(COMMON, "Delete: DeleteFile failed on %s: %s",
+ WARN_LOG(COMMON, "Delete: DeleteFile failed on %s: %s",
filename.c_str(), GetLastErrorMsg());
return false;
}
#else
if (unlink(filename.c_str()) == -1) {
- WARN_LOG(COMMON, "Delete: unlink failed on %s: %s",
+ WARN_LOG(COMMON, "Delete: unlink failed on %s: %s",
filename.c_str(), GetLastErrorMsg());
return false;
}
@@ -234,10 +234,10 @@ bool DeleteDir(const std::string &filename)
return false;
}
-// renames file srcFilename to destFilename, returns true on success
+// renames file srcFilename to destFilename, returns true on success
bool Rename(const std::string &srcFilename, const std::string &destFilename)
{
- INFO_LOG(COMMON, "Rename: %s --> %s",
+ INFO_LOG(COMMON, "Rename: %s --> %s",
srcFilename.c_str(), destFilename.c_str());
#ifdef _WIN32
auto sf = UTF8ToTStr(srcFilename);
@@ -256,7 +256,7 @@ bool Rename(const std::string &srcFilename, const std::string &destFilename)
if (rename(srcFilename.c_str(), destFilename.c_str()) == 0)
return true;
#endif
- ERROR_LOG(COMMON, "Rename: failed %s --> %s: %s",
+ ERROR_LOG(COMMON, "Rename: failed %s --> %s: %s",
srcFilename.c_str(), destFilename.c_str(), GetLastErrorMsg());
return false;
}
@@ -296,16 +296,16 @@ bool RenameSync(const std::string &srcFilename, const std::string &destFilename)
return true;
}
-// copies file srcFilename to destFilename, returns true on success
+// copies file srcFilename to destFilename, returns true on success
bool Copy(const std::string &srcFilename, const std::string &destFilename)
{
- INFO_LOG(COMMON, "Copy: %s --> %s",
+ INFO_LOG(COMMON, "Copy: %s --> %s",
srcFilename.c_str(), destFilename.c_str());
#ifdef _WIN32
if (CopyFile(UTF8ToTStr(srcFilename).c_str(), UTF8ToTStr(destFilename).c_str(), FALSE))
return true;
- ERROR_LOG(COMMON, "Copy: failed %s --> %s: %s",
+ ERROR_LOG(COMMON, "Copy: failed %s --> %s: %s",
srcFilename.c_str(), destFilename.c_str(), GetLastErrorMsg());
return false;
#else
@@ -319,7 +319,7 @@ bool Copy(const std::string &srcFilename, const std::string &destFilename)
FILE *input = fopen(srcFilename.c_str(), "rb");
if (!input)
{
- ERROR_LOG(COMMON, "Copy: input failed %s --> %s: %s",
+ ERROR_LOG(COMMON, "Copy: input failed %s --> %s: %s",
srcFilename.c_str(), destFilename.c_str(), GetLastErrorMsg());
return false;
}
@@ -329,7 +329,7 @@ bool Copy(const std::string &srcFilename, const std::string &destFilename)
if (!output)
{
fclose(input);
- ERROR_LOG(COMMON, "Copy: output failed %s --> %s: %s",
+ ERROR_LOG(COMMON, "Copy: output failed %s --> %s: %s",
srcFilename.c_str(), destFilename.c_str(), GetLastErrorMsg());
return false;
}
@@ -343,8 +343,8 @@ bool Copy(const std::string &srcFilename, const std::string &destFilename)
{
if (ferror(input) != 0)
{
- ERROR_LOG(COMMON,
- "Copy: failed reading from source, %s --> %s: %s",
+ ERROR_LOG(COMMON,
+ "Copy: failed reading from source, %s --> %s: %s",
srcFilename.c_str(), destFilename.c_str(), GetLastErrorMsg());
goto bail;
}
@@ -354,8 +354,8 @@ bool Copy(const std::string &srcFilename, const std::string &destFilename)
int wnum = fwrite(buffer, sizeof(char), rnum, output);
if (wnum != rnum)
{
- ERROR_LOG(COMMON,
- "Copy: failed writing to output, %s --> %s: %s",
+ ERROR_LOG(COMMON,
+ "Copy: failed writing to output, %s --> %s: %s",
srcFilename.c_str(), destFilename.c_str(), GetLastErrorMsg());
goto bail;
}
@@ -387,7 +387,7 @@ u64 GetSize(const std::string &filename)
WARN_LOG(COMMON, "GetSize: failed %s: is a directory", filename.c_str());
return 0;
}
-
+
struct stat64 buf;
#ifdef _WIN32
if (_tstat64(UTF8ToTStr(filename).c_str(), &buf) == 0)
@@ -436,10 +436,10 @@ u64 GetSize(FILE *f)
return size;
}
-// creates an empty file filename, returns true on success
+// creates an empty file filename, returns true on success
bool CreateEmptyFile(const std::string &filename)
{
- INFO_LOG(COMMON, "CreateEmptyFile: %s", filename.c_str());
+ INFO_LOG(COMMON, "CreateEmptyFile: %s", filename.c_str());
if (!File::IOFile(filename, "wb"))
{
@@ -489,7 +489,7 @@ u32 ScanDirectoryTree(const std::string &directory, FSTEntry& parentEntry)
#endif
// check for "." and ".."
if (((virtualName[0] == '.') && (virtualName[1] == '\0')) ||
- ((virtualName[0] == '.') && (virtualName[1] == '.') &&
+ ((virtualName[0] == '.') && (virtualName[1] == '.') &&
(virtualName[2] == '\0')))
continue;
entry.virtualName = virtualName;
@@ -504,14 +504,14 @@ u32 ScanDirectoryTree(const std::string &directory, FSTEntry& parentEntry)
foundEntries += (u32)entry.size;
}
else
- { // is a file
+ { // is a file
entry.isDirectory = false;
entry.size = GetSize(entry.physicalName.c_str());
}
++foundEntries;
// Push into the tree
- parentEntry.children.push_back(entry);
-#ifdef _WIN32
+ parentEntry.children.push_back(entry);
+#ifdef _WIN32
} while (FindNextFile(hFind, &ffd) != 0);
FindClose(hFind);
#else
@@ -556,7 +556,7 @@ bool DeleteDirRecursively(const std::string &directory)
// check for "." and ".."
if (((virtualName[0] == '.') && (virtualName[1] == '\0')) ||
- ((virtualName[0] == '.') && (virtualName[1] == '.') &&
+ ((virtualName[0] == '.') && (virtualName[1] == '.') &&
(virtualName[2] == '\0')))
continue;
@@ -592,7 +592,7 @@ bool DeleteDirRecursively(const std::string &directory)
closedir(dirp);
#endif
File::DeleteDir(directory);
-
+
return true;
}
@@ -653,7 +653,7 @@ void CopyDir(const std::string &source_path, const std::string &dest_path)
std::string GetCurrentDir()
{
char *dir;
- // Get the current working directory (getcwd uses malloc)
+ // Get the current working directory (getcwd uses malloc)
if (!(dir = __getcwd(NULL, 0))) {
ERROR_LOG(COMMON, "GetCurrentDirectory failed: %s",
@@ -687,7 +687,7 @@ std::string GetTempFilenameForAtomicWrite(const std::string &path)
}
#if defined(__APPLE__)
-std::string GetBundleDirectory()
+std::string GetBundleDirectory()
{
CFURLRef BundleRef;
char AppBundlePath[MAXPATHLEN];
@@ -798,8 +798,8 @@ const std::string& GetUserPath(const unsigned int DirIDX, const std::string &new
if (File::Exists(ROOT_DIR DIR_SEP USERDATA_DIR))
paths[D_USER_IDX] = ROOT_DIR DIR_SEP USERDATA_DIR DIR_SEP;
else
- paths[D_USER_IDX] = std::string(getenv("HOME") ?
- getenv("HOME") : getenv("PWD") ?
+ paths[D_USER_IDX] = std::string(getenv("HOME") ?
+ getenv("HOME") : getenv("PWD") ?
getenv("PWD") : "") + DIR_SEP DOLPHIN_DATA_DIR DIR_SEP;
#endif
@@ -917,7 +917,7 @@ const std::string& GetUserPath(const unsigned int DirIDX, const std::string &new
paths[D_WIIUSER_IDX] = paths[D_WIIROOT_IDX] + DIR_SEP;
paths[D_WIIWC24_IDX] = paths[D_WIIUSER_IDX] + WII_WC24CONF_DIR DIR_SEP;
- paths[D_WIISYSCONF_IDX] = paths[D_WIIUSER_IDX] + WII_SYSCONF_DIR + DIR_SEP;
+ paths[D_WIISYSCONF_IDX] = paths[D_WIIUSER_IDX] + WII_SYSCONF_DIR + DIR_SEP;
paths[F_WIISYSCONF_IDX] = paths[D_WIISYSCONF_IDX] + WII_SYSCONF;
}
@@ -935,14 +935,14 @@ std::string GetThemeDir(const std::string& theme_name)
return dir;
}
-bool WriteStringToFile(bool text_file, const std::string &str, const char *filename)
+bool WriteStringToFile(const std::string &str, const char *filename)
{
- return File::IOFile(filename, text_file ? "w" : "wb").WriteBytes(str.data(), str.size());
+ return File::IOFile(filename, "wb").WriteBytes(str.data(), str.size());
}
-bool ReadFileToString(bool text_file, const char *filename, std::string &str)
+bool ReadFileToString(const char *filename, std::string &str)
{
- File::IOFile file(filename, text_file ? "r" : "rb");
+ File::IOFile file(filename, "rb");
auto const f = file.GetHandle();
if (!f)
@@ -952,29 +952,6 @@ bool ReadFileToString(bool text_file, const char *filename, std::string &str)
str.resize(GetSize(f));
bool retval = file.ReadArray(&str[0], str.size(), &read_size);
- // On Windows, reading a text file automatically translates \r\n to \n.
- // This means we will read less characters than the expected size of the
- // file. In that case, ignore the return value and count ourselves.
-#ifdef _WIN32
- if (text_file)
- {
- size_t count = 0;
- for (size_t i = 0; i < read_size; ++i)
- {
- if (str[i] == '\n')
- count += 2;
- else
- count += 1;
- }
-
- if (count != str.size())
- return false;
-
- str.resize(read_size);
- return true;
- }
-#endif
-
return retval;
}
diff --git a/Source/Core/Common/Src/FileUtil.h b/Source/Core/Common/Src/FileUtil.h
index 8de525d64a..b39135fa41 100644
--- a/Source/Core/Common/Src/FileUtil.h
+++ b/Source/Core/Common/Src/FileUtil.h
@@ -56,7 +56,7 @@ enum {
namespace File
{
-// FileSystem tree node/
+// FileSystem tree node/
struct FSTEntry
{
bool isDirectory;
@@ -94,16 +94,16 @@ bool Delete(const std::string &filename);
// Deletes a directory filename, returns true on success
bool DeleteDir(const std::string &filename);
-// renames file srcFilename to destFilename, returns true on success
+// renames file srcFilename to destFilename, returns true on success
bool Rename(const std::string &srcFilename, const std::string &destFilename);
// ditto, but syncs the source file and, on Unix, syncs the directories after rename
bool RenameSync(const std::string &srcFilename, const std::string &destFilename);
-// copies file srcFilename to destFilename, returns true on success
+// copies file srcFilename to destFilename, returns true on success
bool Copy(const std::string &srcFilename, const std::string &destFilename);
-// creates an empty file filename, returns true on success
+// creates an empty file filename, returns true on success
bool CreateEmptyFile(const std::string &filename);
// Scans the directory tree gets, starting from _Directory and adds the
@@ -143,8 +143,8 @@ std::string GetBundleDirectory();
std::string &GetExeDirectory();
#endif
-bool WriteStringToFile(bool text_file, const std::string &str, const char *filename);
-bool ReadFileToString(bool text_file, const char *filename, std::string &str);
+bool WriteStringToFile(const std::string &str, const char *filename);
+bool ReadFileToString(const char *filename, std::string &str);
// simple wrapper for cstdlib file functions to
// hopefully will make error checking easier
@@ -157,10 +157,10 @@ public:
IOFile(const std::string& filename, const char openmode[]);
~IOFile();
-
+
IOFile(IOFile&& other);
IOFile& operator=(IOFile&& other);
-
+
void Swap(IOFile& other);
bool Open(const std::string& filename, const char openmode[]);
diff --git a/Source/Core/Common/Src/Hash.cpp b/Source/Core/Common/Src/Hash.cpp
index 2e221ee396..ab017347e8 100644
--- a/Source/Core/Common/Src/Hash.cpp
+++ b/Source/Core/Common/Src/Hash.cpp
@@ -115,15 +115,15 @@ inline u64 getblock(const u64 * p, int i)
inline void bmix64(u64 & h1, u64 & h2, u64 & k1, u64 & k2, u64 & c1, u64 & c2)
{
- k1 *= c1;
- k1 = _rotl64(k1,23);
+ k1 *= c1;
+ k1 = _rotl64(k1,23);
k1 *= c2;
h1 ^= k1;
h1 += h2;
h2 = _rotl64(h2,41);
- k2 *= c2;
+ k2 *= c2;
k2 = _rotl64(k2,23);
k2 *= c1;
h2 ^= k2;
@@ -250,7 +250,7 @@ u64 GetCRC32(const u8 *src, int len, u32 samples)
}
-/*
+/*
* NOTE: This hash function is used for custom texture loading/dumping, so
* it should not be changed, which would require all custom textures to be
* recalculated for their new hash values. If the hashing function is
@@ -273,7 +273,7 @@ u64 GetHashHiresTexture(const u8 *src, int len, u32 samples)
u64 k = data[0];
data+=Step;
k *= m;
- k ^= k >> r;
+ k ^= k >> r;
k *= m;
h ^= k;
h *= m;
@@ -292,13 +292,13 @@ u64 GetHashHiresTexture(const u8 *src, int len, u32 samples)
case 1: h ^= u64(data2[0]);
h *= m;
};
-
+
h ^= h >> r;
h *= m;
h ^= h >> r;
return h;
-}
+}
#else
// CRC32 hash using the SSE4.2 instruction
u64 GetCRC32(const u8 *src, int len, u32 samples)
@@ -351,15 +351,15 @@ inline u32 fmix32(u32 h)
inline void bmix32(u32 & h1, u32 & h2, u32 & k1, u32 & k2, u32 & c1, u32 & c2)
{
- k1 *= c1;
- k1 = _rotl(k1,11);
+ k1 *= c1;
+ k1 = _rotl(k1,11);
k1 *= c2;
h1 ^= k1;
h1 += h2;
h2 = _rotl(h2,17);
- k2 *= c2;
+ k2 *= c2;
k2 = _rotl(k2,11);
k2 *= c1;
h2 ^= k2;
@@ -405,7 +405,7 @@ u64 GetMurmurHash3(const u8* src, int len, u32 samples)
//----------
// tail
-
+
const u8 * tail = (const u8*)(data + nblocks*8);
u32 k1 = 0;
@@ -439,7 +439,7 @@ u64 GetMurmurHash3(const u8* src, int len, u32 samples)
out[0] = h1;
out[1] = h2;
-
+
return *((u64 *)&out);
}
@@ -463,11 +463,11 @@ u64 GetHashHiresTexture(const u8 *src, int len, u32 samples)
{
u64 k = data[0];
data+=Step;
- k *= m;
- k ^= k >> r;
+ k *= m;
+ k ^= k >> r;
k *= m;
h ^= k;
- h *= m;
+ h *= m;
}
const u8 * data2 = (const u8*)end;
@@ -483,7 +483,7 @@ u64 GetHashHiresTexture(const u8 *src, int len, u32 samples)
case 1: h ^= u64(data2[0]);
h *= m;
};
-
+
h ^= h >> r;
h *= m;
h ^= h >> r;
diff --git a/Source/Core/Common/Src/IniFile.cpp b/Source/Core/Common/Src/IniFile.cpp
index fbce8254e3..a1a10ab372 100644
--- a/Source/Core/Common/Src/IniFile.cpp
+++ b/Source/Core/Common/Src/IniFile.cpp
@@ -81,10 +81,10 @@ void IniFile::Section::Set(const char* key, bool newValue, bool defaultValue)
Delete(key);
}
-void IniFile::Section::Set(const char* key, const std::vector<std::string>& newValues)
+void IniFile::Section::Set(const char* key, const std::vector<std::string>& newValues)
{
std::string temp;
- // Join the strings with ,
+ // Join the strings with ,
std::vector<std::string>::const_iterator it;
for (it = newValues.begin(); it != newValues.end(); ++it)
{
@@ -124,19 +124,17 @@ bool IniFile::Section::Get(const char* key, std::vector<std::string>& out)
size_t subStart = temp.find_first_not_of(",");
size_t subEnd;
- // split by ,
- while (subStart != std::string::npos) {
-
- // Find next ,
+ // split by ,
+ while (subStart != std::string::npos)
+ {
+ // Find next ,
subEnd = temp.find_first_of(",", subStart);
- if (subStart != subEnd)
- // take from first char until next ,
+ if (subStart != subEnd)
+ // take from first char until next ,
out.push_back(StripSpaces(temp.substr(subStart, subEnd - subStart)));
-
// Find the next non , char
subStart = temp.find_first_not_of(",", subEnd);
- }
-
+ }
return true;
}
@@ -210,17 +208,17 @@ bool IniFile::Section::Delete(const char *key)
const IniFile::Section* IniFile::GetSection(const char* sectionName) const
{
- for (std::vector<Section>::const_iterator iter = sections.begin(); iter != sections.end(); ++iter)
- if (!strcasecmp(iter->name.c_str(), sectionName))
- return (&(*iter));
+ for (const auto& sect : sections)
+ if (!strcasecmp(sect.name.c_str(), sectionName))
+ return (&(sect));
return 0;
}
IniFile::Section* IniFile::GetSection(const char* sectionName)
{
- for (std::vector<Section>::iterator iter = sections.begin(); iter != sections.end(); ++iter)
- if (!strcasecmp(iter->name.c_str(), sectionName))
- return (&(*iter));
+ for (auto& sect : sections)
+ if (!strcasecmp(sect.name.c_str(), sectionName))
+ return (&(sect));
return 0;
}
@@ -291,9 +289,9 @@ bool IniFile::GetLines(const char* sectionName, std::vector<std::string>& lines,
return false;
lines.clear();
- for (std::vector<std::string>::const_iterator iter = section->lines.begin(); iter != section->lines.end(); ++iter)
+ for (std::string line : section->lines)
{
- std::string line = StripSpaces(*iter);
+ line = StripSpaces(line);
if (remove_comments)
{
@@ -399,20 +397,15 @@ bool IniFile::Save(const char* filename)
return false;
}
- for (auto iter = sections.begin(); iter != sections.end(); ++iter)
+ for (auto& section : sections)
{
- const Section& section = *iter;
-
if (section.keys_order.size() != 0 || section.lines.size() != 0)
out << "[" << section.name << "]" << std::endl;
if (section.keys_order.size() == 0)
{
- for (auto liter = section.lines.begin(); liter != section.lines.end(); ++liter)
- {
- std::string s = *liter;
+ for (auto s : section.lines)
out << s << std::endl;
- }
}
else
{
@@ -442,7 +435,7 @@ bool IniFile::Get(const char* sectionName, const char* key, std::string* value,
return section->Get(key, value, defaultValue);
}
-bool IniFile::Get(const char *sectionName, const char* key, std::vector<std::string>& values)
+bool IniFile::Get(const char *sectionName, const char* key, std::vector<std::string>& values)
{
Section *section = GetSection(sectionName);
if (!section)
diff --git a/Source/Core/Common/Src/IniFile.h b/Source/Core/Common/Src/IniFile.h
index 0cf4ab902b..abfb58b0a6 100644
--- a/Source/Core/Common/Src/IniFile.h
+++ b/Source/Core/Common/Src/IniFile.h
@@ -53,12 +53,12 @@ public:
void Set(const char* key, double newValue) {
Set(key, StringFromFormat("%f", newValue).c_str());
}
-
+
void Set(const char* key, int newValue, int defaultValue);
void Set(const char* key, int newValue) {
Set(key, StringFromInt(newValue).c_str());
}
-
+
void Set(const char* key, bool newValue, bool defaultValue);
void Set(const char* key, bool newValue) {
Set(key, StringFromBool(newValue).c_str());
diff --git a/Source/Core/Common/Src/LinearDiskCache.h b/Source/Core/Common/Src/LinearDiskCache.h
index 527dfd7036..e139b064f3 100644
--- a/Source/Core/Common/Src/LinearDiskCache.h
+++ b/Source/Core/Common/Src/LinearDiskCache.h
@@ -63,7 +63,7 @@ public:
m_file.seekg(0, std::ios::beg);
std::fstream::pos_type start_pos = m_file.tellg();
std::streamoff file_size = end_pos - start_pos;
-
+
if (m_file.is_open() && ValidateHeader())
{
// good header, read some key/value pairs
@@ -86,7 +86,7 @@ public:
// read key/value and pass to reader
if (Read(&key) &&
- Read(value, value_size) &&
+ Read(value, value_size) &&
Read(&entry_number) &&
entry_number == m_num_entries+1)
{
@@ -114,7 +114,7 @@ public:
WriteHeader();
return 0;
}
-
+
void Sync()
{
m_file.flush();
diff --git a/Source/Core/Common/Src/Log.h b/Source/Core/Common/Src/Log.h
index 7ad70b779a..b0f3519579 100644
--- a/Source/Core/Common/Src/Log.h
+++ b/Source/Core/Common/Src/Log.h
@@ -6,7 +6,7 @@
#define _LOG_H_
#define NOTICE_LEVEL 1 // VERY important information that is NOT errors. Like startup and OSReports.
-#define ERROR_LEVEL 2 // Critical errors
+#define ERROR_LEVEL 2 // Critical errors
#define WARNING_LEVEL 3 // Something is suspicious.
#define INFO_LEVEL 4 // General information.
#define DEBUG_LEVEL 5 // Detailed debugging - might make things slow.
@@ -40,7 +40,7 @@ enum LOG_TYPE
MEMMAP,
MEMCARD_MANAGER,
OSREPORT,
- PAD,
+ PAD,
PROCESSORINTERFACE,
PIXELENGINE,
SERIALINTERFACE,
diff --git a/Source/Core/Common/Src/LogManager.cpp b/Source/Core/Common/Src/LogManager.cpp
index 60f649b373..50c6ab400a 100644
--- a/Source/Core/Common/Src/LogManager.cpp
+++ b/Source/Core/Common/Src/LogManager.cpp
@@ -13,7 +13,7 @@
#include "Thread.h"
#include "FileUtil.h"
-void GenericLog(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type,
+void GenericLog(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type,
const char *file, int line, const char* fmt, ...)
{
va_list args;
@@ -81,14 +81,14 @@ LogManager::LogManager()
m_consoleLog = new ConsoleListener();
m_debuggerLog = new DebuggerLogListener();
- for (int i = 0; i < LogTypes::NUMBER_OF_LOGS; ++i)
+ for (auto& container : m_Log)
{
- m_Log[i]->SetEnable(true);
- m_Log[i]->AddListener(m_fileLog);
- m_Log[i]->AddListener(m_consoleLog);
+ container->SetEnable(true);
+ container->AddListener(m_fileLog);
+ container->AddListener(m_consoleLog);
#ifdef _MSC_VER
if (IsDebuggerPresent())
- m_Log[i]->AddListener(m_debuggerLog);
+ container->AddListener(m_debuggerLog);
#endif
}
}
@@ -102,15 +102,15 @@ LogManager::~LogManager()
m_logManager->RemoveListener((LogTypes::LOG_TYPE)i, m_debuggerLog);
}
- for (int i = 0; i < LogTypes::NUMBER_OF_LOGS; ++i)
- delete m_Log[i];
+ for (auto& container : m_Log)
+ delete container;
delete m_fileLog;
delete m_consoleLog;
delete m_debuggerLog;
}
-void LogManager::Log(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type,
+void LogManager::Log(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type,
const char *file, int line, const char *format, va_list args)
{
char temp[MAX_MSGLEN];
@@ -128,7 +128,7 @@ void LogManager::Log(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type,
file, line, level_to_char[(int)level],
log->GetShortName(), temp);
#ifdef ANDROID
- Host_SysMessage(msg);
+ Host_SysMessage(msg);
#endif
log->Trigger(level, msg);
}
diff --git a/Source/Core/Common/Src/LogManager.h b/Source/Core/Common/Src/LogManager.h
index 120d7b5f98..101be5fc13 100644
--- a/Source/Core/Common/Src/LogManager.h
+++ b/Source/Core/Common/Src/LogManager.h
@@ -55,7 +55,7 @@ class LogContainer
{
public:
LogContainer(const char* shortName, const char* fullName, bool enable = false);
-
+
const char* GetShortName() const { return m_shortName; }
const char* GetFullName() const { return m_fullName; }
@@ -99,7 +99,7 @@ public:
static u32 GetMaxLevel() { return MAX_LOGLEVEL; }
- void Log(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type,
+ void Log(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type,
const char *file, int line, const char *fmt, va_list args);
void SetLogLevel(LogTypes::LOG_TYPE type, LogTypes::LOG_LEVELS level)
diff --git a/Source/Core/Common/Src/MathUtil.cpp b/Source/Core/Common/Src/MathUtil.cpp
index 435f18ab09..c92e659890 100644
--- a/Source/Core/Common/Src/MathUtil.cpp
+++ b/Source/Core/Common/Src/MathUtil.cpp
@@ -17,7 +17,7 @@ u32 ClassifyDouble(double dvalue)
value.d = dvalue;
u64 sign = value.i & DOUBLE_SIGN;
u64 exp = value.i & DOUBLE_EXP;
- if (exp > DOUBLE_ZERO && exp < DOUBLE_EXP)
+ if (exp > DOUBLE_ZERO && exp < DOUBLE_EXP)
{
// Nice normalized number.
return sign ? PPC_FPCLASS_NN : PPC_FPCLASS_PN;
@@ -57,7 +57,7 @@ u32 ClassifyFloat(float fvalue)
value.f = fvalue;
u32 sign = value.i & FLOAT_SIGN;
u32 exp = value.i & FLOAT_EXP;
- if (exp > FLOAT_ZERO && exp < FLOAT_EXP)
+ if (exp > FLOAT_ZERO && exp < FLOAT_EXP)
{
// Nice normalized number.
return sign ? PPC_FPCLASS_NN : PPC_FPCLASS_PN;
@@ -76,13 +76,13 @@ u32 ClassifyFloat(float fvalue)
// Denormalized number.
return sign ? PPC_FPCLASS_ND : PPC_FPCLASS_PD;
}
- }
- else if (exp)
+ }
+ else if (exp)
{
// Infinite
return sign ? PPC_FPCLASS_NINF : PPC_FPCLASS_PINF;
- }
- else
+ }
+ else
{
//Zero
return sign ? PPC_FPCLASS_NZ : PPC_FPCLASS_PZ;
diff --git a/Source/Core/Common/Src/MathUtil.h b/Source/Core/Common/Src/MathUtil.h
index c0221836e3..31772c3c60 100644
--- a/Source/Core/Common/Src/MathUtil.h
+++ b/Source/Core/Common/Src/MathUtil.h
@@ -105,7 +105,7 @@ struct Rectangle
Rectangle(T theLeft, T theTop, T theRight, T theBottom)
: left(theLeft), top(theTop), right(theRight), bottom(theBottom)
{ }
-
+
bool operator==(const Rectangle& r) { return left==r.left && top==r.top && right==r.right && bottom==r.bottom; }
T GetWidth() const { return abs(right - left); }
@@ -123,7 +123,7 @@ struct Rectangle
// If the rectangle is in a coordinate system with an upper-left origin,
// use this Clamp.
- void ClampUL(T x1, T y1, T x2, T y2)
+ void ClampUL(T x1, T y1, T x2, T y2)
{
if (left < x1) left = x1;
if (right > x2) right = x2;
diff --git a/Source/Core/Common/Src/MemArena.cpp b/Source/Core/Common/Src/MemArena.cpp
index 49c51fd2ee..6b69b63860 100644
--- a/Source/Core/Common/Src/MemArena.cpp
+++ b/Source/Core/Common/Src/MemArena.cpp
@@ -36,7 +36,7 @@ int AshmemCreateFileMapping(const char *name, size_t size)
if (fd < 0)
return fd;
- // We don't really care if we can't set the name, it is optional
+ // We don't really care if we can't set the name, it is optional
ret = ioctl(fd, ASHMEM_SET_NAME, name);
ret = ioctl(fd, ASHMEM_SET_SIZE, size);
@@ -257,13 +257,12 @@ u8 *MemoryMap_Setup(const MemoryView *views, int num_views, u32 flags, MemArena
{
base_attempts++;
base = (u8 *)base_addr;
- if (Memory_TryBase(base, views, num_views, flags, arena))
+ if (Memory_TryBase(base, views, num_views, flags, arena))
{
INFO_LOG(MEMMAP, "Found valid memory base at %p after %i tries.", base, base_attempts);
base_attempts = 0;
break;
}
-
}
#else
// Linux32 is fine with the x64 method, although limited to 32-bit with no automirrors.
@@ -289,9 +288,8 @@ void MemoryMap_Shutdown(const MemoryView *views, int num_views, u32 flags, MemAr
{
const MemoryView* view = &views[i];
u8** outptrs[2] = {view->out_ptr_low, view->out_ptr};
- for (int j = 0; j < 2; j++)
+ for (auto outptr : outptrs)
{
- u8** outptr = outptrs[j];
if (outptr && *outptr && !freeset.count(*outptr))
{
arena->ReleaseView(*outptr, view->size);
diff --git a/Source/Core/Common/Src/MsgHandler.h b/Source/Core/Common/Src/MsgHandler.h
index 7de10c7b0a..f6e2f0f1dc 100644
--- a/Source/Core/Common/Src/MsgHandler.h
+++ b/Source/Core/Common/Src/MsgHandler.h
@@ -16,7 +16,7 @@ enum MSG_TYPE
CRITICAL
};
-typedef bool (*MsgAlertHandler)(const char* caption, const char* text,
+typedef bool (*MsgAlertHandler)(const char* caption, const char* text,
bool yes_no, int Style);
typedef std::string (*StringTranslator)(const char* text);
@@ -32,29 +32,29 @@ void SetEnableAlert(bool enable);
#ifndef GEKKO
#ifdef _WIN32
- #define SuccessAlert(format, ...) MsgAlert(false, INFORMATION, format, __VA_ARGS__)
- #define PanicAlert(format, ...) MsgAlert(false, WARNING, format, __VA_ARGS__)
- #define PanicYesNo(format, ...) MsgAlert(true, WARNING, format, __VA_ARGS__)
- #define AskYesNo(format, ...) MsgAlert(true, QUESTION, format, __VA_ARGS__)
- #define CriticalAlert(format, ...) MsgAlert(false, CRITICAL, format, __VA_ARGS__)
+ #define SuccessAlert(format, ...) MsgAlert(false, INFORMATION, format, __VA_ARGS__)
+ #define PanicAlert(format, ...) MsgAlert(false, WARNING, format, __VA_ARGS__)
+ #define PanicYesNo(format, ...) MsgAlert(true, WARNING, format, __VA_ARGS__)
+ #define AskYesNo(format, ...) MsgAlert(true, QUESTION, format, __VA_ARGS__)
+ #define CriticalAlert(format, ...) MsgAlert(false, CRITICAL, format, __VA_ARGS__)
// Use these macros (that do the same thing) if the message should be translated.
- #define SuccessAlertT(format, ...) MsgAlert(false, INFORMATION, format, __VA_ARGS__)
- #define PanicAlertT(format, ...) MsgAlert(false, WARNING, format, __VA_ARGS__)
- #define PanicYesNoT(format, ...) MsgAlert(true, WARNING, format, __VA_ARGS__)
- #define AskYesNoT(format, ...) MsgAlert(true, QUESTION, format, __VA_ARGS__)
- #define CriticalAlertT(format, ...) MsgAlert(false, CRITICAL, format, __VA_ARGS__)
+ #define SuccessAlertT(format, ...) MsgAlert(false, INFORMATION, format, __VA_ARGS__)
+ #define PanicAlertT(format, ...) MsgAlert(false, WARNING, format, __VA_ARGS__)
+ #define PanicYesNoT(format, ...) MsgAlert(true, WARNING, format, __VA_ARGS__)
+ #define AskYesNoT(format, ...) MsgAlert(true, QUESTION, format, __VA_ARGS__)
+ #define CriticalAlertT(format, ...) MsgAlert(false, CRITICAL, format, __VA_ARGS__)
#else
- #define SuccessAlert(format, ...) MsgAlert(false, INFORMATION, format, ##__VA_ARGS__)
- #define PanicAlert(format, ...) MsgAlert(false, WARNING, format, ##__VA_ARGS__)
- #define PanicYesNo(format, ...) MsgAlert(true, WARNING, format, ##__VA_ARGS__)
- #define AskYesNo(format, ...) MsgAlert(true, QUESTION, format, ##__VA_ARGS__)
- #define CriticalAlert(format, ...) MsgAlert(false, CRITICAL, format, ##__VA_ARGS__)
+ #define SuccessAlert(format, ...) MsgAlert(false, INFORMATION, format, ##__VA_ARGS__)
+ #define PanicAlert(format, ...) MsgAlert(false, WARNING, format, ##__VA_ARGS__)
+ #define PanicYesNo(format, ...) MsgAlert(true, WARNING, format, ##__VA_ARGS__)
+ #define AskYesNo(format, ...) MsgAlert(true, QUESTION, format, ##__VA_ARGS__)
+ #define CriticalAlert(format, ...) MsgAlert(false, CRITICAL, format, ##__VA_ARGS__)
// Use these macros (that do the same thing) if the message should be translated.
- #define SuccessAlertT(format, ...) MsgAlert(false, INFORMATION, format, ##__VA_ARGS__)
- #define PanicAlertT(format, ...) MsgAlert(false, WARNING, format, ##__VA_ARGS__)
- #define PanicYesNoT(format, ...) MsgAlert(true, WARNING, format, ##__VA_ARGS__)
- #define AskYesNoT(format, ...) MsgAlert(true, QUESTION, format, ##__VA_ARGS__)
- #define CriticalAlertT(format, ...) MsgAlert(false, CRITICAL, format, ##__VA_ARGS__)
+ #define SuccessAlertT(format, ...) MsgAlert(false, INFORMATION, format, ##__VA_ARGS__)
+ #define PanicAlertT(format, ...) MsgAlert(false, WARNING, format, ##__VA_ARGS__)
+ #define PanicYesNoT(format, ...) MsgAlert(true, WARNING, format, ##__VA_ARGS__)
+ #define AskYesNoT(format, ...) MsgAlert(true, QUESTION, format, ##__VA_ARGS__)
+ #define CriticalAlertT(format, ...) MsgAlert(false, CRITICAL, format, ##__VA_ARGS__)
#endif
#else
// GEKKO
diff --git a/Source/Core/Common/Src/NandPaths.cpp b/Source/Core/Common/Src/NandPaths.cpp
index 601d2a51ee..3ca5550d40 100644
--- a/Source/Core/Common/Src/NandPaths.cpp
+++ b/Source/Core/Common/Src/NandPaths.cpp
@@ -58,7 +58,7 @@ bool CheckTitleTMD(u64 _titleID)
bool CheckTitleTIK(u64 _titleID)
{
- const std::string ticketFileName = Common::GetTicketFileName(_titleID);
+ const std::string ticketFileName = Common::GetTicketFileName(_titleID);
if (File::Exists(ticketFileName))
{
File::IOFile pTIKFile(ticketFileName, "rb");
diff --git a/Source/Core/Common/Src/SDCardUtil.cpp b/Source/Core/Common/Src/SDCardUtil.cpp
index cf37ffff3e..5475cf131d 100644
--- a/Source/Core/Common/Src/SDCardUtil.cpp
+++ b/Source/Core/Common/Src/SDCardUtil.cpp
@@ -36,6 +36,7 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
+#include <cinttypes>
#ifndef _WIN32
#include <unistd.h> // for unlink()
@@ -196,7 +197,7 @@ bool SDCardCreate(u64 disk_size /*in MB*/, const char* filename)
disk_size *= 1024 * 1024;
if (disk_size < 0x800000 || disk_size > 0x800000000ULL) {
- ERROR_LOG(COMMON, "Trying to create SD Card image of size %lliMB is out of range (8MB-32GB)", disk_size/(1024*1024));
+ ERROR_LOG(COMMON, "Trying to create SD Card image of size %" PRIu64 "MB is out of range (8MB-32GB)", disk_size/(1024*1024));
return false;
}
diff --git a/Source/Core/Common/Src/StdConditionVariable.h b/Source/Core/Common/Src/StdConditionVariable.h
index 048a7e8975..1a05ce45e3 100644
--- a/Source/Core/Common/Src/StdConditionVariable.h
+++ b/Source/Core/Common/Src/StdConditionVariable.h
@@ -9,7 +9,7 @@
#define __has_include(s) 0
#endif
-#if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__
+#if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__
// GCC 4.4 provides <condition_variable>
#include <condition_variable>
@@ -25,6 +25,11 @@
#include <condition_variable>
#define _(s) wxGetTranslation((s))
+#elif _MSC_VER >= 1700
+
+// The standard implementation is included since VS2012
+#include <condition_variable>
+
#else
// partial std::condition_variable implementation for win32/pthread
diff --git a/Source/Core/Common/Src/StdMutex.h b/Source/Core/Common/Src/StdMutex.h
index ce46a2f591..4d3348d458 100644
--- a/Source/Core/Common/Src/StdMutex.h
+++ b/Source/Core/Common/Src/StdMutex.h
@@ -15,6 +15,12 @@
#elif __has_include(<mutex>) && !ANDROID
// Clang + libc++
#include <mutex>
+
+#elif _MSC_VER >= 1700
+
+// The standard implementation is included since VS2012
+#include <mutex>
+
#else
// partial <mutex> implementation for win32/pthread
@@ -102,7 +108,7 @@ public:
return (0 != TryEnterCriticalSection(&m_handle));
#else
return !pthread_mutex_trylock(&m_handle);
-#endif
+#endif
}
native_handle_type native_handle()
@@ -277,10 +283,10 @@ public:
swap(other);
return *this;
}
-
+
#ifdef USE_RVALUE_REFERENCES
unique_lock(const unique_lock&) /*= delete*/;
-
+
unique_lock(unique_lock&& other)
: pm(NULL), owns(false)
{
@@ -289,7 +295,7 @@ public:
: pm(NULL), owns(false)
{
// ugly const_cast to get around lack of rvalue references
- unique_lock& other = const_cast<unique_lock&>(u);
+ unique_lock& other = const_cast<unique_lock&>(u);
#endif
swap(other);
}
@@ -310,7 +316,7 @@ public:
//bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
//template <class Clock, class Duration>
//bool try_lock_until(const chrono::time_point<Clock, Duration>& abs_time);
-
+
void unlock()
{
mutex()->unlock();
diff --git a/Source/Core/Common/Src/StdThread.h b/Source/Core/Common/Src/StdThread.h
index e43d283443..9e589061b1 100644
--- a/Source/Core/Common/Src/StdThread.h
+++ b/Source/Core/Common/Src/StdThread.h
@@ -18,6 +18,12 @@
#elif __has_include(<thread>) && !ANDROID
// Clang + libc++
#include <thread>
+
+#elif _MSC_VER >= 1700
+
+// The standard implementation is included since VS2012
+#include <thread>
+
#else
// partial std::thread implementation for win32/pthread
@@ -207,7 +213,7 @@ public:
std::swap(m_handle, other.m_handle);
#endif
}
-
+
static unsigned hardware_concurrency()
{
#ifdef _WIN32
@@ -221,7 +227,7 @@ public:
private:
id m_id;
-
+
#ifdef _WIN32
native_handle_type m_handle;
#endif
@@ -241,7 +247,7 @@ private:
m_id = id();
#endif
}
-
+
template <typename C>
class Func
{
diff --git a/Source/Core/Common/Src/StringUtil.cpp b/Source/Core/Common/Src/StringUtil.cpp
index 16cf890ad6..7ad4ac6ca5 100644
--- a/Source/Core/Common/Src/StringUtil.cpp
+++ b/Source/Core/Common/Src/StringUtil.cpp
@@ -109,11 +109,11 @@ std::string ArrayToString(const u8 *data, u32 size, int line_len, bool spaces)
{
std::ostringstream oss;
oss << std::setfill('0') << std::hex;
-
+
for (int line = 0; size; ++data, --size)
{
oss << std::setw(2) << (int)*data;
-
+
if (line_len == ++line)
{
oss << '\n';
@@ -156,7 +156,7 @@ bool TryParse(const std::string &str, u32 *const output)
errno = 0;
unsigned long value = strtoul(str.c_str(), &endptr, 0);
-
+
if (!endptr || *endptr)
return false;
@@ -284,7 +284,7 @@ std::string ReplaceAll(std::string result, const std::string& src, const std::st
//#include <string>
//#include <assert.h>
-const char HEX2DEC[256] =
+const char HEX2DEC[256] =
{
/* 0 1 2 3 4 5 6 7 8 9 A B C D E F */
/* 0 */ 16,16,16,16, 16,16,16,16, 16,16,16,16, 16,16,16,16,
@@ -317,7 +317,7 @@ std::string UriDecode(const std::string & sSrc)
const unsigned char * pSrc = (const unsigned char *)sSrc.c_str();
const size_t SRC_LEN = sSrc.length();
const unsigned char * const SRC_END = pSrc + SRC_LEN;
- const unsigned char * const SRC_LAST_DEC = SRC_END - 2; // last decodable '%'
+ const unsigned char * const SRC_LAST_DEC = SRC_END - 2; // last decodable '%'
char * const pStart = new char[SRC_LEN];
char * pEnd = pStart;
@@ -384,7 +384,7 @@ std::string UriEncode(const std::string & sSrc)
for (; pSrc < SRC_END; ++pSrc)
{
- if (SAFE[*pSrc])
+ if (SAFE[*pSrc])
*pEnd++ = *pSrc;
else
{
@@ -404,26 +404,30 @@ std::string UriEncode(const std::string & sSrc)
std::string UTF16ToUTF8(const std::wstring& input)
{
- auto const size = WideCharToMultiByte(CP_UTF8, 0, input.data(), input.size(), nullptr, 0, nullptr, nullptr);
+ auto const size = WideCharToMultiByte(CP_UTF8, 0, input.data(), (int)input.size(), nullptr, 0, nullptr, nullptr);
std::string output;
output.resize(size);
- if (size == 0 || size != WideCharToMultiByte(CP_UTF8, 0, input.data(), input.size(), &output[0], output.size(), nullptr, nullptr))
+ if (size == 0 || size != WideCharToMultiByte(CP_UTF8, 0, input.data(), (int)input.size(), &output[0], (int)output.size(), nullptr, nullptr))
+ {
output.clear();
+ }
return output;
}
std::wstring CPToUTF16(u32 code_page, const std::string& input)
{
- auto const size = MultiByteToWideChar(code_page, 0, input.data(), input.size(), nullptr, 0);
+ auto const size = MultiByteToWideChar(code_page, 0, input.data(), (int)input.size(), nullptr, 0);
std::wstring output;
output.resize(size);
- if (size == 0 || size != MultiByteToWideChar(code_page, 0, input.data(), input.size(), &output[0], output.size()))
+ if (size == 0 || size != MultiByteToWideChar(code_page, 0, input.data(), (int)input.size(), &output[0], (int)output.size()))
+ {
output.clear();
+ }
return output;
}
@@ -494,10 +498,10 @@ std::string CodeToUTF8(const char* fromcode, const std::basic_string<T>& input)
out_buffer.resize(out_buffer_size - dst_bytes);
out_buffer.swap(result);
-
+
iconv_close(conv_desc);
}
-
+
return result;
}
diff --git a/Source/Core/Common/Src/StringUtil.h b/Source/Core/Common/Src/StringUtil.h
index 56c223641b..46ed382724 100644
--- a/Source/Core/Common/Src/StringUtil.h
+++ b/Source/Core/Common/Src/StringUtil.h
@@ -58,7 +58,7 @@ template <typename N>
static bool TryParse(const std::string &str, N *const output)
{
std::istringstream iss(str);
-
+
N tmp = 0;
if (iss >> tmp)
{
diff --git a/Source/Core/Common/Src/SymbolDB.cpp b/Source/Core/Common/Src/SymbolDB.cpp
index 2dd4ee7473..e7a716de0f 100644
--- a/Source/Core/Common/Src/SymbolDB.cpp
+++ b/Source/Core/Common/Src/SymbolDB.cpp
@@ -28,18 +28,18 @@ void SymbolDB::Clear(const char *prefix)
void SymbolDB::Index()
{
int i = 0;
- for (XFuncMap::iterator iter = functions.begin(); iter != functions.end(); ++iter)
+ for (auto& func : functions)
{
- iter->second.index = i++;
+ func.second.index = i++;
}
}
Symbol *SymbolDB::GetSymbolFromName(const char *name)
{
- for (XFuncMap::iterator iter = functions.begin(); iter != functions.end(); ++iter)
+ for (auto& func : functions)
{
- if (!strcmp(iter->second.name.c_str(), name))
- return &iter->second;
+ if (!strcmp(func.second.name.c_str(), name))
+ return &func.second;
}
return 0;
}
diff --git a/Source/Core/Common/Src/SysConf.cpp b/Source/Core/Common/Src/SysConf.cpp
index 9f2581845e..acfb11b0ed 100644
--- a/Source/Core/Common/Src/SysConf.cpp
+++ b/Source/Core/Common/Src/SysConf.cpp
@@ -5,6 +5,8 @@
#include "FileUtil.h"
#include "SysConf.h"
+#include <cinttypes>
+
SysConf::SysConf()
: m_IsValid(false)
{
@@ -38,11 +40,11 @@ bool SysConf::LoadFromFile(const char *filename)
GenerateSysConf();
return true;
}
-
+
u64 size = File::GetSize(filename);
if (size != SYSCONF_SIZE)
{
- if (AskYesNoT("Your SYSCONF file is the wrong size.\nIt should be 0x%04x (but is 0x%04llx)\nDo you want to generate a new one?",
+ if (AskYesNoT("Your SYSCONF file is the wrong size.\nIt should be 0x%04x (but is 0x%04" PRIx64 ")\nDo you want to generate a new one?",
SYSCONF_SIZE, size))
{
GenerateSysConf();
@@ -151,7 +153,7 @@ unsigned int create_item(SSysConfEntry &item, SysconfType type, const std::strin
{
item.offset = offset;
item.type = type;
- item.nameLength = name.length();
+ item.nameLength = (u8)(name.length());
strncpy(item.name, name.c_str(), 32);
item.dataLength = data_length;
item.data = new u8[data_length];
@@ -298,8 +300,8 @@ void SysConf::GenerateSysConf()
items[26].data[0] = 0x01;
- for (int i = 0; i < 27; i++)
- m_Entries.push_back(items[i]);
+ for (auto& item : items)
+ m_Entries.push_back(item);
File::CreateFullPath(m_FilenameDefault);
File::IOFile g(m_FilenameDefault, "wb");
@@ -314,7 +316,7 @@ void SysConf::GenerateSysConf()
}
const u16 end_data_offset = Common::swap16(current_offset);
g.WriteBytes(&end_data_offset, 2);
-
+
// Write the items
const u8 null_byte = 0;
for (int i = 0; i != 27; ++i)
@@ -398,7 +400,7 @@ void SysConf::UpdateLocation()
if (m_IsValid)
Save();
- // Clear the old filename and set the default filename to the new user path
+ // Clear the old filename and set the default filename to the new user path
// So that it can be generated if the file does not exist in the new location
m_Filename.clear();
m_FilenameDefault = File::GetUserPath(F_WIISYSCONF_IDX);
diff --git a/Source/Core/Common/Src/Thread.cpp b/Source/Core/Common/Src/Thread.cpp
index 4040d04e42..740750a8ea 100644
--- a/Source/Core/Common/Src/Thread.cpp
+++ b/Source/Core/Common/Src/Thread.cpp
@@ -28,7 +28,7 @@ int CurrentThreadId()
return 0;
#endif
}
-
+
#ifdef _WIN32
void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask)
@@ -55,7 +55,7 @@ void SwitchCurrentThread()
// Sets the debugger-visible name of the current thread.
// Uses undocumented (actually, it is now documented) trick.
// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/html/vxtsksettingthreadname.asp
-
+
// This is implemented much nicer in upcoming msvc++, see:
// http://msdn.microsoft.com/en-us/library/xcb2z8hs(VS.100).aspx
void SetCurrentThreadName(const char* szThreadName)
@@ -84,7 +84,7 @@ void SetCurrentThreadName(const char* szThreadName)
__except(EXCEPTION_CONTINUE_EXECUTION)
{}
}
-
+
#else // !WIN32, so must be POSIX threads
void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask)
diff --git a/Source/Core/Common/Src/Thread.h b/Source/Core/Common/Src/Thread.h
index b0328f7a1f..b2e9572ce5 100644
--- a/Source/Core/Common/Src/Thread.h
+++ b/Source/Core/Common/Src/Thread.h
@@ -32,13 +32,13 @@ int CurrentThreadId();
void SetThreadAffinity(std::thread::native_handle_type thread, u32 mask);
void SetCurrentThreadAffinity(u32 mask);
-
+
class Event
{
public:
Event()
: is_set(false)
- {};
+ {}
void Set()
{
@@ -53,34 +53,20 @@ public:
void Wait()
{
std::unique_lock<std::mutex> lk(m_mutex);
- m_condvar.wait(lk, IsSet(this));
+ m_condvar.wait(lk, [&]{ return is_set; });
is_set = false;
}
void Reset()
{
std::unique_lock<std::mutex> lk(m_mutex);
- // no other action required, since wait loops on the predicate and any lingering signal will get cleared on the first iteration
+ // no other action required, since wait loops on
+ // the predicate and any lingering signal will get
+ // cleared on the first iteration
is_set = false;
}
private:
- class IsSet
- {
- public:
- IsSet(const Event* ev)
- : m_event(ev)
- {}
-
- bool operator()()
- {
- return m_event->is_set;
- }
-
- private:
- const Event* const m_event;
- };
-
volatile bool is_set;
std::condition_variable m_condvar;
std::mutex m_mutex;
@@ -110,34 +96,18 @@ public:
}
else
{
- m_condvar.wait(lk, IsDoneWating(this));
+ m_condvar.wait(lk, [&]{ return (0 == m_waiting); });
return false;
}
}
private:
- class IsDoneWating
- {
- public:
- IsDoneWating(const Barrier* bar)
- : m_bar(bar)
- {}
-
- bool operator()()
- {
- return (0 == m_bar->m_waiting);
- }
-
- private:
- const Barrier* const m_bar;
- };
-
std::condition_variable m_condvar;
std::mutex m_mutex;
const size_t m_count;
volatile size_t m_waiting;
};
-
+
void SleepCurrentThread(int ms);
void SwitchCurrentThread(); // On Linux, this is equal to sleep 1ms
@@ -148,9 +118,9 @@ inline void YieldCPU()
{
std::this_thread::yield();
}
-
+
void SetCurrentThreadName(const char *name);
-
+
} // namespace Common
#endif // _THREAD_H_
diff --git a/Source/Core/Common/Src/Version.cpp b/Source/Core/Common/Src/Version.cpp
index 944cc55906..09bfa9b1af 100644
--- a/Source/Core/Common/Src/Version.cpp
+++ b/Source/Core/Common/Src/Version.cpp
@@ -29,7 +29,7 @@ const char *scm_rev_str = "Dolphin "
#else
#ifdef _M_ARM
#define NP_ARCH "ARM"
-#else
+#else
#define NP_ARCH "x86"
#endif
#endif
diff --git a/Source/Core/Common/Src/stdafx.h b/Source/Core/Common/Src/stdafx.h
index 1a2e716e34..de740c3c89 100644
--- a/Source/Core/Common/Src/stdafx.h
+++ b/Source/Core/Common/Src/stdafx.h
@@ -4,18 +4,20 @@
#pragma once
+/*
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x501
#endif
#ifndef _WIN32_IE
#define _WIN32_IE 0x0500 // Default value is 0x0400
#endif
+*/
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
-
+/*
#define _CRT_SECURE_NO_DEPRECATE 1
#define _CRT_NONSTDC_NO_DEPRECATE 1
-
+*/
#include <windows.h>
#include <tchar.h>
#include <vector>
diff --git a/Source/Core/Common/Src/x64ABI.cpp b/Source/Core/Common/Src/x64ABI.cpp
index b590282a0b..6cced10084 100644
--- a/Source/Core/Common/Src/x64ABI.cpp
+++ b/Source/Core/Common/Src/x64ABI.cpp
@@ -13,7 +13,7 @@ unsigned int XEmitter::ABI_GetAlignedFrameSize(unsigned int frameSize, bool noPr
// On platforms other than Windows 32-bit: At the beginning of a function,
// the stack pointer is 4/8 bytes less than a multiple of 16; however, the
// function prolog immediately subtracts an appropriate amount to align
- // it, so no alignment is required around a call.
+ // it, so no alignment is required around a call.
// In the functions generated by ThunkManager::ProtectFunction and some
// others, we add the necessary subtraction (and 0x20 bytes shadow space
// for Win64) into this rather than having a separate prolog.
@@ -497,12 +497,12 @@ void XEmitter::ABI_PushAllCalleeSavedRegsAndAdjustStack() {
//we only want to do this once
PUSH(RBP);
MOV(64, R(RBP), R(RSP));
- PUSH(RBX);
- PUSH(RSI);
+ PUSH(RBX);
+ PUSH(RSI);
PUSH(RDI);
- PUSH(R12);
- PUSH(R13);
- PUSH(R14);
+ PUSH(R12);
+ PUSH(R13);
+ PUSH(R14);
PUSH(R15);
SUB(64, R(RSP), Imm8(0x28));
//TODO: Also preserve XMM0-3?
@@ -511,12 +511,12 @@ void XEmitter::ABI_PushAllCalleeSavedRegsAndAdjustStack() {
void XEmitter::ABI_PopAllCalleeSavedRegsAndAdjustStack() {
ADD(64, R(RSP), Imm8(0x28));
POP(R15);
- POP(R14);
- POP(R13);
+ POP(R14);
+ POP(R13);
POP(R12);
POP(RDI);
- POP(RSI);
- POP(RBX);
+ POP(RSI);
+ POP(RBX);
POP(RBP);
}
@@ -526,10 +526,10 @@ void XEmitter::ABI_PopAllCalleeSavedRegsAndAdjustStack() {
void XEmitter::ABI_PushAllCalleeSavedRegsAndAdjustStack() {
PUSH(RBP);
MOV(64, R(RBP), R(RSP));
- PUSH(RBX);
- PUSH(R12);
- PUSH(R13);
- PUSH(R14);
+ PUSH(RBX);
+ PUSH(R12);
+ PUSH(R13);
+ PUSH(R14);
PUSH(R15);
SUB(64, R(RSP), Imm8(8));
}
@@ -537,10 +537,10 @@ void XEmitter::ABI_PushAllCalleeSavedRegsAndAdjustStack() {
void XEmitter::ABI_PopAllCalleeSavedRegsAndAdjustStack() {
ADD(64, R(RSP), Imm8(8));
POP(R15);
- POP(R14);
- POP(R13);
+ POP(R14);
+ POP(R13);
POP(R12);
- POP(RBX);
+ POP(RBX);
POP(RBP);
}
diff --git a/Source/Core/Common/Src/x64ABI.h b/Source/Core/Common/Src/x64ABI.h
index e06cdbcc0b..c315c9cdd0 100644
--- a/Source/Core/Common/Src/x64ABI.h
+++ b/Source/Core/Common/Src/x64ABI.h
@@ -48,7 +48,7 @@
#else // 64 bit calling convention
-#ifdef _WIN32 // 64-bit Windows - the really exotic calling convention
+#ifdef _WIN32 // 64-bit Windows - the really exotic calling convention
#define ABI_PARAM1 RCX
#define ABI_PARAM2 RDX
diff --git a/Source/Core/Common/Src/x64Analyzer.cpp b/Source/Core/Common/Src/x64Analyzer.cpp
index e41b8ce5dd..eac178ff21 100644
--- a/Source/Core/Common/Src/x64Analyzer.cpp
+++ b/Source/Core/Common/Src/x64Analyzer.cpp
@@ -10,7 +10,7 @@ bool DisassembleMov(const unsigned char *codePtr, InstructionInfo *info)
u8 rex = 0;
u8 codeByte = 0;
u8 codeByte2 = 0;
-
+
//Check for regular prefix
info->operandSize = 4;
info->zeroExtend = false;
@@ -28,7 +28,7 @@ bool DisassembleMov(const unsigned char *codePtr, InstructionInfo *info)
{
info->operandSize = 2;
codePtr++;
- }
+ }
else if (*codePtr == 0x67)
{
codePtr++;
@@ -47,17 +47,17 @@ bool DisassembleMov(const unsigned char *codePtr, InstructionInfo *info)
codeByte = *codePtr++;
- // Skip two-byte opcode byte
- bool twoByte = false;
- if(codeByte == 0x0F)
+ // Skip two-byte opcode byte
+ bool twoByte = false;
+ if(codeByte == 0x0F)
{
- twoByte = true;
+ twoByte = true;
codeByte2 = *codePtr++;
}
if (!twoByte)
{
- if ((codeByte & 0xF0) == 0x80 ||
+ if ((codeByte & 0xF0) == 0x80 ||
((codeByte & 0xF8) == 0xC0 && (codeByte & 0x0E) != 0x02))
{
modRMbyte = *codePtr++;
@@ -66,20 +66,20 @@ bool DisassembleMov(const unsigned char *codePtr, InstructionInfo *info)
}
else
{
- if (((codeByte2 & 0xF0) == 0x00 && (codeByte2 & 0x0F) >= 0x04 && (codeByte2 & 0x0D) != 0x0D) ||
- (codeByte2 & 0xF0) == 0x30 ||
- codeByte2 == 0x77 ||
- (codeByte2 & 0xF0) == 0x80 ||
- ((codeByte2 & 0xF0) == 0xA0 && (codeByte2 & 0x07) <= 0x02) ||
- (codeByte2 & 0xF8) == 0xC8)
+ if (((codeByte2 & 0xF0) == 0x00 && (codeByte2 & 0x0F) >= 0x04 && (codeByte2 & 0x0D) != 0x0D) ||
+ (codeByte2 & 0xF0) == 0x30 ||
+ codeByte2 == 0x77 ||
+ (codeByte2 & 0xF0) == 0x80 ||
+ ((codeByte2 & 0xF0) == 0xA0 && (codeByte2 & 0x07) <= 0x02) ||
+ (codeByte2 & 0xF8) == 0xC8)
{
- // No mod R/M byte
+ // No mod R/M byte
}
- else
+ else
{
modRMbyte = *codePtr++;
hasModRM = true;
- }
+ }
}
if (hasModRM)
@@ -99,7 +99,7 @@ bool DisassembleMov(const unsigned char *codePtr, InstructionInfo *info)
}
else
{
- //info->scaledReg =
+ //info->scaledReg =
}
}
if (mrm.mod == 1 || mrm.mod == 2)
diff --git a/Source/Core/Common/Src/x64CPUDetect.cpp b/Source/Core/Common/Src/x64CPUDetect.cpp
index 43c93ae8d6..2b434ad2b6 100644
--- a/Source/Core/Common/Src/x64CPUDetect.cpp
+++ b/Source/Core/Common/Src/x64CPUDetect.cpp
@@ -114,19 +114,19 @@ void CPUInfo::Detect()
OS64bit = (f64 == TRUE) ? true : false;
#endif
#endif
-
+
// Set obvious defaults, for extra safety
if (Mode64bit) {
bSSE = true;
bSSE2 = true;
bLongMode = true;
}
-
+
// Assume CPU supports the CPUID instruction. Those that don't can barely
// boot modern OS:es anyway.
int cpu_id[4];
memset(cpu_string, 0, sizeof(cpu_string));
-
+
// Detect CPU's CPUID capabilities, and grab cpu string
__cpuid(cpu_id, 0x00000000);
u32 max_std_fn = cpu_id[0]; // EAX
@@ -141,10 +141,10 @@ void CPUInfo::Detect()
vendor = VENDOR_AMD;
else
vendor = VENDOR_OTHER;
-
+
// Set reasonable default brand string even if brand string not available.
strcpy(brand_string, cpu_string);
-
+
// Detect family and other misc stuff.
bool ht = false;
HTT = ht;
@@ -169,7 +169,11 @@ void CPUInfo::Detect()
if (((cpu_id[2] >> 28) & 1) && ((cpu_id[2] >> 27) & 1))
{
if ((_xgetbv(_XCR_XFEATURE_ENABLED_MASK) & 0x6) == 0x6)
+ {
bAVX = true;
+ if ((cpu_id[2] >> 12) & 1)
+ bFMA = true;
+ }
}
}
if (max_ex_fn >= 0x80000004) {
@@ -189,7 +193,7 @@ void CPUInfo::Detect()
}
num_cores = (logical_cpu_count == 0) ? 1 : logical_cpu_count;
-
+
if (max_ex_fn >= 0x80000008) {
// Get number of cores. This is a bit complicated. Following AMD manual here.
__cpuid(cpu_id, 0x80000008);
@@ -210,7 +214,7 @@ void CPUInfo::Detect()
// Use AMD's new method.
num_cores = (cpu_id[2] & 0xFF) + 1;
}
- }
+ }
}
// Turn the cpu info into a string we can show
@@ -225,6 +229,7 @@ std::string CPUInfo::Summarize()
if (bSSE4_2) sum += ", SSE4.2";
if (HTT) sum += ", HTT";
if (bAVX) sum += ", AVX";
+ if (bFMA) sum += ", FMA";
if (bAES) sum += ", AES";
if (bLongMode) sum += ", 64-bit support";
return sum;
diff --git a/Source/Core/Common/Src/x64Emitter.cpp b/Source/Core/Common/Src/x64Emitter.cpp
index a5d7cb2f0f..05540ba4a8 100644
--- a/Source/Core/Common/Src/x64Emitter.cpp
+++ b/Source/Core/Common/Src/x64Emitter.cpp
@@ -7,6 +7,8 @@
#include "x64ABI.h"
#include "CPUDetect.h"
+#include <cinttypes>
+
namespace Gen
{
@@ -16,7 +18,7 @@ struct NormalOpDef
u8 toRm8, toRm32, fromRm8, fromRm32, imm8, imm32, simm8, ext;
};
-static const NormalOpDef nops[11] =
+static const NormalOpDef nops[11] =
{
{0x00, 0x01, 0x02, 0x03, 0x80, 0x81, 0x83, 0}, //ADD
{0x10, 0x11, 0x12, 0x13, 0x80, 0x81, 0x83, 2}, //ADC
@@ -154,6 +156,40 @@ void OpArg::WriteRex(XEmitter *emit, int opBits, int bits, int customOp) const
#endif
}
+void OpArg::WriteVex(XEmitter* emit, int size, int packed, Gen::X64Reg regOp1, Gen::X64Reg regOp2) const
+{
+ int R = !(regOp1 & 8);
+ int X = !(indexReg & 8);
+ int B = !(offsetOrBaseReg & 8);
+
+ // not so sure about this one...
+ int W = 0;
+
+ // aka map_select in AMD manuals
+ // only support VEX opcode map 1 for now (analog to secondary opcode map)
+ int mmmmm = 1;
+
+ int vvvv = (regOp2 == X64Reg::INVALID_REG) ? 0xf : (regOp2 ^ 0xf);
+ int L = size == 256;
+ int pp = (packed << 1) | (size == 64);
+
+ // do we need any VEX fields that only appear in the three-byte form?
+ if (X == 1 && B == 1 && W == 0 && mmmmm == 1)
+ {
+ u8 RvvvvLpp = (R << 7) | (vvvv << 3) | (L << 1) | pp;
+ emit->Write8(0xC5);
+ emit->Write8(RvvvvLpp);
+ }
+ else
+ {
+ u8 RXBmmmmm = (R << 7) | (X << 6) | (B << 5) | mmmmm;
+ u8 WvvvvLpp = (W << 7) | (vvvv << 3) | (L << 1) | pp;
+ emit->Write8(0xC4);
+ emit->Write8(RXBmmmmm);
+ emit->Write8(WvvvvLpp);
+ }
+}
+
void OpArg::WriteRest(XEmitter *emit, int extraBytes, X64Reg _operandReg,
bool warn_64bit_offset) const
{
@@ -176,7 +212,7 @@ void OpArg::WriteRest(XEmitter *emit, int extraBytes, X64Reg _operandReg,
_assert_msg_(DYNA_REC, (distance < 0x80000000LL
&& distance >= -0x80000000LL) ||
!warn_64bit_offset,
- "WriteRest: op out of range (0x%llx uses 0x%llx)",
+ "WriteRest: op out of range (0x%" PRIx64 " uses 0x%" PRIx64 ")",
ripAddr, offset);
s32 offs = (s32)distance;
emit->Write32((u32)offs);
@@ -230,7 +266,7 @@ void OpArg::WriteRest(XEmitter *emit, int extraBytes, X64Reg _operandReg,
SIB = true;
}
- if (scale == SCALE_ATREG && ((_offsetOrBaseReg & 7) == 4))
+ if (scale == SCALE_ATREG && ((_offsetOrBaseReg & 7) == 4))
{
SIB = true;
ireg = _offsetOrBaseReg;
@@ -255,7 +291,7 @@ void OpArg::WriteRest(XEmitter *emit, int extraBytes, X64Reg _operandReg,
int oreg = _offsetOrBaseReg;
if (SIB)
oreg = 4;
-
+
// TODO(ector): WTF is this if about? I don't remember writing it :-)
//if (RIP)
// oreg = 5;
@@ -268,7 +304,7 @@ void OpArg::WriteRest(XEmitter *emit, int extraBytes, X64Reg _operandReg,
int ss;
switch (scale)
{
- case SCALE_NONE: _offsetOrBaseReg = 4; ss = 0; break; //RSP
+ case SCALE_NONE: _offsetOrBaseReg = 4; ss = 0; break; //RSP
case SCALE_1: ss = 0; break;
case SCALE_2: ss = 1; break;
case SCALE_4: ss = 2; break;
@@ -299,7 +335,7 @@ void OpArg::WriteRest(XEmitter *emit, int extraBytes, X64Reg _operandReg,
// B = base register# upper bit
void XEmitter::Rex(int w, int r, int x, int b)
{
- w = w ? 1 : 0;
+ w = w ? 1 : 0;
r = r ? 1 : 0;
x = x ? 1 : 0;
b = b ? 1 : 0;
@@ -495,7 +531,7 @@ void XEmitter::NOP(int count)
}
break;
}
-}
+}
void XEmitter::PAUSE() {Write8(0xF3); NOP();} //use in tight spinloops for energy saving on some cpu
void XEmitter::CLC() {Write8(0xF8);} //clear carry
@@ -557,8 +593,8 @@ void XEmitter::CBW(int bits)
void XEmitter::PUSH(X64Reg reg) {WriteSimple1Byte(32, 0x50, reg);}
void XEmitter::POP(X64Reg reg) {WriteSimple1Byte(32, 0x58, reg);}
-void XEmitter::PUSH(int bits, const OpArg &reg)
-{
+void XEmitter::PUSH(int bits, const OpArg &reg)
+{
if (reg.IsSimpleReg())
PUSH(reg.GetSimpleReg());
else if (reg.IsImm())
@@ -594,7 +630,7 @@ void XEmitter::PUSH(int bits, const OpArg &reg)
}
void XEmitter::POP(int /*bits*/, const OpArg &reg)
-{
+{
if (reg.IsSimpleReg())
POP(reg.GetSimpleReg());
else
@@ -787,7 +823,7 @@ void XEmitter::WriteShift(int bits, OpArg dest, OpArg &shift, int ext)
}
if ((shift.IsSimpleReg() && shift.GetSimpleReg() != ECX) || (shift.IsImm() && shift.GetImmBits() != 8))
{
- _assert_msg_(DYNA_REC, 0, "WriteShift - illegal argument");
+ _assert_msg_(DYNA_REC, 0, "WriteShift - illegal argument");
}
dest.operandReg = ext;
if (bits == 16) Write8(0x66);
@@ -834,7 +870,7 @@ void XEmitter::WriteBitTest(int bits, OpArg &dest, OpArg &index, int ext)
}
if ((index.IsImm() && index.GetImmBits() != 8))
{
- _assert_msg_(DYNA_REC, 0, "WriteBitTest - illegal argument");
+ _assert_msg_(DYNA_REC, 0, "WriteBitTest - illegal argument");
}
if (bits == 16) Write8(0x66);
if (index.IsImm())
@@ -871,7 +907,7 @@ void XEmitter::SHRD(int bits, OpArg dest, OpArg src, OpArg shift)
}
if ((shift.IsSimpleReg() && shift.GetSimpleReg() != ECX) || (shift.IsImm() && shift.GetImmBits() != 8))
{
- _assert_msg_(DYNA_REC, 0, "SHRD - illegal shift");
+ _assert_msg_(DYNA_REC, 0, "SHRD - illegal shift");
}
if (bits == 16) Write8(0x66);
X64Reg operand = src.GetSimpleReg();
@@ -901,7 +937,7 @@ void XEmitter::SHLD(int bits, OpArg dest, OpArg src, OpArg shift)
}
if ((shift.IsSimpleReg() && shift.GetSimpleReg() != ECX) || (shift.IsImm() && shift.GetImmBits() != 8))
{
- _assert_msg_(DYNA_REC, 0, "SHLD - illegal shift");
+ _assert_msg_(DYNA_REC, 0, "SHLD - illegal shift");
}
if (bits == 16) Write8(0x66);
X64Reg operand = src.GetSimpleReg();
@@ -954,13 +990,13 @@ void OpArg::WriteNormalOp(XEmitter *emit, bool toRM, NormalOp op, const OpArg &o
_assert_msg_(DYNA_REC, 0, "WriteNormalOp - Writing to Imm (!toRM)");
}
- if (operand.scale == SCALE_IMM8 && bits == 8)
+ if (operand.scale == SCALE_IMM8 && bits == 8)
{
emit->Write8(nops[op].imm8);
immToWrite = 8;
}
else if ((operand.scale == SCALE_IMM16 && bits == 16) ||
- (operand.scale == SCALE_IMM32 && bits == 32) ||
+ (operand.scale == SCALE_IMM32 && bits == 32) ||
(operand.scale == SCALE_IMM32 && bits == 64))
{
emit->Write8(nops[op].imm32);
@@ -1056,11 +1092,11 @@ void XEmitter::SBB (int bits, const OpArg &a1, const OpArg &a2) {WriteNormalOp(t
void XEmitter::AND (int bits, const OpArg &a1, const OpArg &a2) {WriteNormalOp(this, bits, nrmAND, a1, a2);}
void XEmitter::OR (int bits, const OpArg &a1, const OpArg &a2) {WriteNormalOp(this, bits, nrmOR , a1, a2);}
void XEmitter::XOR (int bits, const OpArg &a1, const OpArg &a2) {WriteNormalOp(this, bits, nrmXOR, a1, a2);}
-void XEmitter::MOV (int bits, const OpArg &a1, const OpArg &a2)
+void XEmitter::MOV (int bits, const OpArg &a1, const OpArg &a2)
{
#ifdef _DEBUG
- _assert_msg_(DYNA_REC, !a1.IsSimpleReg() || !a2.IsSimpleReg() || a1.GetSimpleReg() != a2.GetSimpleReg(), "Redundant MOV @ %p - bug in JIT?",
- code);
+ _assert_msg_(DYNA_REC, !a1.IsSimpleReg() || !a2.IsSimpleReg() || a1.GetSimpleReg() != a2.GetSimpleReg(), "Redundant MOV @ %p - bug in JIT?",
+ code);
#endif
WriteNormalOp(this, bits, nrmMOV, a1, a2);
}
@@ -1141,6 +1177,18 @@ void XEmitter::WriteSSEOp(int size, u8 sseOp, bool packed, X64Reg regOp, OpArg a
arg.WriteRest(this, extrabytes);
}
+void XEmitter::WriteAVXOp(int size, u8 sseOp, bool packed, X64Reg regOp, OpArg arg, int extrabytes)
+{
+ WriteAVXOp(size, sseOp, packed, regOp, X64Reg::INVALID_REG, arg, extrabytes);
+}
+
+void XEmitter::WriteAVXOp(int size, u8 sseOp, bool packed, X64Reg regOp1, X64Reg regOp2, OpArg arg, int extrabytes)
+{
+ arg.WriteVex(this, size, packed, regOp1, regOp2);
+ Write8(sseOp);
+ arg.WriteRest(this, extrabytes, regOp1);
+}
+
void XEmitter::MOVD_xmm(X64Reg dest, const OpArg &arg) {WriteSSEOp(64, 0x6E, true, dest, arg, 0);}
void XEmitter::MOVD_xmm(const OpArg &arg, X64Reg src) {WriteSSEOp(64, 0x7E, true, src, arg, 0);}
@@ -1188,7 +1236,7 @@ void XEmitter::MOVQ_xmm(OpArg arg, X64Reg src) {
void XEmitter::WriteMXCSR(OpArg arg, int ext)
{
- if (arg.IsImm() || arg.IsSimpleReg())
+ if (arg.IsImm() || arg.IsSimpleReg())
_assert_msg_(DYNA_REC, 0, "MXCSR - invalid operand");
arg.operandReg = ext;
@@ -1248,8 +1296,8 @@ void XEmitter::MAXPD(X64Reg regOp, OpArg arg) {WriteSSEOp(64, sseMAX, true, re
void XEmitter::SQRTPS(X64Reg regOp, OpArg arg) {WriteSSEOp(32, sseSQRT, true, regOp, arg);}
void XEmitter::SQRTPD(X64Reg regOp, OpArg arg) {WriteSSEOp(64, sseSQRT, true, regOp, arg);}
void XEmitter::RSQRTPS(X64Reg regOp, OpArg arg) {WriteSSEOp(32, sseRSQRT, true, regOp, arg);}
-void XEmitter::SHUFPS(X64Reg regOp, OpArg arg, u8 shuffle) {WriteSSEOp(32, sseSHUF, true, regOp, arg,1); Write8(shuffle);}
-void XEmitter::SHUFPD(X64Reg regOp, OpArg arg, u8 shuffle) {WriteSSEOp(64, sseSHUF, true, regOp, arg,1); Write8(shuffle);}
+void XEmitter::SHUFPS(X64Reg regOp, OpArg arg, u8 shuffle) {WriteSSEOp(32, sseSHUF, true, regOp, arg,1); Write8(shuffle);}
+void XEmitter::SHUFPD(X64Reg regOp, OpArg arg, u8 shuffle) {WriteSSEOp(64, sseSHUF, true, regOp, arg,1); Write8(shuffle);}
void XEmitter::COMISS(X64Reg regOp, OpArg arg) {WriteSSEOp(32, sseCOMIS, true, regOp, arg);} //weird that these should be packed
void XEmitter::COMISD(X64Reg regOp, OpArg arg) {WriteSSEOp(64, sseCOMIS, true, regOp, arg);} //ordered
@@ -1300,7 +1348,7 @@ void XEmitter::UNPCKHPS(X64Reg dest, OpArg arg) {WriteSSEOp(32, 0x15, true, dest
void XEmitter::UNPCKLPD(X64Reg dest, OpArg arg) {WriteSSEOp(64, 0x14, true, dest, arg);}
void XEmitter::UNPCKHPD(X64Reg dest, OpArg arg) {WriteSSEOp(64, 0x15, true, dest, arg);}
-void XEmitter::MOVDDUP(X64Reg regOp, OpArg arg)
+void XEmitter::MOVDDUP(X64Reg regOp, OpArg arg)
{
if (cpu_info.bSSE3)
{
@@ -1444,6 +1492,13 @@ void XEmitter::PMOVMSKB(X64Reg dest, OpArg arg) {WriteSSEOp(64, 0xD7, true, d
void XEmitter::PSHUFLW(X64Reg regOp, OpArg arg, u8 shuffle) {WriteSSEOp(64, 0x70, false, regOp, arg, 1); Write8(shuffle);}
+// VEX
+void XEmitter::VADDSD(X64Reg regOp1, X64Reg regOp2, OpArg arg) {WriteAVXOp(64, sseADD, false, regOp1, regOp2, arg);}
+void XEmitter::VSUBSD(X64Reg regOp1, X64Reg regOp2, OpArg arg) {WriteAVXOp(64, sseSUB, false, regOp1, regOp2, arg);}
+void XEmitter::VMULSD(X64Reg regOp1, X64Reg regOp2, OpArg arg) {WriteAVXOp(64, sseMUL, false, regOp1, regOp2, arg);}
+void XEmitter::VDIVSD(X64Reg regOp1, X64Reg regOp2, OpArg arg) {WriteAVXOp(64, sseDIV, false, regOp1, regOp2, arg);}
+void XEmitter::VSQRTSD(X64Reg regOp1, X64Reg regOp2, OpArg arg) {WriteAVXOp(64, sseSQRT, false, regOp1, regOp2, arg);}
+
// Prefixes
void XEmitter::LOCK() { Write8(0xF0); }
@@ -1456,7 +1511,7 @@ void XEmitter::FWAIT()
}
void XEmitter::RTDSC() { Write8(0x0F); Write8(0x31); }
-
+
// helper routines for setting pointers
void XEmitter::CallCdeclFunction3(void* fnptr, u32 arg0, u32 arg1, u32 arg2)
{
diff --git a/Source/Core/Common/Src/x64Emitter.h b/Source/Core/Common/Src/x64Emitter.h
index 94938b290a..87e76ef21a 100644
--- a/Source/Core/Common/Src/x64Emitter.h
+++ b/Source/Core/Common/Src/x64Emitter.h
@@ -17,7 +17,7 @@ enum X64Reg
{
EAX = 0, EBX = 3, ECX = 1, EDX = 2,
ESI = 6, EDI = 7, EBP = 5, ESP = 4,
-
+
RAX = 0, RBX = 3, RCX = 1, RDX = 2,
RSI = 6, RDI = 7, RBP = 5, RSP = 4,
R8 = 8, R9 = 9, R10 = 10,R11 = 11,
@@ -30,9 +30,12 @@ enum X64Reg
AX = 0, BX = 3, CX = 1, DX = 2,
SI = 6, DI = 7, BP = 5, SP = 4,
- XMM0=0, XMM1, XMM2, XMM3, XMM4, XMM5, XMM6, XMM7,
+ XMM0=0, XMM1, XMM2, XMM3, XMM4, XMM5, XMM6, XMM7,
XMM8, XMM9, XMM10, XMM11, XMM12, XMM13, XMM14, XMM15,
+ YMM0=0, YMM1, YMM2, YMM3, YMM4, YMM5, YMM6, YMM7,
+ YMM8, YMM9, YMM10, YMM11, YMM12, YMM13, YMM14, YMM15,
+
INVALID_REG = 0xFFFFFFFF
};
@@ -43,7 +46,7 @@ enum CCFlags
CC_B = 2, CC_C = 2, CC_NAE = 2,
CC_NB = 3, CC_NC = 3, CC_AE = 3,
CC_Z = 4, CC_E = 4,
- CC_NZ = 5, CC_NE = 5,
+ CC_NZ = 5, CC_NE = 5,
CC_BE = 6, CC_NA = 6,
CC_NBE = 7, CC_A = 7,
CC_S = 8,
@@ -111,6 +114,7 @@ struct OpArg
offset = _offset;
}
void WriteRex(XEmitter *emit, int opBits, int bits, int customOp = -1) const;
+ void WriteVex(XEmitter* emit, int size, int packed, Gen::X64Reg regOp1, X64Reg regOp2) const;
void WriteRest(XEmitter *emit, int extraBytes=0, X64Reg operandReg=(X64Reg)0xFF, bool warn_64bit_offset = true) const;
void WriteSingleByteOp(XEmitter *emit, u8 op, X64Reg operandReg, int bits);
// This one is public - must be written to
@@ -239,6 +243,8 @@ private:
void WriteBitTest(int bits, OpArg &dest, OpArg &index, int ext);
void WriteMXCSR(OpArg arg, int ext);
void WriteSSEOp(int size, u8 sseOp, bool packed, X64Reg regOp, OpArg arg, int extrabytes = 0);
+ void WriteAVXOp(int size, u8 sseOp, bool packed, X64Reg regOp, OpArg arg, int extrabytes = 0);
+ void WriteAVXOp(int size, u8 sseOp, bool packed, X64Reg regOp1, X64Reg regOp2, OpArg arg, int extrabytes = 0);
void WriteNormalOp(XEmitter *emit, int bits, NormalOp op, const OpArg &a1, const OpArg &a2);
protected:
@@ -264,7 +270,7 @@ public:
u8 *GetWritableCodePtr();
// Looking for one of these? It's BANNED!! Some instructions are slow on modern CPU
- // INC, DEC, LOOP, LOOPNE, LOOPE, ENTER, LEAVE, XCHG, XLAT, REP MOVSB/MOVSD, REP SCASD + other string instr.,
+ // INC, DEC, LOOP, LOOPNE, LOOPE, ENTER, LEAVE, XCHG, XLAT, REP MOVSB/MOVSD, REP SCASD + other string instr.,
// INC and DEC are slow on Intel Core, but not on AMD. They create a
// false flag dependency because they only update a subset of the flags.
// XCHG is SLOW and should be avoided.
@@ -353,7 +359,7 @@ public:
void DIV(int bits, OpArg src);
void IDIV(int bits, OpArg src);
- // Shift
+ // Shift
void ROL(int bits, OpArg dest, OpArg shift);
void ROR(int bits, OpArg dest, OpArg shift);
void RCL(int bits, OpArg dest, OpArg shift);
@@ -408,7 +414,7 @@ public:
// Sign/zero extension
void MOVSX(int dbits, int sbits, X64Reg dest, OpArg src); //automatically uses MOVSXD if necessary
- void MOVZX(int dbits, int sbits, X64Reg dest, OpArg src);
+ void MOVZX(int dbits, int sbits, X64Reg dest, OpArg src);
// WARNING - These two take 11-13 cycles and are VectorPath! (AMD64)
void STMXCSR(OpArg memloc);
@@ -422,40 +428,40 @@ public:
void FWAIT();
// SSE/SSE2: Floating point arithmetic
- void ADDSS(X64Reg regOp, OpArg arg);
- void ADDSD(X64Reg regOp, OpArg arg);
- void SUBSS(X64Reg regOp, OpArg arg);
- void SUBSD(X64Reg regOp, OpArg arg);
- void MULSS(X64Reg regOp, OpArg arg);
- void MULSD(X64Reg regOp, OpArg arg);
- void DIVSS(X64Reg regOp, OpArg arg);
- void DIVSD(X64Reg regOp, OpArg arg);
- void MINSS(X64Reg regOp, OpArg arg);
- void MINSD(X64Reg regOp, OpArg arg);
- void MAXSS(X64Reg regOp, OpArg arg);
- void MAXSD(X64Reg regOp, OpArg arg);
- void SQRTSS(X64Reg regOp, OpArg arg);
- void SQRTSD(X64Reg regOp, OpArg arg);
+ void ADDSS(X64Reg regOp, OpArg arg);
+ void ADDSD(X64Reg regOp, OpArg arg);
+ void SUBSS(X64Reg regOp, OpArg arg);
+ void SUBSD(X64Reg regOp, OpArg arg);
+ void MULSS(X64Reg regOp, OpArg arg);
+ void MULSD(X64Reg regOp, OpArg arg);
+ void DIVSS(X64Reg regOp, OpArg arg);
+ void DIVSD(X64Reg regOp, OpArg arg);
+ void MINSS(X64Reg regOp, OpArg arg);
+ void MINSD(X64Reg regOp, OpArg arg);
+ void MAXSS(X64Reg regOp, OpArg arg);
+ void MAXSD(X64Reg regOp, OpArg arg);
+ void SQRTSS(X64Reg regOp, OpArg arg);
+ void SQRTSD(X64Reg regOp, OpArg arg);
void RSQRTSS(X64Reg regOp, OpArg arg);
// SSE/SSE2: Floating point bitwise (yes)
- void CMPSS(X64Reg regOp, OpArg arg, u8 compare);
- void CMPSD(X64Reg regOp, OpArg arg, u8 compare);
- void ANDSS(X64Reg regOp, OpArg arg);
- void ANDSD(X64Reg regOp, OpArg arg);
- void ANDNSS(X64Reg regOp, OpArg arg);
- void ANDNSD(X64Reg regOp, OpArg arg);
- void ORSS(X64Reg regOp, OpArg arg);
- void ORSD(X64Reg regOp, OpArg arg);
- void XORSS(X64Reg regOp, OpArg arg);
- void XORSD(X64Reg regOp, OpArg arg);
+ void CMPSS(X64Reg regOp, OpArg arg, u8 compare);
+ void CMPSD(X64Reg regOp, OpArg arg, u8 compare);
+ void ANDSS(X64Reg regOp, OpArg arg);
+ void ANDSD(X64Reg regOp, OpArg arg);
+ void ANDNSS(X64Reg regOp, OpArg arg);
+ void ANDNSD(X64Reg regOp, OpArg arg);
+ void ORSS(X64Reg regOp, OpArg arg);
+ void ORSD(X64Reg regOp, OpArg arg);
+ void XORSS(X64Reg regOp, OpArg arg);
+ void XORSD(X64Reg regOp, OpArg arg);
// SSE/SSE2: Floating point packed arithmetic (x4 for float, x2 for double)
- void ADDPS(X64Reg regOp, OpArg arg);
- void ADDPD(X64Reg regOp, OpArg arg);
- void SUBPS(X64Reg regOp, OpArg arg);
- void SUBPD(X64Reg regOp, OpArg arg);
- void CMPPS(X64Reg regOp, OpArg arg, u8 compare);
+ void ADDPS(X64Reg regOp, OpArg arg);
+ void ADDPD(X64Reg regOp, OpArg arg);
+ void SUBPS(X64Reg regOp, OpArg arg);
+ void SUBPD(X64Reg regOp, OpArg arg);
+ void CMPPS(X64Reg regOp, OpArg arg, u8 compare);
void CMPPD(X64Reg regOp, OpArg arg, u8 compare);
void MULPS(X64Reg regOp, OpArg arg);
void MULPD(X64Reg regOp, OpArg arg);
@@ -470,8 +476,8 @@ public:
void RSQRTPS(X64Reg regOp, OpArg arg);
// SSE/SSE2: Floating point packed bitwise (x4 for float, x2 for double)
- void ANDPS(X64Reg regOp, OpArg arg);
- void ANDPD(X64Reg regOp, OpArg arg);
+ void ANDPS(X64Reg regOp, OpArg arg);
+ void ANDPD(X64Reg regOp, OpArg arg);
void ANDNPS(X64Reg regOp, OpArg arg);
void ANDNPD(X64Reg regOp, OpArg arg);
void ORPS(X64Reg regOp, OpArg arg);
@@ -480,9 +486,9 @@ public:
void XORPD(X64Reg regOp, OpArg arg);
// SSE/SSE2: Shuffle components. These are tricky - see Intel documentation.
- void SHUFPS(X64Reg regOp, OpArg arg, u8 shuffle);
- void SHUFPD(X64Reg regOp, OpArg arg, u8 shuffle);
-
+ void SHUFPS(X64Reg regOp, OpArg arg, u8 shuffle);
+ void SHUFPD(X64Reg regOp, OpArg arg, u8 shuffle);
+
// SSE/SSE2: Useful alternative to shuffle in some cases.
void MOVDDUP(X64Reg regOp, OpArg arg);
@@ -554,51 +560,51 @@ public:
void PUNPCKLDQ(X64Reg dest, const OpArg &arg);
void PAND(X64Reg dest, OpArg arg);
- void PANDN(X64Reg dest, OpArg arg);
- void PXOR(X64Reg dest, OpArg arg);
- void POR(X64Reg dest, OpArg arg);
+ void PANDN(X64Reg dest, OpArg arg);
+ void PXOR(X64Reg dest, OpArg arg);
+ void POR(X64Reg dest, OpArg arg);
void PADDB(X64Reg dest, OpArg arg);
- void PADDW(X64Reg dest, OpArg arg);
- void PADDD(X64Reg dest, OpArg arg);
- void PADDQ(X64Reg dest, OpArg arg);
+ void PADDW(X64Reg dest, OpArg arg);
+ void PADDD(X64Reg dest, OpArg arg);
+ void PADDQ(X64Reg dest, OpArg arg);
- void PADDSB(X64Reg dest, OpArg arg);
- void PADDSW(X64Reg dest, OpArg arg);
- void PADDUSB(X64Reg dest, OpArg arg);
- void PADDUSW(X64Reg dest, OpArg arg);
+ void PADDSB(X64Reg dest, OpArg arg);
+ void PADDSW(X64Reg dest, OpArg arg);
+ void PADDUSB(X64Reg dest, OpArg arg);
+ void PADDUSW(X64Reg dest, OpArg arg);
- void PSUBB(X64Reg dest, OpArg arg);
- void PSUBW(X64Reg dest, OpArg arg);
- void PSUBD(X64Reg dest, OpArg arg);
- void PSUBQ(X64Reg dest, OpArg arg);
+ void PSUBB(X64Reg dest, OpArg arg);
+ void PSUBW(X64Reg dest, OpArg arg);
+ void PSUBD(X64Reg dest, OpArg arg);
+ void PSUBQ(X64Reg dest, OpArg arg);
- void PSUBSB(X64Reg dest, OpArg arg);
- void PSUBSW(X64Reg dest, OpArg arg);
- void PSUBUSB(X64Reg dest, OpArg arg);
- void PSUBUSW(X64Reg dest, OpArg arg);
+ void PSUBSB(X64Reg dest, OpArg arg);
+ void PSUBSW(X64Reg dest, OpArg arg);
+ void PSUBUSB(X64Reg dest, OpArg arg);
+ void PSUBUSW(X64Reg dest, OpArg arg);
- void PAVGB(X64Reg dest, OpArg arg);
- void PAVGW(X64Reg dest, OpArg arg);
+ void PAVGB(X64Reg dest, OpArg arg);
+ void PAVGW(X64Reg dest, OpArg arg);
- void PCMPEQB(X64Reg dest, OpArg arg);
- void PCMPEQW(X64Reg dest, OpArg arg);
- void PCMPEQD(X64Reg dest, OpArg arg);
+ void PCMPEQB(X64Reg dest, OpArg arg);
+ void PCMPEQW(X64Reg dest, OpArg arg);
+ void PCMPEQD(X64Reg dest, OpArg arg);
- void PCMPGTB(X64Reg dest, OpArg arg);
- void PCMPGTW(X64Reg dest, OpArg arg);
- void PCMPGTD(X64Reg dest, OpArg arg);
+ void PCMPGTB(X64Reg dest, OpArg arg);
+ void PCMPGTW(X64Reg dest, OpArg arg);
+ void PCMPGTD(X64Reg dest, OpArg arg);
void PEXTRW(X64Reg dest, OpArg arg, u8 subreg);
void PINSRW(X64Reg dest, OpArg arg, u8 subreg);
- void PMADDWD(X64Reg dest, OpArg arg);
- void PSADBW(X64Reg dest, OpArg arg);
+ void PMADDWD(X64Reg dest, OpArg arg);
+ void PSADBW(X64Reg dest, OpArg arg);
- void PMAXSW(X64Reg dest, OpArg arg);
- void PMAXUB(X64Reg dest, OpArg arg);
- void PMINSW(X64Reg dest, OpArg arg);
- void PMINUB(X64Reg dest, OpArg arg);
+ void PMAXSW(X64Reg dest, OpArg arg);
+ void PMAXUB(X64Reg dest, OpArg arg);
+ void PMINSW(X64Reg dest, OpArg arg);
+ void PMINUB(X64Reg dest, OpArg arg);
void PMOVMSKB(X64Reg dest, OpArg arg);
void PSHUFB(X64Reg dest, OpArg arg);
@@ -616,6 +622,13 @@ public:
void PSRAW(X64Reg reg, int shift);
void PSRAD(X64Reg reg, int shift);
+ // AVX
+ void VADDSD(X64Reg regOp1, X64Reg regOp2, OpArg arg);
+ void VSUBSD(X64Reg regOp1, X64Reg regOp2, OpArg arg);
+ void VMULSD(X64Reg regOp1, X64Reg regOp2, OpArg arg);
+ void VDIVSD(X64Reg regOp1, X64Reg regOp2, OpArg arg);
+ void VSQRTSD(X64Reg regOp1, X64Reg regOp2, OpArg arg);
+
void RTDSC();
// Utility functions
@@ -625,7 +638,7 @@ public:
void ABI_CallFunctionC16(void *func, u16 param1);
void ABI_CallFunctionCC16(void *func, u32 param1, u16 param2);
-
+
// These only support u32 parameters, but that's enough for a lot of uses.
// These will destroy the 1 or 2 first "parameter regs".
void ABI_CallFunctionC(void *func, u32 param1);
@@ -666,12 +679,12 @@ public:
void CallCdeclFunction5(void* fnptr, u32 arg0, u32 arg1, u32 arg2, u32 arg3, u32 arg4);
void CallCdeclFunction6(void* fnptr, u32 arg0, u32 arg1, u32 arg2, u32 arg3, u32 arg4, u32 arg5);
-#if defined(_M_IX86)
+#if defined(_M_IX86)
#define CallCdeclFunction3_I(a,b,c,d) CallCdeclFunction3((void *)(a), (b), (c), (d))
- #define CallCdeclFunction4_I(a,b,c,d,e) CallCdeclFunction4((void *)(a), (b), (c), (d), (e))
- #define CallCdeclFunction5_I(a,b,c,d,e,f) CallCdeclFunction5((void *)(a), (b), (c), (d), (e), (f))
- #define CallCdeclFunction6_I(a,b,c,d,e,f,g) CallCdeclFunction6((void *)(a), (b), (c), (d), (e), (f), (g))
+ #define CallCdeclFunction4_I(a,b,c,d,e) CallCdeclFunction4((void *)(a), (b), (c), (d), (e))
+ #define CallCdeclFunction5_I(a,b,c,d,e,f) CallCdeclFunction5((void *)(a), (b), (c), (d), (e), (f))
+ #define CallCdeclFunction6_I(a,b,c,d,e,f,g) CallCdeclFunction6((void *)(a), (b), (c), (d), (e), (f), (g))
#define DECLARE_IMPORT(x)
@@ -722,7 +735,7 @@ public:
// Always clear code space with breakpoints, so that if someone accidentally executes
// uninitialized, it just breaks into the debugger.
- void ClearCodeSpace()
+ void ClearCodeSpace()
{
// x86/64: 0xCC = breakpoint
memset(region, 0xCC, region_size);
diff --git a/Source/Core/Common/Src/x64FPURoundMode.cpp b/Source/Core/Common/Src/x64FPURoundMode.cpp
index 0a2dc3acb5..2c950ade96 100644
--- a/Source/Core/Common/Src/x64FPURoundMode.cpp
+++ b/Source/Core/Common/Src/x64FPURoundMode.cpp
@@ -30,7 +30,7 @@ namespace FPURoundMode
#ifdef _M_IX86
// This shouldn't really be needed anymore since we use SSE
#ifdef _WIN32
- const int table[4] =
+ const int table[4] =
{
_RC_NEAR,
_RC_CHOP,
@@ -39,7 +39,7 @@ namespace FPURoundMode
};
_set_controlfp(_MCW_RC, table[mode]);
#else
- const unsigned short table[4] =
+ const unsigned short table[4] =
{
FPU_ROUND_NEAR,
FPU_ROUND_CHOP,
@@ -81,7 +81,7 @@ namespace FPURoundMode
}
void SetSIMDMode(u32 mode)
{
- static const u32 ssetable[4] =
+ static const u32 ssetable[4] =
{
(0 << 13) | MASKS,
(3 << 13) | MASKS,
diff --git a/Source/Core/Common/make_scmrev.h.js b/Source/Core/Common/make_scmrev.h.js
index f2978987dc..75a3d8cf08 100644
--- a/Source/Core/Common/make_scmrev.h.js
+++ b/Source/Core/Common/make_scmrev.h.js
@@ -8,7 +8,7 @@ var cmd_branch = " rev-parse --abbrev-ref HEAD";
function GetGitExe()
{
- for (var gitexe in {"git.cmd":1, "git":1})
+ for (var gitexe in {"git.cmd":1, "git":1, "git.bat":1})
{
try
{
diff --git a/Source/Core/Core/Core.vcxproj b/Source/Core/Core/Core.vcxproj
index 134c228ff0..0bc3738219 100644
--- a/Source/Core/Core/Core.vcxproj
+++ b/Source/Core/Core/Core.vcxproj
@@ -1,14 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="DebugFast|Win32">
- <Configuration>DebugFast</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="DebugFast|x64">
- <Configuration>DebugFast</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
@@ -27,172 +19,29 @@
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
- <ProjectGuid>{8C60E805-0DA5-4E25-8F84-038DB504BB0D}</ProjectGuid>
- <RootNamespace>Core</RootNamespace>
+ <ProjectGuid>{E54CF649-140E-4255-81A5-30A673C1FB36}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <UseDebugLibraries>true</UseDebugLibraries>
+ <PropertyGroup Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
+ <PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+ <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <UseDebugLibraries>false</UseDebugLibraries>
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <UseDebugLibraries>false</UseDebugLibraries>
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
+ <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Release.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_DebugFast.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Release.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_DebugFast.props" />
<Import Project="..\..\VSProps\PrecompiledHeader.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>.\Src;..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\DiscIO\Src;..\InputCommon\Src;..\wiiuse\Src;..\..\..\Externals\Bochs_disasm;..\..\..\Externals\SFML\include;..\..\..\Externals\LZO;..\..\..\Externals\portaudio\include;..\..\..\Externals\zlib;..\..\..\Externals\miniupnpc\src;..\..\..\Externals\polarssl\include;..\..\..\Externals\libusbx\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- <Lib>
- <AdditionalLibraryDirectories>
- </AdditionalLibraryDirectories>
- </Lib>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>.\Src;..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\DiscIO\Src;..\InputCommon\Src;..\wiiuse\Src;..\..\..\Externals\Bochs_disasm;..\..\..\Externals\SFML\include;..\..\..\Externals\LZO;..\..\..\Externals\portaudio\include;..\..\..\Externals\zlib;..\..\..\Externals\miniupnpc\src;..\..\..\Externals\polarssl\include;..\..\..\Externals\libusbx\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- <Lib>
- <AdditionalLibraryDirectories>
- </AdditionalLibraryDirectories>
- </Lib>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>.\Src;..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\DiscIO\Src;..\InputCommon\Src;..\wiiuse\Src;..\..\..\Externals\Bochs_disasm;..\..\..\Externals\SFML\include;..\..\..\Externals\LZO;..\..\..\Externals\portaudio\include;..\..\..\Externals\zlib;..\..\..\Externals\miniupnpc\src;..\..\..\Externals\polarssl\include;..\..\..\Externals\libusbx\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib>
- <AdditionalLibraryDirectories>
- </AdditionalLibraryDirectories>
- </Lib>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>.\Src;..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\DiscIO\Src;..\InputCommon\Src;..\wiiuse\Src;..\..\..\Externals\Bochs_disasm;..\..\..\Externals\SFML\include;..\..\..\Externals\LZO;..\..\..\Externals\portaudio\include;..\..\..\Externals\zlib;..\..\..\Externals\miniupnpc\src;..\..\..\Externals\polarssl\include;..\..\..\Externals\libusbx\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib>
- <AdditionalLibraryDirectories>
- </AdditionalLibraryDirectories>
- </Lib>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>.\Src;..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\DiscIO\Src;..\InputCommon\Src;..\wiiuse\Src;..\..\..\Externals\Bochs_disasm;..\..\..\Externals\SFML\include;..\..\..\Externals\LZO;..\..\..\Externals\portaudio\include;..\..\..\Externals\zlib;..\..\..\Externals\miniupnpc\src;..\..\..\Externals\polarssl\include;..\..\..\Externals\libusbx\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib>
- <AdditionalLibraryDirectories>
- </AdditionalLibraryDirectories>
- </Lib>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>.\Src;..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\DiscIO\Src;..\InputCommon\Src;..\wiiuse\Src;..\..\..\Externals\Bochs_disasm;..\..\..\Externals\SFML\include;..\..\..\Externals\LZO;..\..\..\Externals\portaudio\include;..\..\..\Externals\zlib;..\..\..\Externals\miniupnpc\src;..\..\..\Externals\polarssl\include;..\..\..\Externals\libusbx\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib>
- <AdditionalLibraryDirectories>
- </AdditionalLibraryDirectories>
- </Lib>
- </ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="Src\ActionReplay.cpp" />
<ClCompile Include="Src\ARDecrypt.cpp" />
@@ -211,6 +60,7 @@
<ClCompile Include="Src\Debugger\Debugger_SymbolMap.cpp" />
<ClCompile Include="Src\Debugger\Dump.cpp" />
<ClCompile Include="Src\Debugger\PPCDebugInterface.cpp" />
+ <ClCompile Include="Src\DSPEmulator.cpp" />
<ClCompile Include="Src\DSP\assemble.cpp" />
<ClCompile Include="Src\DSP\disassemble.cpp" />
<ClCompile Include="Src\DSP\DSPAccelerator.cpp" />
@@ -240,9 +90,10 @@
<ClCompile Include="Src\DSP\Jit\DSPJitRegCache.cpp" />
<ClCompile Include="Src\DSP\Jit\DSPJitUtil.cpp" />
<ClCompile Include="Src\DSP\LabelMap.cpp" />
+ <ClCompile Include="Src\ec_wii.cpp" />
<ClCompile Include="Src\FifoPlayer\FifoAnalyzer.cpp" />
- <ClCompile Include="Src\FifoPlayer\FifoPlaybackAnalyzer.cpp" />
<ClCompile Include="Src\FifoPlayer\FifoDataFile.cpp" />
+ <ClCompile Include="Src\FifoPlayer\FifoPlaybackAnalyzer.cpp" />
<ClCompile Include="Src\FifoPlayer\FifoPlayer.cpp" />
<ClCompile Include="Src\FifoPlayer\FifoRecordAnalyzer.cpp" />
<ClCompile Include="Src\FifoPlayer\FifoRecorder.cpp" />
@@ -336,13 +187,10 @@
<ClCompile Include="Src\IPC_HLE\WII_IPC_HLE_Device_usb_kbd.cpp" />
<ClCompile Include="Src\IPC_HLE\WII_IPC_HLE_WiiMote.cpp" />
<ClCompile Include="Src\IPC_HLE\WII_Socket.cpp" />
- <ClCompile Include="Src\x64MemTools.cpp" />
<ClCompile Include="Src\Movie.cpp" />
<ClCompile Include="Src\NetPlayClient.cpp" />
<ClCompile Include="Src\NetPlayServer.cpp" />
<ClCompile Include="Src\PatchEngine.cpp" />
- <ClCompile Include="Src\DSPEmulator.cpp" />
- <ClCompile Include="Src\ec_wii.cpp" />
<ClCompile Include="Src\PowerPC\Interpreter\Interpreter.cpp" />
<ClCompile Include="Src\PowerPC\Interpreter\Interpreter_Branch.cpp" />
<ClCompile Include="Src\PowerPC\Interpreter\Interpreter_FloatingPoint.cpp" />
@@ -391,21 +239,13 @@
<ClCompile Include="Src\PowerPC\PPCTables.cpp" />
<ClCompile Include="Src\PowerPC\Profiler.cpp" />
<ClCompile Include="Src\PowerPC\SignatureDB.cpp" />
- <ClCompile Include="Src\State.cpp">
- <OpenMPSupport Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">false</OpenMPSupport>
- <OpenMPSupport Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</OpenMPSupport>
- <OpenMPSupport Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</OpenMPSupport>
- </ClCompile>
+ <ClCompile Include="Src\State.cpp" />
<ClCompile Include="Src\stdafx.cpp">
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">Create</PrecompiledHeader>
+ <PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="Src\Tracer.cpp" />
<ClCompile Include="Src\VolumeHandler.cpp" />
+ <ClCompile Include="Src\x64MemTools.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="Src\ActionReplay.h" />
@@ -414,6 +254,7 @@
<ClInclude Include="Src\Boot\Boot.h" />
<ClInclude Include="Src\Boot\Boot_DOL.h" />
<ClInclude Include="Src\Boot\Boot_ELF.h" />
+ <ClInclude Include="Src\Boot\Boot_WiiWAD.h" />
<ClInclude Include="Src\Boot\ElfReader.h" />
<ClInclude Include="Src\Boot\ElfTypes.h" />
<ClInclude Include="Src\ConfigManager.h" />
@@ -425,6 +266,7 @@
<ClInclude Include="Src\Debugger\Dump.h" />
<ClInclude Include="Src\Debugger\GCELF.h" />
<ClInclude Include="Src\Debugger\PPCDebugInterface.h" />
+ <ClInclude Include="Src\DSPEmulator.h" />
<ClInclude Include="Src\DSP\assemble.h" />
<ClInclude Include="Src\DSP\disassemble.h" />
<ClInclude Include="Src\DSP\DSPAccelerator.h" />
@@ -446,13 +288,14 @@
<ClInclude Include="Src\DSP\Jit\DSPJitRegCache.h" />
<ClInclude Include="Src\DSP\Jit\DSPJitUtil.h" />
<ClInclude Include="Src\DSP\LabelMap.h" />
+ <ClInclude Include="Src\ec_wii.h" />
<ClInclude Include="Src\FifoPlayer\FifoAnalyzer.h" />
- <ClInclude Include="Src\FifoPlayer\FifoPlaybackAnalyzer.h" />
<ClInclude Include="Src\FifoPlayer\FifoDataFile.h" />
<ClInclude Include="Src\FifoPlayer\FifoFileStruct.h" />
+ <ClInclude Include="Src\FifoPlayer\FifoPlaybackAnalyzer.h" />
<ClInclude Include="Src\FifoPlayer\FifoPlayer.h" />
- <ClInclude Include="Src\FifoPlayer\FifoRecorder.h" />
<ClInclude Include="Src\FifoPlayer\FifoRecordAnalyzer.h" />
+ <ClInclude Include="Src\FifoPlayer\FifoRecorder.h" />
<ClInclude Include="Src\GeckoCode.h" />
<ClInclude Include="Src\GeckoCodeConfig.h" />
<ClInclude Include="Src\HLE\HLE.h" />
@@ -527,8 +370,8 @@
<ClInclude Include="Src\HW\WiimoteReal\WiimoteRealBase.h" />
<ClInclude Include="Src\HW\WII_IOB.h" />
<ClInclude Include="Src\HW\WII_IPC.h" />
- <ClInclude Include="Src\IPC_HLE\hci.h" />
<ClInclude Include="Src\IPC_HLE\fakepoll.h" />
+ <ClInclude Include="Src\IPC_HLE\hci.h" />
<ClInclude Include="Src\IPC_HLE\ICMP.h" />
<ClInclude Include="Src\IPC_HLE\l2cap.h" />
<ClInclude Include="Src\IPC_HLE\WiiMote_HID_Attr.h" />
@@ -540,8 +383,8 @@
<ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_fs.h" />
<ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_hid.h" />
<ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_net.h" />
- <ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_sdio_slot0.h" />
<ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_net_ssl.h" />
+ <ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_sdio_slot0.h" />
<ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_stm.h" />
<ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_usb.h" />
<ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_usb_kbd.h" />
@@ -552,9 +395,7 @@
<ClInclude Include="Src\NetPlayClient.h" />
<ClInclude Include="Src\NetPlayProto.h" />
<ClInclude Include="Src\NetPlayServer.h" />
- <ClInclude Include="Src\ec_wii.h" />
<ClInclude Include="Src\PatchEngine.h" />
- <ClInclude Include="Src\DSPEmulator.h" />
<ClInclude Include="Src\PowerPC\CPUCoreBase.h" />
<ClInclude Include="Src\PowerPC\Gekko.h" />
<ClInclude Include="Src\PowerPC\Interpreter\Interpreter.h" />
@@ -589,24 +430,44 @@
<ClInclude Include="Src\VolumeHandler.h" />
</ItemGroup>
<ItemGroup>
- <None Include="CMakeLists.txt" />
- <None Include="Src\HW\DSPHLE\UCodes\UCode_Zelda_Obsolete.txt" />
+ <Text Include="CMakeLists.txt" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Externals\Bochs_disasm\Bochs_disasm.vcxproj">
- <Project>{cd3d4c3c-1027-4d33-b047-aec7b56d0bf6}</Project>
+ <Project>{8ada04d7-6db1-4da4-ab55-64fb12a0997b}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Externals\libusbx\msvc\libusb_static_2013.vcxproj">
+ <Project>{349ee8f9-7d25-4909-aaf5-ff3fade72187}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Externals\LZO\LZO.vcxproj">
+ <Project>{ab993f38-c31d-4897-b139-a620c42bc565}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Externals\polarssl\visualc\PolarSSL.vcxproj">
+ <Project>{bdb6578b-0691-4e80-a46c-df21639fd3b8}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Externals\portaudio\build\portaudio.vcxproj">
+ <Project>{0a18a071-125e-442f-aff7-a3f68abecf99}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Externals\SFML\build\vc2010\SFML_Network.vcxproj">
+ <Project>{93d73454-2512-424e-9cda-4bb357fe13dd}</Project>
</ProjectReference>
<ProjectReference Include="..\AudioCommon\AudioCommon.vcxproj">
- <Project>{37d007bd-d66c-4eaf-b56c-bd1aac340a05}</Project>
+ <Project>{54aa7840-5beb-4a0c-9452-74ba4cc7fd44}</Project>
</ProjectReference>
<ProjectReference Include="..\Common\Common.vcxproj">
- <Project>{c87a4178-44f6-49b2-b7aa-c79af1b8c534}</Project>
+ <Project>{2e6c348c-c75c-4d94-8d1e-9c1fcbf3efe4}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\Common\SCMRevGen.vcxproj">
+ <Project>{41279555-f94f-4ebc-99de-af863c10c5c4}</Project>
</ProjectReference>
<ProjectReference Include="..\DiscIO\DiscIO.vcxproj">
- <Project>{b6398059-ebb6-4c34-b547-95f365b71ff4}</Project>
+ <Project>{160bdc25-5626-4b0d-bdd8-2953d9777fb5}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\InputCommon\InputCommon.vcxproj">
+ <Project>{6bbd47cf-91fd-4077-b676-8b76980178a9}</Project>
</ProjectReference>
<ProjectReference Include="..\VideoCommon\VideoCommon.vcxproj">
- <Project>{3e5c4e02-1ba9-4776-bdbe-e3f91ffa34cf}</Project>
+ <Project>{3de9ee35-3e91-4f27-a014-2866ad8c3fe3}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
diff --git a/Source/Core/Core/Core.vcxproj.filters b/Source/Core/Core/Core.vcxproj.filters
index 148b88fa91..97364678a4 100644
--- a/Source/Core/Core/Core.vcxproj.filters
+++ b/Source/Core/Core/Core.vcxproj.filters
@@ -1,18 +1,158 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
+ <Filter Include="ActionReplay">
+ <UniqueIdentifier>{e0d231ab-7a66-45ce-a8e4-c0225308f763}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Boot">
+ <UniqueIdentifier>{2472fb36-5473-4d49-ad2d-3699b78ab6e2}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Debugger">
+ <UniqueIdentifier>{ed683a12-55f0-49cb-918b-c7edbcf57268}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="DSPCore">
+ <UniqueIdentifier>{35594696-15a6-44cb-b811-04e3195eecf5}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="FifoPlayer">
+ <UniqueIdentifier>{659f0a99-77cf-46a0-a7a3-95afdd99be72}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="GeckoCode">
+ <UniqueIdentifier>{c1c76a12-b4f3-4a46-84e6-e11980b2e997}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HLE">
+ <UniqueIdentifier>{256586c3-3a1b-4d7b-9f4a-2f7ffac9d23e}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29">
+ <UniqueIdentifier>{d060b137-c211-44eb-9cad-fc12dedbea73}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="IPC HLE %28IOS/Starlet%29">
+ <UniqueIdentifier>{becbad5b-2531-410c-b032-2da2f078b178}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="PowerPC">
+ <UniqueIdentifier>{ebd24590-dfdc-433e-a411-21723e4b7cb5}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="PowerPC\Interpreter">
+ <UniqueIdentifier>{523f8d77-4aa6-4762-8f27-96f02b5070b4}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="PowerPC\Jit64">
+ <UniqueIdentifier>{c67be826-2935-4d25-a213-e132fa2e63ef}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="PowerPC\JitCommon">
+ <UniqueIdentifier>{c88ec388-371f-4401-851c-a32dcdc0b88b}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="PowerPC\JitIL">
+ <UniqueIdentifier>{f26d3866-92d1-4623-9445-caf9a065ed74}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="DSPCore\Interpreter">
+ <UniqueIdentifier>{6204f663-bbd0-4eb5-bc15-e3778d8b6091}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="DSPCore\Jit">
+ <UniqueIdentifier>{7042fb6f-9284-4469-bc7c-9302e0d984aa}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\AI - Audio Interface">
+ <UniqueIdentifier>{d657188a-426d-46c8-af0a-caa148c6ed1b}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\DI - Drive Interface">
+ <UniqueIdentifier>{2832269e-5c7d-47f8-b212-afcd9145e427}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\DSP Interface + HLE">
+ <UniqueIdentifier>{9a10faaa-40c3-446c-81b6-5fc7a79d5329}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\DSP Interface + HLE\HLE">
+ <UniqueIdentifier>{7a29a81c-1fee-4e5b-bfe1-5f941837bdc9}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\DSP Interface + HLE\HLE\uCodes">
+ <UniqueIdentifier>{0eecffe7-f680-4d21-a05f-2f12c8244833}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\DSP Interface + HLE\LLE">
+ <UniqueIdentifier>{9fcd7c03-c4be-477b-9c15-5f096ab9d0f6}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\Wiimote">
+ <UniqueIdentifier>{69d8dcb1-f22b-47af-b1e4-f700b1a42e77}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\Wiimote\Emu">
+ <UniqueIdentifier>{079f3720-45c8-4c54-8589-b7d00a8bc1ac}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\Wiimote\Real">
+ <UniqueIdentifier>{bc3e845a-3d01-4713-aa32-f27110838d0c}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment">
+ <UniqueIdentifier>{cdbd65da-541f-47d2-8fdc-e99e73e98e69}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\EXI - Expansion Interface">
+ <UniqueIdentifier>{d19f1218-0e28-4f24-a4b3-33fac750a899}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\GCMemcard">
+ <UniqueIdentifier>{d7b3050d-3dd9-4284-969c-c5ad3b3662d9}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\GCPad">
+ <UniqueIdentifier>{15452851-6ca5-4520-bbf1-d4b810317be2}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\GP - Gather Pipe Fifo">
+ <UniqueIdentifier>{2ef543bc-8125-4b96-9627-6d8c15a5b36a}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\MI - Memory Interface">
+ <UniqueIdentifier>{dea96a0c-0274-4c9f-915e-97472e7f4578}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\PI - Processor Interface">
+ <UniqueIdentifier>{9fbdb5b5-9179-4488-b0bf-75c1ccdb3a61}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\SI - Serial Interface">
+ <UniqueIdentifier>{11385524-b10b-419b-8390-710791c53550}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\VI - Video Interface">
+ <UniqueIdentifier>{fa27e799-34c8-440a-9de3-6720df6022e7}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\Wii IO Bridge">
+ <UniqueIdentifier>{a6444fcf-11b7-42d3-859f-cfe23fe83e9d}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="HW %28Flipper/Hollywood%29\Wii IPC">
+ <UniqueIdentifier>{2b41ab45-ba8c-45dc-92cc-9107c1fa3e36}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="IPC HLE %28IOS/Starlet%29\DI">
+ <UniqueIdentifier>{9370a21f-a7bf-4973-8258-290253617653}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="IPC HLE %28IOS/Starlet%29\ES">
+ <UniqueIdentifier>{3f85582a-e612-4582-b0fa-ecc27ba3658c}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="IPC HLE %28IOS/Starlet%29\FS">
+ <UniqueIdentifier>{1f5662c1-885f-4ed4-9f10-cc8e98eaa35d}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="IPC HLE %28IOS/Starlet%29\Keyboard">
+ <UniqueIdentifier>{1fb00563-01ba-42c4-82de-2c66371e614a}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="IPC HLE %28IOS/Starlet%29\Net">
+ <UniqueIdentifier>{4620ba8f-5638-4d56-941e-69fc4a4dfc07}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="IPC HLE %28IOS/Starlet%29\SDIO - SD Card">
+ <UniqueIdentifier>{83c278e5-6b06-4cd0-96fb-2e3c88eb32d7}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="IPC HLE %28IOS/Starlet%29\USB">
+ <UniqueIdentifier>{4a090016-76d5-43dd-95a4-abedfc11ef31}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="IPC HLE %28IOS/Starlet%29\USB/BT/Wiimote">
+ <UniqueIdentifier>{8352be4d-d37d-4f55-adec-b940a9712802}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="PowerPC\JitILCommon">
+ <UniqueIdentifier>{827afa93-1a80-4835-93ae-b5516d95867f}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="Src\BootManager.cpp" />
<ClCompile Include="Src\ConfigManager.cpp" />
<ClCompile Include="Src\Console.cpp" />
<ClCompile Include="Src\Core.cpp" />
<ClCompile Include="Src\CoreParameter.cpp" />
<ClCompile Include="Src\CoreTiming.cpp" />
- <ClCompile Include="Src\x64MemTools.cpp" />
+ <ClCompile Include="Src\ec_wii.cpp" />
+ <ClCompile Include="Src\Movie.cpp" />
+ <ClCompile Include="Src\NetPlayClient.cpp" />
+ <ClCompile Include="Src\NetPlayServer.cpp" />
<ClCompile Include="Src\PatchEngine.cpp" />
- <ClCompile Include="Src\DSPEmulator.cpp" />
<ClCompile Include="Src\State.cpp" />
- <ClCompile Include="Src\stdafx.cpp" />
<ClCompile Include="Src\Tracer.cpp" />
<ClCompile Include="Src\VolumeHandler.cpp" />
+ <ClCompile Include="Src\x64MemTools.cpp" />
<ClCompile Include="Src\ActionReplay.cpp">
<Filter>ActionReplay</Filter>
</ClCompile>
@@ -46,71 +186,77 @@
<ClCompile Include="Src\Debugger\PPCDebugInterface.cpp">
<Filter>Debugger</Filter>
</ClCompile>
+ <ClCompile Include="Src\DSP\DspIntArithmetic.cpp">
+ <Filter>DSPCore\Interpreter</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\DSP\DspIntBranch.cpp">
+ <Filter>DSPCore\Interpreter</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\DSP\DSPIntCCUtil.cpp">
+ <Filter>DSPCore\Interpreter</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\DSP\DSPInterpreter.cpp">
+ <Filter>DSPCore\Interpreter</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\DSP\DSPIntExtOps.cpp">
+ <Filter>DSPCore\Interpreter</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\DSP\DspIntLoadStore.cpp">
+ <Filter>DSPCore\Interpreter</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\DSP\DspIntMisc.cpp">
+ <Filter>DSPCore\Interpreter</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\DSP\DspIntMultiplier.cpp">
+ <Filter>DSPCore\Interpreter</Filter>
+ </ClCompile>
<ClCompile Include="Src\DSP\Jit\DSPJitArithmetic.cpp">
- <Filter>DSPCore\JIT</Filter>
+ <Filter>DSPCore\Jit</Filter>
</ClCompile>
<ClCompile Include="Src\DSP\Jit\DSPJitBranch.cpp">
- <Filter>DSPCore\JIT</Filter>
+ <Filter>DSPCore\Jit</Filter>
</ClCompile>
<ClCompile Include="Src\DSP\Jit\DSPJitCCUtil.cpp">
- <Filter>DSPCore\JIT</Filter>
+ <Filter>DSPCore\Jit</Filter>
</ClCompile>
<ClCompile Include="Src\DSP\Jit\DSPJitExtOps.cpp">
- <Filter>DSPCore\JIT</Filter>
+ <Filter>DSPCore\Jit</Filter>
</ClCompile>
<ClCompile Include="Src\DSP\Jit\DSPJitLoadStore.cpp">
- <Filter>DSPCore\JIT</Filter>
+ <Filter>DSPCore\Jit</Filter>
</ClCompile>
<ClCompile Include="Src\DSP\Jit\DSPJitMisc.cpp">
- <Filter>DSPCore\JIT</Filter>
+ <Filter>DSPCore\Jit</Filter>
</ClCompile>
<ClCompile Include="Src\DSP\Jit\DSPJitMultiplier.cpp">
- <Filter>DSPCore\JIT</Filter>
+ <Filter>DSPCore\Jit</Filter>
</ClCompile>
<ClCompile Include="Src\DSP\Jit\DSPJitRegCache.cpp">
- <Filter>DSPCore\JIT</Filter>
+ <Filter>DSPCore\Jit</Filter>
</ClCompile>
<ClCompile Include="Src\DSP\Jit\DSPJitUtil.cpp">
- <Filter>DSPCore\JIT</Filter>
+ <Filter>DSPCore\Jit</Filter>
</ClCompile>
<ClCompile Include="Src\DSP\DSPEmitter.cpp">
- <Filter>DSPCore\JIT</Filter>
+ <Filter>DSPCore\Jit</Filter>
</ClCompile>
- <ClCompile Include="Src\DSP\assemble.cpp">
- <Filter>DSPCore</Filter>
- </ClCompile>
- <ClCompile Include="Src\DSP\disassemble.cpp">
- <Filter>DSPCore</Filter>
- </ClCompile>
- <ClCompile Include="Src\DSP\DSPAccelerator.cpp">
- <Filter>DSPCore</Filter>
- </ClCompile>
- <ClCompile Include="Src\DSP\DSPAnalyzer.cpp">
- <Filter>DSPCore</Filter>
- </ClCompile>
- <ClCompile Include="Src\DSP\DSPCodeUtil.cpp">
- <Filter>DSPCore</Filter>
- </ClCompile>
- <ClCompile Include="Src\DSP\DSPCore.cpp">
- <Filter>DSPCore</Filter>
- </ClCompile>
- <ClCompile Include="Src\DSP\DSPHWInterface.cpp">
- <Filter>DSPCore</Filter>
+ <ClCompile Include="Src\FifoPlayer\FifoAnalyzer.cpp">
+ <Filter>FifoPlayer</Filter>
</ClCompile>
- <ClCompile Include="Src\DSP\DSPInterpreter.cpp">
- <Filter>DSPCore</Filter>
+ <ClCompile Include="Src\FifoPlayer\FifoDataFile.cpp">
+ <Filter>FifoPlayer</Filter>
</ClCompile>
- <ClCompile Include="Src\DSP\DSPMemoryMap.cpp">
- <Filter>DSPCore</Filter>
+ <ClCompile Include="Src\FifoPlayer\FifoPlaybackAnalyzer.cpp">
+ <Filter>FifoPlayer</Filter>
</ClCompile>
- <ClCompile Include="Src\DSP\DSPStacks.cpp">
- <Filter>DSPCore</Filter>
+ <ClCompile Include="Src\FifoPlayer\FifoPlayer.cpp">
+ <Filter>FifoPlayer</Filter>
</ClCompile>
- <ClCompile Include="Src\DSP\DSPTables.cpp">
- <Filter>DSPCore</Filter>
+ <ClCompile Include="Src\FifoPlayer\FifoRecordAnalyzer.cpp">
+ <Filter>FifoPlayer</Filter>
</ClCompile>
- <ClCompile Include="Src\DSP\LabelMap.cpp">
- <Filter>DSPCore</Filter>
+ <ClCompile Include="Src\FifoPlayer\FifoRecorder.cpp">
+ <Filter>FifoPlayer</Filter>
</ClCompile>
<ClCompile Include="Src\GeckoCode.cpp">
<Filter>GeckoCode</Filter>
@@ -127,68 +273,47 @@
<ClCompile Include="Src\HLE\HLE_OS.cpp">
<Filter>HLE</Filter>
</ClCompile>
- <ClCompile Include="Src\DSP\DspIntArithmetic.cpp">
- <Filter>DSPCore\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\DSP\DspIntBranch.cpp">
- <Filter>DSPCore\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\DSP\DSPIntCCUtil.cpp">
- <Filter>DSPCore\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\DSP\DSPIntExtOps.cpp">
- <Filter>DSPCore\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\DSP\DspIntLoadStore.cpp">
- <Filter>DSPCore\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\DSP\DspIntMisc.cpp">
- <Filter>DSPCore\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\DSP\DspIntMultiplier.cpp">
- <Filter>DSPCore\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\HW\GCPad.cpp">
- <Filter>HW %28Flipper/Hollywood%29\GCPad</Filter>
+ <ClCompile Include="Src\PowerPC\Interpreter\Interpreter.cpp">
+ <Filter>PowerPC\Interpreter</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\GCPadEmu.cpp">
- <Filter>HW %28Flipper/Hollywood%29\GCPad</Filter>
+ <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_Branch.cpp">
+ <Filter>PowerPC\Interpreter</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\EXI.cpp">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_FloatingPoint.cpp">
+ <Filter>PowerPC\Interpreter</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\EXI_Channel.cpp">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_Integer.cpp">
+ <Filter>PowerPC\Interpreter</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\EXI_Device.cpp">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_LoadStore.cpp">
+ <Filter>PowerPC\Interpreter</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\EXI_DeviceAD16.cpp">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_LoadStorePaired.cpp">
+ <Filter>PowerPC\Interpreter</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\EXI_DeviceAMBaseboard.cpp">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_Paired.cpp">
+ <Filter>PowerPC\Interpreter</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\EXI_DeviceEthernet.cpp">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_SystemRegisters.cpp">
+ <Filter>PowerPC\Interpreter</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\EXI_DeviceGecko.cpp">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_Tables.cpp">
+ <Filter>PowerPC\Interpreter</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\EXI_DeviceIPL.cpp">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClCompile Include="Src\PowerPC\Jit64\Jit.cpp">
+ <Filter>PowerPC\Jit64</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\EXI_DeviceMemoryCard.cpp">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClCompile Include="Src\PowerPC\Jit64\Jit64_Tables.cpp">
+ <Filter>PowerPC\Jit64</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\EXI_DeviceMic.cpp">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClCompile Include="Src\HW\AudioInterface.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\AI - Audio Interface</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\BBA-TAP\TAP_Win32.cpp">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClCompile Include="Src\HW\StreamADPCM.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\AI - Audio Interface</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\Sram.cpp">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClCompile Include="Src\HW\DVDInterface.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\DI - Drive Interface</Filter>
</ClCompile>
<ClCompile Include="Src\HW\DSPHLE\UCodes\UCode_AX.cpp">
<Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE\HLE\uCodes</Filter>
@@ -232,9 +357,6 @@
<ClCompile Include="Src\HW\DSPHLE\MailHandler.cpp">
<Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE\HLE</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\DSP.cpp">
- <Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE</Filter>
- </ClCompile>
<ClCompile Include="Src\HW\DSPLLE\DSPDebugInterface.cpp">
<Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE\LLE</Filter>
</ClCompile>
@@ -253,6 +375,54 @@
<ClCompile Include="Src\HW\DSPLLE\DSPSymbols.cpp">
<Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE\LLE</Filter>
</ClCompile>
+ <ClCompile Include="Src\HW\DSP.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\EXI.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\EXI_Channel.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\EXI_Device.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\EXI_DeviceAD16.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\EXI_DeviceAMBaseboard.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\EXI_DeviceEthernet.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\EXI_DeviceGecko.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\EXI_DeviceIPL.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\EXI_DeviceMemoryCard.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\EXI_DeviceMic.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\BBA-TAP\TAP_Win32.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\Sram.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\GCMemcard.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\GCMemcard</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\GCPad.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\GCPad</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\HW\GCPadEmu.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\GCPad</Filter>
+ </ClCompile>
<ClCompile Include="Src\HW\GPFifo.cpp">
<Filter>HW %28Flipper/Hollywood%29\GP - Gather Pipe Fifo</Filter>
</ClCompile>
@@ -262,15 +432,6 @@
<ClCompile Include="Src\HW\ProcessorInterface.cpp">
<Filter>HW %28Flipper/Hollywood%29\PI - Processor Interface</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\AudioInterface.cpp">
- <Filter>HW %28Flipper/Hollywood%29\AI - Audio Interface</Filter>
- </ClCompile>
- <ClCompile Include="Src\HW\StreamADPCM.cpp">
- <Filter>HW %28Flipper/Hollywood%29\AI - Audio Interface</Filter>
- </ClCompile>
- <ClCompile Include="Src\HW\DVDInterface.cpp">
- <Filter>HW %28Flipper/Hollywood%29\DI - Drive Interface</Filter>
- </ClCompile>
<ClCompile Include="Src\HW\SI.cpp">
<Filter>HW %28Flipper/Hollywood%29\SI - Serial Interface</Filter>
</ClCompile>
@@ -280,6 +441,9 @@
<ClCompile Include="Src\HW\SI_DeviceAMBaseboard.cpp">
<Filter>HW %28Flipper/Hollywood%29\SI - Serial Interface</Filter>
</ClCompile>
+ <ClCompile Include="Src\HW\SI_DeviceDanceMat.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\SI - Serial Interface</Filter>
+ </ClCompile>
<ClCompile Include="Src\HW\SI_DeviceGBA.cpp">
<Filter>HW %28Flipper/Hollywood%29\SI - Serial Interface</Filter>
</ClCompile>
@@ -289,106 +453,55 @@
<ClCompile Include="Src\HW\SI_DeviceGCSteeringWheel.cpp">
<Filter>HW %28Flipper/Hollywood%29\SI - Serial Interface</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\SI_DeviceDanceMat.cpp">
- <Filter>HW %28Flipper/Hollywood%29\SI - Serial Interface</Filter>
- </ClCompile>
<ClCompile Include="Src\HW\VideoInterface.cpp">
<Filter>HW %28Flipper/Hollywood%29\VI - Video Interface</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Interpreter\Interpreter.cpp">
- <Filter>PowerPC\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_Branch.cpp">
- <Filter>PowerPC\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_FloatingPoint.cpp">
- <Filter>PowerPC\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_Integer.cpp">
- <Filter>PowerPC\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_LoadStore.cpp">
- <Filter>PowerPC\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_LoadStorePaired.cpp">
- <Filter>PowerPC\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_Paired.cpp">
- <Filter>PowerPC\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_SystemRegisters.cpp">
- <Filter>PowerPC\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\Interpreter\Interpreter_Tables.cpp">
- <Filter>PowerPC\Interpreter</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\JitCommon\Jit_Util.cpp">
- <Filter>PowerPC\JitCommon</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\JitCommon\JitAsmCommon.cpp">
- <Filter>PowerPC\JitCommon</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\JitCommon\JitBackpatch.cpp">
- <Filter>PowerPC\JitCommon</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\JitCommon\JitBase.cpp">
- <Filter>PowerPC\JitCommon</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\JitCommon\JitCache.cpp">
- <Filter>PowerPC\JitCommon</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64\Jit.cpp">
- <Filter>PowerPC\Jit64</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64\Jit64_Tables.cpp">
- <Filter>PowerPC\Jit64</Filter>
- </ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64\Jit_Branch.cpp">
- <Filter>PowerPC\Jit64</Filter>
+ <ClCompile Include="Src\HW\WiimoteEmu\Attachment\Attachment.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64\Jit_FloatingPoint.cpp">
- <Filter>PowerPC\Jit64</Filter>
+ <ClCompile Include="Src\HW\WiimoteEmu\Attachment\Classic.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64\Jit_Integer.cpp">
- <Filter>PowerPC\Jit64</Filter>
+ <ClCompile Include="Src\HW\WiimoteEmu\Attachment\Drums.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64\Jit_LoadStore.cpp">
- <Filter>PowerPC\Jit64</Filter>
+ <ClCompile Include="Src\HW\WiimoteEmu\Attachment\Guitar.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64\Jit_LoadStoreFloating.cpp">
- <Filter>PowerPC\Jit64</Filter>
+ <ClCompile Include="Src\HW\WiimoteEmu\Attachment\Nunchuk.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64\Jit_LoadStorePaired.cpp">
- <Filter>PowerPC\Jit64</Filter>
+ <ClCompile Include="Src\HW\WiimoteEmu\Attachment\Turntable.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64\Jit_Paired.cpp">
- <Filter>PowerPC\Jit64</Filter>
+ <ClCompile Include="Src\HW\WiimoteEmu\EmuSubroutines.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64\Jit_SystemRegisters.cpp">
- <Filter>PowerPC\Jit64</Filter>
+ <ClCompile Include="Src\HW\WiimoteEmu\Encryption.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64\JitAsm.cpp">
- <Filter>PowerPC\Jit64</Filter>
+ <ClCompile Include="Src\HW\WiimoteEmu\Speaker.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64\JitRegCache.cpp">
- <Filter>PowerPC\Jit64</Filter>
+ <ClCompile Include="Src\HW\WiimoteEmu\WiimoteEmu.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64IL\IR_X86.cpp">
- <Filter>PowerPC\JitIL</Filter>
+ <ClCompile Include="Src\HW\WiimoteReal\IOWin.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Real</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64IL\JitIL.cpp">
- <Filter>PowerPC\JitIL</Filter>
+ <ClCompile Include="Src\HW\WiimoteReal\WiimoteReal.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Real</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64IL\JitIL_Tables.cpp">
- <Filter>PowerPC\JitIL</Filter>
+ <ClCompile Include="Src\HW\WII_IOB.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wii IO Bridge</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Jit64IL\JitILAsm.cpp">
- <Filter>PowerPC\JitIL</Filter>
+ <ClCompile Include="Src\HW\WII_IPC.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wii IPC</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\HW.cpp">
+ <ClCompile Include="Src\HW\CPU.cpp">
<Filter>HW %28Flipper/Hollywood%29</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\CPU.cpp">
+ <ClCompile Include="Src\HW\HW.cpp">
<Filter>HW %28Flipper/Hollywood%29</Filter>
</ClCompile>
<ClCompile Include="Src\HW\Memmap.cpp">
@@ -400,35 +513,47 @@
<ClCompile Include="Src\HW\SystemTimers.cpp">
<Filter>HW %28Flipper/Hollywood%29</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\LUT_frsqrtex.cpp">
- <Filter>PowerPC</Filter>
+ <ClCompile Include="Src\DSP\assemble.cpp">
+ <Filter>DSPCore</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\PowerPC.cpp">
- <Filter>PowerPC</Filter>
+ <ClCompile Include="Src\DSP\disassemble.cpp">
+ <Filter>DSPCore</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\PPCAnalyst.cpp">
- <Filter>PowerPC</Filter>
+ <ClCompile Include="Src\DSP\DSPAccelerator.cpp">
+ <Filter>DSPCore</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\PPCCache.cpp">
- <Filter>PowerPC</Filter>
+ <ClCompile Include="Src\DSP\DSPAnalyzer.cpp">
+ <Filter>DSPCore</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\PPCSymbolDB.cpp">
- <Filter>PowerPC</Filter>
+ <ClCompile Include="Src\DSP\DSPCodeUtil.cpp">
+ <Filter>DSPCore</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\PPCTables.cpp">
- <Filter>PowerPC</Filter>
+ <ClCompile Include="Src\DSP\DSPCore.cpp">
+ <Filter>DSPCore</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\Profiler.cpp">
- <Filter>PowerPC</Filter>
+ <ClCompile Include="Src\DSPEmulator.cpp">
+ <Filter>DSPCore</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\SignatureDB.cpp">
- <Filter>PowerPC</Filter>
+ <ClCompile Include="Src\DSP\DSPHWInterface.cpp">
+ <Filter>DSPCore</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\DSP\DSPMemoryMap.cpp">
+ <Filter>DSPCore</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\DSP\DSPStacks.cpp">
+ <Filter>DSPCore</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\DSP\DSPTables.cpp">
+ <Filter>DSPCore</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\DSP\LabelMap.cpp">
+ <Filter>DSPCore</Filter>
</ClCompile>
<ClCompile Include="Src\IPC_HLE\WII_IPC_HLE.cpp">
<Filter>IPC HLE %28IOS/Starlet%29</Filter>
</ClCompile>
<ClCompile Include="Src\IPC_HLE\WII_IPC_HLE_Device_DI.cpp">
- <Filter>IPC HLE %28IOS/Starlet%29\DI - Drive Interface</Filter>
+ <Filter>IPC HLE %28IOS/Starlet%29\DI</Filter>
</ClCompile>
<ClCompile Include="Src\IPC_HLE\WII_IPC_HLE_Device_es.cpp">
<Filter>IPC HLE %28IOS/Starlet%29\ES</Filter>
@@ -442,129 +567,143 @@
<ClCompile Include="Src\IPC_HLE\WII_IPC_HLE_Device_usb_kbd.cpp">
<Filter>IPC HLE %28IOS/Starlet%29\Keyboard</Filter>
</ClCompile>
+ <ClCompile Include="Src\IPC_HLE\ICMPWin.cpp">
+ <Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
+ </ClCompile>
<ClCompile Include="Src\IPC_HLE\WII_IPC_HLE_Device_net.cpp">
<Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
</ClCompile>
+ <ClCompile Include="Src\IPC_HLE\WII_IPC_HLE_Device_net_ssl.cpp">
+ <Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\IPC_HLE\WII_Socket.cpp">
+ <Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
+ </ClCompile>
<ClCompile Include="Src\IPC_HLE\WII_IPC_HLE_Device_sdio_slot0.cpp">
<Filter>IPC HLE %28IOS/Starlet%29\SDIO - SD Card</Filter>
</ClCompile>
+ <ClCompile Include="Src\IPC_HLE\WII_IPC_HLE_Device_hid.cpp">
+ <Filter>IPC HLE %28IOS/Starlet%29\USB</Filter>
+ </ClCompile>
<ClCompile Include="Src\IPC_HLE\WII_IPC_HLE_Device_usb.cpp">
<Filter>IPC HLE %28IOS/Starlet%29\USB/BT/Wiimote</Filter>
</ClCompile>
<ClCompile Include="Src\IPC_HLE\WII_IPC_HLE_WiiMote.cpp">
<Filter>IPC HLE %28IOS/Starlet%29\USB/BT/Wiimote</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\WII_IPC.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wii IPC</Filter>
- </ClCompile>
<ClCompile Include="Src\IPC_HLE\WiiMote_HID_Attr.cpp">
<Filter>IPC HLE %28IOS/Starlet%29\USB/BT/Wiimote</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\WII_IOB.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wii IO Bridge</Filter>
+ <ClCompile Include="Src\HW\Wiimote.cpp">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\WiimoteEmu\Attachment\Attachment.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
+ <ClCompile Include="Src\PowerPC\JitInterface.cpp">
+ <Filter>PowerPC</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\WiimoteEmu\Attachment\Classic.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
+ <ClCompile Include="Src\PowerPC\LUT_frsqrtex.cpp">
+ <Filter>PowerPC</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\WiimoteEmu\Attachment\Drums.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
+ <ClCompile Include="Src\PowerPC\PowerPC.cpp">
+ <Filter>PowerPC</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\WiimoteEmu\Attachment\Guitar.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
+ <ClCompile Include="Src\PowerPC\PPCAnalyst.cpp">
+ <Filter>PowerPC</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\WiimoteEmu\Attachment\Nunchuk.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
+ <ClCompile Include="Src\PowerPC\PPCCache.cpp">
+ <Filter>PowerPC</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\WiimoteEmu\Attachment\Turntable.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
+ <ClCompile Include="Src\PowerPC\PPCSymbolDB.cpp">
+ <Filter>PowerPC</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\WiimoteEmu\EmuSubroutines.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
+ <ClCompile Include="Src\PowerPC\PPCTables.cpp">
+ <Filter>PowerPC</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\WiimoteEmu\Encryption.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
+ <ClCompile Include="Src\PowerPC\Profiler.cpp">
+ <Filter>PowerPC</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\WiimoteEmu\Speaker.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
+ <ClCompile Include="Src\PowerPC\SignatureDB.cpp">
+ <Filter>PowerPC</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\WiimoteEmu\WiimoteEmu.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
+ <ClCompile Include="Src\PowerPC\JitCommon\Jit_Util.cpp">
+ <Filter>PowerPC\JitCommon</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\WiimoteReal\WiimoteReal.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Real</Filter>
+ <ClCompile Include="Src\PowerPC\JitCommon\JitAsmCommon.cpp">
+ <Filter>PowerPC\JitCommon</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\WiimoteReal\IOWin.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Real</Filter>
+ <ClCompile Include="Src\PowerPC\JitCommon\JitBackpatch.cpp">
+ <Filter>PowerPC\JitCommon</Filter>
</ClCompile>
- <ClCompile Include="Src\HW\Wiimote.cpp">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote</Filter>
+ <ClCompile Include="Src\PowerPC\JitCommon\JitBase.cpp">
+ <Filter>PowerPC\JitCommon</Filter>
</ClCompile>
- <ClCompile Include="Src\BootManager.cpp" />
- <ClCompile Include="Src\FifoPlayer\FifoDataFile.cpp">
- <Filter>FifoPlayer</Filter>
+ <ClCompile Include="Src\PowerPC\JitCommon\JitCache.cpp">
+ <Filter>PowerPC\JitCommon</Filter>
</ClCompile>
- <ClCompile Include="Src\IPC_HLE\WII_IPC_HLE_Device_net_ssl.cpp">
- <Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
+ <ClCompile Include="Src\PowerPC\Jit64IL\IR_X86.cpp">
+ <Filter>PowerPC\JitIL</Filter>
</ClCompile>
- <ClCompile Include="Src\FifoPlayer\FifoPlayer.cpp">
- <Filter>FifoPlayer</Filter>
+ <ClCompile Include="Src\PowerPC\Jit64IL\JitIL.cpp">
+ <Filter>PowerPC\JitIL</Filter>
</ClCompile>
- <ClCompile Include="Src\FifoPlayer\FifoRecorder.cpp">
- <Filter>FifoPlayer</Filter>
+ <ClCompile Include="Src\PowerPC\Jit64IL\JitIL_Tables.cpp">
+ <Filter>PowerPC\JitIL</Filter>
</ClCompile>
- <ClCompile Include="Src\FifoPlayer\FifoPlaybackAnalyzer.cpp">
- <Filter>FifoPlayer</Filter>
+ <ClCompile Include="Src\PowerPC\Jit64IL\JitILAsm.cpp">
+ <Filter>PowerPC\JitIL</Filter>
</ClCompile>
- <ClCompile Include="Src\FifoPlayer\FifoRecordAnalyzer.cpp">
- <Filter>FifoPlayer</Filter>
+ <ClCompile Include="Src\PowerPC\Jit64\Jit_Branch.cpp">
+ <Filter>PowerPC\Jit64</Filter>
</ClCompile>
- <ClCompile Include="Src\FifoPlayer\FifoAnalyzer.cpp">
- <Filter>FifoPlayer</Filter>
+ <ClCompile Include="Src\PowerPC\Jit64\Jit_SystemRegisters.cpp">
+ <Filter>PowerPC\Jit64</Filter>
</ClCompile>
- <ClCompile Include="Src\Movie.cpp" />
- <ClCompile Include="Src\HW\GCMemcard.cpp">
- <Filter>HW %28Flipper/Hollywood%29\GCMemcard</Filter>
+ <ClCompile Include="Src\PowerPC\Jit64\Jit_FloatingPoint.cpp">
+ <Filter>PowerPC\Jit64</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\JitInterface.cpp">
- <Filter>PowerPC</Filter>
+ <ClCompile Include="Src\PowerPC\Jit64\Jit_Integer.cpp">
+ <Filter>PowerPC\Jit64</Filter>
</ClCompile>
- <ClCompile Include="Src\NetPlayClient.cpp" />
- <ClCompile Include="Src\NetPlayServer.cpp" />
- <ClCompile Include="Src\IPC_HLE\ICMPWin.cpp">
- <Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
+ <ClCompile Include="Src\PowerPC\Jit64\Jit_LoadStore.cpp">
+ <Filter>PowerPC\Jit64</Filter>
</ClCompile>
- <ClCompile Include="Src\IPC_HLE\WII_IPC_HLE_Device_hid.cpp">
- <Filter>IPC HLE %28IOS/Starlet%29\USB</Filter>
+ <ClCompile Include="Src\PowerPC\Jit64\Jit_LoadStoreFloating.cpp">
+ <Filter>PowerPC\Jit64</Filter>
</ClCompile>
- <ClCompile Include="Src\ec_wii.cpp" />
- <ClCompile Include="Src\IPC_HLE\WII_Socket.cpp">
- <Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
+ <ClCompile Include="Src\PowerPC\Jit64\Jit_LoadStorePaired.cpp">
+ <Filter>PowerPC\Jit64</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_SystemRegisters.cpp">
- <Filter>PowerPC\JitILCommon</Filter>
+ <ClCompile Include="Src\PowerPC\Jit64\Jit_Paired.cpp">
+ <Filter>PowerPC\Jit64</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_Paired.cpp">
+ <ClCompile Include="Src\PowerPC\Jit64\JitAsm.cpp">
+ <Filter>PowerPC\Jit64</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\PowerPC\Jit64\JitRegCache.cpp">
+ <Filter>PowerPC\Jit64</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\stdafx.cpp" />
+ <ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_Branch.cpp">
<Filter>PowerPC\JitILCommon</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_LoadStorePaired.cpp">
+ <ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_FloatingPoint.cpp">
<Filter>PowerPC\JitILCommon</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_LoadStoreFloating.cpp">
+ <ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_Integer.cpp">
<Filter>PowerPC\JitILCommon</Filter>
</ClCompile>
<ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_LoadStore.cpp">
<Filter>PowerPC\JitILCommon</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_FloatingPoint.cpp">
+ <ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_LoadStoreFloating.cpp">
<Filter>PowerPC\JitILCommon</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_Branch.cpp">
+ <ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_LoadStorePaired.cpp">
<Filter>PowerPC\JitILCommon</Filter>
</ClCompile>
- <ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_Integer.cpp">
+ <ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_Paired.cpp">
+ <Filter>PowerPC\JitILCommon</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\PowerPC\JitILCommon\JitILBase_SystemRegisters.cpp">
<Filter>PowerPC\JitILCommon</Filter>
</ClCompile>
<ClCompile Include="Src\PowerPC\JitILCommon\IR.cpp">
@@ -572,23 +711,27 @@
</ClCompile>
</ItemGroup>
<ItemGroup>
+ <ClInclude Include="Src\BootManager.h" />
<ClInclude Include="Src\ConfigManager.h" />
<ClInclude Include="Src\Console.h" />
<ClInclude Include="Src\Core.h" />
<ClInclude Include="Src\CoreParameter.h" />
<ClInclude Include="Src\CoreTiming.h" />
+ <ClInclude Include="Src\ec_wii.h" />
<ClInclude Include="Src\Host.h" />
<ClInclude Include="Src\MemTools.h" />
+ <ClInclude Include="Src\Movie.h" />
+ <ClInclude Include="Src\NetPlayClient.h" />
+ <ClInclude Include="Src\NetPlayProto.h" />
+ <ClInclude Include="Src\NetPlayServer.h" />
<ClInclude Include="Src\PatchEngine.h" />
- <ClInclude Include="Src\DSPEmulator.h" />
<ClInclude Include="Src\State.h" />
- <ClInclude Include="Src\stdafx.h" />
<ClInclude Include="Src\Tracer.h" />
<ClInclude Include="Src\VolumeHandler.h" />
- <ClInclude Include="Src\ARDecrypt.h">
+ <ClInclude Include="Src\ActionReplay.h">
<Filter>ActionReplay</Filter>
</ClInclude>
- <ClInclude Include="Src\ActionReplay.h">
+ <ClInclude Include="Src\ARDecrypt.h">
<Filter>ActionReplay</Filter>
</ClInclude>
<ClInclude Include="Src\Boot\Boot.h">
@@ -600,12 +743,15 @@
<ClInclude Include="Src\Boot\Boot_ELF.h">
<Filter>Boot</Filter>
</ClInclude>
- <ClInclude Include="Src\Boot\ElfTypes.h">
+ <ClInclude Include="Src\Boot\Boot_WiiWAD.h">
<Filter>Boot</Filter>
</ClInclude>
<ClInclude Include="Src\Boot\ElfReader.h">
<Filter>Boot</Filter>
</ClInclude>
+ <ClInclude Include="Src\Boot\ElfTypes.h">
+ <Filter>Boot</Filter>
+ </ClInclude>
<ClInclude Include="Src\Debugger\Debugger_SymbolMap.h">
<Filter>Debugger</Filter>
</ClInclude>
@@ -618,65 +764,53 @@
<ClInclude Include="Src\Debugger\PPCDebugInterface.h">
<Filter>Debugger</Filter>
</ClInclude>
- <ClInclude Include="Src\DSP\Jit\DSPJitUtil.h">
- <Filter>DSPCore\JIT</Filter>
- </ClInclude>
- <ClInclude Include="Src\DSP\Jit\DSPJitRegCache.h">
- <Filter>DSPCore\JIT</Filter>
- </ClInclude>
- <ClInclude Include="Src\DSP\DSPEmitter.h">
- <Filter>DSPCore\JIT</Filter>
- </ClInclude>
- <ClInclude Include="Src\DSP\assemble.h">
- <Filter>DSPCore</Filter>
- </ClInclude>
- <ClInclude Include="Src\DSP\disassemble.h">
- <Filter>DSPCore</Filter>
+ <ClInclude Include="Src\DSP\DSPIntCCUtil.h">
+ <Filter>DSPCore\Interpreter</Filter>
</ClInclude>
- <ClInclude Include="Src\DSP\DSPCore.h">
- <Filter>DSPCore</Filter>
+ <ClInclude Include="Src\DSP\DSPInterpreter.h">
+ <Filter>DSPCore\Interpreter</Filter>
</ClInclude>
- <ClInclude Include="Src\DSP\DSPAccelerator.h">
- <Filter>DSPCore</Filter>
+ <ClInclude Include="Src\DSP\DSPIntExtOps.h">
+ <Filter>DSPCore\Interpreter</Filter>
</ClInclude>
- <ClInclude Include="Src\DSP\DSPAnalyzer.h">
- <Filter>DSPCore</Filter>
+ <ClInclude Include="Src\DSP\DSPIntUtil.h">
+ <Filter>DSPCore\Interpreter</Filter>
</ClInclude>
- <ClInclude Include="Src\DSP\DSPBreakpoints.h">
- <Filter>DSPCore</Filter>
+ <ClInclude Include="Src\DSP\Jit\DSPJitRegCache.h">
+ <Filter>DSPCore\Jit</Filter>
</ClInclude>
- <ClInclude Include="Src\DSP\DSPCodeUtil.h">
- <Filter>DSPCore</Filter>
+ <ClInclude Include="Src\DSP\Jit\DSPJitUtil.h">
+ <Filter>DSPCore\Jit</Filter>
</ClInclude>
- <ClInclude Include="Src\DSP\DSPCommon.h">
- <Filter>DSPCore</Filter>
+ <ClInclude Include="Src\DSP\DSPEmitter.h">
+ <Filter>DSPCore\Jit</Filter>
</ClInclude>
- <ClInclude Include="Src\DSP\DSPHWInterface.h">
- <Filter>DSPCore</Filter>
+ <ClInclude Include="Src\FifoPlayer\FifoAnalyzer.h">
+ <Filter>FifoPlayer</Filter>
</ClInclude>
- <ClInclude Include="Src\DSP\DSPInterpreter.h">
- <Filter>DSPCore</Filter>
+ <ClInclude Include="Src\FifoPlayer\FifoDataFile.h">
+ <Filter>FifoPlayer</Filter>
</ClInclude>
- <ClInclude Include="Src\DSP\DSPMemoryMap.h">
- <Filter>DSPCore</Filter>
+ <ClInclude Include="Src\FifoPlayer\FifoFileStruct.h">
+ <Filter>FifoPlayer</Filter>
</ClInclude>
- <ClInclude Include="Src\DSP\DSPStacks.h">
- <Filter>DSPCore</Filter>
+ <ClInclude Include="Src\FifoPlayer\FifoPlaybackAnalyzer.h">
+ <Filter>FifoPlayer</Filter>
</ClInclude>
- <ClInclude Include="Src\DSP\DSPTables.h">
- <Filter>DSPCore</Filter>
+ <ClInclude Include="Src\FifoPlayer\FifoPlayer.h">
+ <Filter>FifoPlayer</Filter>
</ClInclude>
- <ClInclude Include="Src\DSP\LabelMap.h">
- <Filter>DSPCore</Filter>
+ <ClInclude Include="Src\FifoPlayer\FifoRecordAnalyzer.h">
+ <Filter>FifoPlayer</Filter>
</ClInclude>
- <ClInclude Include="Src\GeckoCodeConfig.h">
- <Filter>GeckoCode</Filter>
+ <ClInclude Include="Src\FifoPlayer\FifoRecorder.h">
+ <Filter>FifoPlayer</Filter>
</ClInclude>
<ClInclude Include="Src\GeckoCode.h">
<Filter>GeckoCode</Filter>
</ClInclude>
- <ClInclude Include="Src\HLE\HLE_OS.h">
- <Filter>HLE</Filter>
+ <ClInclude Include="Src\GeckoCodeConfig.h">
+ <Filter>GeckoCode</Filter>
</ClInclude>
<ClInclude Include="Src\HLE\HLE.h">
<Filter>HLE</Filter>
@@ -684,59 +818,32 @@
<ClInclude Include="Src\HLE\HLE_Misc.h">
<Filter>HLE</Filter>
</ClInclude>
- <ClInclude Include="Src\DSP\DSPIntUtil.h">
- <Filter>DSPCore\Interpreter</Filter>
- </ClInclude>
- <ClInclude Include="Src\DSP\DSPIntCCUtil.h">
- <Filter>DSPCore\Interpreter</Filter>
- </ClInclude>
- <ClInclude Include="Src\DSP\DSPIntExtOps.h">
- <Filter>DSPCore\Interpreter</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\GCPadEmu.h">
- <Filter>HW %28Flipper/Hollywood%29\GCPad</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\GCPad.h">
- <Filter>HW %28Flipper/Hollywood%29\GCPad</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\EXI_DeviceMic.h">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\EXI.h">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\EXI_Channel.h">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\EXI_Device.h">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\EXI_DeviceAD16.h">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClInclude Include="Src\HLE\HLE_OS.h">
+ <Filter>HLE</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\EXI_DeviceAMBaseboard.h">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClInclude Include="Src\PowerPC\Interpreter\Interpreter.h">
+ <Filter>PowerPC\Interpreter</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\EXI_DeviceEthernet.h">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClInclude Include="Src\PowerPC\Interpreter\Interpreter_FPUtils.h">
+ <Filter>PowerPC\Interpreter</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\EXI_DeviceGecko.h">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClInclude Include="Src\PowerPC\Interpreter\Interpreter_Tables.h">
+ <Filter>PowerPC\Interpreter</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\EXI_DeviceIPL.h">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClInclude Include="Src\PowerPC\Jit64\Jit.h">
+ <Filter>PowerPC\Jit64</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\EXI_DeviceMemoryCard.h">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClInclude Include="Src\PowerPC\Jit64\Jit64_Tables.h">
+ <Filter>PowerPC\Jit64</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\BBA-TAP\TAP_Win32.h">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClInclude Include="Src\HW\AudioInterface.h">
+ <Filter>HW %28Flipper/Hollywood%29\AI - Audio Interface</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\Sram.h">
- <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ <ClInclude Include="Src\HW\StreamADPCM.h">
+ <Filter>HW %28Flipper/Hollywood%29\AI - Audio Interface</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\DSPHLE\UCodes\UCodes.h">
- <Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE\HLE\uCodes</Filter>
+ <ClInclude Include="Src\HW\DVDInterface.h">
+ <Filter>HW %28Flipper/Hollywood%29\DI - Drive Interface</Filter>
</ClInclude>
<ClInclude Include="Src\HW\DSPHLE\UCodes\UCode_AX.h">
<Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE\HLE\uCodes</Filter>
@@ -765,6 +872,9 @@
<ClInclude Include="Src\HW\DSPHLE\UCodes\UCode_Zelda.h">
<Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE\HLE\uCodes</Filter>
</ClInclude>
+ <ClInclude Include="Src\HW\DSPHLE\UCodes\UCodes.h">
+ <Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE\HLE\uCodes</Filter>
+ </ClInclude>
<ClInclude Include="Src\HW\DSPHLE\DSPHLE.h">
<Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE\HLE</Filter>
</ClInclude>
@@ -774,13 +884,10 @@
<ClInclude Include="Src\HW\DSPHLE\MailHandler.h">
<Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE\HLE</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\DSP.h">
- <Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE</Filter>
- </ClInclude>
- <ClInclude Include="Src\DSP\DSPHost.h">
+ <ClInclude Include="Src\HW\DSPLLE\DSPDebugInterface.h">
<Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE\LLE</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\DSPLLE\DSPDebugInterface.h">
+ <ClInclude Include="Src\DSP\DSPHost.h">
<Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE\LLE</Filter>
</ClInclude>
<ClInclude Include="Src\HW\DSPLLE\DSPLLE.h">
@@ -795,6 +902,54 @@
<ClInclude Include="Src\HW\DSPLLE\DSPSymbols.h">
<Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE\LLE</Filter>
</ClInclude>
+ <ClInclude Include="Src\HW\DSP.h">
+ <Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\EXI.h">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\EXI_Channel.h">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\EXI_Device.h">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\EXI_DeviceAD16.h">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\EXI_DeviceAMBaseboard.h">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\EXI_DeviceEthernet.h">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\EXI_DeviceGecko.h">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\EXI_DeviceIPL.h">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\EXI_DeviceMemoryCard.h">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\EXI_DeviceMic.h">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\BBA-TAP\TAP_Win32.h">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\Sram.h">
+ <Filter>HW %28Flipper/Hollywood%29\EXI - Expansion Interface</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\GCMemcard.h">
+ <Filter>HW %28Flipper/Hollywood%29\GCMemcard</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\GCPadEmu.h">
+ <Filter>HW %28Flipper/Hollywood%29\GCPad</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\HW\GCPad.h">
+ <Filter>HW %28Flipper/Hollywood%29\GCPad</Filter>
+ </ClInclude>
<ClInclude Include="Src\HW\GPFifo.h">
<Filter>HW %28Flipper/Hollywood%29\GP - Gather Pipe Fifo</Filter>
</ClInclude>
@@ -804,88 +959,79 @@
<ClInclude Include="Src\HW\ProcessorInterface.h">
<Filter>HW %28Flipper/Hollywood%29\PI - Processor Interface</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\AudioInterface.h">
- <Filter>HW %28Flipper/Hollywood%29\AI - Audio Interface</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\StreamADPCM.h">
- <Filter>HW %28Flipper/Hollywood%29\AI - Audio Interface</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\DVDInterface.h">
- <Filter>HW %28Flipper/Hollywood%29\DI - Drive Interface</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\SI_DeviceGCController.h">
+ <ClInclude Include="Src\HW\SI.h">
<Filter>HW %28Flipper/Hollywood%29\SI - Serial Interface</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\SI_DeviceGCSteeringWheel.h">
+ <ClInclude Include="Src\HW\SI_Device.h">
<Filter>HW %28Flipper/Hollywood%29\SI - Serial Interface</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\SI_DeviceDanceMat.h">
+ <ClInclude Include="Src\HW\SI_DeviceAMBaseboard.h">
<Filter>HW %28Flipper/Hollywood%29\SI - Serial Interface</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\SI.h">
+ <ClInclude Include="Src\HW\SI_DeviceDanceMat.h">
<Filter>HW %28Flipper/Hollywood%29\SI - Serial Interface</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\SI_Device.h">
+ <ClInclude Include="Src\HW\SI_DeviceGBA.h">
<Filter>HW %28Flipper/Hollywood%29\SI - Serial Interface</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\SI_DeviceAMBaseboard.h">
+ <ClInclude Include="Src\HW\SI_DeviceGCController.h">
<Filter>HW %28Flipper/Hollywood%29\SI - Serial Interface</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\SI_DeviceGBA.h">
+ <ClInclude Include="Src\HW\SI_DeviceGCSteeringWheel.h">
<Filter>HW %28Flipper/Hollywood%29\SI - Serial Interface</Filter>
</ClInclude>
<ClInclude Include="Src\HW\VideoInterface.h">
<Filter>HW %28Flipper/Hollywood%29\VI - Video Interface</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\Interpreter\Interpreter_Tables.h">
- <Filter>PowerPC\Interpreter</Filter>
+ <ClInclude Include="Src\HW\WiimoteEmu\Attachment\Attachment.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\Interpreter\Interpreter.h">
- <Filter>PowerPC\Interpreter</Filter>
+ <ClInclude Include="Src\HW\WiimoteEmu\Attachment\Classic.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\Interpreter\Interpreter_FPUtils.h">
- <Filter>PowerPC\Interpreter</Filter>
+ <ClInclude Include="Src\HW\WiimoteEmu\Attachment\Drums.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\JitCommon\Jit_Util.h">
- <Filter>PowerPC\JitCommon</Filter>
+ <ClInclude Include="Src\HW\WiimoteEmu\Attachment\Guitar.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\JitCommon\JitAsmCommon.h">
- <Filter>PowerPC\JitCommon</Filter>
+ <ClInclude Include="Src\HW\WiimoteEmu\Attachment\Nunchuk.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\JitCommon\JitBackpatch.h">
- <Filter>PowerPC\JitCommon</Filter>
+ <ClInclude Include="Src\HW\WiimoteEmu\Attachment\Turntable.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\JitCommon\JitBase.h">
- <Filter>PowerPC\JitCommon</Filter>
+ <ClInclude Include="Src\HW\WiimoteEmu\Encryption.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\JitCommon\JitCache.h">
- <Filter>PowerPC\JitCommon</Filter>
+ <ClInclude Include="Src\HW\WiimoteEmu\MatrixMath.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\Jit64\Jit.h">
- <Filter>PowerPC\Jit64</Filter>
+ <ClInclude Include="Src\HW\WiimoteEmu\UDPTLayer.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\Jit64\Jit64_Tables.h">
- <Filter>PowerPC\Jit64</Filter>
+ <ClInclude Include="Src\HW\WiimoteEmu\WiimoteEmu.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\Jit64\JitAsm.h">
- <Filter>PowerPC\Jit64</Filter>
+ <ClInclude Include="Src\HW\WiimoteEmu\WiimoteHid.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\Jit64\JitRegCache.h">
- <Filter>PowerPC\Jit64</Filter>
+ <ClInclude Include="Src\HW\WiimoteReal\WiimoteReal.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Real</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\Jit64IL\JitILAsm.h">
- <Filter>PowerPC\JitIL</Filter>
+ <ClInclude Include="Src\HW\WiimoteReal\WiimoteRealBase.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote\Real</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\Jit64IL\JitIL.h">
- <Filter>PowerPC\JitIL</Filter>
+ <ClInclude Include="Src\HW\WII_IOB.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wii IO Bridge</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\Jit64IL\JitIL_Tables.h">
- <Filter>PowerPC\JitIL</Filter>
+ <ClInclude Include="Src\HW\WII_IPC.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wii IPC</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\HW.h">
+ <ClInclude Include="Src\HW\CPU.h">
<Filter>HW %28Flipper/Hollywood%29</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\CPU.h">
+ <ClInclude Include="Src\HW\HW.h">
<Filter>HW %28Flipper/Hollywood%29</Filter>
</ClInclude>
<ClInclude Include="Src\HW\Memmap.h">
@@ -894,32 +1040,47 @@
<ClInclude Include="Src\HW\SystemTimers.h">
<Filter>HW %28Flipper/Hollywood%29</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\Gekko.h">
- <Filter>PowerPC</Filter>
+ <ClInclude Include="Src\DSP\assemble.h">
+ <Filter>DSPCore</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\LUT_frsqrtex.h">
- <Filter>PowerPC</Filter>
+ <ClInclude Include="Src\DSP\disassemble.h">
+ <Filter>DSPCore</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\SignatureDB.h">
- <Filter>PowerPC</Filter>
+ <ClInclude Include="Src\DSP\DSPAccelerator.h">
+ <Filter>DSPCore</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\PowerPC.h">
- <Filter>PowerPC</Filter>
+ <ClInclude Include="Src\DSP\DSPAnalyzer.h">
+ <Filter>DSPCore</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\PPCAnalyst.h">
- <Filter>PowerPC</Filter>
+ <ClInclude Include="Src\DSP\DSPBreakpoints.h">
+ <Filter>DSPCore</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\PPCCache.h">
- <Filter>PowerPC</Filter>
+ <ClInclude Include="Src\DSP\DSPCodeUtil.h">
+ <Filter>DSPCore</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\PPCSymbolDB.h">
- <Filter>PowerPC</Filter>
+ <ClInclude Include="Src\DSP\DSPCommon.h">
+ <Filter>DSPCore</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\PPCTables.h">
- <Filter>PowerPC</Filter>
+ <ClInclude Include="Src\DSP\DSPCore.h">
+ <Filter>DSPCore</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\Profiler.h">
- <Filter>PowerPC</Filter>
+ <ClInclude Include="Src\DSPEmulator.h">
+ <Filter>DSPCore</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\DSP\DSPHWInterface.h">
+ <Filter>DSPCore</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\DSP\DSPMemoryMap.h">
+ <Filter>DSPCore</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\DSP\DSPStacks.h">
+ <Filter>DSPCore</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\DSP\DSPTables.h">
+ <Filter>DSPCore</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\DSP\LabelMap.h">
+ <Filter>DSPCore</Filter>
</ClInclude>
<ClInclude Include="Src\IPC_HLE\WII_IPC_HLE.h">
<Filter>IPC HLE %28IOS/Starlet%29</Filter>
@@ -931,7 +1092,7 @@
<Filter>IPC HLE %28IOS/Starlet%29</Filter>
</ClInclude>
<ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_DI.h">
- <Filter>IPC HLE %28IOS/Starlet%29\DI - Drive Interface</Filter>
+ <Filter>IPC HLE %28IOS/Starlet%29\DI</Filter>
</ClInclude>
<ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_es.h">
<Filter>IPC HLE %28IOS/Starlet%29\ES</Filter>
@@ -945,22 +1106,31 @@
<ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_usb_kbd.h">
<Filter>IPC HLE %28IOS/Starlet%29\Keyboard</Filter>
</ClInclude>
+ <ClInclude Include="Src\IPC_HLE\fakepoll.h">
+ <Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\IPC_HLE\ICMP.h">
+ <Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
+ </ClInclude>
<ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_net.h">
<Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
</ClInclude>
+ <ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_net_ssl.h">
+ <Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\IPC_HLE\WII_Socket.h">
+ <Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
+ </ClInclude>
<ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_sdio_slot0.h">
<Filter>IPC HLE %28IOS/Starlet%29\SDIO - SD Card</Filter>
</ClInclude>
- <ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_WiiMote.h">
- <Filter>IPC HLE %28IOS/Starlet%29\USB/BT/Wiimote</Filter>
+ <ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_hid.h">
+ <Filter>IPC HLE %28IOS/Starlet%29\USB</Filter>
</ClInclude>
<ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_usb.h">
<Filter>IPC HLE %28IOS/Starlet%29\USB/BT/Wiimote</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\WII_IPC.h">
- <Filter>HW %28Flipper/Hollywood%29\Wii IPC</Filter>
- </ClInclude>
- <ClInclude Include="Src\IPC_HLE\WiiMote_HID_Attr.h">
+ <ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_WiiMote.h">
<Filter>IPC HLE %28IOS/Starlet%29\USB/BT/Wiimote</Filter>
</ClInclude>
<ClInclude Include="Src\IPC_HLE\hci.h">
@@ -969,102 +1139,76 @@
<ClInclude Include="Src\IPC_HLE\l2cap.h">
<Filter>IPC HLE %28IOS/Starlet%29\USB/BT/Wiimote</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\WII_IOB.h">
- <Filter>HW %28Flipper/Hollywood%29\Wii IO Bridge</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\WiimoteEmu\Attachment\Classic.h">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\WiimoteEmu\Attachment\Attachment.h">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\WiimoteEmu\Attachment\Drums.h">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\WiimoteEmu\Attachment\Guitar.h">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\WiimoteEmu\Attachment\Nunchuk.h">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\WiimoteEmu\Attachment\Turntable.h">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment</Filter>
- </ClInclude>
- <ClInclude Include="Src\HW\WiimoteEmu\Encryption.h">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
+ <ClInclude Include="Src\IPC_HLE\WiiMote_HID_Attr.h">
+ <Filter>IPC HLE %28IOS/Starlet%29\USB/BT/Wiimote</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\WiimoteEmu\MatrixMath.h">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
+ <ClInclude Include="Src\HW\Wiimote.h">
+ <Filter>HW %28Flipper/Hollywood%29\Wiimote</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\WiimoteEmu\UDPTLayer.h">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
+ <ClInclude Include="Src\PowerPC\CPUCoreBase.h">
+ <Filter>PowerPC</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\WiimoteEmu\WiimoteEmu.h">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
+ <ClInclude Include="Src\PowerPC\Gekko.h">
+ <Filter>PowerPC</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\WiimoteEmu\WiimoteHid.h">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Emu</Filter>
+ <ClInclude Include="Src\PowerPC\JitInterface.h">
+ <Filter>PowerPC</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\WiimoteReal\WiimoteRealBase.h">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Real</Filter>
+ <ClInclude Include="Src\PowerPC\LUT_frsqrtex.h">
+ <Filter>PowerPC</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\WiimoteReal\WiimoteReal.h">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote\Real</Filter>
+ <ClInclude Include="Src\PowerPC\PowerPC.h">
+ <Filter>PowerPC</Filter>
</ClInclude>
- <ClInclude Include="Src\HW\Wiimote.h">
- <Filter>HW %28Flipper/Hollywood%29\Wiimote</Filter>
+ <ClInclude Include="Src\PowerPC\PPCAnalyst.h">
+ <Filter>PowerPC</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\CPUCoreBase.h">
+ <ClInclude Include="Src\PowerPC\PPCCache.h">
<Filter>PowerPC</Filter>
</ClInclude>
- <ClInclude Include="Src\BootManager.h" />
- <ClInclude Include="Src\FifoPlayer\FifoDataFile.h">
- <Filter>FifoPlayer</Filter>
+ <ClInclude Include="Src\PowerPC\PPCSymbolDB.h">
+ <Filter>PowerPC</Filter>
</ClInclude>
- <ClInclude Include="Src\FifoPlayer\FifoFileStruct.h">
- <Filter>FifoPlayer</Filter>
+ <ClInclude Include="Src\PowerPC\PPCTables.h">
+ <Filter>PowerPC</Filter>
</ClInclude>
- <ClInclude Include="Src\FifoPlayer\FifoPlayer.h">
- <Filter>FifoPlayer</Filter>
+ <ClInclude Include="Src\PowerPC\Profiler.h">
+ <Filter>PowerPC</Filter>
</ClInclude>
- <ClInclude Include="Src\FifoPlayer\FifoRecorder.h">
- <Filter>FifoPlayer</Filter>
+ <ClInclude Include="Src\PowerPC\SignatureDB.h">
+ <Filter>PowerPC</Filter>
</ClInclude>
- <ClInclude Include="Src\FifoPlayer\FifoPlaybackAnalyzer.h">
- <Filter>FifoPlayer</Filter>
+ <ClInclude Include="Src\PowerPC\JitCommon\Jit_Util.h">
+ <Filter>PowerPC\JitCommon</Filter>
</ClInclude>
- <ClInclude Include="Src\FifoPlayer\FifoRecordAnalyzer.h">
- <Filter>FifoPlayer</Filter>
+ <ClInclude Include="Src\PowerPC\JitCommon\JitAsmCommon.h">
+ <Filter>PowerPC\JitCommon</Filter>
</ClInclude>
- <ClInclude Include="Src\FifoPlayer\FifoAnalyzer.h">
- <Filter>FifoPlayer</Filter>
+ <ClInclude Include="Src\PowerPC\JitCommon\JitBackpatch.h">
+ <Filter>PowerPC\JitCommon</Filter>
</ClInclude>
- <ClInclude Include="Src\Movie.h" />
- <ClInclude Include="Src\HW\GCMemcard.h">
- <Filter>HW %28Flipper/Hollywood%29\GCMemcard</Filter>
+ <ClInclude Include="Src\PowerPC\JitCommon\JitBase.h">
+ <Filter>PowerPC\JitCommon</Filter>
</ClInclude>
- <ClInclude Include="Src\PowerPC\JitInterface.h">
- <Filter>PowerPC</Filter>
+ <ClInclude Include="Src\PowerPC\JitCommon\JitCache.h">
+ <Filter>PowerPC\JitCommon</Filter>
</ClInclude>
- <ClInclude Include="Src\NetPlayClient.h" />
- <ClInclude Include="Src\NetPlayProto.h" />
- <ClInclude Include="Src\NetPlayServer.h" />
- <ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_net_ssl.h">
- <Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
+ <ClInclude Include="Src\PowerPC\Jit64IL\JitIL.h">
+ <Filter>PowerPC\JitIL</Filter>
</ClInclude>
- <ClInclude Include="Src\IPC_HLE\fakepoll.h">
- <Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
+ <ClInclude Include="Src\PowerPC\Jit64IL\JitIL_Tables.h">
+ <Filter>PowerPC\JitIL</Filter>
</ClInclude>
- <ClInclude Include="Src\IPC_HLE\ICMP.h">
- <Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
+ <ClInclude Include="Src\PowerPC\Jit64IL\JitILAsm.h">
+ <Filter>PowerPC\JitIL</Filter>
</ClInclude>
- <ClInclude Include="Src\IPC_HLE\WII_IPC_HLE_Device_hid.h">
- <Filter>IPC HLE %28IOS/Starlet%29\USB</Filter>
+ <ClInclude Include="Src\PowerPC\Jit64\JitRegCache.h">
+ <Filter>PowerPC\Jit64</Filter>
</ClInclude>
- <ClInclude Include="Src\ec_wii.h" />
- <ClInclude Include="Src\IPC_HLE\WII_Socket.h">
- <Filter>IPC HLE %28IOS/Starlet%29\Net</Filter>
+ <ClInclude Include="Src\PowerPC\Jit64\JitAsm.h">
+ <Filter>PowerPC\Jit64</Filter>
</ClInclude>
+ <ClInclude Include="Src\stdafx.h" />
<ClInclude Include="Src\PowerPC\JitILCommon\JitILBase.h">
<Filter>PowerPC\JitILCommon</Filter>
</ClInclude>
@@ -1073,146 +1217,6 @@
</ClInclude>
</ItemGroup>
<ItemGroup>
- <None Include="CMakeLists.txt" />
- <None Include="Src\HW\DSPHLE\UCodes\UCode_Zelda_Obsolete.txt">
- <Filter>HW %28Flipper/Hollywood%29\DSP Interface + HLE\HLE\uCodes</Filter>
- </None>
- </ItemGroup>
- <ItemGroup>
- <Filter Include="ActionReplay">
- <UniqueIdentifier>{c871a264-a881-44f2-88b1-406b282cd9fe}</UniqueIdentifier>
- </Filter>
- <Filter Include="Boot">
- <UniqueIdentifier>{0fe14029-e862-44b4-9358-d1cd44e42454}</UniqueIdentifier>
- </Filter>
- <Filter Include="Debugger">
- <UniqueIdentifier>{fba97574-484f-4330-9674-69c0aeffd22f}</UniqueIdentifier>
- </Filter>
- <Filter Include="GeckoCode">
- <UniqueIdentifier>{684ba5fe-ccca-4d1b-94fa-3a2119353257}</UniqueIdentifier>
- </Filter>
- <Filter Include="HLE">
- <UniqueIdentifier>{67aea903-7a27-4b1e-a4af-60f58818ba58}</UniqueIdentifier>
- </Filter>
- <Filter Include="DSPCore">
- <UniqueIdentifier>{81d2e0cb-4bea-47ed-9bc3-fdc461ea4148}</UniqueIdentifier>
- </Filter>
- <Filter Include="DSPCore\JIT">
- <UniqueIdentifier>{6aa99e27-bf15-43dc-8f14-c80383037a99}</UniqueIdentifier>
- </Filter>
- <Filter Include="DSPCore\Interpreter">
- <UniqueIdentifier>{45a9bf0a-e022-4ace-a99f-df675a0b251d}</UniqueIdentifier>
- </Filter>
- <Filter Include="PowerPC">
- <UniqueIdentifier>{1905e5c1-a593-454d-b0a0-68bf6cdbec12}</UniqueIdentifier>
- </Filter>
- <Filter Include="PowerPC\Interpreter">
- <UniqueIdentifier>{57e4ab87-a563-40c5-9a3d-6b5443750a96}</UniqueIdentifier>
- </Filter>
- <Filter Include="PowerPC\JitCommon">
- <UniqueIdentifier>{1f8821ba-2dde-4b1a-9125-5f74006b1053}</UniqueIdentifier>
- </Filter>
- <Filter Include="PowerPC\Jit64">
- <UniqueIdentifier>{02777c32-ac14-4a06-9006-8ffc370bc231}</UniqueIdentifier>
- </Filter>
- <Filter Include="PowerPC\JitIL">
- <UniqueIdentifier>{0201c158-1162-48d8-b6d4-239d8202d200}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29">
- <UniqueIdentifier>{21df1345-8145-4179-8cf5-a26b6887de5d}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\AI - Audio Interface">
- <UniqueIdentifier>{b34c5e25-c21d-401b-9b21-990f1a7908e1}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\DI - Drive Interface">
- <UniqueIdentifier>{b948ee86-1471-42b2-ab6f-ca0ce1c9e4d6}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\DSP Interface + HLE">
- <UniqueIdentifier>{a25bdd3e-b989-4c5b-b56c-2f37ab4972c7}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\DSP Interface + HLE\HLE">
- <UniqueIdentifier>{1966cfa5-57f3-4fdb-8d32-d34f033903af}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\DSP Interface + HLE\HLE\uCodes">
- <UniqueIdentifier>{43f6de5c-946b-426d-9735-b774c3365ae4}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\DSP Interface + HLE\LLE">
- <UniqueIdentifier>{9f00a3b5-c0f3-4a3f-a756-25435ea996e1}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\EXI - Expansion Interface">
- <UniqueIdentifier>{decdd68e-4e41-4589-bc13-5318705e2f94}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\GCPad">
- <UniqueIdentifier>{e88d682e-a0c2-438d-9283-ab1ec250d3ae}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\GP - Gather Pipe Fifo">
- <UniqueIdentifier>{36465b2e-d5c4-402c-abff-ed04c84a1566}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\PI - Processor Interface">
- <UniqueIdentifier>{b7771463-73bf-457b-891f-9dcaa04076ea}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\SI - Serial Interface">
- <UniqueIdentifier>{e34c8a58-7799-4afe-b0f9-1c5ff759639b}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\MI - Memory Interface">
- <UniqueIdentifier>{2ee04eb4-0d32-4e15-bd0e-811d408de20c}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\VI - Video Interface">
- <UniqueIdentifier>{808c3dc1-5fec-4565-8c2e-fa7e1232a31c}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\Wii IPC">
- <UniqueIdentifier>{ef5b78c3-47ec-4bd6-9809-f9e7da6e0861}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\Wii IO Bridge">
- <UniqueIdentifier>{49635c9b-0874-4e71-9165-edaae632ab1c}</UniqueIdentifier>
- </Filter>
- <Filter Include="IPC HLE %28IOS/Starlet%29">
- <UniqueIdentifier>{e2711d6f-b5f5-4c74-97c2-66f9620a2d86}</UniqueIdentifier>
- </Filter>
- <Filter Include="IPC HLE %28IOS/Starlet%29\DI - Drive Interface">
- <UniqueIdentifier>{1be114bb-c572-4cdb-9650-4d24d282d4bb}</UniqueIdentifier>
- </Filter>
- <Filter Include="IPC HLE %28IOS/Starlet%29\ES">
- <UniqueIdentifier>{ff0e9f64-a636-4998-8cae-fe122c8da934}</UniqueIdentifier>
- </Filter>
- <Filter Include="IPC HLE %28IOS/Starlet%29\FS">
- <UniqueIdentifier>{30eda257-4d78-4db7-873e-c408db52d772}</UniqueIdentifier>
- </Filter>
- <Filter Include="IPC HLE %28IOS/Starlet%29\Keyboard">
- <UniqueIdentifier>{ed6f41bf-4f52-402b-ab1d-d5bf9e71c538}</UniqueIdentifier>
- </Filter>
- <Filter Include="IPC HLE %28IOS/Starlet%29\Net">
- <UniqueIdentifier>{362606ce-fa05-4829-831f-bf9e0acf9909}</UniqueIdentifier>
- </Filter>
- <Filter Include="IPC HLE %28IOS/Starlet%29\SDIO - SD Card">
- <UniqueIdentifier>{ebe09d6a-7cd0-4909-83e9-abafd3e8571f}</UniqueIdentifier>
- </Filter>
- <Filter Include="IPC HLE %28IOS/Starlet%29\USB/BT/Wiimote">
- <UniqueIdentifier>{e7c723c0-693a-4cf8-973a-b349537adcc7}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\Wiimote">
- <UniqueIdentifier>{0ab9fa49-fd0b-4eba-aa9f-2b774baa8e63}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\Wiimote\Emu">
- <UniqueIdentifier>{c53079fe-d19c-4492-b37e-bf8bd4f55fa8}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\Wiimote\Emu\Attachment">
- <UniqueIdentifier>{565ae8e7-ae6e-42f9-ae13-90c1aa017856}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\Wiimote\Real">
- <UniqueIdentifier>{1c21a3e1-b791-4a23-b0d5-ed2b2c34007f}</UniqueIdentifier>
- </Filter>
- <Filter Include="FifoPlayer">
- <UniqueIdentifier>{ca7d56f7-4e84-4d15-9aea-7ae6fa7d6586}</UniqueIdentifier>
- </Filter>
- <Filter Include="HW %28Flipper/Hollywood%29\GCMemcard">
- <UniqueIdentifier>{3e9e6e83-c1bf-45f9-aeff-231f98f60d29}</UniqueIdentifier>
- </Filter>
- <Filter Include="IPC HLE %28IOS/Starlet%29\USB">
- <UniqueIdentifier>{321a9af5-9b3d-4620-888c-fe9d02e9559e}</UniqueIdentifier>
- </Filter>
- <Filter Include="PowerPC\JitILCommon">
- <UniqueIdentifier>{658f0a72-5b08-4241-9c01-31cdc4ab7057}</UniqueIdentifier>
- </Filter>
+ <Text Include="CMakeLists.txt" />
</ItemGroup>
</Project> \ No newline at end of file
diff --git a/Source/Core/Core/Src/ActionReplay.cpp b/Source/Core/Core/Src/ActionReplay.cpp
index 771ef5700b..e07f297e09 100644
--- a/Source/Core/Core/Src/ActionReplay.cpp
+++ b/Source/Core/Core/Src/ActionReplay.cpp
@@ -38,13 +38,13 @@ enum
{
// Zero Code Types
ZCODE_END = 0x00,
- ZCODE_NORM = 0x02,
- ZCODE_ROW = 0x03,
+ ZCODE_NORM = 0x02,
+ ZCODE_ROW = 0x03,
ZCODE_04 = 0x04,
// Conditional Codes
CONDTIONAL_EQUAL = 0x01,
- CONDTIONAL_NOT_EQUAL = 0x02,
+ CONDTIONAL_NOT_EQUAL = 0x02,
CONDTIONAL_LESS_THAN_SIGNED = 0x03,
CONDTIONAL_GREATER_THAN_SIGNED = 0x04,
CONDTIONAL_LESS_THAN_UNSIGNED = 0x05,
@@ -59,14 +59,14 @@ enum
// Data Types
DATATYPE_8BIT = 0x00,
- DATATYPE_16BIT = 0x01,
- DATATYPE_32BIT = 0x02,
+ DATATYPE_16BIT = 0x01,
+ DATATYPE_32BIT = 0x02,
DATATYPE_32BIT_FLOAT = 0x03,
// Normal Code 0 Subtypes
SUB_RAM_WRITE = 0x00,
- SUB_WRITE_POINTER = 0x01,
- SUB_ADD_CODE = 0x02,
+ SUB_WRITE_POINTER = 0x01,
+ SUB_ADD_CODE = 0x02,
SUB_MASTER_CODE = 0x03,
};
@@ -114,8 +114,8 @@ bool CompareValues(const u32 val1, const u32 val2, const int type);
void LoadCodes(IniFile &globalIni, IniFile &localIni, bool forceLoad)
{
// Parses the Action Replay section of a game ini file.
- if (!SConfig::GetInstance().m_LocalCoreStartupParameter.bEnableCheats
- && !forceLoad)
+ if (!SConfig::GetInstance().m_LocalCoreStartupParameter.bEnableCheats
+ && !forceLoad)
return;
arCodes.clear();
@@ -123,9 +123,8 @@ void LoadCodes(IniFile &globalIni, IniFile &localIni, bool forceLoad)
std::vector<std::string> enabledLines;
std::set<std::string> enabledNames;
localIni.GetLines("ActionReplay_Enabled", enabledLines);
- for (auto iter = enabledLines.begin(); iter != enabledLines.end(); ++iter)
+ for (auto& line : enabledLines)
{
- const std::string& line = *iter;
if (line.size() != 0 && line[0] == '$')
{
std::string name = line.substr(1, line.size() - 1);
@@ -139,7 +138,7 @@ void LoadCodes(IniFile &globalIni, IniFile &localIni, bool forceLoad)
std::vector<std::string> lines;
std::vector<std::string> encryptedLines;
ARCode currentCode;
-
+
inis[i]->GetLines("ActionReplay", lines);
std::vector<std::string>::const_iterator
@@ -148,7 +147,7 @@ void LoadCodes(IniFile &globalIni, IniFile &localIni, bool forceLoad)
for (; it != lines_end; ++it)
{
const std::string line = *it;
-
+
if (line.empty())
continue;
@@ -197,7 +196,7 @@ void LoadCodes(IniFile &globalIni, IniFile &localIni, bool forceLoad)
else
{
SplitString(line, '-', pieces);
- if (pieces.size() == 3 && pieces[0].size() == 4 && pieces[1].size() == 4 && pieces[2].size() == 5)
+ if (pieces.size() == 3 && pieces[0].size() == 4 && pieces[1].size() == 4 && pieces[2].size() == 5)
{
// Encrypted AR code
// Decryption is done in "blocks", so we must push blocks into a vector,
@@ -232,7 +231,7 @@ void LoadCodes(std::vector<ARCode> &_arCodes, IniFile &globalIni, IniFile& local
void LogInfo(const char *format, ...)
{
- if (!b_RanOnce)
+ if (!b_RanOnce)
{
if (LogManager::GetMaxLevel() >= LogTypes::LINFO || logSelf)
{
@@ -258,11 +257,11 @@ void RunAllActive()
{
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bEnableCheats)
{
- for (std::vector<ARCode>::iterator i = activeCodes.begin(); i != activeCodes.end(); ++i)
+ for (auto& activeCode : activeCodes)
{
- if (i->active)
+ if (activeCode.active)
{
- i->active = RunCode(*i);
+ activeCode.active = RunCode(activeCode);
LogInfo("\n");
}
}
@@ -320,7 +319,7 @@ bool RunCode(const ARCode &arcode)
continue;
}
-
+
LogInfo("--- Running Code: %08x %08x ---", addr.address, data);
//LogInfo("Command: %08x", cmd);
@@ -391,7 +390,7 @@ bool RunCode(const ARCode &arcode)
doMemoryCopy = true;
val_last = data;
}
- else
+ else
{
LogInfo("ZCode: Fill And Slide");
doFillNSlide = true;
@@ -399,9 +398,9 @@ bool RunCode(const ARCode &arcode)
}
break;
- default:
+ default:
LogInfo("ZCode: Unknown");
- PanicAlertT("Zero code unknown to dolphin: %08x", zcode);
+ PanicAlertT("Zero code unknown to dolphin: %08x", zcode);
return false;
break;
}
@@ -420,7 +419,7 @@ bool RunCode(const ARCode &arcode)
if (false == NormalCode(addr, data))
return false;
break;
-
+
default:
LogInfo("This Normal Code is a Conditional Code");
if (false == ConditionalCode(addr, data, &skip_count))
@@ -467,10 +466,10 @@ void UpdateActiveList()
SConfig::GetInstance().m_LocalCoreStartupParameter.bEnableCheats = false;
b_RanOnce = false;
activeCodes.clear();
- for (size_t i = 0; i < arCodes.size(); i++)
+ for (auto& arCode : arCodes)
{
- if (arCodes[i].active)
- activeCodes.push_back(arCodes[i]);
+ if (arCode.active)
+ activeCodes.push_back(arCode);
}
SConfig::GetInstance().m_LocalCoreStartupParameter.bEnableCheats = old_value;
}
@@ -688,7 +687,7 @@ bool ZeroCode_FillAndSlide(const u32 val_last, const ARAddr addr, const u32 data
const s16 addr_incr = (s16)(data & 0xFFFF);
const s8 val_incr = (s8)(data >> 24);
const u8 write_num = (data & 0xFF0000) >> 16;
-
+
u32 val = addr;
u32 curr_addr = new_addr;
@@ -703,7 +702,7 @@ bool ZeroCode_FillAndSlide(const u32 val_last, const ARAddr addr, const u32 data
case DATATYPE_8BIT:
LogInfo("8-bit Write");
LogInfo("--------");
- for (int i = 0; i < write_num; ++i)
+ for (int i = 0; i < write_num; ++i)
{
Memory::Write_U8(val & 0xFF, curr_addr);
curr_addr += addr_incr;
@@ -767,7 +766,7 @@ bool ZeroCode_MemoryCopy(const u32 val_last, const ARAddr addr, const u32 data)
LogInfo("Size: %08x", num_bytes);
if ((data & ~0x7FFF) == 0x0000)
- {
+ {
if ((data >> 24) != 0x0)
{ // Memory Copy With Pointers Support
LogInfo("Memory Copy With Pointers Support");
diff --git a/Source/Core/Core/Src/ArmMemTools.cpp b/Source/Core/Core/Src/ArmMemTools.cpp
index d2c003060f..262c59fc53 100644
--- a/Source/Core/Core/Src/ArmMemTools.cpp
+++ b/Source/Core/Core/Src/ArmMemTools.cpp
@@ -66,7 +66,7 @@ void sigsegv_handler(int signal, siginfo_t *info, void *raw_context)
void *fault_memory_ptr = (void*)ctx->arm_r10;
u8 *fault_instruction_ptr = (u8 *)ctx->arm_pc;
-
+
if (!JitInterface::IsInCodeSpace(fault_instruction_ptr)) {
// Let's not prevent debugging.
return;
diff --git a/Source/Core/Core/Src/Boot/Boot.cpp b/Source/Core/Core/Src/Boot/Boot.cpp
index dc4daec2a9..7691421623 100644
--- a/Source/Core/Core/Src/Boot/Boot.cpp
+++ b/Source/Core/Core/Src/Boot/Boot.cpp
@@ -41,11 +41,11 @@ void CBoot::Load_FST(bool _bIsWii)
return;
// copy first 20 bytes of disc to start of Mem 1
- VolumeHandler::ReadToPtr(Memory::GetPointer(0x80000000), 0, 0x20);
+ VolumeHandler::ReadToPtr(Memory::GetPointer(0x80000000), 0, 0x20);
// copy of game id
Memory::Write_U32(Memory::Read_U32(0x80000000), 0x80003180);
-
+
u32 shift = 0;
if (_bIsWii)
shift = 2;
@@ -137,7 +137,7 @@ bool CBoot::LoadMapFromFilename()
return false;
}
-// If ipl.bin is not found, this function does *some* of what BS1 does:
+// If ipl.bin is not found, this function does *some* of what BS1 does:
// loading IPL(BS2) and jumping to it.
// It does not initialize the hardware or anything else like BS1 does.
bool CBoot::Load_BS2(const std::string& _rBootROMFilename)
@@ -151,7 +151,7 @@ bool CBoot::Load_BS2(const std::string& _rBootROMFilename)
// Load the whole ROM dump
std::string data;
- if (!File::ReadFileToString(false, _rBootROMFilename.c_str(), data))
+ if (!File::ReadFileToString(_rBootROMFilename.c_str(), data))
return false;
u32 ipl_hash = HashAdler32((const u8*)data.data(), data.size());
@@ -190,7 +190,7 @@ bool CBoot::Load_BS2(const std::string& _rBootROMFilename)
// Third boot step after BootManager and Core. See Call schedule in BootManager.cpp
bool CBoot::BootUp()
{
- SCoreStartupParameter& _StartupPara =
+ SCoreStartupParameter& _StartupPara =
SConfig::GetInstance().m_LocalCoreStartupParameter;
NOTICE_LOG(BOOT, "Booting %s", _StartupPara.m_strFilename.c_str());
@@ -295,7 +295,7 @@ bool CBoot::BootUp()
NOTICE_LOG(BOOT, "Setting DVDRoot %s", _StartupPara.m_strDVDRoot.c_str());
VolumeHandler::SetVolumeDirectory(_StartupPara.m_strDVDRoot, dolWii, _StartupPara.m_strApploader, _StartupPara.m_strFilename);
BS2Success = EmulatedBS2(dolWii);
- }
+ }
DVDInterface::SetDiscInside(VolumeHandler::IsValid());
@@ -326,7 +326,7 @@ bool CBoot::BootUp()
if (elfWii != _StartupPara.bWii)
{
PanicAlertT("Warning - starting ELF in wrong console mode!");
- }
+ }
bool BS2Success = false;
@@ -347,7 +347,7 @@ bool CBoot::BootUp()
// TODO: auto-convert elf to dol, so we can load them :)
VolumeHandler::SetVolumeDirectory(_StartupPara.m_strDVDRoot, elfWii);
BS2Success = EmulatedBS2(elfWii);
- }
+ }
else if (!_StartupPara.m_strDefaultGCM.empty())
{
NOTICE_LOG(BOOT, "Loading default ISO %s", _StartupPara.m_strDefaultGCM.c_str());
@@ -364,7 +364,7 @@ bool CBoot::BootUp()
else // Poor man's bootup
{
Load_FST(elfWii);
- Boot_ELF(_StartupPara.m_strFilename.c_str());
+ Boot_ELF(_StartupPara.m_strFilename.c_str());
}
UpdateDebugger_MapLoaded();
Dolphin_Debugger::AddAutoBreakpoints();
diff --git a/Source/Core/Core/Src/Boot/Boot_DOL.cpp b/Source/Core/Core/Src/Boot/Boot_DOL.cpp
index b1476f82d0..58316576a5 100644
--- a/Source/Core/Core/Src/Boot/Boot_DOL.cpp
+++ b/Source/Core/Core/Src/Boot/Boot_DOL.cpp
@@ -20,7 +20,7 @@ CDolLoader::CDolLoader(const char* _szFilename)
u8* const tmpBuffer = new u8[(size_t)size];
{
- File::IOFile pStream(_szFilename, "rb");
+ File::IOFile pStream(_szFilename, "rb");
pStream.ReadBytes(tmpBuffer, (size_t)size);
}
@@ -30,33 +30,33 @@ CDolLoader::CDolLoader(const char* _szFilename)
CDolLoader::~CDolLoader()
{
- for (int i = 0; i < DOL_NUM_TEXT; i++)
+ for (auto& sect : text_section)
{
- delete [] text_section[i];
- text_section[i] = NULL;
+ delete [] sect;
+ sect = NULL;
}
- for (int i = 0; i < DOL_NUM_DATA; i++)
+ for (auto& sect : data_section)
{
- delete [] data_section[i];
- data_section[i] = NULL;
+ delete [] sect;
+ sect = NULL;
}
}
void CDolLoader::Initialize(u8* _pBuffer, u32 _Size)
-{
+{
memcpy(&m_dolheader, _pBuffer, sizeof(SDolHeader));
// swap memory
u32* p = (u32*)&m_dolheader;
- for (size_t i = 0; i < (sizeof(SDolHeader)/sizeof(u32)); i++)
+ for (size_t i = 0; i < (sizeof(SDolHeader)/sizeof(u32)); i++)
p[i] = Common::swap32(p[i]);
- for (int i = 0; i < DOL_NUM_TEXT; i++)
- text_section[i] = NULL;
- for (int i = 0; i < DOL_NUM_DATA; i++)
- data_section[i] = NULL;
-
+ for (auto& sect : text_section)
+ sect = NULL;
+ for (auto& sect : data_section)
+ sect = NULL;
+
u32 HID4_pattern = 0x7c13fba6;
u32 HID4_mask = 0xfc1fffff;
diff --git a/Source/Core/Core/Src/Boot/Boot_ELF.cpp b/Source/Core/Core/Src/Boot/Boot_ELF.cpp
index 99b0c3c0a3..725332685b 100644
--- a/Source/Core/Core/Src/Boot/Boot_ELF.cpp
+++ b/Source/Core/Core/Src/Boot/Boot_ELF.cpp
@@ -21,10 +21,10 @@ bool CBoot::IsElfWii(const char *filename)
File::IOFile f(filename, "rb");
f.ReadBytes(mem, (size_t)filesize);
}
-
+
// Use the same method as the DOL loader uses: search for mfspr from HID4,
// which should only be used in Wii ELFs.
- //
+ //
// Likely to have some false positives/negatives, patches implementing a
// better heuristic are welcome.
@@ -63,7 +63,7 @@ bool CBoot::Boot_ELF(const char *filename)
File::IOFile f(filename, "rb");
f.ReadBytes(mem, (size_t)filesize);
}
-
+
ElfReader reader(mem);
reader.LoadInto(0x80000000);
if (!reader.LoadSymbols())
@@ -75,7 +75,7 @@ bool CBoot::Boot_ELF(const char *filename)
{
HLE::PatchFunctions();
}
-
+
PC = reader.GetEntryPoint();
delete[] mem;
diff --git a/Source/Core/Core/Src/Boot/Boot_WiiWAD.cpp b/Source/Core/Core/Src/Boot/Boot_WiiWAD.cpp
index 42d1b72708..ac950d5038 100644
--- a/Source/Core/Core/Src/Boot/Boot_WiiWAD.cpp
+++ b/Source/Core/Core/Src/Boot/Boot_WiiWAD.cpp
@@ -45,7 +45,7 @@ typedef struct {
bool CBoot::Boot_WiiWAD(const char* _pFilename)
{
-
+
std::string state_filename(Common::GetTitleDataPath(TITLEID_SYSMENU) + WII_STATE);
if (File::Exists(state_filename))
@@ -53,7 +53,7 @@ bool CBoot::Boot_WiiWAD(const char* _pFilename)
File::IOFile state_file(state_filename, "r+b");
StateFlags state;
state_file.ReadBytes(&state, sizeof(StateFlags));
-
+
state.type = 0x03; // TYPE_RETURN
state.checksum = state_checksum((u32*)&state.flags, sizeof(StateFlags)-4);
@@ -79,7 +79,7 @@ bool CBoot::Boot_WiiWAD(const char* _pFilename)
u64 titleID = ContentLoader.GetTitleID();
// create data directory
File::CreateFullPath(Common::GetTitleDataPath(titleID));
-
+
if (titleID == TITLEID_SYSMENU)
HLE_IPC_CreateVirtualFATFilesystem();
// setup wii mem
diff --git a/Source/Core/Core/Src/Boot/ElfReader.cpp b/Source/Core/Core/Src/Boot/ElfReader.cpp
index 5aa0e2b78d..bfbeb91a3b 100644
--- a/Source/Core/Core/Src/Boot/ElfReader.cpp
+++ b/Source/Core/Core/Src/Boot/ElfReader.cpp
@@ -64,7 +64,7 @@ ElfReader::ElfReader(void *ptr)
byteswapHeader(*header);
segments = (Elf32_Phdr *)(base + header->e_phoff);
- sections = (Elf32_Shdr *)(base + header->e_shoff);
+ sections = (Elf32_Shdr *)(base + header->e_shoff);
for (int i = 0; i < GetNumSegments(); i++)
{
@@ -98,7 +98,7 @@ bool ElfReader::LoadInto(u32 vaddr)
// sectionOffsets = new u32[GetNumSections()];
// sectionAddrs = new u32[GetNumSections()];
-
+
// Should we relocate?
bRelocate = (header->e_type != ET_EXEC);
@@ -123,7 +123,7 @@ bool ElfReader::LoadInto(u32 vaddr)
Elf32_Phdr *p = segments + i;
INFO_LOG(MASTER_LOG, "Type: %i Vaddr: %08x Filesz: %i Memsz: %i ", p->p_type, p->p_vaddr, p->p_filesz, p->p_memsz);
-
+
if (p->p_type == PT_LOAD)
{
segmentVAddr[i] = baseAddress + p->p_vaddr;
@@ -154,7 +154,7 @@ bool ElfReader::LoadInto(u32 vaddr)
{
Elf32_Shdr *s = &sections[i];
const char *name = GetSectionName(i);
-
+
u32 writeAddr = s->sh_addr + baseAddress;
sectionOffsets[i] = writeAddr - vaddr;
sectionAddrs[i] = writeAddr;
@@ -162,7 +162,7 @@ bool ElfReader::LoadInto(u32 vaddr)
if (s->sh_flags & SHF_ALLOC)
{
LOG(MASTER_LOG,"Data Section found: %s Sitting at %08x, size %08x", name, writeAddr, s->sh_size);
-
+
}
else
{
diff --git a/Source/Core/Core/Src/Boot/ElfReader.h b/Source/Core/Core/Src/Boot/ElfReader.h
index 47a4ef7103..c5befc7226 100644
--- a/Source/Core/Core/Src/Boot/ElfReader.h
+++ b/Source/Core/Core/Src/Boot/ElfReader.h
@@ -26,15 +26,15 @@ private:
Elf32_Ehdr *header;
Elf32_Phdr *segments;
Elf32_Shdr *sections;
-
+
u32 *sectionAddrs;
bool bRelocate;
u32 entryPoint;
-public:
+public:
ElfReader(void *ptr);
~ElfReader() { }
-
+
u32 Read32(int off) const { return base32[off>>2]; }
// Quick accessors
diff --git a/Source/Core/Core/Src/Boot/ElfTypes.h b/Source/Core/Core/Src/Boot/ElfTypes.h
index c696b24a07..543c0de10c 100644
--- a/Source/Core/Core/Src/Boot/ElfTypes.h
+++ b/Source/Core/Core/Src/Boot/ElfTypes.h
@@ -107,12 +107,12 @@ enum ElfSectionFlags
SHF_MASKPROC =0xF0000000,
};
-// Symbol binding
-#define STB_LOCAL 0
-#define STB_GLOBAL 1
-#define STB_WEAK 2
-#define STB_LOPROC 13
-#define STB_HIPROC 15
+// Symbol binding
+#define STB_LOCAL 0
+#define STB_GLOBAL 1
+#define STB_WEAK 2
+#define STB_LOPROC 13
+#define STB_HIPROC 15
// Symbol types
#define STT_NOTYPE 0
@@ -191,7 +191,7 @@ typedef unsigned int Elf32_Word;
// ELF file header
-struct Elf32_Ehdr
+struct Elf32_Ehdr
{
unsigned char e_ident[EI_NIDENT];
Elf32_Half e_type;
@@ -210,7 +210,7 @@ struct Elf32_Ehdr
};
// Section header
-struct Elf32_Shdr
+struct Elf32_Shdr
{
Elf32_Word sh_name;
Elf32_Word sh_type;
@@ -225,7 +225,7 @@ struct Elf32_Shdr
};
// Segment header
-struct Elf32_Phdr
+struct Elf32_Phdr
{
Elf32_Word p_type;
Elf32_Off p_offset;
@@ -238,7 +238,7 @@ struct Elf32_Phdr
};
// Symbol table entry
-struct Elf32_Sym
+struct Elf32_Sym
{
Elf32_Word st_name;
Elf32_Addr st_value;
@@ -253,13 +253,13 @@ struct Elf32_Sym
#define ELF32_ST_INFO(b,t) (((b)<<4)+((t)&0xf))
// Relocation entries
-struct Elf32_Rel
+struct Elf32_Rel
{
Elf32_Addr r_offset;
Elf32_Word r_info;
};
-struct Elf32_Rela
+struct Elf32_Rela
{
Elf32_Addr r_offset;
Elf32_Word r_info;
@@ -271,13 +271,13 @@ struct Elf32_Rela
#define ELF32_R_INFO(s,t) (((s)<<8 )+(unsigned char)(t))
-struct Elf32_Dyn
+struct Elf32_Dyn
{
Elf32_Sword d_tag;
- union
+ union
{
Elf32_Word d_val;
- Elf32_Addr d_ptr;
+ Elf32_Addr d_ptr;
} d_un;
};
diff --git a/Source/Core/Core/Src/BootManager.cpp b/Source/Core/Core/Src/BootManager.cpp
index 99491ae2f4..6b9a42fa9c 100644
--- a/Source/Core/Core/Src/BootManager.cpp
+++ b/Source/Core/Core/Src/BootManager.cpp
@@ -9,7 +9,7 @@
// Call sequence: This file has one of the first function called when a game is booted,
// the boot sequence in the code is:
-
+
// DolphinWX: FrameTools.cpp StartGame
// Core BootManager.cpp BootCore
// Core.cpp Init Thread creation
@@ -141,7 +141,7 @@ bool BootCore(const std::string& _rFilename)
// Flush possible changes to SYSCONF to file
SConfig::GetInstance().m_SYSCONF->Save();
}
- }
+ }
// movie settings
if (Movie::IsPlayingInput() && Movie::IsConfigSaved())
diff --git a/Source/Core/Core/Src/ConfigManager.cpp b/Source/Core/Core/Src/ConfigManager.cpp
index d87fdcc0b5..f28dfa5d21 100644
--- a/Source/Core/Core/Src/ConfigManager.cpp
+++ b/Source/Core/Core/Src/ConfigManager.cpp
@@ -171,8 +171,8 @@ void SConfig::SaveSettings()
#ifdef USE_GDBSTUB
ini.Set("General", "GDBPort", m_LocalCoreStartupParameter.iGDBPort);
#endif
-
- // Interface
+
+ // Interface
ini.Set("Interface", "ConfirmStop", m_LocalCoreStartupParameter.bConfirmStop);
ini.Set("Interface", "UsePanicHandlers", m_LocalCoreStartupParameter.bUsePanicHandlers);
ini.Set("Interface", "OnScreenDisplayMessages", m_LocalCoreStartupParameter.bOnScreenDisplayMessages);
diff --git a/Source/Core/Core/Src/Core.cpp b/Source/Core/Core/Src/Core.cpp
index 09375b9736..ea54163c30 100644
--- a/Source/Core/Core/Src/Core.cpp
+++ b/Source/Core/Core/Src/Core.cpp
@@ -389,7 +389,7 @@ void EmuThread()
OSD::AddMessage("Dolphin " + g_video_backend->GetName() + " Video Backend.", 5000);
if (!DSP::GetDSPEmulator()->Initialize(g_pWindowHandle,
- _CoreParameter.bWii, _CoreParameter.bDSPThread))
+ _CoreParameter.bWii, _CoreParameter.bDSPThread))
{
HW::Shutdown();
g_video_backend->Shutdown();
diff --git a/Source/Core/Core/Src/Core.h b/Source/Core/Core/Src/Core.h
index 8de14caa7f..2b966ea1db 100644
--- a/Source/Core/Core/Src/Core.h
+++ b/Source/Core/Core/Src/Core.h
@@ -66,7 +66,7 @@ inline void DisplayMessage(const std::string &message, int time_in_ms)
{
DisplayMessage(message.c_str(), time_in_ms);
}
-
+
std::string GetStateFileName();
void SetStateFileName(std::string val);
diff --git a/Source/Core/Core/Src/CoreParameter.cpp b/Source/Core/Core/Src/CoreParameter.cpp
index 4cba012ea4..e7843fe997 100644
--- a/Source/Core/Core/Src/CoreParameter.cpp
+++ b/Source/Core/Core/Src/CoreParameter.cpp
@@ -18,6 +18,8 @@
#include "Core.h" // for bWii
#include "FifoPlayer/FifoDataFile.h"
+#include <cinttypes>
+
SCoreStartupParameter::SCoreStartupParameter()
: hInstance(0),
bEnableDebugging(false), bAutomaticStart(false), bBootToPause(false),
@@ -278,7 +280,7 @@ bool SCoreStartupParameter::AutoSetup(EBootBS2 _BootBS2)
// Use the TitleIDhex for name and/or unique ID if launching from nand folder
// or if it is not ascii characters (specifically sysmenu could potentially apply to other things)
char titleidstr[17];
- snprintf(titleidstr, 17, "%016llx", ContentLoader.GetTitleID());
+ snprintf(titleidstr, 17, "%016" PRIx64, ContentLoader.GetTitleID());
if (!m_strName.length())
{
diff --git a/Source/Core/Core/Src/CoreTiming.cpp b/Source/Core/Core/Src/CoreTiming.cpp
index 1609043600..6dac07e567 100644
--- a/Source/Core/Core/Src/CoreTiming.cpp
+++ b/Source/Core/Core/Src/CoreTiming.cpp
@@ -3,6 +3,7 @@
// Refer to the license.txt file included.
#include <vector>
+#include <cinttypes>
#include "Thread.h"
#include "PowerPC/PowerPC.h"
@@ -84,15 +85,15 @@ int RegisterEvent(const char *name, TimedCallback callback)
// check for existing type with same name.
// we want event type names to remain unique so that we can use them for serialization.
- for (unsigned int i = 0; i < event_types.size(); ++i)
+ for (auto& event_type : event_types)
{
- if (!strcmp(name, event_types[i].name))
+ if (!strcmp(name, event_type.name))
{
WARN_LOG(POWERPC, "Discarded old event type \"%s\" because a new type with the same name was registered.", name);
// we don't know if someone might be holding on to the type index,
// so we gut the old event type instead of actually removing it.
- event_types[i].name = "_discarded_event";
- event_types[i].callback = &EmptyTimedCallback;
+ event_type.name = "_discarded_event";
+ event_type.callback = &EmptyTimedCallback;
}
}
@@ -113,7 +114,7 @@ void Init()
slicelength = maxSliceLength;
globalTimer = 0;
idledCycles = 0;
-
+
ev_lost = RegisterEvent("_lost_event", &EmptyTimedCallback);
}
@@ -187,7 +188,7 @@ void DoState(PointerWrap &p)
u64 GetTicks()
{
- return (u64)globalTimer;
+ return (u64)globalTimer;
}
u64 GetIdleTicks()
@@ -251,7 +252,7 @@ void AddEventToQueue(Event* ne)
// This must be run ONLY from within the cpu thread
// cyclesIntoFuture may be VERY inaccurate if called from anything else
-// than Advance
+// than Advance
void ScheduleEvent(int cyclesIntoFuture, int event_type, u64 userdata)
{
Event *ne = GetNewEvent();
@@ -266,7 +267,7 @@ void RegisterAdvanceCallback(void (*callback)(int cyclesExecuted))
advanceCallback = callback;
}
-bool IsScheduled(int event_type)
+bool IsScheduled(int event_type)
{
if (!first)
return false;
@@ -297,7 +298,7 @@ void RemoveEvent(int event_type)
break;
}
}
-
+
if (!first)
return;
@@ -394,7 +395,7 @@ void Advance()
{
if (first->time <= globalTimer)
{
-// LOG(POWERPC, "[Scheduler] %s (%lld, %lld) ",
+// LOG(POWERPC, "[Scheduler] %s (%lld, %lld) ",
// event_types[first->type].name ? event_types[first->type].name : "?", (u64)globalTimer, (u64)first->time);
Event* evt = first;
first = first->next;
@@ -407,7 +408,7 @@ void Advance()
}
}
- if (!first)
+ if (!first)
{
WARN_LOG(POWERPC, "WARNING - no events in queue. Setting downcount to 10000");
downcount += 10000;
@@ -429,7 +430,7 @@ void LogPendingEvents()
Event *ptr = first;
while (ptr)
{
- INFO_LOG(POWERPC, "PENDING: Now: %lld Pending: %lld Type: %d", globalTimer, ptr->time, ptr->type);
+ INFO_LOG(POWERPC, "PENDING: Now: %" PRId64 " Pending: %" PRId64 " Type: %d", globalTimer, ptr->time, ptr->type);
ptr = ptr->next;
}
}
@@ -437,9 +438,9 @@ void LogPendingEvents()
void Idle()
{
//DEBUG_LOG(POWERPC, "Idle");
-
+
//When the FIFO is processing data we must not advance because in this way
- //the VI will be desynchronized. So, We are waiting until the FIFO finish and
+ //the VI will be desynchronized. So, We are waiting until the FIFO finish and
//while we process only the events required by the FIFO.
while (g_video_backend->Video_IsPossibleWaitingSetDrawDone())
{
@@ -449,7 +450,7 @@ void Idle()
idledCycles += downcount;
downcount = 0;
-
+
Advance();
}
@@ -463,11 +464,11 @@ std::string GetScheduledEventsSummary()
unsigned int t = ptr->type;
if (t >= event_types.size())
PanicAlertT("Invalid event type %i", t);
-
+
const char *name = event_types[ptr->type].name;
if (!name)
name = "[unknown]";
-
+
text += StringFromFormat("%s : %i %08x%08x\n", event_types[ptr->type].name, ptr->time, ptr->userdata >> 32, ptr->userdata);
ptr = ptr->next;
}
diff --git a/Source/Core/Core/Src/DSP/DSPAccelerator.cpp b/Source/Core/Core/Src/DSP/DSPAccelerator.cpp
index 71b3f91294..8b493e0599 100644
--- a/Source/Core/Core/Src/DSP/DSPAccelerator.cpp
+++ b/Source/Core/Core/Src/DSP/DSPAccelerator.cpp
@@ -73,7 +73,7 @@ u16 dsp_read_aram_d3()
break;
}
- if (Address >= EndAddress)
+ if (Address >= EndAddress)
{
// Set address back to start address. (never seen this here!)
Address = (g_dsp.ifx_regs[DSP_ACSAH] << 16) | g_dsp.ifx_regs[DSP_ACSAL];
@@ -131,7 +131,7 @@ u16 dsp_read_accelerator()
Address++;
break;
case 0x19: // 8-bit PCM audio
- val = DSPHost_ReadHostMemory(Address) << 8;
+ val = DSPHost_ReadHostMemory(Address) << 8;
g_dsp.ifx_regs[DSP_YN2] = g_dsp.ifx_regs[DSP_YN1];
g_dsp.ifx_regs[DSP_YN1] = val;
Address++;
diff --git a/Source/Core/Core/Src/DSP/DSPAnalyzer.cpp b/Source/Core/Core/Src/DSP/DSPAnalyzer.cpp
index 1e5f727fa1..c682cdf415 100644
--- a/Source/Core/Core/Src/DSP/DSPAnalyzer.cpp
+++ b/Source/Core/Core/Src/DSP/DSPAnalyzer.cpp
@@ -43,20 +43,20 @@ const u16 idle_skip_sigs[NUM_IDLE_SIGS][MAX_IDLE_SIG_SIZE + 1] =
{ 0x26fc, // lrs $AC0.M, @DMBH
0x02a0, 0x8000, // andf $AC0.M, #0x8000
0x029c, 0xFFFF, // jlnz 0x????
- 0, 0 },
+ 0, 0 },
{ 0x27fc, // lrs $AC1.M, @DMBH
0x03a0, 0x8000, // andf $AC1.M, #0x8000
0x029c, 0xFFFF, // jlnz 0x????
- 0, 0 },
+ 0, 0 },
// From Zelda:
{ 0x00de, 0xFFFE, // LR $AC0.M, @CMBH
- 0x02c0, 0x8000, // ANDCF $AC0.M, #0x8000
+ 0x02c0, 0x8000, // ANDCF $AC0.M, #0x8000
0x029c, 0xFFFF, // JLNZ 0x05cf
0 },
// From Zelda - experimental
{ 0x00da, 0x0352, // lr $AX0.H, @0x0352
0x8600, // tstaxh $AX0.H
- 0x0295, 0xFFFF, // jz 0x????
+ 0x0295, 0xFFFF, // jz 0x????
0, 0 }
};
@@ -112,11 +112,11 @@ void AnalyzeRange(int start_addr, int end_addr)
// If an instruction potentially raises exceptions, mark the following
// instruction as needing to check for exceptions
- if (opcode->opcode == 0x00c0 ||
- opcode->opcode == 0x1800 ||
- opcode->opcode == 0x1880 ||
- opcode->opcode == 0x1900 ||
- opcode->opcode == 0x1980 ||
+ if (opcode->opcode == 0x00c0 ||
+ opcode->opcode == 0x1800 ||
+ opcode->opcode == 0x1880 ||
+ opcode->opcode == 0x1900 ||
+ opcode->opcode == 0x1980 ||
opcode->opcode == 0x2000 ||
opcode->extended
)
diff --git a/Source/Core/Core/Src/DSP/DSPBreakpoints.h b/Source/Core/Core/Src/DSP/DSPBreakpoints.h
index 96c116f5a1..6c3eb8be45 100644
--- a/Source/Core/Core/Src/DSP/DSPBreakpoints.h
+++ b/Source/Core/Core/Src/DSP/DSPBreakpoints.h
@@ -16,7 +16,7 @@ public:
{
Clear();
}
-
+
// is address breakpoint
bool IsAddressBreakPoint(u32 addr)
{
@@ -27,7 +27,7 @@ public:
bool Add(u32 addr, bool temp=false)
{
bool was_one = b[addr] != 0;
-
+
if (!was_one)
{
b[addr] = temp ? 2 : 1;
@@ -49,8 +49,7 @@ public:
void Clear()
{
- for (int i = 0; i < 65536; i++)
- b[i] = 0;
+ memset(b, 0, sizeof(b));
}
void DeleteByAddress(u32 addr)
diff --git a/Source/Core/Core/Src/DSP/DSPCodeUtil.cpp b/Source/Core/Core/Src/DSP/DSPCodeUtil.cpp
index 73e2c1f8b4..afaaa7d22e 100644
--- a/Source/Core/Core/Src/DSP/DSPCodeUtil.cpp
+++ b/Source/Core/Core/Src/DSP/DSPCodeUtil.cpp
@@ -54,7 +54,7 @@ bool Disassemble(const std::vector<u16> &code, bool line_numbers, std::string &t
}
bool Compare(const std::vector<u16> &code1, const std::vector<u16> &code2)
-{
+{
if (code1.size() != code2.size())
printf("Size difference! 1=%i 2=%i\n", (int)code1.size(), (int)code2.size());
u32 count_equal = 0;
@@ -94,7 +94,7 @@ bool Compare(const std::vector<u16> &code1, const std::vector<u16> &code2)
return code1.size() == code2.size() && code1.size() == count_equal;
}
-void GenRandomCode(u32 size, std::vector<u16> &code)
+void GenRandomCode(u32 size, std::vector<u16> &code)
{
code.resize(size);
for (u32 i = 0; i < size; i++)
@@ -149,7 +149,7 @@ void CodesToHeader(const std::vector<u16> *codes, const std::vector<std::string>
reserveSize += (u32)codes_padded.at(i).size();
}
-
+
header.clear();
header.reserve(reserveSize * 4);
sprintf(buffer, "#define NUM_UCODES %u\n\n", numCodes);
@@ -172,7 +172,7 @@ void CodesToHeader(const std::vector<u16> *codes, const std::vector<std::string>
continue;
header.append("\t{\n\t\t");
- for (u32 j = 0; j < codes_padded.at(i).size(); j++)
+ for (u32 j = 0; j < codes_padded.at(i).size(); j++)
{
if (j && ((j & 15) == 0))
header.append("\n\t\t");
@@ -206,7 +206,7 @@ void BinaryStringBEToCode(const std::string &str, std::vector<u16> &code)
bool LoadBinary(const char *filename, std::vector<u16> &code)
{
std::string buffer;
- if (!File::ReadFileToString(false, filename, buffer))
+ if (!File::ReadFileToString(filename, buffer))
return false;
BinaryStringBEToCode(buffer, code);
@@ -217,7 +217,7 @@ bool SaveBinary(const std::vector<u16> &code, const char *filename)
{
std::string buffer;
CodeToBinaryStringBE(code, buffer);
- if (!File::WriteStringToFile(false, buffer, filename))
+ if (!File::WriteStringToFile(buffer, filename))
return false;
return true;
}
diff --git a/Source/Core/Core/Src/DSP/DSPCore.cpp b/Source/Core/Core/Src/DSP/DSPCore.cpp
index 64206b3ee0..377e21fba8 100644
--- a/Source/Core/Core/Src/DSP/DSPCore.cpp
+++ b/Source/Core/Core/Src/DSP/DSPCore.cpp
@@ -52,7 +52,7 @@ static bool LoadRom(const char *fname, int size_in_words, u16 *rom)
{
pFile.ReadArray(rom, size_in_words);
pFile.Close();
-
+
// Byteswap the rom.
for (int i = 0; i < size_in_words; i++)
rom[i] = Common::swap16(rom[i]);
@@ -139,7 +139,7 @@ bool DSPCore_Init(const char *irom_filename, const char *coef_filename,
cyclesLeft = 0;
init_hax = false;
dspjit = NULL;
-
+
g_dsp.irom = (u16*)AllocateMemoryPages(DSP_IROM_BYTE_SIZE);
g_dsp.iram = (u16*)AllocateMemoryPages(DSP_IRAM_BYTE_SIZE);
g_dsp.dram = (u16*)AllocateMemoryPages(DSP_DRAM_BYTE_SIZE);
@@ -198,7 +198,7 @@ bool DSPCore_Init(const char *irom_filename, const char *coef_filename,
WriteProtectMemory(g_dsp.iram, DSP_IRAM_BYTE_SIZE, false);
// Initialize JIT, if necessary
- if(bUsingJIT)
+ if(bUsingJIT)
dspjit = new DSPEmitter();
core_state = DSPCORE_RUNNING;
@@ -250,7 +250,7 @@ void DSPCore_CheckExternalInterrupt()
// Signal the SPU about new mail
DSPCore_SetException(EXP_INT);
-
+
g_dsp.cr &= ~CR_EXTERNAL_INT;
}
diff --git a/Source/Core/Core/Src/DSP/DSPCore.h b/Source/Core/Core/Src/DSP/DSPCore.h
index de5b309e13..7b6805bd52 100644
--- a/Source/Core/Core/Src/DSP/DSPCore.h
+++ b/Source/Core/Core/Src/DSP/DSPCore.h
@@ -222,7 +222,7 @@ struct SDSP
#if PROFILE
u16 err_pc;
#endif
-
+
// This is NOT the same cr as r.cr.
// This register is shared with the main emulation, see DSP.cpp
// The engine has control over 0x0C07 of this reg.
diff --git a/Source/Core/Core/Src/DSP/DSPEmitter.cpp b/Source/Core/Core/Src/DSP/DSPEmitter.cpp
index 7113f420af..d0d842b7aa 100644
--- a/Source/Core/Core/Src/DSP/DSPEmitter.cpp
+++ b/Source/Core/Core/Src/DSP/DSPEmitter.cpp
@@ -25,7 +25,7 @@ DSPEmitter::DSPEmitter() : gpr(*this), storeIndex(-1), storeIndex2(-1)
blocks = new DSPCompiledCode[MAX_BLOCKS];
blockLinks = new Block[MAX_BLOCKS];
blockSize = new u16[MAX_BLOCKS];
-
+
compileSR = 0;
compileSR |= SR_INT_ENABLE;
compileSR |= SR_EXT_INT_ENABLE;
@@ -42,7 +42,7 @@ DSPEmitter::DSPEmitter() : gpr(*this), storeIndex(-1), storeIndex2(-1)
}
}
-DSPEmitter::~DSPEmitter()
+DSPEmitter::~DSPEmitter()
{
delete[] blocks;
delete[] blockLinks;
@@ -62,7 +62,7 @@ void DSPEmitter::ClearIRAM()
g_dsp.reset_dspjit_codespace = true;
}
-void DSPEmitter::ClearIRAMandDSPJITCodespaceReset()
+void DSPEmitter::ClearIRAMandDSPJITCodespaceReset()
{
ClearCodeSpace();
CompileDispatcher();
@@ -101,9 +101,9 @@ void DSPEmitter::checkExceptions(u32 retval)
bool DSPEmitter::FlagsNeeded()
{
- if (!(DSPAnalyzer::code_flags[compilePC] & DSPAnalyzer::CODE_START_OF_INST) ||
- (DSPAnalyzer::code_flags[compilePC] & DSPAnalyzer::CODE_UPDATE_SR))
- return true;
+ if (!(DSPAnalyzer::code_flags[compilePC] & DSPAnalyzer::CODE_START_OF_INST) ||
+ (DSPAnalyzer::code_flags[compilePC] & DSPAnalyzer::CODE_UPDATE_SR))
+ return true;
else
return false;
}
@@ -168,7 +168,7 @@ void DSPEmitter::EmitInstruction(UDSPInstruction inst)
}
}
}
-
+
// Main instruction
if (!opTable[inst]->jitFunc)
{
@@ -352,7 +352,7 @@ void DSPEmitter::Compile(u16 start_addr)
}
}
- if (blockSize[start_addr] == 0)
+ if (blockSize[start_addr] == 0)
{
// just a safeguard, should never happen anymore.
// if it does we might get stuck over in RunForCycles.
diff --git a/Source/Core/Core/Src/DSP/DSPEmitter.h b/Source/Core/Core/Src/DSP/DSPEmitter.h
index cf3331a339..f44dcc6774 100644
--- a/Source/Core/Core/Src/DSP/DSPEmitter.h
+++ b/Source/Core/Core/Src/DSP/DSPEmitter.h
@@ -264,7 +264,7 @@ private:
// The index of the last stored ext value (compile time).
int storeIndex;
int storeIndex2;
-
+
// Counts down.
// int cycles;
diff --git a/Source/Core/Core/Src/DSP/DSPHWInterface.cpp b/Source/Core/Core/Src/DSP/DSPHWInterface.cpp
index 56e998d3c0..92d9c5d67a 100644
--- a/Source/Core/Core/Src/DSP/DSPHWInterface.cpp
+++ b/Source/Core/Core/Src/DSP/DSPHWInterface.cpp
@@ -120,7 +120,7 @@ void gdsp_ifx_write(u32 addr, u32 val)
case DSP_DIRQ:
if (val & 0x1)
DSPHost_InterruptRequest();
- else
+ else
INFO_LOG(DSPLLE, "Unknown Interrupt Request pc=%04x (%04x)", g_dsp.pc, val);
break;
@@ -156,7 +156,7 @@ void gdsp_ifx_write(u32 addr, u32 val)
case DSP_GAIN:
if (val)
{
- INFO_LOG(DSPLLE,"Gain Written: 0x%04x", val);
+ INFO_LOG(DSPLLE,"Gain Written: 0x%04x", val);
}
case DSP_DSPA:
case DSP_DSMAH:
@@ -241,7 +241,7 @@ static void gdsp_idma_in(u16 dsp_addr, u32 addr, u32 size)
u8* dst = ((u8*)g_dsp.iram);
for (u32 i = 0; i < size; i += 2)
- {
+ {
*(u16*)&dst[dsp_addr + i] = Common::swap16(*(const u16*)&g_dsp.cpu_ram[(addr + i) & 0x0fffffff]);
}
WriteProtectMemory(g_dsp.iram, DSP_IRAM_BYTE_SIZE, false);
diff --git a/Source/Core/Core/Src/DSP/DSPIntCCUtil.cpp b/Source/Core/Core/Src/DSP/DSPIntCCUtil.cpp
index af75aedcc3..d2631d2685 100644
--- a/Source/Core/Core/Src/DSP/DSPIntCCUtil.cpp
+++ b/Source/Core/Core/Src/DSP/DSPIntCCUtil.cpp
@@ -27,7 +27,7 @@ void Update_SR_Register64(s64 _Value, bool carry, bool overflow)
if (overflow)
{
g_dsp.r.sr |= SR_OVERFLOW;
- g_dsp.r.sr |= SR_OVERFLOW_STICKY;
+ g_dsp.r.sr |= SR_OVERFLOW_STICKY;
}
// 0x04
@@ -79,14 +79,14 @@ void Update_SR_Register16(s16 _Value, bool carry, bool overflow, bool overS32)
g_dsp.r.sr |= SR_ARITH_ZERO;
}
- // 0x08
+ // 0x08
if (_Value < 0)
{
g_dsp.r.sr |= SR_SIGN;
}
// 0x10
- if (overS32)
+ if (overS32)
{
g_dsp.r.sr |= SR_OVER_S32;
}
@@ -100,7 +100,7 @@ void Update_SR_Register16(s16 _Value, bool carry, bool overflow, bool overS32)
void Update_SR_LZ(bool value)
{
- if (value == true)
+ if (value == true)
g_dsp.r.sr |= SR_LOGIC_ZERO;
else
g_dsp.r.sr &= ~SR_LOGIC_ZERO;
@@ -156,11 +156,11 @@ bool CheckCondition(u8 _Condition)
return isLess() || isZero();
case 0x4: // NZ - Not Zero
return !isZero();
- case 0x5: // Z - Zero
+ case 0x5: // Z - Zero
return isZero();
case 0x6: // NC - Not carry
return !isCarry();
- case 0x7: // C - Carry
+ case 0x7: // C - Carry
return isCarry();
case 0x8: // ? - Not over s32
return !isOverS32();
diff --git a/Source/Core/Core/Src/DSP/DSPIntCCUtil.h b/Source/Core/Core/Src/DSP/DSPIntCCUtil.h
index e98c0d905d..0f747cf2f0 100644
--- a/Source/Core/Core/Src/DSP/DSPIntCCUtil.h
+++ b/Source/Core/Core/Src/DSP/DSPIntCCUtil.h
@@ -26,7 +26,7 @@ inline bool isCarry(u64 val, u64 result) {
}
inline bool isCarry2(u64 val, u64 result) {
- return (val>=result);
+ return (val>=result);
}
inline bool isOverflow(s64 val1, s64 val2, s64 res) {
diff --git a/Source/Core/Core/Src/DSP/DSPIntExtOps.cpp b/Source/Core/Core/Src/DSP/DSPIntExtOps.cpp
index bc448233ba..a628b9b4d1 100644
--- a/Source/Core/Core/Src/DSP/DSPIntExtOps.cpp
+++ b/Source/Core/Core/Src/DSP/DSPIntExtOps.cpp
@@ -7,7 +7,7 @@
#include "DSPIntExtOps.h"
//not needed for game ucodes (it slows down interpreter/dspjit32 + easier to compare int VS dspjit64 without it)
-//#define PRECISE_BACKLOG
+//#define PRECISE_BACKLOG
// Extended opcodes do not exist on their own. These opcodes can only be
// attached to opcodes that allow extending (8 (or 7) lower bits of opcode not used by
@@ -29,7 +29,7 @@ inline static void writeToBackLog(int i, int idx, u16 value)
namespace DSPInterpreter
{
-namespace Ext
+namespace Ext
{
inline bool IsSameMemArea(u16 a, u16 b)
@@ -63,7 +63,7 @@ void ir(const UDSPInstruction opc)
void nr(const UDSPInstruction opc)
{
u8 reg = opc & 0x3;
-
+
writeToBackLog(0, reg, dsp_increase_addr_reg(reg, (s16)g_dsp.r.ix[reg]));
}
@@ -87,7 +87,7 @@ void mv(const UDSPInstruction opc)
break;
}
}
-
+
// S @$arD, $acS.S
// xxxx xxxx 001s s0dd
// Store value of $acS.S in the memory pointed by register $arD.
@@ -136,14 +136,14 @@ void sn(const UDSPInstruction opc)
// L $axD.D, @$arS
// xxxx xxxx 01dd d0ss
-// Load $axD.D/$acD.D with value from memory pointed by register $arS.
+// Load $axD.D/$acD.D with value from memory pointed by register $arS.
// Post increment register $arS.
void l(const UDSPInstruction opc)
{
u8 sreg = opc & 0x3;
u8 dreg = ((opc >> 3) & 0x7) + DSP_REG_AXL0;
-
- if ((dreg >= DSP_REG_ACM0) && (g_dsp.r.sr & SR_40_MODE_BIT))
+
+ if ((dreg >= DSP_REG_ACM0) && (g_dsp.r.sr & SR_40_MODE_BIT))
{
u16 val = dsp_dmem_read(g_dsp.r.ar[sreg]);
writeToBackLog(0, dreg - DSP_REG_ACM0 + DSP_REG_ACH0, (val & 0x8000) ? 0xFFFF : 0x0000);
@@ -160,14 +160,14 @@ void l(const UDSPInstruction opc)
// LN $axD.D, @$arS
// xxxx xxxx 01dd d0ss
-// Load $axD.D/$acD.D with value from memory pointed by register $arS.
+// Load $axD.D/$acD.D with value from memory pointed by register $arS.
// Add indexing register $ixS to register $arS.
void ln(const UDSPInstruction opc)
{
u8 sreg = opc & 0x3;
u8 dreg = ((opc >> 3) & 0x7) + DSP_REG_AXL0;
- if ((dreg >= DSP_REG_ACM0) && (g_dsp.r.sr & SR_40_MODE_BIT))
+ if ((dreg >= DSP_REG_ACM0) && (g_dsp.r.sr & SR_40_MODE_BIT))
{
u16 val = dsp_dmem_read(g_dsp.r.ar[sreg]);
writeToBackLog(0, dreg - DSP_REG_ACM0 + DSP_REG_ACH0, (val & 0x8000) ? 0xFFFF : 0x0000);
@@ -196,7 +196,7 @@ void ls(const UDSPInstruction opc)
writeToBackLog(0, dreg, dsp_dmem_read(g_dsp.r.ar[0]));
writeToBackLog(1, DSP_REG_AR3, dsp_increment_addr_reg(DSP_REG_AR3));
- writeToBackLog(2, DSP_REG_AR0, dsp_increment_addr_reg(DSP_REG_AR0));
+ writeToBackLog(2, DSP_REG_AR0, dsp_increment_addr_reg(DSP_REG_AR0));
}
@@ -269,7 +269,7 @@ void sl(const UDSPInstruction opc)
writeToBackLog(0, dreg, dsp_dmem_read(g_dsp.r.ar[3]));
writeToBackLog(1, DSP_REG_AR3, dsp_increment_addr_reg(DSP_REG_AR3));
- writeToBackLog(2, DSP_REG_AR0, dsp_increment_addr_reg(DSP_REG_AR0));
+ writeToBackLog(2, DSP_REG_AR0, dsp_increment_addr_reg(DSP_REG_AR0));
}
// SLN $acS.m, $axD.D
@@ -329,7 +329,7 @@ void slnm(const UDSPInstruction opc)
// LD $ax0.d, $ax1.r, @$arS
// xxxx xxxx 11dr 00ss
// example for "nx'ld $AX0.L, $AX1.L, @$AR3"
-// Loads the word pointed by AR0 to AX0.H, then loads the word pointed by AR3 to AX0.L.
+// Loads the word pointed by AR0 to AX0.H, then loads the word pointed by AR3 to AX0.L.
// Increments AR0 and AR3.
// If AR0 and AR3 point into the same memory page (upper 6 bits of addr are the same -> games are not doing that!)
// then the value pointed by AR0 is loaded to BOTH AX0.H and AX0.L.
@@ -545,18 +545,18 @@ void zeroWriteBackLog()
#endif
}
-void zeroWriteBackLogPreserveAcc(u8 acc)
+void zeroWriteBackLogPreserveAcc(u8 acc)
{
#ifdef PRECISE_BACKLOG
for (int i = 0; writeBackLogIdx[i] != -1; i++)
{
// acc0
- if ((acc == 0) &&
+ if ((acc == 0) &&
((writeBackLogIdx[i] == DSP_REG_ACL0) || (writeBackLogIdx[i] == DSP_REG_ACM0) || (writeBackLogIdx[i] == DSP_REG_ACH0)))
continue;
-
+
// acc1
- if ((acc == 1) &&
+ if ((acc == 1) &&
((writeBackLogIdx[i] == DSP_REG_ACL1) || (writeBackLogIdx[i] == DSP_REG_ACM1) || (writeBackLogIdx[i] == DSP_REG_ACH1)))
continue;
diff --git a/Source/Core/Core/Src/DSP/DSPIntExtOps.h b/Source/Core/Core/Src/DSP/DSPIntExtOps.h
index fa6d22edba..d4f3a8dd01 100644
--- a/Source/Core/Core/Src/DSP/DSPIntExtOps.h
+++ b/Source/Core/Core/Src/DSP/DSPIntExtOps.h
@@ -30,12 +30,12 @@
// Extended opcode support.
// Many opcode have the lower 0xFF (some only 0x7f) free - there, an opcode extension
-// can be stored.
+// can be stored.
namespace DSPInterpreter
{
namespace Ext
-{
+{
void l(const UDSPInstruction opc);
void ln(const UDSPInstruction opc);
void ls(const UDSPInstruction opc);
@@ -61,7 +61,7 @@ void dr(const UDSPInstruction opc);
void ir(const UDSPInstruction opc);
void nr(const UDSPInstruction opc);
void nop(const UDSPInstruction opc);
-
+
} // end namespace Ext
} // end namespace DSPinterpeter
diff --git a/Source/Core/Core/Src/DSP/DSPIntUtil.h b/Source/Core/Core/Src/DSP/DSPIntUtil.h
index 7299d7e8c9..0e48ee77e4 100644
--- a/Source/Core/Core/Src/DSP/DSPIntUtil.h
+++ b/Source/Core/Core/Src/DSP/DSPIntUtil.h
@@ -57,7 +57,7 @@ static inline u16 dsp_increase_addr_reg(u16 reg, s16 _ix)
u32 ar = g_dsp.r.ar[reg];
u32 wr = g_dsp.r.wr[reg];
s32 ix = _ix;
-
+
u32 mx = (wr | 1) << 1;
u32 nar = ar + ix;
u32 dar = (nar ^ ar ^ ix) & mx;
@@ -75,7 +75,7 @@ static inline u16 dsp_increase_addr_reg(u16 reg, s16 _ix)
return nar;
}
-static inline u16 dsp_decrease_addr_reg(u16 reg, s16 _ix)
+static inline u16 dsp_decrease_addr_reg(u16 reg, s16 _ix)
{
u32 ar = g_dsp.r.ar[reg];
u32 wr = g_dsp.r.wr[reg];
@@ -98,23 +98,23 @@ static inline u16 dsp_decrease_addr_reg(u16 reg, s16 _ix)
return nar;
}
-static inline u16 dsp_increment_addr_reg(u16 reg)
+static inline u16 dsp_increment_addr_reg(u16 reg)
{
u32 ar = g_dsp.r.ar[reg];
u32 wr = g_dsp.r.wr[reg];
u32 nar = ar + 1;
-
+
if ((nar ^ ar) > ((wr | 1) << 1))
nar -= wr + 1;
return nar;
}
-static inline u16 dsp_decrement_addr_reg(u16 reg)
+static inline u16 dsp_decrement_addr_reg(u16 reg)
{
u32 ar = g_dsp.r.ar[reg];
u32 wr = g_dsp.r.wr[reg];
-
+
u32 nar = ar + wr;
if (((nar ^ ar) & ((wr | 1) << 1)) > wr)
@@ -244,9 +244,9 @@ static inline void dsp_op_write_reg(int _reg, u16 val)
}
}
-static inline void dsp_conditional_extend_accum(int reg)
+static inline void dsp_conditional_extend_accum(int reg)
{
- switch (reg)
+ switch (reg)
{
case DSP_REG_ACM0:
case DSP_REG_ACM1:
@@ -344,12 +344,12 @@ inline u16 dsp_op_read_reg_and_saturate(u8 _reg)
if (g_dsp.r.sr & SR_40_MODE_BIT)
{
s64 acc = dsp_get_long_acc(_reg);
-
- if (acc != (s32)acc)
+
+ if (acc != (s32)acc)
{
if (acc > 0)
return 0x7fff;
- else
+ else
return 0x8000;
}
else
diff --git a/Source/Core/Core/Src/DSP/DSPInterpreter.cpp b/Source/Core/Core/Src/DSP/DSPInterpreter.cpp
index d7a4eb1be4..19edffd785 100644
--- a/Source/Core/Core/Src/DSP/DSPInterpreter.cpp
+++ b/Source/Core/Core/Src/DSP/DSPInterpreter.cpp
@@ -36,7 +36,7 @@ volatile u32 gdsp_running;
// NOTE: These have nothing to do with g_dsp.r.cr !
-void WriteCR(u16 val)
+void WriteCR(u16 val)
{
// reset
if (val & 1)
@@ -96,7 +96,7 @@ void Step()
u16 opc = dsp_fetch_code();
ExecuteInstruction(UDSPInstruction(opc));
-
+
if (DSPAnalyzer::code_flags[g_dsp.pc - 1] & DSPAnalyzer::CODE_LOOP_END)
HandleLoop();
}
@@ -107,7 +107,7 @@ int RunCyclesThread(int cycles)
while (true)
{
if (g_dsp.cr & CR_HALT)
- return 0;
+ return 0;
if (g_dsp.external_interrupt_waiting)
{
@@ -129,7 +129,7 @@ int RunCyclesDebug(int cycles)
for (int i = 0; i < 8; i++)
{
if (g_dsp.cr & CR_HALT)
- return 0;
+ return 0;
if (dsp_breakpoints.IsAddressBreakPoint(g_dsp.pc))
{
DSPCore_SetState(DSPCORE_STEPPING);
@@ -163,7 +163,7 @@ int RunCyclesDebug(int cycles)
return 0;
}
- // Now, lets run some more without idle skipping.
+ // Now, lets run some more without idle skipping.
for (int i = 0; i < 200; i++)
{
if (dsp_breakpoints.IsAddressBreakPoint(g_dsp.pc))
@@ -189,7 +189,7 @@ int RunCycles(int cycles)
for (int i = 0; i < 8; i++)
{
if (g_dsp.cr & CR_HALT)
- return 0;
+ return 0;
Step();
cycles--;
if (cycles < 0)
@@ -213,8 +213,8 @@ int RunCycles(int cycles)
return 0;
}
- // Now, lets run some more without idle skipping.
- for (int i = 0; i < 200; i++)
+ // Now, lets run some more without idle skipping.
+ for (int i = 0; i < 200; i++)
{
Step();
cycles--;
diff --git a/Source/Core/Core/Src/DSP/DSPInterpreter.h b/Source/Core/Core/Src/DSP/DSPInterpreter.h
index c2e144a682..7252cd4760 100644
--- a/Source/Core/Core/Src/DSP/DSPInterpreter.h
+++ b/Source/Core/Core/Src/DSP/DSPInterpreter.h
@@ -106,7 +106,7 @@ void asr16(const UDSPInstruction opc);
void lsl(const UDSPInstruction opc);
void lsr(const UDSPInstruction opc);
void asl(const UDSPInstruction opc);
-void asr(const UDSPInstruction opc);
+void asr(const UDSPInstruction opc);
void lsrn(const UDSPInstruction opc);
void asrn(const UDSPInstruction opc);
void dar(const UDSPInstruction opc);
diff --git a/Source/Core/Core/Src/DSP/DSPMemoryMap.cpp b/Source/Core/Core/Src/DSP/DSPMemoryMap.cpp
index 7a56c2618f..542823257a 100644
--- a/Source/Core/Core/Src/DSP/DSPMemoryMap.cpp
+++ b/Source/Core/Core/Src/DSP/DSPMemoryMap.cpp
@@ -50,14 +50,14 @@ u16 dsp_dmem_read(u16 addr)
{
case 0x0: // 0xxx DRAM
return g_dsp.dram[addr & DSP_DRAM_MASK];
-
+
case 0x1: // 1xxx COEF
DEBUG_LOG(DSPLLE, "%04x : Coefficient Read @ %04x", g_dsp.pc, addr);
return g_dsp.coef[addr & DSP_COEF_MASK];
case 0xf: // Fxxx HW regs
return gdsp_ifx_read(addr);
-
+
default: // Unmapped/non-existing memory
ERROR_LOG(DSPLLE, "%04x DSP ERROR: Read from UNKNOWN (%04x) memory", g_dsp.pc, addr);
return 0;
diff --git a/Source/Core/Core/Src/DSP/DSPTables.cpp b/Source/Core/Core/Src/DSP/DSPTables.cpp
index bc2cbf1488..20d27d468e 100644
--- a/Source/Core/Core/Src/DSP/DSPTables.cpp
+++ b/Source/Core/Core/Src/DSP/DSPTables.cpp
@@ -19,7 +19,7 @@ void nop(const UDSPInstruction opc)
ERROR_LOG(DSPLLE, "LLE: Unrecognized opcode 0x%04x", opc);
}
}
-
+
const DSPOPCTemplate opcodes[] =
{
{"NOP", 0x0000, 0xfffc, nop, &DSPEmitter::nop, 1, 0, {}, false, false, false, false, false},
@@ -47,7 +47,7 @@ const DSPOPCTemplate opcodes[] =
{"RETLZ", 0x02dd, 0xffff, DSPInterpreter::ret, &DSPEmitter::ret, 1, 0, {}, false, true, false, true, false},
{"RETO", 0x02de, 0xffff, DSPInterpreter::ret, &DSPEmitter::ret, 1, 0, {}, false, true, false, true, false},
{"RET", 0x02df, 0xffff, DSPInterpreter::ret, &DSPEmitter::ret, 1, 0, {}, false, true, true, false, false},
-
+
{"RTI", 0x02ff, 0xffff, DSPInterpreter::rti, &DSPEmitter::rti, 1, 0, {}, false, true, true, false, false},
{"CALLGE", 0x02b0, 0xffff, DSPInterpreter::call, &DSPEmitter::call, 2, 1, {{P_ADDR_I, 2, 1, 0, 0xffff}}, false, true, false, true, false},
@@ -142,7 +142,7 @@ const DSPOPCTemplate opcodes[] =
{"LSR", 0x1440, 0xfec0, DSPInterpreter::lsr, &DSPEmitter::lsr, 1, 2, {{P_ACC, 1, 0, 8, 0x0100}, {P_IMM, 1, 0, 0, 0x003f}}, false, false, false, false, true},
{"ASL", 0x1480, 0xfec0, DSPInterpreter::asl, &DSPEmitter::asl, 1, 2, {{P_ACC, 1, 0, 8, 0x0100}, {P_IMM, 1, 0, 0, 0x003f}}, false, false, false, false, true},
{"ASR", 0x14c0, 0xfec0, DSPInterpreter::asr, &DSPEmitter::asr, 1, 2, {{P_ACC, 1, 0, 8, 0x0100}, {P_IMM, 1, 0, 0, 0x003f}}, false, false, false, false, true},
-
+
{"LSRN", 0x02ca, 0xffff, DSPInterpreter::lsrn, &DSPEmitter::lsrn, 1, 0, {}, false, false, false, false, true}, // discovered by ector!
{"ASRN", 0x02cb, 0xffff, DSPInterpreter::asrn, &DSPEmitter::asrn, 1, 0, {}, false, false, false, false, true}, // discovered by ector!
@@ -288,7 +288,7 @@ const DSPOPCTemplate opcodes[] =
{"MOVPZ", 0xfe00, 0xfe00, DSPInterpreter::movpz, &DSPEmitter::movpz, 1, 1, {{P_ACC, 1, 0, 8, 0x0100}}, true, false, false, false, true},
};
-const DSPOPCTemplate cw =
+const DSPOPCTemplate cw =
{"CW", 0x0000, 0x0000, nop, NULL, 1, 1, {{P_VAL, 2, 0, 0, 0xffff}}, false, false, false, false, false};
// extended opcodes
@@ -489,10 +489,10 @@ const char* pdname(u16 val)
{
static char tmpstr[12]; // nasty
- for (int i = 0; i < (int)(sizeof(pdlabels) / sizeof(pdlabel_t)); i++)
+ for (auto& pdlabel : pdlabels)
{
- if (pdlabels[i].addr == val)
- return pdlabels[i].name;
+ if (pdlabel.addr == val)
+ return pdlabel.name;
}
sprintf(tmpstr, "0x%04x", val);
@@ -521,23 +521,22 @@ void InitInstructionTable()
{
// ext op table
for (int i = 0; i < EXT_OPTABLE_SIZE; i++)
+ {
extOpTable[i] = &cw;
- for (int i = 0; i < EXT_OPTABLE_SIZE; i++)
- {
- for (int j = 0; j < opcodes_ext_size; j++)
+ for (auto& ext : opcodes_ext)
{
- u16 mask = opcodes_ext[j].opcode_mask;
- if ((mask & i) == opcodes_ext[j].opcode)
+ u16 mask = ext.opcode_mask;
+ if ((mask & i) == ext.opcode)
{
if (extOpTable[i] == &cw)
- extOpTable[i] = &opcodes_ext[j];
+ extOpTable[i] = &ext;
else
{
//if the entry already in the table
//is a strict subset, allow it
- if ((extOpTable[i]->opcode_mask | opcodes_ext[j].opcode_mask) != extOpTable[i]->opcode_mask)
- ERROR_LOG(DSPLLE, "opcode ext table place %d already in use by %s when inserting %s", i, extOpTable[i]->name, opcodes_ext[j].name);
+ if ((extOpTable[i]->opcode_mask | ext.opcode_mask) != extOpTable[i]->opcode_mask)
+ ERROR_LOG(DSPLLE, "opcode ext table place %d already in use by %s when inserting %s", i, extOpTable[i]->name, ext.name);
}
}
}
@@ -546,18 +545,18 @@ void InitInstructionTable()
// op table
for (int i = 0; i < OPTABLE_SIZE; i++)
opTable[i] = &cw;
-
+
for (int i = 0; i < OPTABLE_SIZE; i++)
{
- for (int j = 0; j < opcodes_size; j++)
+ for (auto& opcode : opcodes)
{
- u16 mask = opcodes[j].opcode_mask;
- if ((mask & i) == opcodes[j].opcode)
+ u16 mask = opcode.opcode_mask;
+ if ((mask & i) == opcode.opcode)
{
if (opTable[i] == &cw)
- opTable[i] = &opcodes[j];
+ opTable[i] = &opcode;
else
- ERROR_LOG(DSPLLE, "opcode table place %d already in use for %s", i, opcodes[j].name);
+ ERROR_LOG(DSPLLE, "opcode table place %d already in use for %s", i, opcode.name);
}
}
}
diff --git a/Source/Core/Core/Src/DSP/DSPTables.h b/Source/Core/Core/Src/DSP/DSPTables.h
index fdad92bc2b..140b4b427b 100644
--- a/Source/Core/Core/Src/DSP/DSPTables.h
+++ b/Source/Core/Core/Src/DSP/DSPTables.h
@@ -29,7 +29,7 @@ enum partype_t
P_ADDR_D = 0x0006,
P_REG = 0x8000,
P_REG04 = P_REG | 0x0400, // IX
- P_REG08 = P_REG | 0x0800,
+ P_REG08 = P_REG | 0x0800,
P_REG18 = P_REG | 0x1800,
P_REGM18 = P_REG | 0x1810, // used in multiply instructions
P_REG19 = P_REG | 0x1900,
diff --git a/Source/Core/Core/Src/DSP/DspIntArithmetic.cpp b/Source/Core/Core/Src/DSP/DspIntArithmetic.cpp
index 4d2b5be3ac..7de0327491 100644
--- a/Source/Core/Core/Src/DSP/DspIntArithmetic.cpp
+++ b/Source/Core/Core/Src/DSP/DspIntArithmetic.cpp
@@ -119,7 +119,7 @@ void cmp(const UDSPInstruction opc)
s64 acc0 = dsp_get_long_acc(0);
s64 acc1 = dsp_get_long_acc(1);
s64 res = dsp_convert_long_acc(acc0 - acc1);
-
+
Update_SR_Register64(res, isCarry2(acc0, res), isOverflow(acc0, -acc1, res)); // CF -> influence on ABS/0xa100
zeroWriteBackLog();
}
@@ -139,7 +139,7 @@ void cmpar(const UDSPInstruction opc)
s64 rr = (s16)g_dsp.r.ax[rreg-DSP_REG_AXH0].h;
rr <<= 16;
s64 res = dsp_convert_long_acc(sr - rr);
-
+
Update_SR_Register64(res, isCarry2(sr, res), isOverflow(sr, -rr, res));
zeroWriteBackLog();
}
@@ -147,7 +147,7 @@ void cmpar(const UDSPInstruction opc)
// CMPI $amD, #I
// 0000 001r 1000 0000
// iiii iiii iiii iiii
-// Compares mid accumulator $acD.hm ($amD) with sign extended immediate value I.
+// Compares mid accumulator $acD.hm ($amD) with sign extended immediate value I.
// Although flags are being set regarding whole accumulator register.
//
// flags out: x-xx xxxx
@@ -175,7 +175,7 @@ void cmpis(const UDSPInstruction opc)
s64 acc = dsp_get_long_acc(areg);
s64 val = (s8)opc;
- val <<= 16;
+ val <<= 16;
s64 res = dsp_convert_long_acc(acc - val);
Update_SR_Register64(res, isCarry2(acc, res), isOverflow(acc, -val, res));
@@ -477,7 +477,7 @@ void addaxl(const UDSPInstruction opc)
Update_SR_Register64((s64)res, isCarry(acc, res), isOverflow((s64)acc, (s64)acx, (s64)res));
}
-// ADDI $amR, #I
+// ADDI $amR, #I
// 0000 001r 0000 0000
// iiii iiii iiii iiii
// Adds immediate (16-bit sign extended) to mid accumulator $acD.hm.
@@ -530,7 +530,7 @@ void incm(const UDSPInstruction opc)
s64 res = acc + sub;
zeroWriteBackLog();
-
+
dsp_set_long_acc(dreg, res);
res = dsp_get_long_acc(dreg);
Update_SR_Register64(res, isCarry(acc, res), isOverflow(acc, sub, res));
@@ -546,7 +546,7 @@ void inc(const UDSPInstruction opc)
u8 dreg = (opc >> 8) & 0x1;
s64 acc = dsp_get_long_acc(dreg);
- s64 res = acc + 1;
+ s64 res = acc + 1;
zeroWriteBackLog();
@@ -615,7 +615,7 @@ void subax(const UDSPInstruction opc)
// SUB $acD, $ac(1-D)
// 0101 110d xxxx xxxx
-// Subtracts accumulator $ac(1-D) from accumulator register $acD.
+// Subtracts accumulator $ac(1-D) from accumulator register $acD.
//
// flags out: x-xx xxxx
void sub(const UDSPInstruction opc)
@@ -667,9 +667,9 @@ void decm(const UDSPInstruction opc)
s64 res = acc - sub;
zeroWriteBackLog();
-
+
dsp_set_long_acc(dreg, res);
- res = dsp_get_long_acc(dreg);
+ res = dsp_get_long_acc(dreg);
Update_SR_Register64(res, isCarry2(acc, res), isOverflow(acc, -sub, res));
}
@@ -702,7 +702,7 @@ void dec(const UDSPInstruction opc)
void neg(const UDSPInstruction opc)
{
u8 dreg = (opc >> 8) & 0x1;
-
+
s64 acc = dsp_get_long_acc(dreg);
acc = 0 - acc;
@@ -713,7 +713,7 @@ void neg(const UDSPInstruction opc)
}
// ABS $acD
-// 1010 d001 xxxx xxxx
+// 1010 d001 xxxx xxxx
// absolute value of $acD
//
// flags out: --xx xx00
@@ -725,7 +725,7 @@ void abs(const UDSPInstruction opc)
if (acc < 0)
acc = 0 - acc;
-
+
zeroWriteBackLog();
dsp_set_long_acc(dreg, acc);
@@ -770,7 +770,7 @@ void movr(const UDSPInstruction opc)
// MOVAX $acD, $axS
// 0110 10sd xxxx xxxx
-// Moves secondary accumulator $axS to accumulator $axD.
+// Moves secondary accumulator $axS to accumulator $axD.
//
// flags out: --xx xx00
void movax(const UDSPInstruction opc)
@@ -833,7 +833,7 @@ void lsr16(const UDSPInstruction opc)
u64 acc = dsp_get_long_acc(areg);
acc &= 0x000000FFFFFFFFFFULL; // Lop off the extraneous sign extension our 64-bit fake accum causes
- acc >>= 16;
+ acc >>= 16;
zeroWriteBackLog();
@@ -864,10 +864,10 @@ void asr16(const UDSPInstruction opc)
// Logically shifts left accumulator $acR by number specified by value I.
//
// flags out: --xx xx00
-void lsl(const UDSPInstruction opc)
+void lsl(const UDSPInstruction opc)
{
u8 rreg = (opc >> 8) & 0x01;
- u16 shift = opc & 0x3f;
+ u16 shift = opc & 0x3f;
u64 acc = dsp_get_long_acc(rreg);
acc <<= shift;
@@ -895,7 +895,7 @@ void lsr(const UDSPInstruction opc)
shift = 0x40 - (opc & 0x3f);
acc >>= shift;
-
+
dsp_set_long_acc(rreg, (s64)acc);
Update_SR_Register64(dsp_get_long_acc(rreg));
}
@@ -912,7 +912,7 @@ void asl(const UDSPInstruction opc)
u64 acc = dsp_get_long_acc(rreg);
acc <<= shift;
-
+
dsp_set_long_acc(rreg, acc);
Update_SR_Register64(dsp_get_long_acc(rreg));
}
@@ -949,7 +949,7 @@ void asr(const UDSPInstruction opc)
// flags out: --xx xx00
void lsrn(const UDSPInstruction opc)
{
- s16 shift;
+ s16 shift;
u16 accm = (u16)dsp_get_acc_m(1);
u64 acc = dsp_get_long_acc(0);
acc &= 0x000000FFFFFFFFFFULL;
diff --git a/Source/Core/Core/Src/DSP/DspIntBranch.cpp b/Source/Core/Core/Src/DSP/DspIntBranch.cpp
index a4c861c814..ecd1314e10 100644
--- a/Source/Core/Core/Src/DSP/DspIntBranch.cpp
+++ b/Source/Core/Core/Src/DSP/DspIntBranch.cpp
@@ -35,8 +35,8 @@ void call(const UDSPInstruction opc)
// Generic callr implementation
// CALLRcc $R
// 0001 0111 rrr1 cccc
-// Call function if condition cc has been met. Push program counter of
-// instruction following "call" to call stack $st0. Set program counter to
+// Call function if condition cc has been met. Push program counter of
+// instruction following "call" to call stack $st0. Set program counter to
// register $R.
void callr(const UDSPInstruction opc)
{
@@ -87,7 +87,7 @@ void jmprcc(const UDSPInstruction opc)
{
u8 reg = (opc >> 5) & 0x7;
g_dsp.pc = dsp_op_read_reg(reg);
- }
+ }
}
// Generic ret implementation
@@ -116,7 +116,7 @@ void rti(const UDSPInstruction opc)
}
// HALT
-// 0000 0000 0020 0001
+// 0000 0000 0020 0001
// Stops execution of DSP code. Sets bit DSP_CR_HALT in register DREG_CR.
void halt(const UDSPInstruction opc)
{
@@ -133,7 +133,7 @@ void halt(const UDSPInstruction opc)
// continues at next opcode.
void HandleLoop()
{
- // Handle looping hardware.
+ // Handle looping hardware.
const u16 rCallAddress = g_dsp.r.st[0];
const u16 rLoopAddress = g_dsp.r.st[2];
u16& rLoopCounter = g_dsp.r.st[3];
@@ -254,7 +254,7 @@ void bloopi(const UDSPInstruction opc)
u16 cnt = opc & 0xff;
u16 loop_pc = dsp_fetch_code();
- if (cnt)
+ if (cnt)
{
dsp_reg_store_stack(0, g_dsp.pc);
dsp_reg_store_stack(2, loop_pc);
diff --git a/Source/Core/Core/Src/DSP/DspIntLoadStore.cpp b/Source/Core/Core/Src/DSP/DspIntLoadStore.cpp
index b1a8f1b868..0b72b21290 100644
--- a/Source/Core/Core/Src/DSP/DspIntLoadStore.cpp
+++ b/Source/Core/Core/Src/DSP/DspIntLoadStore.cpp
@@ -13,15 +13,15 @@ namespace DSPInterpreter {
// SRS @M, $(0x18+S)
// 0010 1sss mmmm mmmm
-// Move value from register $(0x18+D) to data memory pointed by address
-// CR[0-7] | M. That is, the upper 8 bits of the address are the
-// bottom 8 bits from CR, and the lower 8 bits are from the 8-bit immediate.
+// Move value from register $(0x18+D) to data memory pointed by address
+// CR[0-7] | M. That is, the upper 8 bits of the address are the
+// bottom 8 bits from CR, and the lower 8 bits are from the 8-bit immediate.
// Note: pc+=2 in duddie's doc seems wrong
void srs(const UDSPInstruction opc)
{
u8 reg = ((opc >> 8) & 0x7) + 0x18;
u16 addr = (g_dsp.r.cr << 8) | (opc & 0xFF);
-
+
if (reg >= DSP_REG_ACM0)
dsp_dmem_write(addr, dsp_op_read_reg_and_saturate(reg-DSP_REG_ACM0));
else
@@ -97,7 +97,7 @@ void lrr(const UDSPInstruction opc)
// LRRD $D, @$S
// 0001 1000 1ssd dddd
// Move value from data memory pointed by addressing register $S toregister $D.
-// Decrement register $S.
+// Decrement register $S.
void lrrd(const UDSPInstruction opc)
{
u8 sreg = (opc >> 5) & 0x3;
@@ -112,7 +112,7 @@ void lrrd(const UDSPInstruction opc)
// LRRI $D, @$S
// 0001 1001 0ssd dddd
// Move value from data memory pointed by addressing register $S to register $D.
-// Increment register $S.
+// Increment register $S.
void lrri(const UDSPInstruction opc)
{
u8 sreg = (opc >> 5) & 0x3;
@@ -127,7 +127,7 @@ void lrri(const UDSPInstruction opc)
// LRRN $D, @$S
// 0001 1001 1ssd dddd
// Move value from data memory pointed by addressing register $S to register $D.
-// Add indexing register $(0x4+S) to register $S.
+// Add indexing register $(0x4+S) to register $S.
void lrrn(const UDSPInstruction opc)
{
u8 sreg = (opc >> 5) & 0x3;
@@ -141,8 +141,8 @@ void lrrn(const UDSPInstruction opc)
// SRR @$D, $S
// 0001 1010 0dds ssss
-// Store value from source register $S to a memory location pointed by
-// addressing register $D.
+// Store value from source register $S to a memory location pointed by
+// addressing register $D.
void srr(const UDSPInstruction opc)
{
u8 dreg = (opc >> 5) & 0x3;
@@ -157,7 +157,7 @@ void srr(const UDSPInstruction opc)
// SRRD @$D, $S
// 0001 1010 1dds ssss
// Store value from source register $S to a memory location pointed by
-// addressing register $D. Decrement register $D.
+// addressing register $D. Decrement register $D.
void srrd(const UDSPInstruction opc)
{
u8 dreg = (opc >> 5) & 0x3;
@@ -174,7 +174,7 @@ void srrd(const UDSPInstruction opc)
// SRRI @$D, $S
// 0001 1011 0dds ssss
// Store value from source register $S to a memory location pointed by
-// addressing register $D. Increment register $D.
+// addressing register $D. Increment register $D.
void srri(const UDSPInstruction opc)
{
u8 dreg = (opc >> 5) & 0x3;
diff --git a/Source/Core/Core/Src/DSP/DspIntMisc.cpp b/Source/Core/Core/Src/DSP/DspIntMisc.cpp
index 93d04d15b0..aec554d7fb 100644
--- a/Source/Core/Core/Src/DSP/DspIntMisc.cpp
+++ b/Source/Core/Core/Src/DSP/DspIntMisc.cpp
@@ -24,14 +24,14 @@ void mrr(const UDSPInstruction opc)
dsp_op_write_reg(dreg, dsp_op_read_reg_and_saturate(sreg-DSP_REG_ACM0));
else
dsp_op_write_reg(dreg, dsp_op_read_reg(sreg));
-
+
dsp_conditional_extend_accum(dreg);
}
// LRI $D, #I
// 0000 0000 100d dddd
// iiii iiii iiii iiii
-// Load immediate value I to register $D.
+// Load immediate value I to register $D.
//
// DSPSpy discovery: This, and possibly other instructions that load a
// register, has a different behaviour in S40 mode if loaded to AC0.M: The
@@ -47,7 +47,7 @@ void lri(const UDSPInstruction opc)
// LRIS $(0x18+D), #I
// 0000 1ddd iiii iiii
-// Load immediate value I (8-bit sign extended) to accumulator register.
+// Load immediate value I (8-bit sign extended) to accumulator register.
void lris(const UDSPInstruction opc)
{
u8 reg = ((opc >> 8) & 0x7) + DSP_REG_AXL0;
@@ -86,7 +86,7 @@ void iar(const UDSPInstruction opc)
g_dsp.r.ar[opc & 0x3] = dsp_increment_addr_reg(opc & 0x3);
}
-// SUBARN $arD
+// SUBARN $arD
// 0000 0000 0000 11dd
// Subtract indexing register $ixD from an addressing register $arD.
// used only in IPL-NTSC ucode
@@ -129,7 +129,7 @@ void sbset(const UDSPInstruction opc)
g_dsp.r.sr |= (1 << bit);
}
-// This is a bunch of flag setters, flipping bits in SR.
+// This is a bunch of flag setters, flipping bits in SR.
void srbith(const UDSPInstruction opc)
{
zeroWriteBackLog();
diff --git a/Source/Core/Core/Src/DSP/DspIntMultiplier.cpp b/Source/Core/Core/Src/DSP/DspIntMultiplier.cpp
index 5a1b98e4b7..a1380879e8 100644
--- a/Source/Core/Core/Src/DSP/DspIntMultiplier.cpp
+++ b/Source/Core/Core/Src/DSP/DspIntMultiplier.cpp
@@ -32,7 +32,7 @@ inline s64 dsp_get_multiply_prod(u16 a, u16 b, u8 sign)
return prod;
}
-
+
inline s64 dsp_multiply(u16 a, u16 b, u8 sign = 0)
{
s64 prod = dsp_get_multiply_prod(a, b, sign);
@@ -120,7 +120,7 @@ void movp(const UDSPInstruction opc)
}
// MOVNP $acD
-// 0111 111d xxxx xxxx
+// 0111 111d xxxx xxxx
// Moves negative of multiply product from $prod register to accumulator
// $acD register.
//
@@ -160,7 +160,7 @@ void movpz(const UDSPInstruction opc)
// Adds secondary accumulator $axS to product register and stores result
// in accumulator register. Low 16-bits of $acD ($acD.l) are set (round) to 0.
//
-// TODO: ugly code and still small error here (+/- 1 in .m - randomly)
+// TODO: ugly code and still small error here (+/- 1 in .m - randomly)
// flags out: --xx xx0x
void addpaxz(const UDSPInstruction opc)
{
@@ -176,20 +176,20 @@ void addpaxz(const UDSPInstruction opc)
dsp_set_long_acc(dreg, res);
res = dsp_get_long_acc(dreg);
- Update_SR_Register64(res, isCarry(oldprod, res), false);
+ Update_SR_Register64(res, isCarry(oldprod, res), false);
}
//----
// MULAXH
// 1000 0011 xxxx xxxx
-// Multiply $ax0.h by $ax0.h
+// Multiply $ax0.h by $ax0.h
void mulaxh(const UDSPInstruction opc)
{
s64 prod = dsp_multiply(dsp_get_ax_h(0), dsp_get_ax_h(0));
zeroWriteBackLog();
-
+
dsp_set_long_prod(prod);
}
@@ -206,7 +206,7 @@ void mul(const UDSPInstruction opc)
u16 axl = dsp_get_ax_l(sreg);
u16 axh = dsp_get_ax_h(sreg);
s64 prod = dsp_multiply(axh, axl);
-
+
zeroWriteBackLog();
dsp_set_long_prod(prod);
@@ -277,7 +277,7 @@ void mulmvz(const UDSPInstruction opc)
u16 axl = dsp_get_ax_l(sreg);
u16 axh = dsp_get_ax_h(sreg);
s64 prod = dsp_multiply(axl, axh);
-
+
zeroWriteBackLog();
dsp_set_long_prod(prod);
@@ -418,7 +418,7 @@ void mulcac(const UDSPInstruction opc)
u16 accm = dsp_get_acc_m(sreg);
u16 axh = dsp_get_ax_h(treg);
s64 prod = dsp_multiply(accm, axh);
-
+
zeroWriteBackLog();
dsp_set_long_prod(prod);
@@ -444,7 +444,7 @@ void mulcmv(const UDSPInstruction opc)
u16 accm = dsp_get_acc_m(sreg);
u16 axh = dsp_get_ax_h(treg);
s64 prod = dsp_multiply(accm, axh);
-
+
zeroWriteBackLog();
dsp_set_long_prod(prod);
@@ -457,7 +457,7 @@ void mulcmv(const UDSPInstruction opc)
// (fixed possible bug in duddie's description, s->t)
// Multiply mid part of accumulator register $acS.m by high part $axT.h of
// secondary accumulator $axT (treat them both as signed). Move product
-// register before multiplication to accumulator $acR, set (round) low part of
+// register before multiplication to accumulator $acR, set (round) low part of
// accumulator $acR.l to zero.
//
// flags out: --xx xx0x
@@ -494,7 +494,7 @@ void maddx(const UDSPInstruction opc)
u16 val1 = (sreg == 0) ? dsp_get_ax_l(0) : dsp_get_ax_h(0);
u16 val2 = (treg == 0) ? dsp_get_ax_l(1) : dsp_get_ax_h(1);
s64 prod = dsp_multiply_add(val1, val2);
-
+
zeroWriteBackLog();
dsp_set_long_prod(prod);
@@ -547,7 +547,7 @@ void msubc(const UDSPInstruction opc)
{
u8 treg = (opc >> 8) & 0x1;
u8 sreg = (opc >> 9) & 0x1;
-
+
u16 accm = dsp_get_acc_m(sreg);
u16 axh = dsp_get_ax_h(treg);
s64 prod = dsp_multiply_sub(accm, axh);
@@ -565,7 +565,7 @@ void msubc(const UDSPInstruction opc)
void madd(const UDSPInstruction opc)
{
u8 sreg = (opc >> 8) & 0x1;
-
+
u16 axl = dsp_get_ax_l(sreg);
u16 axh = dsp_get_ax_h(sreg);
s64 prod = dsp_multiply_add(axl, axh);
@@ -583,7 +583,7 @@ void madd(const UDSPInstruction opc)
void msub(const UDSPInstruction opc)
{
u8 sreg = (opc >> 8) & 0x1;
-
+
u16 axl = dsp_get_ax_l(sreg);
u16 axh = dsp_get_ax_h(sreg);
s64 prod = dsp_multiply_sub(axl, axh);
diff --git a/Source/Core/Core/Src/DSP/Jit/DSPJitArithmetic.cpp b/Source/Core/Core/Src/DSP/Jit/DSPJitArithmetic.cpp
index bc8b4bb843..5e2dfe7c14 100644
--- a/Source/Core/Core/Src/DSP/Jit/DSPJitArithmetic.cpp
+++ b/Source/Core/Core/Src/DSP/Jit/DSPJitArithmetic.cpp
@@ -77,7 +77,7 @@ void DSPEmitter::andcf(const UDSPInstruction opc)
// u16 val = dsp_get_acc_m(reg);
get_acc_m(reg);
// Update_SR_LZ(((val & imm) == imm) ? true : false);
-// if ((val & imm) == imm)
+// if ((val & imm) == imm)
// g_dsp.r.sr |= SR_LOGIC_ZERO;
// else
// g_dsp.r.sr &= ~SR_LOGIC_ZERO;
@@ -117,7 +117,7 @@ void DSPEmitter::andf(const UDSPInstruction opc)
// u16 val = dsp_get_acc_m(reg);
get_acc_m(reg);
// Update_SR_LZ(((val & imm) == 0) ? true : false);
-// if ((val & imm) == 0)
+// if ((val & imm) == 0)
// g_dsp.r.sr |= SR_LOGIC_ZERO;
// else
// g_dsp.r.sr &= ~SR_LOGIC_ZERO;
@@ -250,7 +250,7 @@ void DSPEmitter::cmpar(const UDSPInstruction opc)
// CMPI $amD, #I
// 0000 001r 1000 0000
// iiii iiii iiii iiii
-// Compares mid accumulator $acD.hm ($amD) with sign extended immediate value I.
+// Compares mid accumulator $acD.hm ($amD) with sign extended immediate value I.
// Although flags are being set regarding whole accumulator register.
//
// flags out: x-xx xxxx
@@ -791,7 +791,7 @@ void DSPEmitter::addaxl(const UDSPInstruction opc)
#endif
}
-// ADDI $amR, #I
+// ADDI $amR, #I
// 0000 001r 0000 0000
// iiii iiii iiii iiii
// Adds immediate (16-bit sign extended) to mid accumulator $acD.hm.
@@ -1033,7 +1033,7 @@ void DSPEmitter::subax(const UDSPInstruction opc)
// SUB $acD, $ac(1-D)
// 0101 110d xxxx xxxx
-// Subtracts accumulator $ac(1-D) from accumulator register $acD.
+// Subtracts accumulator $ac(1-D) from accumulator register $acD.
//
// flags out: x-xx xxxx
void DSPEmitter::sub(const UDSPInstruction opc)
@@ -1125,7 +1125,7 @@ void DSPEmitter::decm(const UDSPInstruction opc)
// s64 res = acc - sub;
SUB(64, R(RAX), Imm32((u32)subtract));
// dsp_set_long_acc(dreg, res);
-// res = dsp_get_long_acc(dreg);
+// res = dsp_get_long_acc(dreg);
// Update_SR_Register64(res, isCarry2(acc, res), isOverflow(acc, -subtract, res));
if (FlagsNeeded())
{
@@ -1155,7 +1155,7 @@ void DSPEmitter::dec(const UDSPInstruction opc)
u8 dreg = (opc >> 8) & 0x01;
X64Reg tmp1;
gpr.getFreeXReg(tmp1);
-// s64 acc = dsp_get_long_acc(dreg);
+// s64 acc = dsp_get_long_acc(dreg);
get_long_acc(dreg, tmp1);
MOV(64, R(RAX), R(tmp1));
// s64 res = acc - 1;
@@ -1208,7 +1208,7 @@ void DSPEmitter::neg(const UDSPInstruction opc)
}
// ABS $acD
-// 1010 d001 xxxx xxxx
+// 1010 d001 xxxx xxxx
// absolute value of $acD
//
// flags out: --xx xx00
@@ -1217,7 +1217,7 @@ void DSPEmitter::abs(const UDSPInstruction opc)
#ifdef _M_X64
u8 dreg = (opc >> 11) & 0x1;
-// s64 acc = dsp_get_long_acc(dreg);
+// s64 acc = dsp_get_long_acc(dreg);
get_long_acc(dreg);
// if (acc < 0) acc = 0 - acc;
CMP(64, R(RAX), Imm8(0));
@@ -1267,7 +1267,7 @@ void DSPEmitter::movr(const UDSPInstruction opc)
// MOVAX $acD, $axS
// 0110 10sd xxxx xxxx
-// Moves secondary accumulator $axS to accumulator $axD.
+// Moves secondary accumulator $axS to accumulator $axD.
//
// flags out: --xx xx00
void DSPEmitter::movax(const UDSPInstruction opc)
@@ -1353,7 +1353,7 @@ void DSPEmitter::lsr16(const UDSPInstruction opc)
// u64 acc = dsp_get_long_acc(areg);
get_long_acc(areg);
// acc &= 0x000000FFFFFFFFFFULL; // Lop off the extraneous sign extension our 64-bit fake accum causes
-// acc >>= 16;
+// acc >>= 16;
SHR(64, R(RAX), Imm8(16));
AND(64, R(RAX), Imm32(0xffffff));
// dsp_set_long_acc(areg, (s64)acc);
@@ -1399,11 +1399,11 @@ void DSPEmitter::asr16(const UDSPInstruction opc)
// Logically shifts left accumulator $acR by number specified by value I.
//
// flags out: --xx xx00
-void DSPEmitter::lsl(const UDSPInstruction opc)
+void DSPEmitter::lsl(const UDSPInstruction opc)
{
#ifdef _M_X64
u8 rreg = (opc >> 8) & 0x01;
- u16 shift = opc & 0x3f;
+ u16 shift = opc & 0x3f;
// u64 acc = dsp_get_long_acc(rreg);
get_long_acc(rreg);
@@ -1448,7 +1448,7 @@ void DSPEmitter::lsr(const UDSPInstruction opc)
// acc >>= shift;
SHR(64, R(RAX), Imm8(shift + 24));
}
-
+
// dsp_set_long_acc(rreg, (s64)acc);
set_long_acc(rreg);
// Update_SR_Register64(dsp_get_long_acc(rreg));
@@ -1531,7 +1531,7 @@ void DSPEmitter::asr(const UDSPInstruction opc)
void DSPEmitter::lsrn(const UDSPInstruction opc)
{
#ifdef _M_X64
-// s16 shift;
+// s16 shift;
// u16 accm = (u16)dsp_get_acc_m(1);
get_acc_m(1);
// u64 acc = dsp_get_long_acc(0);
diff --git a/Source/Core/Core/Src/DSP/Jit/DSPJitBranch.cpp b/Source/Core/Core/Src/DSP/Jit/DSPJitBranch.cpp
index f368560112..49c94114b2 100644
--- a/Source/Core/Core/Src/DSP/Jit/DSPJitBranch.cpp
+++ b/Source/Core/Core/Src/DSP/Jit/DSPJitBranch.cpp
@@ -38,11 +38,11 @@ static void ReJitConditional(const UDSPInstruction opc, DSPEmitter& emitter)
emitter.TEST(16, R(EAX), Imm16(0x10));
break;
case 0x4: // NZ - Not Zero
- case 0x5: // Z - Zero
+ case 0x5: // Z - Zero
emitter.TEST(16, R(EAX), Imm16(SR_ARITH_ZERO));
break;
case 0x6: // NC - Not carry
- case 0x7: // C - Carry
+ case 0x7: // C - Carry
emitter.TEST(16, R(EAX), Imm16(SR_CARRY));
break;
case 0x8: // ? - Not over s32
@@ -200,8 +200,8 @@ void r_callr(const UDSPInstruction opc, DSPEmitter& emitter)
// Generic callr implementation
// CALLRcc $R
// 0001 0111 rrr1 cccc
-// Call function if condition cc has been met. Push program counter of
-// instruction following "call" to call stack $st0. Set program counter to
+// Call function if condition cc has been met. Push program counter of
+// instruction following "call" to call stack $st0. Set program counter to
// register $R.
// NOTE: Cannot use Default(opc) here because of the need to write branch exit
void DSPEmitter::callr(const UDSPInstruction opc)
@@ -261,7 +261,7 @@ void DSPEmitter::rti(const UDSPInstruction opc)
}
// HALT
-// 0000 0000 0020 0001
+// 0000 0000 0020 0001
// Stops execution of DSP code. Sets bit DSP_CR_HALT in register DREG_CR.
void DSPEmitter::halt(const UDSPInstruction opc)
{
@@ -429,7 +429,7 @@ void DSPEmitter::bloopi(const UDSPInstruction opc)
// u16 loop_pc = dsp_fetch_code();
u16 loop_pc = dsp_imem_read(compilePC + 1);
- if (cnt)
+ if (cnt)
{
MOV(16, R(RDX), Imm16(compilePC + 2));
dsp_reg_store_stack(0);
diff --git a/Source/Core/Core/Src/DSP/Jit/DSPJitCCUtil.cpp b/Source/Core/Core/Src/DSP/Jit/DSPJitCCUtil.cpp
index e8cd349d1c..62540ffe4f 100644
--- a/Source/Core/Core/Src/DSP/Jit/DSPJitCCUtil.cpp
+++ b/Source/Core/Core/Src/DSP/Jit/DSPJitCCUtil.cpp
@@ -220,8 +220,8 @@ void DSPEmitter::Update_SR_Register16_OverS32(Gen::X64Reg val)
//void DSPEmitter::Update_SR_LZ(bool value) {
-// if (value == true)
-// g_dsp.r[DSP_REG_SR] |= SR_LOGIC_ZERO;
+// if (value == true)
+// g_dsp.r[DSP_REG_SR] |= SR_LOGIC_ZERO;
// else
// g_dsp.r[DSP_REG_SR] &= ~SR_LOGIC_ZERO;
//}
@@ -276,11 +276,11 @@ void DSPEmitter::Update_SR_Register16_OverS32(Gen::X64Reg val)
// return isLess() || isZero();
// case 0x4: // NZ - Not Zero
// return !isZero();
-// case 0x5: // Z - Zero
+// case 0x5: // Z - Zero
// return isZero();
// case 0x6: // NC - Not carry
// return !isCarry();
-// case 0x7: // C - Carry
+// case 0x7: // C - Carry
// return isCarry();
// case 0x8: // ? - Not over s32
// return !isOverS32();
diff --git a/Source/Core/Core/Src/DSP/Jit/DSPJitExtOps.cpp b/Source/Core/Core/Src/DSP/Jit/DSPJitExtOps.cpp
index c76daf250c..f18bc3de84 100644
--- a/Source/Core/Core/Src/DSP/Jit/DSPJitExtOps.cpp
+++ b/Source/Core/Core/Src/DSP/Jit/DSPJitExtOps.cpp
@@ -44,8 +44,8 @@ void DSPEmitter::ir(const UDSPInstruction opc)
// Add corresponding indexing register $ixR to addressing register $arR.
void DSPEmitter::nr(const UDSPInstruction opc)
{
- u8 reg = opc & 0x3;
-
+ u8 reg = opc & 0x3;
+
increase_addr_reg(reg, reg);
}
@@ -106,7 +106,7 @@ void DSPEmitter::sn(const UDSPInstruction opc)
// L $axD.D, @$arS
// xxxx xxxx 01dd d0ss
-// Load $axD.D/$acD.D with value from memory pointed by register $arS.
+// Load $axD.D/$acD.D with value from memory pointed by register $arS.
// Post increment register $arS.
void DSPEmitter::l(const UDSPInstruction opc)
{
@@ -130,7 +130,7 @@ void DSPEmitter::l(const UDSPInstruction opc)
// LN $axD.D, @$arS
// xxxx xxxx 01dd d0ss
-// Load $axD.D/$acD.D with value from memory pointed by register $arS.
+// Load $axD.D/$acD.D with value from memory pointed by register $arS.
// Add indexing register $ixS to register $arS.
void DSPEmitter::ln(const UDSPInstruction opc)
{
@@ -174,7 +174,7 @@ void DSPEmitter::ls(const UDSPInstruction opc)
pushExtValueFromMem(dreg, DSP_REG_AR0);
increment_addr_reg(DSP_REG_AR3);
- increment_addr_reg(DSP_REG_AR0);
+ increment_addr_reg(DSP_REG_AR0);
}
@@ -199,7 +199,7 @@ void DSPEmitter::lsn(const UDSPInstruction opc)
gpr.putXReg(tmp1);
pushExtValueFromMem(dreg, DSP_REG_AR0);
-
+
increment_addr_reg(DSP_REG_AR3);
increase_addr_reg(DSP_REG_AR0, DSP_REG_AR0);
}
diff --git a/Source/Core/Core/Src/DSP/Jit/DSPJitLoadStore.cpp b/Source/Core/Core/Src/DSP/Jit/DSPJitLoadStore.cpp
index 74e04b3e55..765ecb39e4 100644
--- a/Source/Core/Core/Src/DSP/Jit/DSPJitLoadStore.cpp
+++ b/Source/Core/Core/Src/DSP/Jit/DSPJitLoadStore.cpp
@@ -12,9 +12,9 @@ using namespace Gen;
// SRS @M, $(0x18+S)
// 0010 1sss mmmm mmmm
-// Move value from register $(0x18+D) to data memory pointed by address
-// CR[0-7] | M. That is, the upper 8 bits of the address are the
-// bottom 8 bits from CR, and the lower 8 bits are from the 8-bit immediate.
+// Move value from register $(0x18+D) to data memory pointed by address
+// CR[0-7] | M. That is, the upper 8 bits of the address are the
+// bottom 8 bits from CR, and the lower 8 bits are from the 8-bit immediate.
// Note: pc+=2 in duddie's doc seems wrong
void DSPEmitter::srs(const UDSPInstruction opc)
{
@@ -130,7 +130,7 @@ void DSPEmitter::lrr(const UDSPInstruction opc)
// LRRD $D, @$S
// 0001 1000 1ssd dddd
// Move value from data memory pointed by addressing register $S toregister $D.
-// Decrement register $S.
+// Decrement register $S.
void DSPEmitter::lrrd(const UDSPInstruction opc)
{
u8 sreg = (opc >> 5) & 0x3;
@@ -152,7 +152,7 @@ void DSPEmitter::lrrd(const UDSPInstruction opc)
// LRRI $D, @$S
// 0001 1001 0ssd dddd
// Move value from data memory pointed by addressing register $S to register $D.
-// Increment register $S.
+// Increment register $S.
void DSPEmitter::lrri(const UDSPInstruction opc)
{
u8 sreg = (opc >> 5) & 0x3;
@@ -174,7 +174,7 @@ void DSPEmitter::lrri(const UDSPInstruction opc)
// LRRN $D, @$S
// 0001 1001 1ssd dddd
// Move value from data memory pointed by addressing register $S to register $D.
-// Add indexing register $(0x4+S) to register $S.
+// Add indexing register $(0x4+S) to register $S.
void DSPEmitter::lrrn(const UDSPInstruction opc)
{
u8 sreg = (opc >> 5) & 0x3;
@@ -195,8 +195,8 @@ void DSPEmitter::lrrn(const UDSPInstruction opc)
// SRR @$D, $S
// 0001 1010 0dds ssss
-// Store value from source register $S to a memory location pointed by
-// addressing register $D.
+// Store value from source register $S to a memory location pointed by
+// addressing register $D.
void DSPEmitter::srr(const UDSPInstruction opc)
{
u8 dreg = (opc >> 5) & 0x3;
@@ -215,7 +215,7 @@ void DSPEmitter::srr(const UDSPInstruction opc)
// SRRD @$D, $S
// 0001 1010 1dds ssss
// Store value from source register $S to a memory location pointed by
-// addressing register $D. Decrement register $D.
+// addressing register $D. Decrement register $D.
void DSPEmitter::srrd(const UDSPInstruction opc)
{
u8 dreg = (opc >> 5) & 0x3;
@@ -236,7 +236,7 @@ void DSPEmitter::srrd(const UDSPInstruction opc)
// SRRI @$D, $S
// 0001 1011 0dds ssss
// Store value from source register $S to a memory location pointed by
-// addressing register $D. Increment register $D.
+// addressing register $D. Increment register $D.
void DSPEmitter::srri(const UDSPInstruction opc)
{
u8 dreg = (opc >> 5) & 0x3;
diff --git a/Source/Core/Core/Src/DSP/Jit/DSPJitMisc.cpp b/Source/Core/Core/Src/DSP/Jit/DSPJitMisc.cpp
index bfcb6a6e44..6da5b646f4 100644
--- a/Source/Core/Core/Src/DSP/Jit/DSPJitMisc.cpp
+++ b/Source/Core/Core/Src/DSP/Jit/DSPJitMisc.cpp
@@ -80,7 +80,7 @@ void DSPEmitter::iar(const UDSPInstruction opc)
increment_addr_reg(opc & 0x3);
}
-// SUBARN $arD
+// SUBARN $arD
// 0000 0000 0000 11dd
// Subtract indexing register $ixD from an addressing register $arD.
// used only in IPL-NTSC ucode
@@ -110,7 +110,7 @@ void DSPEmitter::addarn(const UDSPInstruction opc)
void DSPEmitter::setCompileSR(u16 bit)
{
-
+
// g_dsp.r[DSP_REG_SR] |= bit
OpArg sr_reg;
gpr.getReg(DSP_REG_SR,sr_reg);
@@ -122,7 +122,7 @@ void DSPEmitter::setCompileSR(u16 bit)
void DSPEmitter::clrCompileSR(u16 bit)
{
-
+
// g_dsp.r[DSP_REG_SR] &= bit
OpArg sr_reg;
gpr.getReg(DSP_REG_SR,sr_reg);
diff --git a/Source/Core/Core/Src/DSP/Jit/DSPJitMultiplier.cpp b/Source/Core/Core/Src/DSP/Jit/DSPJitMultiplier.cpp
index 3cb86e38f9..00cec82e76 100644
--- a/Source/Core/Core/Src/DSP/Jit/DSPJitMultiplier.cpp
+++ b/Source/Core/Core/Src/DSP/Jit/DSPJitMultiplier.cpp
@@ -209,7 +209,7 @@ void DSPEmitter::movp(const UDSPInstruction opc)
}
// MOVNP $acD
-// 0111 111d xxxx xxxx
+// 0111 111d xxxx xxxx
// Moves negative of multiply product from $prod register to accumulator
// $acD register.
@@ -286,7 +286,7 @@ void DSPEmitter::addpaxz(const UDSPInstruction opc)
// s64 oldprod = dsp_get_long_prod();
// dsp_set_long_acc(dreg, res);
// res = dsp_get_long_acc(dreg);
-// Update_SR_Register64(res, isCarry(oldprod, res), false);
+// Update_SR_Register64(res, isCarry(oldprod, res), false);
if (FlagsNeeded())
{
get_long_prod(RDX);
@@ -308,7 +308,7 @@ void DSPEmitter::addpaxz(const UDSPInstruction opc)
// MULAXH
// 1000 0011 xxxx xxxx
-// Multiply $ax0.h by $ax0.h
+// Multiply $ax0.h by $ax0.h
void DSPEmitter::mulaxh(const UDSPInstruction opc)
{
#ifdef _M_X64
@@ -702,7 +702,7 @@ void DSPEmitter::mulcmv(const UDSPInstruction opc)
// (fixed possible bug in duddie's description, s->t)
// Multiply mid part of accumulator register $acS.m by high part $axT.h of
// secondary accumulator $axT (treat them both as signed). Move product
-// register before multiplication to accumulator $acR, set (round) low part of
+// register before multiplication to accumulator $acR, set (round) low part of
// accumulator $acR.l to zero.
// flags out: --xx xx0x
diff --git a/Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.cpp b/Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.cpp
index 386c32d8bc..6950daa6d1 100644
--- a/Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.cpp
+++ b/Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.cpp
@@ -75,10 +75,10 @@ static void *reg_ptr(int reg)
DSPJitRegCache::DSPJitRegCache(DSPEmitter &_emitter)
: emitter(_emitter), temporary(false), merged(false)
{
- for(unsigned int i = 0; i < NUMXREGS; i++)
+ for(auto& xreg : xregs)
{
- xregs[i].guest_reg = DSP_REG_STATIC;
- xregs[i].pushed = false;
+ xreg.guest_reg = DSP_REG_STATIC;
+ xreg.pushed = false;
}
xregs[RAX].guest_reg = DSP_REG_STATIC;// reserved for MUL/DIV
@@ -449,9 +449,9 @@ void DSPJitRegCache::pushRegs()
}
int push_count = 0;
- for(unsigned int i = 0; i < NUMXREGS; i++)
+ for(auto& xreg : xregs)
{
- if (xregs[i].guest_reg == DSP_REG_USED)
+ if (xreg.guest_reg == DSP_REG_USED)
push_count++;
}
@@ -503,9 +503,9 @@ void DSPJitRegCache::popRegs() {
emitter.MOV(32, M(&ebp_store), R(EBP));
#endif
int push_count = 0;
- for(unsigned int i = 0; i < NUMXREGS; i++)
+ for(auto& xreg : xregs)
{
- if (xregs[i].pushed)
+ if (xreg.pushed)
push_count++;
}
@@ -613,7 +613,7 @@ void DSPJitRegCache::movToHostReg(int reg, bool load)
tmp = regs[reg].host_reg;
else
tmp = findSpillFreeXReg();
-
+
if (tmp == INVALID_REG)
return;
@@ -1037,11 +1037,11 @@ void DSPJitRegCache::spillXReg(X64Reg reg)
X64Reg DSPJitRegCache::findFreeXReg()
{
- for(unsigned int i = 0; i < sizeof(alloc_order)/sizeof(alloc_order[0]); i++)
+ for(auto& x : alloc_order)
{
- if (xregs[alloc_order[i]].guest_reg == DSP_REG_NONE)
+ if (xregs[x].guest_reg == DSP_REG_NONE)
{
- return alloc_order[i];
+ return x;
}
}
return INVALID_REG;
diff --git a/Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.h b/Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.h
index 727361b828..075be9d99d 100644
--- a/Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.h
+++ b/Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.h
@@ -48,7 +48,7 @@ private:
int guest_reg; //including DSPJitRegSpecial
bool pushed;
};
-
+
struct DynamicReg
{
Gen::OpArg loc;
diff --git a/Source/Core/Core/Src/DSP/LabelMap.cpp b/Source/Core/Core/Src/DSP/LabelMap.cpp
index a5e6e1b6dd..1c836e7a69 100644
--- a/Source/Core/Core/Src/DSP/LabelMap.cpp
+++ b/Source/Core/Core/Src/DSP/LabelMap.cpp
@@ -27,7 +27,7 @@ void LabelMap::RegisterDefaults()
void LabelMap::RegisterLabel(const std::string &label, u16 lval, LabelType type)
{
u16 old_value;
- if (GetLabelValue(label, &old_value) && old_value != lval)
+ if (GetLabelValue(label, &old_value) && old_value != lval)
{
printf("WARNING: Redefined label %s to %04x - old value %04x\n",
label.c_str(), lval, old_value);
@@ -49,20 +49,20 @@ void LabelMap::DeleteLabel(const std::string &label)
}
}
-bool LabelMap::GetLabelValue(const std::string &label, u16 *value, LabelType type) const
+bool LabelMap::GetLabelValue(const std::string &name, u16 *value, LabelType type) const
{
- for (u32 i = 0; i < labels.size(); i++)
+ for (auto& label : labels)
{
- if (!label.compare(labels[i].name))
+ if (!name.compare(label.name))
{
- if (type & labels[i].type)
+ if (type & label.type)
{
- *value = labels[i].addr;
+ *value = label.addr;
return true;
}
else
{
- printf("WARNING: Wrong label type requested. %s\n", label.c_str());
+ printf("WARNING: Wrong label type requested. %s\n", name.c_str());
}
}
}
diff --git a/Source/Core/Core/Src/DSP/assemble.cpp b/Source/Core/Core/Src/DSP/assemble.cpp
index 8deef98ed9..7ae9346f29 100644
--- a/Source/Core/Core/Src/DSP/assemble.cpp
+++ b/Source/Core/Core/Src/DSP/assemble.cpp
@@ -78,7 +78,7 @@ static const char *err_string[] =
"Number out of range"
};
-DSPAssembler::DSPAssembler(const AssemblerSettings &settings) :
+DSPAssembler::DSPAssembler(const AssemblerSettings &settings) :
gdg_buffer(NULL),
m_cur_addr(0),
m_cur_pass(0),
@@ -99,7 +99,7 @@ bool DSPAssembler::Assemble(const char *text, std::vector<u16> &code, std::vecto
if (line_numbers)
line_numbers->clear();
const char *fname = "tmp.asm";
- if (!File::WriteStringToFile(true, text, fname))
+ if (!File::WriteStringToFile(text, fname))
return false;
InitPass(1);
if (!AssembleFile(fname, 1))
@@ -150,7 +150,7 @@ void DSPAssembler::ShowError(err_t err_code, const char *extra_info)
if (m_current_param == 0)
buf_ptr += sprintf(buf_ptr, "ERROR: %s Line: %d : %s\n", err_string[err_code], code_line, extra_info);
- else
+ else
buf_ptr += sprintf(buf_ptr, "ERROR: %s Line: %d Param: %d : %s\n",
err_string[err_code], code_line, m_current_param, extra_info);
last_error_str = error_buffer;
@@ -525,7 +525,7 @@ bool DSPAssembler::VerifyParams(const opc_t *opc, param_t *par, int count, bool
// modified by Hermes: test the register range
switch ((unsigned)opc->params[i].type)
- {
+ {
case P_REG18:
case P_REG19:
case P_REG1A:
@@ -775,27 +775,27 @@ bool DSPAssembler::AssembleFile(const char *fname, int pass)
fsrc.getline(line, LINEBUF_SIZE);
if(fsrc.fail())
break;
-
+
cur_line = line;
//printf("A: %s\n", line);
code_line++;
param_t params[10] = {{0, P_NONE, NULL}};
param_t params_ext[10] = {{0, P_NONE, NULL}};
-
+
bool upper = true;
for (int i = 0; i < LINEBUF_SIZE; i++)
{
char c = line[i];
// This stuff handles /**/ and // comments.
- // modified by Hermes : added // and /* */ for long commentaries
+ // modified by Hermes : added // and /* */ for long commentaries
if (c == '/')
{
if (i < 1023)
{
if (line[i+1] == '/')
c = 0x00;
- else if (line[i+1] == '*')
+ else if (line[i+1] == '*')
{
// toggle comment mode.
disable_text = !disable_text;
@@ -916,7 +916,7 @@ bool DSPAssembler::AssembleFile(const char *fname, int pass)
{
char *tmpstr;
u32 thisCodeline = code_line;
-
+
if (include_dir.size())
{
tmpstr = (char *)malloc(include_dir.size() + strlen(params[0].str) + 2);
@@ -927,7 +927,7 @@ bool DSPAssembler::AssembleFile(const char *fname, int pass)
tmpstr = (char *)malloc(strlen(params[0].str) + 1);
strcpy(tmpstr, params[0].str);
}
-
+
AssembleFile(tmpstr, pass);
code_line = thisCodeline;
diff --git a/Source/Core/Core/Src/DSP/assemble.h b/Source/Core/Core/Src/DSP/assemble.h
index f140d0e69e..5a15ed2ded 100644
--- a/Source/Core/Core/Src/DSP/assemble.h
+++ b/Source/Core/Core/Src/DSP/assemble.h
@@ -119,7 +119,7 @@ private:
u32 m_cur_addr;
int m_totalSize;
u8 m_cur_pass;
-
+
LabelMap labels;
u32 code_line;
diff --git a/Source/Core/Core/Src/DSPEmulator.cpp b/Source/Core/Core/Src/DSPEmulator.cpp
index 96e1a1107e..52cae0d492 100644
--- a/Source/Core/Core/Src/DSPEmulator.cpp
+++ b/Source/Core/Core/Src/DSPEmulator.cpp
@@ -7,7 +7,7 @@
#include "HW/DSPLLE/DSPLLE.h"
#include "HW/DSPHLE/DSPHLE.h"
-DSPEmulator *CreateDSPEmulator(bool HLE)
+DSPEmulator *CreateDSPEmulator(bool HLE)
{
if (HLE)
{
diff --git a/Source/Core/Core/Src/DSPEmulator.h b/Source/Core/Core/Src/DSPEmulator.h
index 6df274d757..45b2b30c8c 100644
--- a/Source/Core/Core/Src/DSPEmulator.h
+++ b/Source/Core/Core/Src/DSPEmulator.h
@@ -35,6 +35,7 @@ public:
protected:
SoundStream *soundStream;
+ void *m_hWnd;
};
DSPEmulator *CreateDSPEmulator(bool HLE);
diff --git a/Source/Core/Core/Src/Debugger/Debugger_SymbolMap.cpp b/Source/Core/Core/Src/Debugger/Debugger_SymbolMap.cpp
index dc8f0d9adf..d4f1a4044f 100644
--- a/Source/Core/Core/Src/Debugger/Debugger_SymbolMap.cpp
+++ b/Source/Core/Core/Src/Debugger/Debugger_SymbolMap.cpp
@@ -35,7 +35,7 @@ void AddAutoBreakpoints()
// Returns callstack "formatted for debugging" - meaning that it
// includes LR as the last item, and all items are the last step,
// instead of "pointing ahead"
-bool GetCallstack(std::vector<CallstackEntry> &output)
+bool GetCallstack(std::vector<CallstackEntry> &output)
{
if (Core::GetState() == Core::CORE_UNINITIALIZED)
return false;
@@ -90,9 +90,9 @@ void PrintCallstack()
u32 addr = Memory::ReadUnchecked_U32(PowerPC::ppcState.gpr[1]); // SP
printf("== STACK TRACE - SP = %08x ==", PowerPC::ppcState.gpr[1]);
-
+
if (LR == 0) {
- printf(" LR = 0 - this is bad");
+ printf(" LR = 0 - this is bad");
}
int count = 1;
if (g_symbolDB.GetDescription(PowerPC::ppcState.pc) != g_symbolDB.GetDescription(LR))
@@ -117,16 +117,16 @@ void PrintCallstack(LogTypes::LOG_TYPE type, LogTypes::LOG_LEVELS level)
{
u32 addr = Memory::ReadUnchecked_U32(PowerPC::ppcState.gpr[1]); // SP
- GENERIC_LOG(type, level, "== STACK TRACE - SP = %08x ==",
+ GENERIC_LOG(type, level, "== STACK TRACE - SP = %08x ==",
PowerPC::ppcState.gpr[1]);
if (LR == 0) {
- GENERIC_LOG(type, level, " LR = 0 - this is bad");
+ GENERIC_LOG(type, level, " LR = 0 - this is bad");
}
int count = 1;
if (g_symbolDB.GetDescription(PowerPC::ppcState.pc) != g_symbolDB.GetDescription(LR))
{
- GENERIC_LOG(type, level, " * %s [ LR = %08x ]",
+ GENERIC_LOG(type, level, " * %s [ LR = %08x ]",
g_symbolDB.GetDescription(LR), LR);
count++;
}
@@ -145,7 +145,7 @@ void PrintCallstack(LogTypes::LOG_TYPE type, LogTypes::LOG_LEVELS level)
void PrintDataBuffer(LogTypes::LOG_TYPE type, u8* _pData, size_t _Size, const char* _title)
{
- GENERIC_LOG(type, LogTypes::LDEBUG, "%s", _title);
+ GENERIC_LOG(type, LogTypes::LDEBUG, "%s", _title);
for (u32 j = 0; j < _Size;)
{
std::string Temp;
diff --git a/Source/Core/Core/Src/Debugger/Debugger_SymbolMap.h b/Source/Core/Core/Src/Debugger/Debugger_SymbolMap.h
index fac79b2959..2d470e2059 100644
--- a/Source/Core/Core/Src/Debugger/Debugger_SymbolMap.h
+++ b/Source/Core/Core/Src/Debugger/Debugger_SymbolMap.h
@@ -13,7 +13,7 @@
namespace Dolphin_Debugger
{
-struct CallstackEntry
+struct CallstackEntry
{
std::string Name;
u32 vAddress;
diff --git a/Source/Core/Core/Src/Debugger/Dump.cpp b/Source/Core/Core/Src/Debugger/Dump.cpp
index 8a9a87c2b8..8c4a23ca1a 100644
--- a/Source/Core/Core/Src/Debugger/Dump.cpp
+++ b/Source/Core/Core/Src/Debugger/Dump.cpp
@@ -37,7 +37,7 @@ CDump::GetNumberOfSteps(void)
return (int)(m_size / STRUCTUR_SIZE);
}
-u32
+u32
CDump::GetGPR(int _step, int _gpr)
{
u32 offset = _step * STRUCTUR_SIZE;
@@ -48,7 +48,7 @@ CDump::GetGPR(int _step, int _gpr)
return Read32(offset + OFFSET_GPR + (_gpr * 4));
}
-u32
+u32
CDump::GetPC(int _step)
{
u32 offset = _step * STRUCTUR_SIZE;
@@ -59,7 +59,7 @@ CDump::GetPC(int _step)
return Read32(offset + OFFSET_PC);
}
-u32
+u32
CDump::Read32(u32 _pos)
{
u32 result = (m_pData[_pos+0] << 24) |
diff --git a/Source/Core/Core/Src/Debugger/Dump.h b/Source/Core/Core/Src/Debugger/Dump.h
index d2764714c0..57244c2572 100644
--- a/Source/Core/Core/Src/Debugger/Dump.h
+++ b/Source/Core/Core/Src/Debugger/Dump.h
@@ -17,7 +17,7 @@ public:
CDump(const char* _szFilename);
~CDump();
-
+
int GetNumberOfSteps();
u32 GetGPR(int _step, int _gpr);
u32 GetPC(int _step);
diff --git a/Source/Core/Core/Src/Debugger/PPCDebugInterface.cpp b/Source/Core/Core/Src/Debugger/PPCDebugInterface.cpp
index f2e36ee1ee..4b224d5677 100644
--- a/Source/Core/Core/Src/Debugger/PPCDebugInterface.cpp
+++ b/Source/Core/Core/Src/Debugger/PPCDebugInterface.cpp
@@ -15,7 +15,7 @@
#include "../PowerPC/JitCommon/JitBase.h"
#include "../PowerPC/PPCSymbolDB.h"
-void PPCDebugInterface::disasm(unsigned int address, char *dest, int max_size)
+void PPCDebugInterface::disasm(unsigned int address, char *dest, int max_size)
{
// Memory::ReadUnchecked_U32 seemed to crash on shutdown
if (PowerPC::GetState() == PowerPC::CPU_POWERDOWN) return;
@@ -93,7 +93,7 @@ bool PPCDebugInterface::isAlive()
return Core::GetState() != Core::CORE_UNINITIALIZED;
}
-bool PPCDebugInterface::isBreakpoint(unsigned int address)
+bool PPCDebugInterface::isBreakpoint(unsigned int address)
{
return PowerPC::breakpoints.IsAddressBreakPoint(address);
}
@@ -146,7 +146,7 @@ void PPCDebugInterface::toggleMemCheck(unsigned int address)
PowerPC::memchecks.Remove(address);
}
-void PPCDebugInterface::insertBLR(unsigned int address, unsigned int value)
+void PPCDebugInterface::insertBLR(unsigned int address, unsigned int value)
{
Memory::Write_U32(value, address);
}
@@ -165,7 +165,7 @@ int PPCDebugInterface::getColor(unsigned int address)
if (!Memory::IsRAMAddress(address, true, true))
return 0xeeeeee;
static const int colors[6] =
- {
+ {
0xd0FFFF, // light cyan
0xFFd0d0, // light red
0xd8d8FF, // light blue
@@ -183,22 +183,22 @@ int PPCDebugInterface::getColor(unsigned int address)
// =============
-std::string PPCDebugInterface::getDescription(unsigned int address)
+std::string PPCDebugInterface::getDescription(unsigned int address)
{
return g_symbolDB.GetDescription(address);
}
-unsigned int PPCDebugInterface::getPC()
+unsigned int PPCDebugInterface::getPC()
{
return PowerPC::ppcState.pc;
}
-void PPCDebugInterface::setPC(unsigned int address)
+void PPCDebugInterface::setPC(unsigned int address)
{
PowerPC::ppcState.pc = address;
}
-void PPCDebugInterface::showJitResults(unsigned int address)
+void PPCDebugInterface::showJitResults(unsigned int address)
{
Host_ShowJitResults(address);
}
diff --git a/Source/Core/Core/Src/Debugger/PPCDebugInterface.h b/Source/Core/Core/Src/Debugger/PPCDebugInterface.h
index e7d08ddd3a..71ab0d79c6 100644
--- a/Source/Core/Core/Src/Debugger/PPCDebugInterface.h
+++ b/Source/Core/Core/Src/Debugger/PPCDebugInterface.h
@@ -14,34 +14,34 @@
class PPCDebugInterface : public DebugInterface
{
public:
- PPCDebugInterface(){}
- virtual void disasm(unsigned int address, char *dest, int max_size);
- virtual void getRawMemoryString(int memory, unsigned int address, char *dest, int max_size);
- virtual int getInstructionSize(int /*instruction*/) {return 4;}
- virtual bool isAlive();
- virtual bool isBreakpoint(unsigned int address);
- virtual void setBreakpoint(unsigned int address);
- virtual void clearBreakpoint(unsigned int address);
- virtual void clearAllBreakpoints();
- virtual void toggleBreakpoint(unsigned int address);
- virtual bool isMemCheck(unsigned int address);
- virtual void toggleMemCheck(unsigned int address);
- virtual unsigned int readMemory(unsigned int address);
+ PPCDebugInterface(){}
+ virtual void disasm(unsigned int address, char *dest, int max_size) override;
+ virtual void getRawMemoryString(int memory, unsigned int address, char *dest, int max_size) override;
+ virtual int getInstructionSize(int /*instruction*/) override {return 4;}
+ virtual bool isAlive() override;
+ virtual bool isBreakpoint(unsigned int address) override;
+ virtual void setBreakpoint(unsigned int address) override;
+ virtual void clearBreakpoint(unsigned int address) override;
+ virtual void clearAllBreakpoints() override;
+ virtual void toggleBreakpoint(unsigned int address) override;
+ virtual bool isMemCheck(unsigned int address) override;
+ virtual void toggleMemCheck(unsigned int address) override;
+ virtual unsigned int readMemory(unsigned int address) override;
enum {
EXTRAMEM_ARAM = 1,
};
- virtual unsigned int readExtraMemory(int memory, unsigned int address);
- virtual unsigned int readInstruction(unsigned int address);
- virtual unsigned int getPC();
- virtual void setPC(unsigned int address);
- virtual void step() {}
- virtual void breakNow();
- virtual void runToBreakpoint();
- virtual void insertBLR(unsigned int address, unsigned int value);
- virtual int getColor(unsigned int address);
- virtual std::string getDescription(unsigned int address);
- virtual void showJitResults(u32 address);
+ virtual unsigned int readExtraMemory(int memory, unsigned int address) override;
+ virtual unsigned int readInstruction(unsigned int address) override;
+ virtual unsigned int getPC() override;
+ virtual void setPC(unsigned int address) override;
+ virtual void step() override {}
+ virtual void breakNow() override;
+ virtual void runToBreakpoint() override;
+ virtual void insertBLR(unsigned int address, unsigned int value) override;
+ virtual int getColor(unsigned int address) override;
+ virtual std::string getDescription(unsigned int address) override;
+ virtual void showJitResults(u32 address) override;
};
#endif
diff --git a/Source/Core/Core/Src/FifoPlayer/FifoAnalyzer.cpp b/Source/Core/Core/Src/FifoPlayer/FifoAnalyzer.cpp
index 233dbbbb4a..2bdbd88074 100644
--- a/Source/Core/Core/Src/FifoPlayer/FifoAnalyzer.cpp
+++ b/Source/Core/Core/Src/FifoPlayer/FifoAnalyzer.cpp
@@ -124,12 +124,12 @@ void LoadCPReg(u32 subCmd, u32 value, CPMemory &cpMem)
u32 CalculateVertexSize(int vatIndex, const CPMemory &cpMem)
{
u32 vertexSize = 0;
-
+
int sizes[21];
CalculateVertexElementSizes(sizes, vatIndex, cpMem);
- for (int i = 0; i < 21; ++i)
- vertexSize += sizes[i];
+ for (auto& size : sizes)
+ vertexSize += size;
return vertexSize;
}
@@ -145,14 +145,14 @@ void CalculateVertexElementSizes(int sizes[], int vatIndex, const CPMemory &cpMe
const u32 tcElements[8] =
{
- vtxAttr.g0.Tex0CoordElements, vtxAttr.g1.Tex1CoordElements, vtxAttr.g1.Tex2CoordElements,
+ vtxAttr.g0.Tex0CoordElements, vtxAttr.g1.Tex1CoordElements, vtxAttr.g1.Tex2CoordElements,
vtxAttr.g1.Tex3CoordElements, vtxAttr.g1.Tex4CoordElements, vtxAttr.g2.Tex5CoordElements,
vtxAttr.g2.Tex6CoordElements, vtxAttr.g2.Tex7CoordElements
};
const u32 tcFormat[8] =
{
- vtxAttr.g0.Tex0CoordFormat, vtxAttr.g1.Tex1CoordFormat, vtxAttr.g1.Tex2CoordFormat,
+ vtxAttr.g0.Tex0CoordFormat, vtxAttr.g1.Tex1CoordFormat, vtxAttr.g1.Tex2CoordFormat,
vtxAttr.g1.Tex3CoordFormat, vtxAttr.g1.Tex4CoordFormat, vtxAttr.g2.Tex5CoordFormat,
vtxAttr.g2.Tex6CoordFormat, vtxAttr.g2.Tex7CoordFormat
};
@@ -171,7 +171,7 @@ void CalculateVertexElementSizes(int sizes[], int vatIndex, const CPMemory &cpMe
// Normals
if (vtxDesc.Normal != NOT_PRESENT)
{
- sizes[10] = VertexLoader_Normal::GetSize(vtxDesc.Normal, vtxAttr.g0.NormalFormat, vtxAttr.g0.NormalElements, vtxAttr.g0.NormalIndex3);
+ sizes[10] = VertexLoader_Normal::GetSize(vtxDesc.Normal, vtxAttr.g0.NormalFormat, vtxAttr.g0.NormalElements, vtxAttr.g0.NormalIndex3);
}
else
{
diff --git a/Source/Core/Core/Src/FifoPlayer/FifoDataFile.cpp b/Source/Core/Core/Src/FifoPlayer/FifoDataFile.cpp
index ebf19a07f8..118511af92 100644
--- a/Source/Core/Core/Src/FifoPlayer/FifoDataFile.cpp
+++ b/Source/Core/Core/Src/FifoPlayer/FifoDataFile.cpp
@@ -17,12 +17,10 @@ FifoDataFile::FifoDataFile() :
FifoDataFile::~FifoDataFile()
{
- for (unsigned int frameIdx = 0; frameIdx < m_Frames.size(); ++frameIdx)
+ for (auto& frame : m_Frames)
{
- FifoFrameInfo &frame = m_Frames[frameIdx];
-
- for (unsigned int i = 0; i < frame.memoryUpdates.size(); ++i)
- delete []frame.memoryUpdates[i].data;
+ for (auto& update : frame.memoryUpdates)
+ delete []update.data;
delete []frame.fifoData;
}
@@ -54,7 +52,7 @@ bool FifoDataFile::Save(const char *filename)
// Add space for frame list
u64 frameListOffset = file.Tell();
- for (unsigned int i = 0; i < m_Frames.size(); ++i)
+ for (size_t i = 0; i < m_Frames.size(); i++)
PadFile(sizeof(FileFrameInfo), file);
u64 bpMemOffset = file.Tell();
@@ -101,7 +99,7 @@ bool FifoDataFile::Save(const char *filename)
const FifoFrameInfo &srcFrame = m_Frames[i];
// Write FIFO data
- file.Seek(0, SEEK_END);
+ file.Seek(0, SEEK_END);
u64 dataOffset = file.Tell();
file.WriteBytes(srcFrame.fifoData, srcFrame.fifoDataSize);
@@ -118,7 +116,7 @@ bool FifoDataFile::Save(const char *filename)
// Write frame info
u64 frameOffset = frameListOffset + (i * sizeof(FileFrameInfo));
file.Seek(frameOffset, SEEK_SET);
- file.WriteBytes(&dstFrame, sizeof(FileFrameInfo));
+ file.WriteBytes(&dstFrame, sizeof(FileFrameInfo));
}
if (!file.Close())
@@ -152,7 +150,7 @@ FifoDataFile *FifoDataFile::Load(const std::string &filename, bool flagsOnly)
file.Close();
return dataFile;
}
-
+
u32 size = std::min((u32)BP_MEM_SIZE, header.bpMemSize);
file.Seek(header.bpMemOffset, SEEK_SET);
file.ReadArray(dataFile->m_BPMem, size);
@@ -221,7 +219,7 @@ u64 FifoDataFile::WriteMemoryUpdates(const std::vector<MemoryUpdate> &memUpdates
{
// Add space for memory update list
u64 updateListOffset = file.Tell();
- for (unsigned int i = 0; i < memUpdates.size(); ++i)
+ for (size_t i = 0; i < memUpdates.size(); i++)
PadFile(sizeof(FileMemoryUpdate), file);
for (unsigned int i = 0; i < memUpdates.size(); ++i)
@@ -232,7 +230,7 @@ u64 FifoDataFile::WriteMemoryUpdates(const std::vector<MemoryUpdate> &memUpdates
file.Seek(0, SEEK_END);
u64 dataOffset = file.Tell();
file.WriteBytes(srcUpdate.data, srcUpdate.size);
-
+
FileMemoryUpdate dstUpdate;
dstUpdate.address = srcUpdate.address;
dstUpdate.dataOffset = dataOffset;
diff --git a/Source/Core/Core/Src/FifoPlayer/FifoDataFile.h b/Source/Core/Core/Src/FifoPlayer/FifoDataFile.h
index d13568a21b..c5dc6aee8e 100644
--- a/Source/Core/Core/Src/FifoPlayer/FifoDataFile.h
+++ b/Source/Core/Core/Src/FifoPlayer/FifoDataFile.h
@@ -54,7 +54,7 @@ public:
};
FifoDataFile();
- ~FifoDataFile();
+ ~FifoDataFile();
void SetIsWii(bool isWii);
bool GetIsWii() const;
@@ -77,7 +77,7 @@ private:
{
FLAG_IS_WII = 1
};
-
+
void PadFile(u32 numBytes, File::IOFile &file);
void SetFlag(u32 flag, bool set);
diff --git a/Source/Core/Core/Src/FifoPlayer/FifoFileStruct.h b/Source/Core/Core/Src/FifoPlayer/FifoFileStruct.h
index 0e606cc465..1eeada1160 100644
--- a/Source/Core/Core/Src/FifoPlayer/FifoFileStruct.h
+++ b/Source/Core/Core/Src/FifoPlayer/FifoFileStruct.h
@@ -21,7 +21,7 @@ enum
union FileHeader
{
- struct
+ struct
{
u32 fileId;
u32 file_version;
diff --git a/Source/Core/Core/Src/FifoPlayer/FifoPlaybackAnalyzer.cpp b/Source/Core/Core/Src/FifoPlayer/FifoPlaybackAnalyzer.cpp
index 1ea80c8699..1e606e52e4 100644
--- a/Source/Core/Core/Src/FifoPlayer/FifoPlaybackAnalyzer.cpp
+++ b/Source/Core/Core/Src/FifoPlayer/FifoPlaybackAnalyzer.cpp
@@ -45,7 +45,7 @@ void FifoPlaybackAnalyzer::AnalyzeFrames(FifoDataFile *file, std::vector<Analyze
FifoAnalyzer::LoadCPReg(0x80 + i, cpMem[0x80 + i], m_CpMem);
FifoAnalyzer::LoadCPReg(0x90 + i, cpMem[0x90 + i], m_CpMem);
}
-
+
frameInfo.clear();
frameInfo.resize(file->GetFrameCount());
@@ -115,10 +115,8 @@ void FifoPlaybackAnalyzer::AddMemoryUpdate(MemoryUpdate memUpdate, AnalyzedFrame
u32 end = memUpdate.address + memUpdate.size;
// Remove portions of memUpdate that overlap with memory ranges that have been written by the GP
- for (unsigned int i = 0; i < m_WrittenMemory.size(); ++i)
+ for (const auto& range : m_WrittenMemory)
{
- const MemoryRange &range = m_WrittenMemory[i];
-
if (range.begin < end &&
range.end > begin)
{
@@ -210,7 +208,7 @@ u32 FifoPlaybackAnalyzer::DecodeCommand(u8 *data)
BPCmd bp = FifoAnalyzer::DecodeBPCmd(cmd2, m_BpMem);
FifoAnalyzer::LoadBPReg(bp, m_BpMem);
-
+
if (bp.address == BPMEM_TRIGGER_EFB_COPY)
StoreEfbCopyRegion();
}
@@ -286,7 +284,7 @@ void FifoPlaybackAnalyzer::StoreWrittenRegion(u32 address, u32 size)
{
u32 end = address + size;
vector<MemoryRange>::iterator newRangeIter = m_WrittenMemory.end();
-
+
// Search for overlapping memory regions and expand them to include the new region
for (vector<MemoryRange>::iterator iter = m_WrittenMemory.begin(); iter != m_WrittenMemory.end();)
{
@@ -295,7 +293,7 @@ void FifoPlaybackAnalyzer::StoreWrittenRegion(u32 address, u32 size)
if (range.begin < end && range.end > address)
{
// range at iterator and new range overlap
-
+
if (newRangeIter == m_WrittenMemory.end())
{
// Expand range to include the written region
diff --git a/Source/Core/Core/Src/FifoPlayer/FifoPlaybackAnalyzer.h b/Source/Core/Core/Src/FifoPlayer/FifoPlaybackAnalyzer.h
index f6df506947..e58acbd62a 100644
--- a/Source/Core/Core/Src/FifoPlayer/FifoPlaybackAnalyzer.h
+++ b/Source/Core/Core/Src/FifoPlayer/FifoPlaybackAnalyzer.h
@@ -33,7 +33,7 @@ private:
};
void AddMemoryUpdate(MemoryUpdate memUpdate, AnalyzedFrameInfo &frameInfo);
-
+
u32 DecodeCommand(u8 *data);
void LoadBP(u32 value0);
diff --git a/Source/Core/Core/Src/FifoPlayer/FifoPlayer.cpp b/Source/Core/Core/Src/FifoPlayer/FifoPlayer.cpp
index f660b41f9e..0f65c6a966 100644
--- a/Source/Core/Core/Src/FifoPlayer/FifoPlayer.cpp
+++ b/Source/Core/Core/Src/FifoPlayer/FifoPlayer.cpp
@@ -92,7 +92,7 @@ bool FifoPlayer::Play()
if (m_EarlyMemoryUpdates && m_CurrentFrame == m_FrameRangeStart)
WriteAllMemoryUpdates();
- WriteFrame(m_File->GetFrame(m_CurrentFrame), m_FrameInfo[m_CurrentFrame]);
+ WriteFrame(m_File->GetFrame(m_CurrentFrame), m_FrameInfo[m_CurrentFrame]);
++m_CurrentFrame;
}
@@ -259,9 +259,9 @@ void FifoPlayer::WriteAllMemoryUpdates()
for (int frameNum = 0; frameNum < m_File->GetFrameCount(); ++frameNum)
{
const FifoFrameInfo &frame = m_File->GetFrame(frameNum);
- for (unsigned int i = 0; i < frame.memoryUpdates.size(); ++i)
+ for (auto& update : frame.memoryUpdates)
{
- WriteMemory(frame.memoryUpdates[i]);
+ WriteMemory(update);
}
}
}
@@ -310,7 +310,7 @@ void FifoPlayer::SetupFifo()
const FifoFrameInfo& frame = m_File->GetFrame(m_CurrentFrame);
- // Set fifo bounds
+ // Set fifo bounds
WriteCP(0x20, frame.fifoStart);
WriteCP(0x22, frame.fifoStart >> 16);
WriteCP(0x24, frame.fifoEnd);
@@ -368,7 +368,7 @@ void FifoPlayer::LoadMemory()
LoadCPReg(0x80 + i, regs[0x80 + i]);
LoadCPReg(0x90 + i, regs[0x90 + i]);
}
-
+
for (int i = 0; i < 16; ++i)
{
LoadCPReg(0xa0 + i, regs[0xa0 + i]);
diff --git a/Source/Core/Core/Src/FifoPlayer/FifoPlayer.h b/Source/Core/Core/Src/FifoPlayer/FifoPlayer.h
index bad936cca9..b99093f164 100644
--- a/Source/Core/Core/Src/FifoPlayer/FifoPlayer.h
+++ b/Source/Core/Core/Src/FifoPlayer/FifoPlayer.h
@@ -106,7 +106,7 @@ private:
FifoDataFile *m_File;
- std::vector<AnalyzedFrameInfo> m_FrameInfo;
+ std::vector<AnalyzedFrameInfo> m_FrameInfo;
};
#endif
diff --git a/Source/Core/Core/Src/FifoPlayer/FifoRecordAnalyzer.cpp b/Source/Core/Core/Src/FifoPlayer/FifoRecordAnalyzer.cpp
index 293e062b2c..d628e9bfbf 100644
--- a/Source/Core/Core/Src/FifoPlayer/FifoRecordAnalyzer.cpp
+++ b/Source/Core/Core/Src/FifoPlayer/FifoRecordAnalyzer.cpp
@@ -60,7 +60,7 @@ void FifoRecordAnalyzer::DecodeOpcode(u8 *data)
u32 value = ReadFifo32(data);
FifoAnalyzer::LoadCPReg(cmd2, value, m_CpMem);
}
-
+
break;
case GX_LOAD_XF_REG:
@@ -98,7 +98,7 @@ void FifoRecordAnalyzer::DecodeOpcode(u8 *data)
u32 cmd2 = ReadFifo32(data);
BPCmd bp = FifoAnalyzer::DecodeBPCmd(cmd2, *m_BpMem);
-
+
if (bp.address == BPMEM_LOADTLUT1)
ProcessLoadTlut1();
if (bp.address == BPMEM_PRELOAD_MODE)
diff --git a/Source/Core/Core/Src/FifoPlayer/FifoRecordAnalyzer.h b/Source/Core/Core/Src/FifoPlayer/FifoRecordAnalyzer.h
index 94e53b17ed..af7d1c997d 100644
--- a/Source/Core/Core/Src/FifoPlayer/FifoRecordAnalyzer.h
+++ b/Source/Core/Core/Src/FifoPlayer/FifoRecordAnalyzer.h
@@ -38,7 +38,7 @@ private:
bool m_DrawingObject;
BPMemory *m_BpMem;
- FifoAnalyzer::CPMemory m_CpMem;
+ FifoAnalyzer::CPMemory m_CpMem;
};
#endif
diff --git a/Source/Core/Core/Src/FifoPlayer/FifoRecorder.cpp b/Source/Core/Core/Src/FifoPlayer/FifoRecorder.cpp
index 26fb661162..fb98205d27 100644
--- a/Source/Core/Core/Src/FifoPlayer/FifoRecorder.cpp
+++ b/Source/Core/Core/Src/FifoPlayer/FifoRecorder.cpp
@@ -22,7 +22,7 @@ FifoRecorder::FifoRecorder() :
m_File(NULL),
m_SkipNextData(true),
m_SkipFutureData(true),
- m_FrameEnded(false),
+ m_FrameEnded(false),
m_Ram(NULL),
m_ExRam(NULL)
{
@@ -53,7 +53,7 @@ void FifoRecorder::StartRecording(s32 numFrames, CallbackFunc finishedCb)
if (!m_IsRecording)
{
m_WasRecording = false;
- m_IsRecording = true;
+ m_IsRecording = true;
m_RecordFramesRemaining = numFrames;
}
@@ -88,7 +88,7 @@ void FifoRecorder::WriteGPCommand(u8 *data, u32 size)
memcpy(m_CurrentFrame.fifoData, &m_FifoData[0], dataSize);
sMutex.lock();
-
+
// Copy frame to file
// The file will be responsible for freeing the memory allocated for each frame's fifoData
m_File->AddFrame(m_CurrentFrame);
@@ -132,11 +132,11 @@ void FifoRecorder::WriteMemory(u32 address, u32 size, MemoryUpdate::Type type)
memUpdate.fifoPosition = m_FifoData.size();
memUpdate.size = size;
memUpdate.type = type;
- memUpdate.data = new u8[size];
+ memUpdate.data = new u8[size];
memcpy(memUpdate.data, newData, size);
m_CurrentFrame.memoryUpdates.push_back(memUpdate);
- }
+ }
}
void FifoRecorder::EndFrame(u32 fifoStart, u32 fifoEnd)
@@ -149,7 +149,7 @@ void FifoRecorder::EndFrame(u32 fifoStart, u32 fifoEnd)
m_CurrentFrame.fifoStart = fifoStart;
m_CurrentFrame.fifoEnd = fifoEnd;
-
+
if (m_WasRecording)
{
// If recording a fixed number of frames then check if the end of the recording was reached
diff --git a/Source/Core/Core/Src/FifoPlayer/FifoRecorder.h b/Source/Core/Core/Src/FifoPlayer/FifoRecorder.h
index 7641a9d7f1..25cad32579 100644
--- a/Source/Core/Core/Src/FifoPlayer/FifoRecorder.h
+++ b/Source/Core/Core/Src/FifoPlayer/FifoRecorder.h
@@ -27,7 +27,7 @@ public:
void WriteGPCommand(u8 *data, u32 size);
void WriteMemory(u32 address, u32 size, MemoryUpdate::Type type);
-
+
void EndFrame(u32 fifoStart, u32 fifoEnd);
// This function must be called before writing GP commands
diff --git a/Source/Core/Core/Src/GeckoCode.cpp b/Source/Core/Core/Src/GeckoCode.cpp
index f8359e1bc5..5e4102474f 100644
--- a/Source/Core/Core/Src/GeckoCode.cpp
+++ b/Source/Core/Core/Src/GeckoCode.cpp
@@ -145,7 +145,7 @@ bool InstallCodeHandler()
u32 codelist_location = 0x800028B8; // Debugger on location (0x800022A8 = Debugger off, using codehandleronly.bin)
std::string data;
std::string _rCodeHandlerFilename = File::GetSysDirectory() + GECKO_CODE_HANDLER;
- if (!File::ReadFileToString(false, _rCodeHandlerFilename.c_str(), data))
+ if (!File::ReadFileToString(_rCodeHandlerFilename.c_str(), data))
return false;
// Install code handler
@@ -764,7 +764,7 @@ bool RegisterOps()
dst_addr += new_data;
else
src_addr += new_data;
-
+
while (count--)
Memory::Write_U8(Memory::Read_U8(src_addr++), dst_addr++);
}
@@ -922,7 +922,7 @@ bool SpecialIf()
result = (left_val < right_val);
break;
}
- }
+ }
else if (code.subtype & 0x4)
{
// counters get reset if code execution is off
diff --git a/Source/Core/Core/Src/GeckoCode.h b/Source/Core/Core/Src/GeckoCode.h
index 4156be8cbb..c04005494d 100644
--- a/Source/Core/Core/Src/GeckoCode.h
+++ b/Source/Core/Core/Src/GeckoCode.h
@@ -52,7 +52,7 @@ namespace Gecko
u32 data;
//struct
//{
- //
+ //
//};
};
diff --git a/Source/Core/Core/Src/GeckoCodeConfig.cpp b/Source/Core/Core/Src/GeckoCodeConfig.cpp
index 58b5b46968..b6059ef090 100644
--- a/Source/Core/Core/Src/GeckoCodeConfig.cpp
+++ b/Source/Core/Core/Src/GeckoCodeConfig.cpp
@@ -23,14 +23,14 @@ void LoadCodes(const IniFile& globalIni, const IniFile& localIni, std::vector<Ge
GeckoCode gcode;
- for (auto lines_iter = lines.begin(); lines_iter!=lines.end(); ++lines_iter)
+ for (auto& line : lines)
{
- if (lines_iter->empty())
+ if (line.empty())
continue;
- std::istringstream ss(*lines_iter);
+ std::istringstream ss(line);
- switch ((*lines_iter)[0])
+ switch ((line)[0])
{
// enabled or disabled code
@@ -52,7 +52,7 @@ void LoadCodes(const IniFile& globalIni, const IniFile& localIni, std::vector<Ge
// notes
case '*':
- gcode.notes.push_back(std::string(++lines_iter->begin(), lines_iter->end()));
+ gcode.notes.push_back(std::string(++line.begin(), line.end()));
break;
// either part of the code, or an option choice
@@ -60,7 +60,7 @@ void LoadCodes(const IniFile& globalIni, const IniFile& localIni, std::vector<Ge
{
GeckoCode::Code new_code;
// TODO: support options
- new_code.original_line = *lines_iter;
+ new_code.original_line = line;
ss >> std::hex >> new_code.address >> new_code.data;
gcode.codes.push_back(new_code);
}
@@ -75,16 +75,15 @@ void LoadCodes(const IniFile& globalIni, const IniFile& localIni, std::vector<Ge
inis[i]->GetLines("Gecko_Enabled", lines, false);
- for (auto lines_iter = lines.begin(); lines_iter!=lines.end(); ++lines_iter)
+ for (auto line : lines)
{
- auto line = *lines_iter;
if (line.size() == 0 || line[0] != '$')
continue;
std::string name = line.substr(1);
- for (auto gcodes_iter = gcodes.begin(); gcodes_iter != gcodes.end(); ++gcodes_iter)
+ for (auto& ogcode : gcodes)
{
- if ((*gcodes_iter).name == name)
- (*gcodes_iter).enabled = true;
+ if (ogcode.name == name)
+ ogcode.enabled = true;
}
}
}
diff --git a/Source/Core/Core/Src/HLE/HLE.cpp b/Source/Core/Core/Src/HLE/HLE.cpp
index 3d3d8d6052..24180fc6b5 100644
--- a/Source/Core/Core/Src/HLE/HLE.cpp
+++ b/Source/Core/Core/Src/HLE/HLE.cpp
@@ -38,8 +38,8 @@ struct SPatch
int flags;
};
-static const SPatch OSPatches[] =
-{
+static const SPatch OSPatches[] =
+{
{ "FAKE_TO_SKIP_0", HLE_Misc::UnimplementedFunction, HLE_HOOK_REPLACE, HLE_TYPE_GENERIC },
{ "PanicAlert", HLE_Misc::HLEPanicAlert, HLE_HOOK_REPLACE, HLE_TYPE_DEBUG },
diff --git a/Source/Core/Core/Src/HW/AudioInterface.cpp b/Source/Core/Core/Src/HW/AudioInterface.cpp
index e9ef2eed03..b86482d58f 100644
--- a/Source/Core/Core/Src/HW/AudioInterface.cpp
+++ b/Source/Core/Core/Src/HW/AudioInterface.cpp
@@ -88,13 +88,13 @@ union AICR
{
AICR() { hex = 0;}
AICR(u32 _hex) { hex = _hex;}
- struct
+ struct
{
u32 PSTAT : 1; // sample counter/playback enable
u32 AISFR : 1; // AIS Frequency (0=32khz 1=48khz)
u32 AIINTMSK : 1; // 0=interrupt masked 1=interrupt enabled
u32 AIINT : 1; // audio interrupt status
- u32 AIINTVLD : 1; // This bit controls whether AIINT is affected by the Interrupt Timing register
+ u32 AIINTVLD : 1; // This bit controls whether AIINT is affected by the Interrupt Timing register
// matching the sample counter. Once set, AIINT will hold its last value
u32 SCRESET : 1; // write to reset counter
u32 AIDFR : 1; // AID Frequency (0=48khz 1=32khz)
@@ -206,7 +206,7 @@ void Write32(const u32 _Value, const u32 _Address)
case AI_CONTROL_REGISTER:
{
AICR tmpAICtrl(_Value);
-
+
m_Control.AIINTMSK = tmpAICtrl.AIINTMSK;
m_Control.AIINTVLD = tmpAICtrl.AIINTVLD;
@@ -250,7 +250,7 @@ void Write32(const u32 _Value, const u32 _Address)
}
// Sample Count Reset
- if (tmpAICtrl.SCRESET)
+ if (tmpAICtrl.SCRESET)
{
DEBUG_LOG(AUDIO_INTERFACE, "Reset AIS sample counter");
m_SampleCounter = 0;
@@ -360,7 +360,7 @@ unsigned int Callback_GetStreaming(short* _pDestBuffer, unsigned int _numSamples
static s16 l1 = 0;
static s16 l2 = 0;
-
+
if ( frac >= 0x10000 || frac == 0)
{
frac &= 0xffff;
@@ -388,7 +388,7 @@ unsigned int Callback_GetStreaming(short* _pDestBuffer, unsigned int _numSamples
}
else //1:1 no resampling
- {
+ {
pcm_l = (((int)pcm[pos*2] * lvolume) >> 8) + (int)(*_pDestBuffer);
if (pcm_l > 32767) pcm_l = 32767;
else if (pcm_l < -32767) pcm_l = -32767;
@@ -398,11 +398,11 @@ unsigned int Callback_GetStreaming(short* _pDestBuffer, unsigned int _numSamples
if (pcm_r > 32767) pcm_r = 32767;
else if (pcm_r < -32767) pcm_r = -32767;
*_pDestBuffer++ = pcm_r;
-
+
pos++;
}
- if (pos == NGCADPCM::SAMPLES_PER_BLOCK)
+ if (pos == NGCADPCM::SAMPLES_PER_BLOCK)
pos = 0;
}
}
diff --git a/Source/Core/Core/Src/HW/BBA-TAP/TAP_Unix.cpp b/Source/Core/Core/Src/HW/BBA-TAP/TAP_Unix.cpp
index 97c73eeb40..1140ef72e0 100644
--- a/Source/Core/Core/Src/HW/BBA-TAP/TAP_Unix.cpp
+++ b/Source/Core/Core/Src/HW/BBA-TAP/TAP_Unix.cpp
@@ -88,7 +88,7 @@ void CEXIETHERNET::Deactivate()
}
bool CEXIETHERNET::IsActivated()
-{
+{
#ifdef __linux__
return fd != -1 ? true : false;
#else
@@ -96,7 +96,7 @@ bool CEXIETHERNET::IsActivated()
#endif
}
-bool CEXIETHERNET::SendFrame(u8* frame, u32 size)
+bool CEXIETHERNET::SendFrame(u8* frame, u32 size)
{
#ifdef __linux__
INFO_LOG(SP1, "SendFrame %x\n%s", size, ArrayToString(frame, size, 0x10).c_str());
diff --git a/Source/Core/Core/Src/HW/BBA-TAP/TAP_Win32.cpp b/Source/Core/Core/Src/HW/BBA-TAP/TAP_Win32.cpp
index a444ca63cb..dd7ad20d5b 100644
--- a/Source/Core/Core/Src/HW/BBA-TAP/TAP_Win32.cpp
+++ b/Source/Core/Core/Src/HW/BBA-TAP/TAP_Win32.cpp
@@ -95,7 +95,7 @@ bool GetGUIDs(std::vector<std::basic_string<TCHAR>>& guids)
if (status != ERROR_SUCCESS)
return false;
-
+
while (!found_all)
{
TCHAR enum_name[256];
@@ -240,7 +240,7 @@ void CEXIETHERNET::Deactivate()
}
bool CEXIETHERNET::IsActivated()
-{
+{
return mHAdapter != INVALID_HANDLE_VALUE;
}
@@ -266,14 +266,14 @@ bool CEXIETHERNET::SendFrame(u8 *frame, u32 size)
// Always report the packet as being sent successfully, even though it might be a lie
SendComplete();
-
+
return true;
}
VOID CALLBACK CEXIETHERNET::ReadWaitCallback(PVOID lpParameter, BOOLEAN TimerFired)
{
CEXIETHERNET* self = (CEXIETHERNET*)lpParameter;
-
+
GetOverlappedResult(self->mHAdapter, &self->mReadOverlapped,
(LPDWORD)&self->mRecvBufferLength, false);
@@ -332,7 +332,7 @@ void CEXIETHERNET::RecvStop()
return;
UnregisterWaitEx(mHReadWait, INVALID_HANDLE_VALUE);
-
+
CloseHandle(mHRecvEvent);
mHRecvEvent = INVALID_HANDLE_VALUE;
}
diff --git a/Source/Core/Core/Src/HW/CPU.cpp b/Source/Core/Core/Src/HW/CPU.cpp
index f013c9ee7d..dc81955f13 100644
--- a/Source/Core/Core/Src/HW/CPU.cpp
+++ b/Source/Core/Core/Src/HW/CPU.cpp
@@ -75,7 +75,7 @@ reswitch:
case PowerPC::CPU_POWERDOWN:
//1: Exit loop!!
- return;
+ return;
}
}
}
@@ -96,7 +96,7 @@ void CCPU::Reset()
}
-void CCPU::StepOpcode(Common::Event *event)
+void CCPU::StepOpcode(Common::Event *event)
{
m_StepEvent.Set();
if (PowerPC::GetState() == PowerPC::CPU_STEPPING)
@@ -106,7 +106,7 @@ void CCPU::StepOpcode(Common::Event *event)
}
void CCPU::EnableStepping(const bool _bStepping)
-{
+{
if (_bStepping)
{
PowerPC::Pause();
@@ -123,7 +123,7 @@ void CCPU::EnableStepping(const bool _bStepping)
}
}
-void CCPU::Break()
+void CCPU::Break()
{
EnableStepping(true);
}
diff --git a/Source/Core/Core/Src/HW/CPU.h b/Source/Core/Core/Src/HW/CPU.h
index 0b5508a94a..219df48370 100644
--- a/Source/Core/Core/Src/HW/CPU.h
+++ b/Source/Core/Core/Src/HW/CPU.h
@@ -14,7 +14,7 @@ namespace Common {
class CCPU
{
public:
- // init
+ // init
static void Init(int cpu_core);
// shutdown
@@ -24,7 +24,7 @@ public:
static void Run();
// causes shutdown
- static void Stop();
+ static void Stop();
// Reset
static void Reset();
@@ -35,7 +35,7 @@ public:
static void SingleStep();
// Enable or Disable Stepping
- static void EnableStepping(const bool _bStepping);
+ static void EnableStepping(const bool _bStepping);
// break, same as EnableStepping(true).
static void Break();
diff --git a/Source/Core/Core/Src/HW/DSP.cpp b/Source/Core/Core/Src/HW/DSP.cpp
index 3ef62e5aaa..51ca22d388 100644
--- a/Source/Core/Core/Src/HW/DSP.cpp
+++ b/Source/Core/Core/Src/HW/DSP.cpp
@@ -554,7 +554,7 @@ void Read32(u32& _uReturnValue, const u32 _iAddress)
case AR_DMA_CNT_H:
_uReturnValue = g_arDMA.Cnt.Hex;
break;
-
+
case AR_DMA_MMADDR_H:
_uReturnValue = g_arDMA.MMAddr;
break;
@@ -592,7 +592,7 @@ void Write32(const u32 _iValue, const u32 _iAddress)
g_arDMA.ARAddr = _iValue & ~31;
break;
- case AR_DMA_CNT_H:
+ case AR_DMA_CNT_H:
g_arDMA.Cnt.Hex = _iValue & ~31;
Do_ARAM_DMA();
break;
@@ -665,7 +665,7 @@ void UpdateAudioDMA()
// external audio fifo in the emulator, to be mixed with the disc
// streaming output. If that audio queue fills up, we delay the
// emulator.
-
+
g_audioDMA.BlocksLeft--;
g_audioDMA.ReadAddress += 32;
@@ -811,10 +811,10 @@ u8 ReadARAM(u32 _iAddress)
{
//NOTICE_LOG(DSPINTERFACE, "ReadARAM 0x%08x", _iAddress);
if (g_ARAM.wii_mode)
- {
+ {
if (_iAddress & 0x10000000)
return g_ARAM.ptr[_iAddress & g_ARAM.mask];
- else
+ else
return Memory::Read_U8(_iAddress & Memory::RAM_MASK);
}
else
diff --git a/Source/Core/Core/Src/HW/DSP.h b/Source/Core/Core/Src/HW/DSP.h
index 68d83edabb..8feabf4876 100644
--- a/Source/Core/Core/Src/HW/DSP.h
+++ b/Source/Core/Core/Src/HW/DSP.h
@@ -38,7 +38,7 @@ void GenerateDSPInterruptFromDSPEmu(DSPInterruptType _DSPInterruptType, bool _bS
// Read32
void Read16(u16& _uReturnValue, const u32 _uAddress);
-void Read32(u32& _uReturnValue, const u32 _uAddress);
+void Read32(u32& _uReturnValue, const u32 _uAddress);
// Write
void Write16(const u16 _uValue, const u32 _uAddress);
diff --git a/Source/Core/Core/Src/HW/DSPHLE/DSPHLE.cpp b/Source/Core/Core/Src/HW/DSPHLE/DSPHLE.cpp
index 71c43a0302..501bc2a0dd 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/DSPHLE.cpp
+++ b/Source/Core/Core/Src/HW/DSPHLE/DSPHLE.cpp
@@ -253,7 +253,7 @@ void DSPHLE::DSP_WriteMailBoxLow(bool _CPUMailbox, unsigned short _Value)
m_dspState.CPUMailbox = (m_dspState.CPUMailbox & 0xFFFF0000) | _Value;
SendMailToDSP(m_dspState.CPUMailbox);
// Mail sent so clear MSB to show that it is progressed
- m_dspState.CPUMailbox &= 0x7FFFFFFF;
+ m_dspState.CPUMailbox &= 0x7FFFFFFF;
}
else
{
@@ -334,5 +334,5 @@ void DSPHLE::DSP_ClearAudioBuffer(bool mute)
void DSPHLE::PauseAndLock(bool doLock, bool unpauseOnUnlock)
{
if (doLock || unpauseOnUnlock)
- DSP_ClearAudioBuffer(doLock);
+ DSP_ClearAudioBuffer(doLock);
}
diff --git a/Source/Core/Core/Src/HW/DSPHLE/DSPHLE.h b/Source/Core/Core/Src/HW/DSPHLE/DSPHLE.h
index f53d4f7d1b..6627b9dc2a 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/DSPHLE.h
+++ b/Source/Core/Core/Src/HW/DSPHLE/DSPHLE.h
@@ -16,24 +16,24 @@ class DSPHLE : public DSPEmulator {
public:
DSPHLE();
- virtual bool Initialize(void *hWnd, bool bWii, bool bDSPThread);
- virtual void Shutdown();
- virtual bool IsLLE() { return false; }
-
- virtual void DoState(PointerWrap &p);
- virtual void PauseAndLock(bool doLock, bool unpauseOnUnlock=true);
-
- virtual void DSP_WriteMailBoxHigh(bool _CPUMailbox, unsigned short);
- virtual void DSP_WriteMailBoxLow(bool _CPUMailbox, unsigned short);
- virtual unsigned short DSP_ReadMailBoxHigh(bool _CPUMailbox);
- virtual unsigned short DSP_ReadMailBoxLow(bool _CPUMailbox);
- virtual unsigned short DSP_ReadControlRegister();
- virtual unsigned short DSP_WriteControlRegister(unsigned short);
- virtual void DSP_SendAIBuffer(unsigned int address, unsigned int num_samples);
- virtual void DSP_Update(int cycles);
- virtual void DSP_StopSoundStream();
- virtual void DSP_ClearAudioBuffer(bool mute);
- virtual u32 DSP_UpdateRate();
+ virtual bool Initialize(void *hWnd, bool bWii, bool bDSPThread) override;
+ virtual void Shutdown() override;
+ virtual bool IsLLE() override { return false ; }
+
+ virtual void DoState(PointerWrap &p) override;
+ virtual void PauseAndLock(bool doLock, bool unpauseOnUnlock=true) override;
+
+ virtual void DSP_WriteMailBoxHigh(bool _CPUMailbox, unsigned short) override;
+ virtual void DSP_WriteMailBoxLow(bool _CPUMailbox, unsigned short) override;
+ virtual unsigned short DSP_ReadMailBoxHigh(bool _CPUMailbox) override;
+ virtual unsigned short DSP_ReadMailBoxLow(bool _CPUMailbox) override;
+ virtual unsigned short DSP_ReadControlRegister() override;
+ virtual unsigned short DSP_WriteControlRegister(unsigned short) override;
+ virtual void DSP_SendAIBuffer(unsigned int address, unsigned int num_samples) override;
+ virtual void DSP_Update(int cycles) override;
+ virtual void DSP_StopSoundStream() override;
+ virtual void DSP_ClearAudioBuffer(bool mute) override;
+ virtual u32 DSP_UpdateRate() override;
CMailHandler& AccessMailHandler() { return m_MailHandler; }
@@ -47,9 +47,8 @@ private:
void InitMixer();
// Declarations and definitions
- void *m_hWnd;
bool m_bWii;
-
+
bool m_InitMixer;
// Fake mailbox utility
diff --git a/Source/Core/Core/Src/HW/DSPHLE/HLEMixer.h b/Source/Core/Core/Src/HW/DSPHLE/HLEMixer.h
index 3d0369d452..d19291d567 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/HLEMixer.h
+++ b/Source/Core/Core/Src/HW/DSPHLE/HLEMixer.h
@@ -9,13 +9,13 @@
class DSPHLE;
-class HLEMixer : public CMixer
+class HLEMixer : public CMixer
{
public:
HLEMixer(DSPHLE *dsp_hle, unsigned int AISampleRate = 48000, unsigned int DACSampleRate = 48000, unsigned int BackendSampleRate = 32000)
: CMixer(AISampleRate, DACSampleRate, BackendSampleRate), m_DSPHLE(dsp_hle) {};
-
- virtual void Premix(short *samples, unsigned int numSamples);
+
+ virtual void Premix(short *samples, unsigned int numSamples) override;
private:
DSPHLE *m_DSPHLE;
};
diff --git a/Source/Core/Core/Src/HW/DSPHLE/MailHandler.h b/Source/Core/Core/Src/HW/DSPHLE/MailHandler.h
index efc512012f..b203c8c587 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/MailHandler.h
+++ b/Source/Core/Core/Src/HW/DSPHLE/MailHandler.h
@@ -26,7 +26,7 @@ public:
u16 ReadDSPMailboxLow();
u32 GetNextMail()
- {
+ {
if (m_Mails.size())
{
return m_Mails.front();
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX.cpp b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX.cpp
index e82ce626c9..2be8ce4b87 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX.cpp
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX.cpp
@@ -72,8 +72,8 @@ void CUCode_AX::LoadResamplingCoefficients()
File::IOFile fp(filename, "rb");
fp.ReadBytes(m_coeffs, 0x1000);
- for (u32 i = 0; i < 0x800; ++i)
- m_coeffs[i] = Common::swap16(m_coeffs[i]);
+ for (auto& coef : m_coeffs)
+ coef = Common::swap16(coef);
m_coeffs_available = true;
}
@@ -386,7 +386,7 @@ void CUCode_AX::SetupProcessing(u32 init_addr)
};
u32 init_idx = 0;
- for (u32 i = 0; i < sizeof (buffers) / sizeof (buffers[0]); ++i)
+ for (auto& buffer : buffers)
{
s32 init_val = (s32)((init_data[init_idx] << 16) | init_data[init_idx + 1]);
s16 delta = (s16)init_data[init_idx + 2];
@@ -395,13 +395,13 @@ void CUCode_AX::SetupProcessing(u32 init_addr)
if (!init_val)
{
- memset(buffers[i], 0, 5 * 32 * sizeof (int));
+ memset(buffer, 0, 5 * 32 * sizeof (int));
}
else
{
for (u32 j = 0; j < 32 * 5; ++j)
{
- buffers[i][j] = init_val;
+ buffer[j] = init_val;
init_val += delta;
}
}
@@ -501,20 +501,20 @@ void CUCode_AX::MixAUXSamples(int aux_id, u32 write_addr, u32 read_addr)
if (write_addr)
{
int* ptr = (int*)HLEMemory_Get_Pointer(write_addr);
- for (u32 i = 0; i < 3; ++i)
+ for (auto& buffer : buffers)
for (u32 j = 0; j < 5 * 32; ++j)
- *ptr++ = Common::swap32(buffers[i][j]);
+ *ptr++ = Common::swap32(buffer[j]);
}
// Then, we read the new temp from the CPU and add to our current
// temp.
int* ptr = (int*)HLEMemory_Get_Pointer(read_addr);
- for (u32 i = 0; i < 5 * 32; ++i)
- m_samples_left[i] += (int)Common::swap32(*ptr++);
- for (u32 i = 0; i < 5 * 32; ++i)
- m_samples_right[i] += (int)Common::swap32(*ptr++);
- for (u32 i = 0; i < 5 * 32; ++i)
- m_samples_surround[i] += (int)Common::swap32(*ptr++);
+ for (auto& sample : m_samples_left)
+ sample += (int)Common::swap32(*ptr++);
+ for (auto& sample : m_samples_right)
+ sample += (int)Common::swap32(*ptr++);
+ for (auto& sample : m_samples_surround)
+ sample += (int)Common::swap32(*ptr++);
}
void CUCode_AX::UploadLRS(u32 dst_addr)
@@ -575,10 +575,10 @@ void CUCode_AX::MixAUXBLR(u32 ul_addr, u32 dl_addr)
{
// Upload AUXB L/R
int* ptr = (int*)HLEMemory_Get_Pointer(ul_addr);
- for (u32 i = 0; i < 5 * 32; ++i)
- *ptr++ = Common::swap32(m_samples_auxB_left[i]);
- for (u32 i = 0; i < 5 * 32; ++i)
- *ptr++ = Common::swap32(m_samples_auxB_right[i]);
+ for (auto& sample : m_samples_auxB_left)
+ *ptr++ = Common::swap32(sample);
+ for (auto& sample : m_samples_auxB_right)
+ *ptr++ = Common::swap32(sample);
// Mix AUXB L/R to MAIN L/R, and replace AUXB L/R
ptr = (int*)HLEMemory_Get_Pointer(dl_addr);
@@ -620,14 +620,14 @@ void CUCode_AX::SendAUXAndMix(u32 main_auxa_up, u32 auxb_s_up, u32 main_l_dl,
// Upload AUXA LRS
int* ptr = (int*)HLEMemory_Get_Pointer(main_auxa_up);
- for (u32 i = 0; i < sizeof (up_buffers) / sizeof (up_buffers[0]); ++i)
+ for (auto& up_buffer : up_buffers)
for (u32 j = 0; j < 32 * 5; ++j)
- *ptr++ = Common::swap32(up_buffers[i][j]);
+ *ptr++ = Common::swap32(up_buffer[j]);
// Upload AUXB S
ptr = (int*)HLEMemory_Get_Pointer(auxb_s_up);
- for (u32 i = 0; i < 32 * 5; ++i)
- *ptr++ = Common::swap32(m_samples_auxB_surround[i]);
+ for (auto& sample : m_samples_auxB_surround)
+ *ptr++ = Common::swap32(sample);
// Download buffers and addresses
int* dl_buffers[] = {
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX.h b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX.h
index 5af2daed12..5539a00820 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX.h
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AX.h
@@ -56,11 +56,11 @@ public:
CUCode_AX(DSPHLE* dsp_hle, u32 crc);
virtual ~CUCode_AX();
- virtual void HandleMail(u32 mail);
- virtual void MixAdd(short* out_buffer, int nsamples);
- virtual void Update(int cycles);
- virtual void DoState(PointerWrap& p);
- u32 GetUpdateMs();
+ virtual void HandleMail(u32 mail) override;
+ virtual void MixAdd(short* out_buffer, int nsamples) override;
+ virtual void Update(int cycles) override;
+ virtual void DoState(PointerWrap& p) override;
+ u32 GetUpdateMs() override;
// Needed because StdThread.h std::thread implem does not support member
// pointers. TODO(delroth): obsolete.
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXStructs.h b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXStructs.h
index 54a7dce6e9..58039fc2f9 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXStructs.h
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXStructs.h
@@ -237,7 +237,7 @@ struct AXPB
u16 is_stream; // 1 = stream, 0 = one shot
PBMixer mixer;
- PBInitialTimeDelay initial_time_delay;
+ PBInitialTimeDelay initial_time_delay;
PBUpdates updates;
PBDpop dpop;
PBVolumeEnvelope vol_env;
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.cpp b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.cpp
index a67d5538ee..72e5c4a3fa 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.cpp
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.cpp
@@ -21,6 +21,7 @@ CUCode_AXWii::CUCode_AXWii(DSPHLE *dsp_hle, u32 l_CRC)
{
for (int i = 0; i < 3; ++i)
m_last_aux_volumes[i] = 0x8000;
+
WARN_LOG(DSPHLE, "Instantiating CUCode_AXWii");
m_old_axwii = (l_CRC == 0xfa450138);
@@ -279,7 +280,7 @@ void CUCode_AXWii::SetupProcessing(u32 init_addr)
};
u32 init_idx = 0;
- for (u32 i = 0; i < sizeof (buffers) / sizeof (buffers[0]); ++i)
+ for (auto& buffer : buffers)
{
s32 init_val = (s32)((init_data[init_idx] << 16) | init_data[init_idx + 1]);
s16 delta = (s16)init_data[init_idx + 2];
@@ -288,13 +289,13 @@ void CUCode_AXWii::SetupProcessing(u32 init_addr)
if (!init_val)
{
- memset(buffers[i].ptr, 0, 3 * buffers[i].samples * sizeof (int));
+ memset(buffer.ptr, 0, 3 * buffer.samples * sizeof (int));
}
else
{
- for (u32 j = 0; j < 3 * buffers[i].samples; ++j)
+ for (u32 j = 0; j < 3 * buffer.samples; ++j)
{
- buffers[i].ptr[j] = init_val;
+ buffer.ptr[j] = init_val;
init_val += delta;
}
}
@@ -523,19 +524,19 @@ void CUCode_AXWii::MixAUXSamples(int aux_id, u32 write_addr, u32 read_addr, u16
if (write_addr)
{
int* ptr = (int*)HLEMemory_Get_Pointer(write_addr);
- for (u32 i = 0; i < 3; ++i)
+ for (auto& buffer : buffers)
for (u32 j = 0; j < 3 * 32; ++j)
- *ptr++ = Common::swap32(buffers[i][j]);
+ *ptr++ = Common::swap32(buffer[j]);
}
// Then read the buffers from the CPU and add to our main buffers.
int* ptr = (int*)HLEMemory_Get_Pointer(read_addr);
- for (u32 i = 0; i < 3; ++i)
+ for (auto& main_buffer : main_buffers)
for (u32 j = 0; j < 3 * 32; ++j)
{
s64 sample = (s64)(s32)Common::swap32(*ptr++);
sample *= volume_ramp[j];
- main_buffers[i][j] += (s32)(sample >> 15);
+ main_buffer[j] += (s32)(sample >> 15);
}
}
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.h b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.h
index 5e8080b97a..a9e6950684 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.h
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_AXWii.h
@@ -12,9 +12,9 @@ class CUCode_AXWii : public CUCode_AX
public:
CUCode_AXWii(DSPHLE *dsp_hle, u32 _CRC);
virtual ~CUCode_AXWii();
- u32 GetUpdateMs();
+ u32 GetUpdateMs() override;
- virtual void DoState(PointerWrap &p);
+ virtual void DoState(PointerWrap &p) override;
protected:
// Additional AUX buffers
@@ -56,7 +56,7 @@ protected:
// but this gives better precision and nicer code.
void GenerateVolumeRamp(u16* output, u16 vol1, u16 vol2, size_t nvals);
- virtual void HandleCommandList();
+ virtual void HandleCommandList() override;
void SetupProcessing(u32 init_addr);
void AddToLR(u32 val_addr, bool neg);
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_CARD.h b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_CARD.h
index 831bf63c8e..a1e1bd901a 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_CARD.h
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_CARD.h
@@ -12,10 +12,10 @@ class CUCode_CARD : public IUCode
public:
CUCode_CARD(DSPHLE *dsp_hle, u32 crc);
virtual ~CUCode_CARD();
- u32 GetUpdateMs();
+ u32 GetUpdateMs() override;
- void HandleMail(u32 _uMail);
- void Update(int cycles);
+ void HandleMail(u32 _uMail) override;
+ void Update(int cycles) override;
};
#endif
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_GBA.h b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_GBA.h
index e2e5ddd8bb..61e68a916b 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_GBA.h
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_GBA.h
@@ -10,8 +10,8 @@ struct CUCode_GBA : public IUCode
{
CUCode_GBA(DSPHLE *dsp_hle, u32 crc);
virtual ~CUCode_GBA();
- u32 GetUpdateMs();
+ u32 GetUpdateMs() override;
- void HandleMail(u32 _uMail);
- void Update(int cycles);
+ void HandleMail(u32 _uMail) override;
+ void Update(int cycles) override;
};
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_InitAudioSystem.h b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_InitAudioSystem.h
index 17b74d4b59..79d59ac1bc 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_InitAudioSystem.h
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_InitAudioSystem.h
@@ -12,10 +12,10 @@ class CUCode_InitAudioSystem : public IUCode
public:
CUCode_InitAudioSystem(DSPHLE *dsp_hle, u32 crc);
virtual ~CUCode_InitAudioSystem();
- u32 GetUpdateMs();
+ u32 GetUpdateMs() override;
- void HandleMail(u32 _uMail);
- void Update(int cycles);
+ void HandleMail(u32 _uMail) override;
+ void Update(int cycles) override;
void Init();
};
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_ROM.cpp b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_ROM.cpp
index 1c89a1f8f7..2b63bcf29c 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_ROM.cpp
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_ROM.cpp
@@ -2,6 +2,10 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
+#ifdef _WIN32
+#include <Windows.h>
+#endif
+
#include "UCodes.h"
#include "UCode_ROM.h"
#include "Hash.h"
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_ROM.h b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_ROM.h
index e6dbe80f1e..791ba588d5 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_ROM.h
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_ROM.h
@@ -12,12 +12,12 @@ class CUCode_Rom : public IUCode
public:
CUCode_Rom(DSPHLE *dsp_hle, u32 _crc);
virtual ~CUCode_Rom();
- u32 GetUpdateMs();
+ u32 GetUpdateMs() override;
- void HandleMail(u32 _uMail);
- void Update(int cycles);
+ void HandleMail(u32 _uMail) override;
+ void Update(int cycles) override;
- void DoState(PointerWrap &p);
+ void DoState(PointerWrap &p) override;
private:
struct SUCode
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda.cpp b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda.cpp
index b1627a0cd7..899a7d902f 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda.cpp
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda.cpp
@@ -18,7 +18,7 @@
CUCode_Zelda::CUCode_Zelda(DSPHLE *dsp_hle, u32 _CRC)
- :
+ :
IUCode(dsp_hle, _CRC),
m_bSyncInProgress(false),
@@ -60,7 +60,7 @@ CUCode_Zelda::CUCode_Zelda(DSPHLE *dsp_hle, u32 _CRC)
if (IsLightVersion())
{
NOTICE_LOG(DSPHLE, "Luigi Stylee!");
- m_rMailHandler.PushMail(0x88881111);
+ m_rMailHandler.PushMail(0x88881111);
}
else
{
@@ -125,7 +125,7 @@ void CUCode_Zelda::HandleMail(u32 _uMail)
void CUCode_Zelda::HandleMail_LightVersion(u32 _uMail)
{
- //ERROR_LOG(DSPHLE, "Light version mail %08X, list in progress: %s, step: %i/%i",
+ //ERROR_LOG(DSPHLE, "Light version mail %08X, list in progress: %s, step: %i/%i",
// _uMail, m_bListInProgress ? "yes":"no", m_step, m_numSteps);
if (m_bSyncCmdPending)
@@ -322,7 +322,7 @@ void CUCode_Zelda::HandleMail_NormalVersion(u32 _uMail)
m_rMailHandler.PushMail(DSP_SYNC);
DSP::GenerateDSPInterruptFromDSPEmu(DSP::INT_DSP);
m_rMailHandler.PushMail(0xF355FF00 | m_CurBuffer);
-
+
m_CurVoice = 0;
if (m_CurBuffer == m_NumBuffers)
@@ -371,10 +371,10 @@ void CUCode_Zelda::HandleMail_NormalVersion(u32 _uMail)
// - 00000000, 000X0000 - Sync mails
// - CDD1XXXX - comes after DsyncFrame completed, seems to be debugging stuff
- if (_uMail == 0)
+ if (_uMail == 0)
{
m_bSyncInProgress = true;
- }
+ }
else if ((_uMail >> 16) == 0)
{
m_bListInProgress = true;
@@ -542,7 +542,7 @@ void CUCode_Zelda::ExecuteList()
{
if (m_bSyncCmdPending)
m_rMailHandler.PushMail(0x80000000 | m_NumBuffers); // after CMD_2
- else
+ else
m_rMailHandler.PushMail(0x80000000 | Sync); // after CMD_0, CMD_1
}
else
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda.h b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda.h
index 29a9678ed2..76f2663317 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda.h
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda.h
@@ -15,11 +15,11 @@
union ZeldaVoicePB
{
- struct
+ struct
{
// Read-Write part
u16 Status; // 0x00 | 1 = play, 0 = stop
- u16 KeyOff; // 0x01 | writing 1 stops voice?
+ u16 KeyOff; // 0x01 | writing 1 stops voice?
u16 RatioInt; // 0x02 | Position delta (playback speed)
u16 Unk03; // 0x03 | unknown
u16 NeedsReset; // 0x04 | indicates if some values in PB need to be reset
@@ -48,10 +48,10 @@ union ZeldaVoicePB
u16 Unk17; // 0x17 | unknown
u16 Unk18[0x10]; // 0x18 | unknown
- u16 Unk28; // 0x28 | unknown
+ u16 Unk28; // 0x28 | unknown
u16 Unk29; // 0x29 | unknown // multiplied by 0x2a @ 0d21/ZWW
u16 Unk2a; // 0x2A | unknown // loaded at 0d2e/ZWW
- u16 Unk2b; // 0x2B | unknown
+ u16 Unk2b; // 0x2B | unknown
u16 VolumeMode; // 0x2C | unknown // See 0337/ZWW
u16 Unk2D; // 0x2D | unknown
u16 Unk2E; // 0x2E | unknown
@@ -75,7 +75,7 @@ union ZeldaVoicePB
u16 FilterState1; // 0x78 | unknown // ZWW: 0c84_FilterBufferInPlace loads and stores. Simply, the filter state.
u16 FilterState2; // 0x79 | unknown // ZWW: same as above. these two are active if 0x04a8 != 0.
u16 Unk7A; // 0x7A | unknown
- u16 Unk7B; // 0x7B | unknown
+ u16 Unk7B; // 0x7B | unknown
u16 Unk7C; // 0x7C | unknown
u16 Unk7D; // 0x7D | unknown
u16 Unk7E; // 0x7E | unknown
@@ -120,20 +120,20 @@ class CUCode_Zelda : public IUCode
public:
CUCode_Zelda(DSPHLE *dsp_hle, u32 _CRC);
virtual ~CUCode_Zelda();
- u32 GetUpdateMs();
+ u32 GetUpdateMs() override;
- void HandleMail(u32 _uMail);
+ void HandleMail(u32 _uMail) override;
void HandleMail_LightVersion(u32 _uMail);
void HandleMail_SMSVersion(u32 _uMail);
void HandleMail_NormalVersion(u32 _uMail);
- void Update(int cycles);
- void MixAdd(short* buffer, int size);
+ void Update(int cycles) override;
+ void MixAdd(short* buffer, int size) override;
void CopyPBsFromRAM();
void CopyPBsToRAM();
- void DoState(PointerWrap &p);
+ void DoState(PointerWrap &p) override;
int *templbuffer;
int *temprbuffer;
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_ADPCM.cpp b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_ADPCM.cpp
index 1fbfaebaba..3ff7a55546 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_ADPCM.cpp
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_ADPCM.cpp
@@ -21,10 +21,10 @@ void CUCode_Zelda::AFCdecodebuffer(const s16 *coef, const char *src, signed shor
nibbles[i + 1] = *src & 15;
src++;
}
- for (int i = 0; i < 16; i++) {
- if (nibbles[i] >= 8)
- nibbles[i] = nibbles[i] - 16;
- nibbles[i] <<= 11;
+ for (auto& nibble : nibbles) {
+ if (nibble >= 8)
+ nibble = nibble - 16;
+ nibble <<= 11;
}
}
else
@@ -41,11 +41,11 @@ void CUCode_Zelda::AFCdecodebuffer(const s16 *coef, const char *src, signed shor
src++;
}
- for (int i = 0; i < 16; i++)
+ for (auto& nibble : nibbles)
{
- if (nibbles[i] >= 2)
- nibbles[i] = nibbles[i] - 4;
- nibbles[i] <<= 13;
+ if (nibble >= 2)
+ nibble = nibble - 4;
+ nibble <<= 13;
}
}
@@ -65,4 +65,4 @@ void CUCode_Zelda::AFCdecodebuffer(const s16 *coef, const char *src, signed shor
}
*histp = hist;
*hist2p = hist2;
-}
+}
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_Synth.cpp b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_Synth.cpp
index cc7fd68ea0..261ff64d8e 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_Synth.cpp
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_Synth.cpp
@@ -18,9 +18,9 @@ void CUCode_Zelda::RenderSynth_RectWave(ZeldaVoicePB &PB, s32* _Buffer, int _Siz
s64 TrueSamplePosition = PB.CurSampleFrac;
// PB.Format == 0x3 -> Rectangular Wave, 0x0 -> Square Wave
- unsigned int mask = PB.Format ? 3 : 1;
+ unsigned int mask = PB.Format ? 3 : 1;
// int shift = PB.Format ? 2 : 1; // Unused?
-
+
u32 pos[2] = {0, 0};
int i = 0;
@@ -55,7 +55,7 @@ _lRestart:
}
}
- while(i < _Size)
+ while(i < _Size)
{
s16 sample = ((pos[1] & mask) == mask) ? 0xc000 : 0x4000;
@@ -84,12 +84,12 @@ _lRestart:
PB.CurSampleFrac = TrueSamplePosition & 0xFFFF;
}
-void CUCode_Zelda::RenderSynth_SawWave(ZeldaVoicePB &PB, s32* _Buffer, int _Size)
+void CUCode_Zelda::RenderSynth_SawWave(ZeldaVoicePB &PB, s32* _Buffer, int _Size)
{
s32 ratio = (s32)ceil((float)PB.RatioInt / 3);
s64 pos = PB.CurSampleFrac;
- for (int i = 0; i < _Size; i++)
+ for (int i = 0; i < _Size; i++)
{
pos += ratio;
_Buffer[i] = pos & 0xFFFF;
@@ -161,10 +161,10 @@ void CUCode_Zelda::RenderSynth_WaveTable(ZeldaVoicePB &PB, s32* _Buffer, int _Si
address = AddValueToReg(address, ((ACC0 >> 16) & 0xffff));
ACC0 &= 0xffff0000ffffULL;
- for(int i = 0; i < 0x50; i++)
+ for(int i = 0; i < 0x50; i++)
{
_Buffer[i] = m_MiscTable[address];
-
+
ACC0 += PB.RatioInt << 5;
address = AddValueToReg(address, ((ACC0 >> 16) & 0xffff));
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_Voice.cpp b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_Voice.cpp
index 9c3fedddb3..ab3a4bef2c 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_Voice.cpp
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCode_Zelda_Voice.cpp
@@ -77,7 +77,7 @@ void CUCode_Zelda::Resample(ZeldaVoicePB &PB, int size, s16 *in, s32 *out, bool
int ratio = ConvertRatio(PB.RatioInt);
int in_size = SizeForResampling(PB, size, ratio);
-
+
int position = PB.CurSampleFrac;
for (int i = 0; i < size; i++)
{
@@ -110,7 +110,7 @@ void CUCode_Zelda::RenderVoice_PCM16(ZeldaVoicePB &PB, s16 *_Buffer, int _Size)
if (PB.NeedsReset)
{
UpdateSampleCounters10(PB);
- for (int i = 0; i < 4; i++)
+ for (int i = 0; i < 4; i++)
PB.ResamplerOldData[i] = 0; // Doesn't belong here, but dunno where to do it.
}
if (PB.ReachedEnd)
@@ -168,7 +168,7 @@ void CUCode_Zelda::RenderVoice_PCM8(ZeldaVoicePB &PB, s16 *_Buffer, int _Size)
if (PB.NeedsReset)
{
UpdateSampleCounters8(PB);
- for (int i = 0; i < 4; i++)
+ for (int i = 0; i < 4; i++)
PB.ResamplerOldData[i] = 0; // Doesn't belong here, but dunno where to do it.
}
if (PB.ReachedEnd)
@@ -211,8 +211,8 @@ clear_buffer:
PB.CurAddr += rem_samples;
}
-template <typename T>
-void PrintObject(const T &Obj)
+template <typename T>
+void PrintObject(const T &Obj)
{
std::stringstream ss;
u8 *o = (u8 *)&Obj;
@@ -248,11 +248,11 @@ void CUCode_Zelda::RenderVoice_AFC(ZeldaVoicePB &PB, s16 *_Buffer, int _Size)
{
// This is 0717_ReadOutPBStuff
// increment 4fb
- // zelda:
+ // zelda:
// perhaps init or "has played before"
PB.CurBlock = 0x00;
- PB.YN2 = 0x00; // history1
- PB.YN1 = 0x00; // history2
+ PB.YN2 = 0x00; // history1
+ PB.YN1 = 0x00; // history2
// Length in samples.
PB.RemLength = PB.Length;
@@ -261,7 +261,7 @@ void CUCode_Zelda::RenderVoice_AFC(ZeldaVoicePB &PB, s16 *_Buffer, int _Size)
PB.ReachedEnd = 0;
PB.CurSampleFrac = 0;
- for (int i = 0; i < 4; i++)
+ for (int i = 0; i < 4; i++)
PB.ResamplerOldData[i] = 0;
}
@@ -300,7 +300,7 @@ restart:
PB.KeyOff = 1;
PB.RemLength = 0;
PB.CurAddr = PB.StartAddr + PB.RestartPos + PB.Length;
-
+
while (sampleCount < _RealSize)
_Buffer[sampleCount++] = 0;
return;
@@ -413,7 +413,7 @@ void CUCode_Zelda::RenderVoice_Raw(ZeldaVoicePB &PB, s16 *_Buffer, int _Size)
u64 ACC1 = (u32)(PB.raw[0x34 ^ 1] << 16); // 0x34
// ERROR_LOG(DSPHLE, "%08x %08x", (u32)ACC0, (u32)ACC1);
-
+
ACC0 -= ACC1;
PB.Unk36[0] = (u16)(ACC0 >> 16);
@@ -461,7 +461,7 @@ void Decoder21_ReadAudio(ZeldaVoicePB &PB, int size, s16 *_Buffer)
#endif
// ACC0 is the address
// ACC1 is the read size
-
+
const u32 ram_mask = 0x1FFFFFF;
const u8 *source = Memory::GetPointer(0x80000000);
const u16 *src = (u16 *)(source + (ACC0 & ram_mask));
@@ -525,12 +525,12 @@ void CUCode_Zelda::RenderAddVoice(ZeldaVoicePB &PB, s32* _LeftBuffer, s32* _Righ
break;
case 0x0021:
- // Raw sound from RAM. Important for Zelda WW. Cutscenes use the music
+ // Raw sound from RAM. Important for Zelda WW. Cutscenes use the music
// to let the game know they ended
RenderVoice_Raw(PB, m_ResampleBuffer + 4, _Size);
Resample(PB, _Size, m_ResampleBuffer + 4, m_VoiceBuffer, true);
break;
-
+
default:
// Second jump table
// TODO: Cases to find examples of:
@@ -546,7 +546,7 @@ void CUCode_Zelda::RenderAddVoice(ZeldaVoicePB &PB, s32* _LeftBuffer, s32* _Righ
RenderSynth_RectWave(PB, m_VoiceBuffer, _Size);
break;
- case 0x0001: // Example: "Denied" sound when trying to pull out a sword
+ case 0x0001: // Example: "Denied" sound when trying to pull out a sword
// indoors in ZWW
RenderSynth_SawWave(PB, m_VoiceBuffer, _Size);
break;
@@ -577,7 +577,7 @@ void CUCode_Zelda::RenderAddVoice(ZeldaVoicePB &PB, s32* _LeftBuffer, s32* _Righ
}
ContinueWithBlock:
-
+
if (PB.FilterEnable)
{ // 0x04a8
for (int i = 0; i < _Size; i++)
@@ -590,7 +590,7 @@ ContinueWithBlock:
{
// TODO?
}
-
+
// Apply volume. There are two different modes.
if (PB.VolumeMode != 0)
{
@@ -629,7 +629,7 @@ ContinueWithBlock:
}
// ZWW 0d34
-
+
int diff = (s16)PB.raw[0x2b] - (s16)PB.raw[0x2a];
PB.raw[0x2a] = PB.raw[0x2b];
@@ -649,7 +649,7 @@ ContinueWithBlock:
// We just mix to the first two and call it stereo :p
int value = b00[0x4 + count];
//int delta = b00[0xC + count] << 11; // Unused?
-
+
int ramp = value << 16;
for (int i = 0; i < _Size; i++)
{
@@ -730,7 +730,7 @@ ContinueWithBlock:
}
// Update the PB with the volume actually reached.
PB.raw[addr++] = ramp >> 16;
-
+
addr++;
}
}
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCodes.cpp b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCodes.cpp
index 47981192f3..c8b847c17c 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCodes.cpp
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCodes.cpp
@@ -2,6 +2,10 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
+#ifdef _WIN32
+#include <Windows.h>
+#endif
+
#include "UCodes.h"
#include "UCode_AX.h"
diff --git a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCodes.h b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCodes.h
index cd8e8f9552..7737a8a59b 100644
--- a/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCodes.h
+++ b/Source/Core/Core/Src/HW/DSPHLE/UCodes/UCodes.h
@@ -90,7 +90,7 @@ protected:
// Some ucodes (notably zelda) require a resume mail to be
// sent if they are be started via PrepareBootUCode.
- // The HLE can use this to
+ // The HLE can use this to
bool NeedsResumeMail();
void DoStateShared(PointerWrap &p);
diff --git a/Source/Core/Core/Src/HW/DSPLLE/DSPDebugInterface.cpp b/Source/Core/Core/Src/HW/DSPLLE/DSPDebugInterface.cpp
index 1aa64aa190..9343fa7089 100644
--- a/Source/Core/Core/Src/HW/DSPLLE/DSPDebugInterface.cpp
+++ b/Source/Core/Core/Src/HW/DSPLLE/DSPDebugInterface.cpp
@@ -10,7 +10,7 @@
#include "DSPSymbols.h"
#include "DSP/DSPMemoryMap.h"
-void DSPDebugInterface::disasm(unsigned int address, char *dest, int max_size)
+void DSPDebugInterface::disasm(unsigned int address, char *dest, int max_size)
{
// we'll treat addresses as line numbers.
strncpy(dest, DSPSymbols::GetLineText(address), max_size);
@@ -72,7 +72,7 @@ bool DSPDebugInterface::isAlive()
return true; //Core::GetState() != Core::CORE_UNINITIALIZED;
}
-bool DSPDebugInterface::isBreakpoint(unsigned int address)
+bool DSPDebugInterface::isBreakpoint(unsigned int address)
{
int real_addr = DSPSymbols::Line2Addr(address);
if (real_addr >= 0)
@@ -97,7 +97,7 @@ void DSPDebugInterface::setBreakpoint(unsigned int address)
void DSPDebugInterface::clearBreakpoint(unsigned int address)
{
int real_addr = DSPSymbols::Line2Addr(address);
-
+
if (real_addr >= 0)
{
if (dsp_breakpoints.Remove(real_addr))
@@ -134,7 +134,7 @@ void DSPDebugInterface::toggleMemCheck(unsigned int address)
PanicAlert("MemCheck functionality not supported in DSP module.");
}
-void DSPDebugInterface::insertBLR(unsigned int address, unsigned int value)
+void DSPDebugInterface::insertBLR(unsigned int address, unsigned int value)
{
PanicAlert("insertBLR functionality not supported in DSP module.");
}
@@ -145,7 +145,7 @@ void DSPDebugInterface::insertBLR(unsigned int address, unsigned int value)
int DSPDebugInterface::getColor(unsigned int address)
{
static const int colors[6] =
- {
+ {
0xd0FFFF, // light cyan
0xFFd0d0, // light red
0xd8d8FF, // light blue
@@ -175,24 +175,24 @@ int DSPDebugInterface::getColor(unsigned int address)
// =============
-std::string DSPDebugInterface::getDescription(unsigned int address)
+std::string DSPDebugInterface::getDescription(unsigned int address)
{
return ""; // g_symbolDB.GetDescription(address);
}
-unsigned int DSPDebugInterface::getPC()
+unsigned int DSPDebugInterface::getPC()
{
return DSPSymbols::Addr2Line(g_dsp.pc);
}
-void DSPDebugInterface::setPC(unsigned int address)
+void DSPDebugInterface::setPC(unsigned int address)
{
int new_pc = DSPSymbols::Line2Addr(address);
if (new_pc > 0)
g_dsp.pc = new_pc;
}
-void DSPDebugInterface::runToBreakpoint()
+void DSPDebugInterface::runToBreakpoint()
{
}
diff --git a/Source/Core/Core/Src/HW/DSPLLE/DSPDebugInterface.h b/Source/Core/Core/Src/HW/DSPLLE/DSPDebugInterface.h
index 2773b86870..ac34991149 100644
--- a/Source/Core/Core/Src/HW/DSPLLE/DSPDebugInterface.h
+++ b/Source/Core/Core/Src/HW/DSPLLE/DSPDebugInterface.h
@@ -14,7 +14,7 @@
class DSPDebugInterface : public DebugInterface
{
public:
- DSPDebugInterface(){}
+ DSPDebugInterface(){}
virtual void disasm(unsigned int address, char *dest, int max_size);
virtual void getRawMemoryString(int memory, unsigned int address, char *dest, int max_size);
virtual int getInstructionSize(int instruction) {return 1;}
diff --git a/Source/Core/Core/Src/HW/DSPLLE/DSPHost.cpp b/Source/Core/Core/Src/HW/DSPLLE/DSPHost.cpp
index 26e7110d6e..4b25f4ba20 100644
--- a/Source/Core/Core/Src/HW/DSPLLE/DSPHost.cpp
+++ b/Source/Core/Core/Src/HW/DSPLLE/DSPHost.cpp
@@ -58,7 +58,7 @@ void DSPHost_CodeLoaded(const u8 *ptr, int size)
DSPSymbols::Clear();
// Auto load text file - if none just disassemble.
-
+
NOTICE_LOG(DSPLLE, "g_dsp.iram_crc: %08x", g_dsp.iram_crc);
DSPSymbols::Clear();
diff --git a/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp b/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp
index d16af5f601..af747815d1 100644
--- a/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp
+++ b/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp
@@ -185,7 +185,7 @@ void DSPLLE::InitMixer()
unsigned int AISampleRate, DACSampleRate;
AudioInterface::Callback_GetSampleRate(AISampleRate, DACSampleRate);
delete soundStream;
- soundStream = AudioCommon::InitSoundStream(new CMixer(AISampleRate, DACSampleRate, 48000), m_hWnd);
+ soundStream = AudioCommon::InitSoundStream(new CMixer(AISampleRate, DACSampleRate, 48000), m_hWnd);
if(!soundStream) PanicAlert("Error starting up sound stream");
// Mixer is initialized
m_InitMixer = true;
@@ -294,7 +294,7 @@ void DSPLLE::DSP_Update(int cycles)
cycles_between_ss_update = 121500000 / 200;
else
cycles_between_ss_update = 81000000 / 200;
-
+
m_cycle_count += cycles;
if (m_cycle_count > cycles_between_ss_update)
{
@@ -350,7 +350,7 @@ void DSPLLE::DSP_ClearAudioBuffer(bool mute)
void DSPLLE::PauseAndLock(bool doLock, bool unpauseOnUnlock)
{
if (doLock || unpauseOnUnlock)
- DSP_ClearAudioBuffer(doLock);
+ DSP_ClearAudioBuffer(doLock);
if (doLock)
m_csDSPThreadActive.lock();
diff --git a/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.h b/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.h
index 05321aee06..71addf77b0 100644
--- a/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.h
+++ b/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.h
@@ -40,7 +40,6 @@ private:
std::thread m_hDSPThread;
std::mutex m_csDSPThreadActive;
bool m_InitMixer;
- void *m_hWnd;
bool m_bWii;
bool m_bDSPThread;
bool m_bIsRunning;
diff --git a/Source/Core/Core/Src/HW/DSPLLE/DSPLLEGlobals.cpp b/Source/Core/Core/Src/HW/DSPLLE/DSPLLEGlobals.cpp
index a132d10654..c879f5604b 100644
--- a/Source/Core/Core/Src/HW/DSPLLE/DSPLLEGlobals.cpp
+++ b/Source/Core/Core/Src/HW/DSPLLE/DSPLLEGlobals.cpp
@@ -6,6 +6,7 @@
#include "FileUtil.h"
#include "DSP/DSPCore.h"
#include "DSPLLEGlobals.h"
+#include <cinttypes>
#if PROFILE
@@ -37,15 +38,19 @@ void ProfilerDump(u64 count)
File::IOFile pFile("DSP_Prof.txt", "wt");
if (pFile)
{
- fprintf(pFile.GetHandle(), "Number of DSP steps: %llu\n\n", count);
+ fprintf(pFile.GetHandle(), "Number of DSP steps: %" PRIu64 "\n\n", count);
for (int i=0; i<PROFILE_MAP_SIZE;i++)
{
if (g_profileMap[i] > 0)
{
- fprintf(pFile.GetHandle(), "0x%04X: %llu\n", i, g_profileMap[i]);
+ fprintf(pFile.GetHandle(), "0x%04X: %" PRIu64 "\n", i, g_profileMap[i]);
}
}
}
}
+#elif defined(_MSC_VER)
+
+namespace { char SilenceLNK4221; };
+
#endif
diff --git a/Source/Core/Core/Src/HW/DSPLLE/DSPLLEGlobals.h b/Source/Core/Core/Src/HW/DSPLLE/DSPLLEGlobals.h
index 281402297e..4b3902c635 100644
--- a/Source/Core/Core/Src/HW/DSPLLE/DSPLLEGlobals.h
+++ b/Source/Core/Core/Src/HW/DSPLLE/DSPLLEGlobals.h
@@ -12,7 +12,7 @@
#define PROFILE 0
-#if PROFILE
+#if PROFILE
void ProfilerDump(u64 _count);
void ProfilerInit();
void ProfilerAddDelta(int _addr, int _delta);
diff --git a/Source/Core/Core/Src/HW/DSPLLE/DSPLLETools.cpp b/Source/Core/Core/Src/HW/DSPLLE/DSPLLETools.cpp
index 3bc919a17b..d0f50834a2 100644
--- a/Source/Core/Core/Src/HW/DSPLLE/DSPLLETools.cpp
+++ b/Source/Core/Core/Src/HW/DSPLLE/DSPLLETools.cpp
@@ -2,6 +2,10 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
+#ifdef _WIN32
+#include <Windows.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
@@ -51,7 +55,7 @@ bool DumpDSPCode(const u8 *code_be, int size_in_bytes, u32 crc)
if (!disasm.Disassemble(0, code, 0x0000, text))
return false;
- return File::WriteStringToFile(true, text, txtFile);
+ return File::WriteStringToFile(text, txtFile);
}
// TODO make this useful :p
diff --git a/Source/Core/Core/Src/HW/DSPLLE/DSPSymbols.cpp b/Source/Core/Core/Src/HW/DSPLLE/DSPSymbols.cpp
index a0afc516dd..90beaed796 100644
--- a/Source/Core/Core/Src/HW/DSPLLE/DSPSymbols.cpp
+++ b/Source/Core/Core/Src/HW/DSPLLE/DSPSymbols.cpp
@@ -64,10 +64,10 @@ Symbol *DSPSymbolDB::GetSymbolFromAddr(u32 addr)
}
else
{
- for (XFuncMap::iterator iter = functions.begin(); iter != functions.end(); ++iter)
+ for (auto& func : functions)
{
- if (addr >= iter->second.address && addr < iter->second.address + iter->second.size)
- return &iter->second;
+ if (addr >= func.second.address && addr < func.second.address + func.second.size)
+ return &func.second;
}
}
return 0;
@@ -108,7 +108,7 @@ bool IsAlpha(char c)
void DisasssembleRange(u16 start, u16 end)
{
-
+
}
bool ReadAnnotatedAssembly(const char *filename)
@@ -120,9 +120,9 @@ bool ReadAnnotatedAssembly(const char *filename)
return false;
}
char line[512];
-
+
int last_addr = 0;
-
+
lines.reserve(3000);
// Symbol generation
@@ -229,7 +229,7 @@ bool ReadAnnotatedAssembly(const char *filename)
return false;
}
}
- else
+ else
{
// if (line_counter >= 200 && line_counter <= 220)
// NOTICE_LOG(DSPLLE, "Got Hex Digit %04x from %s, line %i", hex, line, line_counter);
diff --git a/Source/Core/Core/Src/HW/DSPLLE/DSPSymbols.h b/Source/Core/Core/Src/HW/DSPLLE/DSPSymbols.h
index d4d8cdd242..c9b8214157 100644
--- a/Source/Core/Core/Src/HW/DSPLLE/DSPSymbols.h
+++ b/Source/Core/Core/Src/HW/DSPLLE/DSPSymbols.h
@@ -10,13 +10,13 @@
namespace DSPSymbols {
-class DSPSymbolDB : public SymbolDB
+class DSPSymbolDB : public SymbolDB
{
public:
DSPSymbolDB() {}
~DSPSymbolDB() {}
-
- Symbol *GetSymbolFromAddr(u32 addr);
+
+ Symbol *GetSymbolFromAddr(u32 addr) override;
};
diff --git a/Source/Core/Core/Src/HW/DVDInterface.cpp b/Source/Core/Core/Src/HW/DVDInterface.cpp
index bc6c44f7dd..fc326fec90 100644
--- a/Source/Core/Core/Src/HW/DVDInterface.cpp
+++ b/Source/Core/Core/Src/HW/DVDInterface.cpp
@@ -36,7 +36,7 @@ enum
DI_COMMAND_1 = 0x0C,
DI_COMMAND_2 = 0x10,
DI_DMA_ADDRESS_REGISTER = 0x14,
- DI_DMA_LENGTH_REGISTER = 0x18,
+ DI_DMA_LENGTH_REGISTER = 0x18,
DI_DMA_CONTROL_REGISTER = 0x1C,
DI_IMMEDIATE_DATA_BUFFER = 0x20,
DI_CONFIG_REGISTER = 0x24
@@ -62,7 +62,7 @@ enum
};
// DI Status Register
-union UDISR
+union UDISR
{
u32 Hex;
struct
@@ -284,7 +284,7 @@ void SetDiscInside(bool _DiscInside)
}
bool IsDiscInside()
-{
+{
return g_bDiscInside;
}
@@ -342,7 +342,7 @@ void SetLidOpen(bool _bOpen)
}
bool IsLidOpen()
-{
+{
return (m_DICVR.CVR == 1);
}
@@ -455,7 +455,7 @@ void Write32(const u32 _iValue, const u32 _iAddress)
{
_dbg_assert_(DVDINTERFACE, 0);
}
-
+
UpdateInterrupts();
}
break;
@@ -487,14 +487,14 @@ void Write32(const u32 _iValue, const u32 _iAddress)
m_DILENGTH.Hex = _iValue & ~0x1f;
}
break;
- case DI_DMA_CONTROL_REGISTER:
+ case DI_DMA_CONTROL_REGISTER:
{
m_DICR.Hex = _iValue & 7;
if (m_DICR.TSTART)
{
if (!SConfig::GetInstance().m_LocalCoreStartupParameter.bFastDiscSpeed)
{
- u64 ticksUntilTC = m_DILENGTH.Length *
+ u64 ticksUntilTC = m_DILENGTH.Length *
(SystemTimers::GetTicksPerSecond() / (SConfig::GetInstance().m_LocalCoreStartupParameter.bWii ? 1 : DISC_TRANSFER_RATE_GC)) +
(SystemTimers::GetTicksPerSecond() * DISC_ACCESS_TIME_MS / 1000);
CoreTiming::ScheduleEvent((int)ticksUntilTC, tc);
@@ -541,7 +541,7 @@ void UpdateInterrupts()
void GenerateDIInterrupt(DI_InterruptType _DVDInterrupt)
{
- switch(_DVDInterrupt)
+ switch(_DVDInterrupt)
{
case INT_DEINT: m_DISR.DEINT = 1; break;
case INT_TCINT: m_DISR.TCINT = 1; break;
@@ -709,7 +709,7 @@ void ExecuteCommand(UDICR& _DICR)
{
ERROR_LOG(DVDINTERFACE, "GC-AM: 0xAA, DMABuffer=%08x, DMALength=%08x", m_DIMAR.Address, m_DILENGTH.Length);
u32 iDVDOffset = m_DICMDBUF[1].Hex << 2;
- unsigned int len = m_DILENGTH.Length;
+ unsigned int len = m_DILENGTH.Length;
int offset = iDVDOffset - 0x1F900000;
/*
if (iDVDOffset == 0x84800000)
@@ -794,7 +794,7 @@ void ExecuteCommand(UDICR& _DICR)
3 - "Testing a game program. %d%%"
4 - "Loading a game program. %d%%"
5 - go
- 6 - error xx
+ 6 - error xx
*/
media_buffer[8] = percentage;
media_buffer[4] = 0x05;
@@ -803,7 +803,7 @@ void ExecuteCommand(UDICR& _DICR)
}
case 0x101:
media_buffer[4] = 3; // version
- media_buffer[5] = 3;
+ media_buffer[5] = 3;
media_buffer[6] = 1; // xxx
media_buffer[8] = 1;
media_buffer[16] = 0xFF;
@@ -846,7 +846,7 @@ void ExecuteCommand(UDICR& _DICR)
// Audio Stream (Immediate)
// m_DICMDBUF[0].CMDBYTE1 = subcommand
- // m_DICMDBUF[1].Hex << 2 = offset on disc
+ // m_DICMDBUF[1].Hex << 2 = offset on disc
// m_DICMDBUF[2].Hex = Length of the stream
case 0xE1:
{
diff --git a/Source/Core/Core/Src/HW/EXI.cpp b/Source/Core/Core/Src/HW/EXI.cpp
index aa3e42c160..30b7728fe9 100644
--- a/Source/Core/Core/Src/HW/EXI.cpp
+++ b/Source/Core/Core/Src/HW/EXI.cpp
@@ -48,23 +48,23 @@ void Init()
void Shutdown()
{
- for (u32 i = 0; i < NUM_CHANNELS; i++)
+ for (auto& channel : g_Channels)
{
- delete g_Channels[i];
- g_Channels[i] = NULL;
+ delete channel;
+ channel = NULL;
}
}
void DoState(PointerWrap &p)
{
- for (int c = 0; c < NUM_CHANNELS; ++c)
- g_Channels[c]->DoState(p);
+ for (auto& channel : g_Channels)
+ channel->DoState(p);
}
void PauseAndLock(bool doLock, bool unpauseOnUnlock)
{
- for (int c = 0; c < NUM_CHANNELS; ++c)
- g_Channels[c]->PauseAndLock(doLock, unpauseOnUnlock);
+ for (auto& channel : g_Channels)
+ channel->PauseAndLock(doLock, unpauseOnUnlock);
}
@@ -87,9 +87,9 @@ void ChangeDevice(const u8 channel, const TEXIDevices device_type, const u8 devi
IEXIDevice* FindDevice(TEXIDevices device_type, int customIndex)
{
- for (int i = 0; i < NUM_CHANNELS; ++i)
+ for (auto& channel : g_Channels)
{
- IEXIDevice* device = g_Channels[i]->FindDevice(device_type, customIndex);
+ IEXIDevice* device = channel->FindDevice(device_type, customIndex);
if (device)
return device;
}
@@ -145,8 +145,8 @@ void UpdateInterrupts()
g_Channels[2]->SetEXIINT(g_Channels[0]->GetDevice(4)->IsInterruptSet());
bool causeInt = false;
- for (int i = 0; i < NUM_CHANNELS; i++)
- causeInt |= g_Channels[i]->IsCausingInterrupt();
+ for (auto& channel : g_Channels)
+ causeInt |= channel->IsCausingInterrupt();
ProcessorInterface::SetInterrupt(ProcessorInterface::INT_CAUSE_EXI, causeInt);
}
diff --git a/Source/Core/Core/Src/HW/EXI_Channel.cpp b/Source/Core/Core/Src/HW/EXI_Channel.cpp
index 13784b4011..a57b06914c 100644
--- a/Source/Core/Core/Src/HW/EXI_Channel.cpp
+++ b/Source/Core/Core/Src/HW/EXI_Channel.cpp
@@ -30,8 +30,8 @@ CEXIChannel::CEXIChannel(u32 ChannelId) :
if (m_ChannelId == 1)
m_Status.CHIP_SELECT = 1;
- for (int i = 0; i < NUM_DEVICES; i++)
- m_pDevices[i] = EXIDevice_Create(EXIDEVICE_NONE, m_ChannelId);
+ for (auto& device : m_pDevices)
+ device.reset(EXIDevice_Create(EXIDEVICE_NONE, m_ChannelId));
updateInterrupts = CoreTiming::RegisterEvent("EXIInterrupt", UpdateInterrupts);
}
@@ -43,11 +43,8 @@ CEXIChannel::~CEXIChannel()
void CEXIChannel::RemoveDevices()
{
- for (int i = 0; i < NUM_DEVICES; i++)
- {
- delete m_pDevices[i];
- m_pDevices[i] = NULL;
- }
+ for (auto& device : m_pDevices)
+ device.reset();
}
void CEXIChannel::AddDevice(const TEXIDevices device_type, const int device_num)
@@ -60,15 +57,8 @@ void CEXIChannel::AddDevice(IEXIDevice* pDevice, const int device_num, bool noti
{
_dbg_assert_(EXPANSIONINTERFACE, device_num < NUM_DEVICES);
- // delete the old device
- if (m_pDevices[device_num] != NULL)
- {
- delete m_pDevices[device_num];
- m_pDevices[device_num] = NULL;
- }
-
// replace it with the new one
- m_pDevices[device_num] = pDevice;
+ m_pDevices[device_num].reset(pDevice);
if(notifyPresenceChanged)
{
@@ -111,9 +101,9 @@ IEXIDevice* CEXIChannel::GetDevice(const u8 chip_select)
{
switch (chip_select)
{
- case 1: return m_pDevices[0];
- case 2: return m_pDevices[1];
- case 4: return m_pDevices[2];
+ case 1: return m_pDevices[0].get();
+ case 2: return m_pDevices[1].get();
+ case 4: return m_pDevices[2].get();
}
return NULL;
}
@@ -121,10 +111,8 @@ IEXIDevice* CEXIChannel::GetDevice(const u8 chip_select)
void CEXIChannel::Update()
{
// start the transfer
- for (int i = 0; i < NUM_DEVICES; i++)
- {
- m_pDevices[i]->Update();
- }
+ for (auto& device : m_pDevices)
+ device->Update();
}
void CEXIChannel::Read32(u32& _uReturnValue, const u32 _iRegister)
@@ -283,7 +271,7 @@ void CEXIChannel::DoState(PointerWrap &p)
for (int d = 0; d < NUM_DEVICES; ++d)
{
- IEXIDevice* pDevice = m_pDevices[d];
+ IEXIDevice* pDevice = m_pDevices[d].get();
TEXIDevices type = pDevice->m_deviceType;
p.Do(type);
IEXIDevice* pSaveDevice = (type == pDevice->m_deviceType) ? pDevice : EXIDevice_Create(type, m_ChannelId);
@@ -308,15 +296,15 @@ void CEXIChannel::DoState(PointerWrap &p)
void CEXIChannel::PauseAndLock(bool doLock, bool unpauseOnUnlock)
{
- for (int d = 0; d < NUM_DEVICES; ++d)
- m_pDevices[d]->PauseAndLock(doLock, unpauseOnUnlock);
+ for (auto& device : m_pDevices)
+ device->PauseAndLock(doLock, unpauseOnUnlock);
}
IEXIDevice* CEXIChannel::FindDevice(TEXIDevices device_type, int customIndex)
{
- for (int d = 0; d < NUM_DEVICES; ++d)
+ for (auto& sup : m_pDevices)
{
- IEXIDevice* device = m_pDevices[d]->FindDevice(device_type, customIndex);
+ IEXIDevice* device = sup->FindDevice(device_type, customIndex);
if (device)
return device;
}
diff --git a/Source/Core/Core/Src/HW/EXI_Channel.h b/Source/Core/Core/Src/HW/EXI_Channel.h
index 403dbfe0dc..9ede316f0e 100644
--- a/Source/Core/Core/Src/HW/EXI_Channel.h
+++ b/Source/Core/Core/Src/HW/EXI_Channel.h
@@ -8,6 +8,7 @@
#include "CommonTypes.h"
#include "EXI_Device.h"
+#include <memory>
#ifdef _WIN32
#pragma warning(disable:4201)
@@ -92,7 +93,7 @@ private:
NUM_DEVICES = 3
};
- IEXIDevice* m_pDevices[NUM_DEVICES];
+ std::unique_ptr<IEXIDevice> m_pDevices[NUM_DEVICES];
// Since channels operate a bit differently from each other
u32 m_ChannelId;
diff --git a/Source/Core/Core/Src/HW/EXI_Device.cpp b/Source/Core/Core/Src/HW/EXI_Device.cpp
index b956859c76..a1c6e5ed80 100644
--- a/Source/Core/Core/Src/HW/EXI_Device.cpp
+++ b/Source/Core/Core/Src/HW/EXI_Device.cpp
@@ -71,7 +71,7 @@ class CEXIDummy : public IEXIDevice
{
std::string m_strName;
- void TransferByte(u8& _byte) {}
+ void TransferByte(u8& _byte) override {}
public:
CEXIDummy(const std::string& _strName) :
@@ -81,14 +81,14 @@ public:
virtual ~CEXIDummy(){}
- void ImmWrite(u32 data, u32 size) {INFO_LOG(EXPANSIONINTERFACE, "EXI DUMMY %s ImmWrite: %08x", m_strName.c_str(), data);}
- u32 ImmRead (u32 size) {INFO_LOG(EXPANSIONINTERFACE, "EXI DUMMY %s ImmRead", m_strName.c_str()); return 0;}
- void DMAWrite(u32 addr, u32 size) {INFO_LOG(EXPANSIONINTERFACE, "EXI DUMMY %s DMAWrite: %08x bytes, from %08x to device", m_strName.c_str(), size, addr);}
- void DMARead (u32 addr, u32 size) {INFO_LOG(EXPANSIONINTERFACE, "EXI DUMMY %s DMARead: %08x bytes, from device to %08x", m_strName.c_str(), size, addr);}
+ void ImmWrite(u32 data, u32 size) override {INFO_LOG(EXPANSIONINTERFACE, "EXI DUMMY %s ImmWrite: %08x", m_strName.c_str(), data);}
+ u32 ImmRead (u32 size) override {INFO_LOG(EXPANSIONINTERFACE, "EXI DUMMY %s ImmRead", m_strName.c_str()); return 0;}
+ void DMAWrite(u32 addr, u32 size) override {INFO_LOG(EXPANSIONINTERFACE, "EXI DUMMY %s DMAWrite: %08x bytes, from %08x to device", m_strName.c_str(), size, addr);}
+ void DMARead (u32 addr, u32 size) override {INFO_LOG(EXPANSIONINTERFACE, "EXI DUMMY %s DMARead: %08x bytes, from device to %08x", m_strName.c_str(), size, addr);}
};
-// F A C T O R Y
+// F A C T O R Y
IEXIDevice* EXIDevice_Create(TEXIDevices device_type, const int channel_num)
{
IEXIDevice* result = NULL;
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceAD16.cpp b/Source/Core/Core/Src/HW/EXI_DeviceAD16.cpp
index f0e0f96724..e4806b87da 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceAD16.cpp
+++ b/Source/Core/Core/Src/HW/EXI_DeviceAD16.cpp
@@ -9,7 +9,7 @@
CEXIAD16::CEXIAD16() :
m_uPosition(0),
- m_uCommand(0)
+ m_uCommand(0)
{
m_uAD16Register.U32 = 0x00;
}
@@ -40,7 +40,7 @@ void CEXIAD16::TransferByte(u8& _byte)
m_uAD16Register.U32 = 0x04120000;
switch(m_uPosition)
{
- case 1: _dbg_assert_(EXPANSIONINTERFACE, (_byte == 0x00)); break; // just skip
+ case 1: _dbg_assert_(EXPANSIONINTERFACE, (_byte == 0x00)); break; // just skip
case 2: _byte = m_uAD16Register.U8[0]; break;
case 3: _byte = m_uAD16Register.U8[1]; break;
case 4: _byte = m_uAD16Register.U8[2]; break;
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceAD16.h b/Source/Core/Core/Src/HW/EXI_DeviceAD16.h
index de97d0d590..b80db4882b 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceAD16.h
+++ b/Source/Core/Core/Src/HW/EXI_DeviceAD16.h
@@ -9,12 +9,12 @@ class CEXIAD16 : public IEXIDevice
{
public:
CEXIAD16();
- virtual void SetCS(int _iCS);
- virtual bool IsPresent();
- virtual void DoState(PointerWrap &p);
+ virtual void SetCS(int _iCS) override;
+ virtual bool IsPresent() override;
+ virtual void DoState(PointerWrap &p) override;
private:
- enum
+ enum
{
init = 0x00,
write = 0xa0,
@@ -32,7 +32,7 @@ private:
u32 m_uCommand;
UAD16Reg m_uAD16Register;
- virtual void TransferByte(u8& _uByte);
+ virtual void TransferByte(u8& _uByte) override;
};
#endif
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceAMBaseboard.cpp b/Source/Core/Core/Src/HW/EXI_DeviceAMBaseboard.cpp
index 756fa85f62..03de8304f2 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceAMBaseboard.cpp
+++ b/Source/Core/Core/Src/HW/EXI_DeviceAMBaseboard.cpp
@@ -45,7 +45,7 @@ void CEXIAMBaseboard::TransferByte(u8& _byte)
xx xx xx xx 04
exi_isr_read:
- 82 .. .. .. xx xx xx
+ 82 .. .. .. xx xx xx
xx xx xx xx 04 rr rr
3 byte command, 1 byte checksum
*/
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceAMBaseboard.h b/Source/Core/Core/Src/HW/EXI_DeviceAMBaseboard.h
index 7a51a81baa..7ac6e9b624 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceAMBaseboard.h
+++ b/Source/Core/Core/Src/HW/EXI_DeviceAMBaseboard.h
@@ -10,13 +10,13 @@ class CEXIAMBaseboard : public IEXIDevice
public:
CEXIAMBaseboard();
- virtual void SetCS(int _iCS);
- virtual bool IsPresent();
- virtual bool IsInterruptSet();
- virtual void DoState(PointerWrap &p);
+ virtual void SetCS(int _iCS) override;
+ virtual bool IsPresent() override;
+ virtual bool IsInterruptSet() override;
+ virtual void DoState(PointerWrap &p) override;
private:
- virtual void TransferByte(u8& _uByte);
+ virtual void TransferByte(u8& _uByte) override;
int m_position;
bool m_have_irq;
unsigned char m_command[4];
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceEthernet.cpp b/Source/Core/Core/Src/HW/EXI_DeviceEthernet.cpp
index cfb8f37188..5e4b7be015 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceEthernet.cpp
+++ b/Source/Core/Core/Src/HW/EXI_DeviceEthernet.cpp
@@ -63,7 +63,7 @@ CEXIETHERNET::CEXIETHERNET()
// Parse MAC address from config, and generate a new one if it doesn't
// exist or can't be parsed.
- auto &mac_addr_setting = SConfig::GetInstance().m_bba_mac;
+ auto &mac_addr_setting = SConfig::GetInstance().m_bba_mac;
bool mac_addr_valid = false;
u8 mac_addr[6] = { 0 };
@@ -87,7 +87,7 @@ CEXIETHERNET::CEXIETHERNET()
mac_addr[x / 2] |= (c - 'a' + 10) << ((x & 1) ? 0 : 4); x++;
}
}
-
+
if (x / 2 == 6)
{
memcpy(&mBbaMem[BBA_NAFR_PAR0], mac_addr, 6);
@@ -259,7 +259,7 @@ void CEXIETHERNET::DMAWrite(u32 addr, u32 size)
void CEXIETHERNET::DMARead(u32 addr, u32 size)
{
DEBUG_LOG(SP1, "DMA read: %08x %x", addr, size);
-
+
memcpy(Memory::GetPointer(addr), &mBbaMem[transfer.address], size);
transfer.address += size;
@@ -550,7 +550,7 @@ bool CEXIETHERNET::RecvHandlePacket()
if (!RecvMACFilter())
goto wait_for_next;
-
+
#ifdef BBA_TRACK_PAGE_PTRS
WARN_LOG(SP1, "RecvHandlePacket %x\n%s", mRecvBufferLength,
ArrayToString(mRecvBuffer, mRecvBufferLength, 0x100).c_str());
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceEthernet.h b/Source/Core/Core/Src/HW/EXI_DeviceEthernet.h
index 7fb9a5775e..ba66e816f8 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceEthernet.h
+++ b/Source/Core/Core/Src/HW/EXI_DeviceEthernet.h
@@ -5,6 +5,10 @@
#ifndef _EXIDEVICE_ETHERNET_H
#define _EXIDEVICE_ETHERNET_H
+#ifdef _WIN32
+#include <Windows.h>
+#endif
+
#include "Thread.h"
// Network Control Register A
@@ -48,7 +52,7 @@ enum NWAYC
NWAYC_FD = 0x01, // Full Duplex Mode
NWAYC_PS100_10 = 0x02, // Port Select 100/10
NWAYC_ANE = 0x04, // Autonegotiate enable
-
+
// Autonegotiation status bits...
NWAYC_NTTEST = 0x40, // Reserved
@@ -95,13 +99,13 @@ enum
{
BBA_NCRA = 0x00,
BBA_NCRB = 0x01,
-
+
BBA_LTPS = 0x04,
BBA_LRPS = 0x05,
-
+
BBA_IMR = 0x08,
BBA_IR = 0x09,
-
+
BBA_BP = 0x0a,
BBA_TLBP = 0x0c,
BBA_TWP = 0x0e,
@@ -185,14 +189,14 @@ class CEXIETHERNET : public IEXIDevice
public:
CEXIETHERNET();
virtual ~CEXIETHERNET();
- void SetCS(int cs);
- bool IsPresent();
- bool IsInterruptSet();
- void ImmWrite(u32 data, u32 size);
- u32 ImmRead(u32 size);
- void DMAWrite(u32 addr, u32 size);
- void DMARead(u32 addr, u32 size);
- void DoState(PointerWrap &p);
+ void SetCS(int cs) override;
+ bool IsPresent() override;
+ bool IsInterruptSet() override;
+ void ImmWrite(u32 data, u32 size) override;
+ u32 ImmRead(u32 size) override;
+ void DMAWrite(u32 addr, u32 size) override;
+ void DMARead(u32 addr, u32 size) override;
+ void DoState(PointerWrap &p) override;
//private:
struct
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceGecko.cpp b/Source/Core/Core/Src/HW/EXI_DeviceGecko.cpp
index 792b045fd4..0bb84c4fdb 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceGecko.cpp
+++ b/Source/Core/Core/Src/HW/EXI_DeviceGecko.cpp
@@ -108,31 +108,31 @@ void GeckoSockServer::ClientThread()
while (client_running)
{
bool did_nothing = true;
-
+
{
std::lock_guard<std::mutex> lk(transfer_lock);
// what's an ideal buffer size?
char data[128];
std::size_t got = 0;
-
+
if (client.Receive(&data[0], ArraySize(data), got) == sf::Socket::Disconnected)
client_running = false;
-
+
if (got != 0)
{
did_nothing = false;
-
+
recv_fifo.insert(recv_fifo.end(), &data[0], &data[got]);
}
if (!send_fifo.empty())
{
did_nothing = false;
-
+
std::vector<char> packet(send_fifo.begin(), send_fifo.end());
send_fifo.clear();
-
+
if (client.Send(&packet[0], packet.size()) == sf::Socket::Disconnected)
client_running = false;
}
@@ -165,7 +165,7 @@ void CEXIGecko::ImmReadWrite(u32 &_uData, u32 _uSize)
"USBGecko: A piercing blue light is now shining in your general direction"),
3000);
break;
-
+
case CMD_INIT:
_uData = ident;
break;
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceGecko.h b/Source/Core/Core/Src/HW/EXI_DeviceGecko.h
index f720a83a5d..97bb1b6829 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceGecko.h
+++ b/Source/Core/Core/Src/HW/EXI_DeviceGecko.h
@@ -48,8 +48,8 @@ class CEXIGecko
{
public:
CEXIGecko() {}
- bool IsPresent() { return true; }
- void ImmReadWrite(u32 &_uData, u32 _uSize);
+ bool IsPresent() override { return true; }
+ void ImmReadWrite(u32 &_uData, u32 _uSize) override;
private:
enum
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp b/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp
index 9402b7bbab..716b04969b 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp
+++ b/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp
@@ -92,7 +92,7 @@ CEXIIPL::CEXIIPL() :
// Create the IPL
m_pIPL = (u8*)AllocateMemoryPages(ROM_SIZE);
-
+
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bHLE_BS2)
{
// Copy header
@@ -119,7 +119,7 @@ CEXIIPL::CEXIIPL() :
g_SRAM.lang = SConfig::GetInstance().m_LocalCoreStartupParameter.SelectedLanguage;
WriteProtectMemory(m_pIPL, ROM_SIZE);
- m_uAddress = 0;
+ m_uAddress = 0;
}
CEXIIPL::~CEXIIPL()
@@ -252,7 +252,7 @@ void CEXIIPL::TransferByte(u8& _uByte)
DEBUG_LOG(EXPANSIONINTERFACE, "%s %s %08x", device_name.c_str(),
IsWriteCommand() ? "write" : "read", m_uAddress);
}
- }
+ }
else
{
// Actually read or write a byte
@@ -279,7 +279,7 @@ void CEXIIPL::TransferByte(u8& _uByte)
if (_uByte != '\0')
m_szBuffer[m_count++] = _uByte;
if ((m_count >= 256) || (_uByte == 0xD))
- {
+ {
m_szBuffer[m_count] = 0x00;
NOTICE_LOG(OSREPORT, "%s", m_szBuffer);
memset(m_szBuffer, 0, sizeof(m_szBuffer));
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.cpp b/Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.cpp
index 692db55ecc..1cdeb1fbcf 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.cpp
+++ b/Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.cpp
@@ -16,7 +16,7 @@
#include "Sram.h"
#include "GCMemcard.h"
-#define MC_STATUS_BUSY 0x80
+#define MC_STATUS_BUSY 0x80
#define MC_STATUS_UNLOCKED 0x40
#define MC_STATUS_SLEEP 0x20
#define MC_STATUS_ERASEERROR 0x10
@@ -53,7 +53,7 @@ CEXIMemoryCard::CEXIMemoryCard(const int index)
// we're potentially leaking events here, since there's no UnregisterEvent until emu shutdown, but I guess it's inconsequential
et_this_card = CoreTiming::RegisterEvent((card_index == 0) ? "memcardFlushA" : "memcardFlushB", FlushCallback);
et_cmd_done = CoreTiming::RegisterEvent((card_index == 0) ? "memcardDoneA" : "memcardDoneB", CmdDoneCallback);
-
+
interruptSwitch = 0;
m_bInterruptSet = 0;
command = 0;
@@ -61,7 +61,7 @@ CEXIMemoryCard::CEXIMemoryCard(const int index)
m_uPosition = 0;
memset(programming_buffer, 0, sizeof(programming_buffer));
formatDelay = 0;
-
+
//Nintendo Memory Card EXI IDs
//0x00000004 Memory Card 59 4Mbit
//0x00000008 Memory Card 123 8Mb
@@ -69,12 +69,12 @@ CEXIMemoryCard::CEXIMemoryCard(const int index)
//0x00000020 Memory Card 507 32Mb
//0x00000040 Memory Card 1019 64Mb
//0x00000080 Memory Card 2043 128Mb
-
+
//0x00000510 16Mb "bigben" card
//card_id = 0xc243;
-
+
card_id = 0xc221; // It's a Nintendo brand memcard
-
+
File::IOFile pFile(m_strFilename, "rb");
if (pFile)
{
@@ -83,7 +83,7 @@ CEXIMemoryCard::CEXIMemoryCard(const int index)
nintendo_card_id = memory_card_size / SIZE_TO_Mb;
memory_card_content = new u8[memory_card_size];
memset(memory_card_content, 0xFF, memory_card_size);
-
+
INFO_LOG(EXPANSIONINTERFACE, "Reading memory card %s", m_strFilename.c_str());
pFile.ReadBytes(memory_card_content, memory_card_size);
@@ -96,7 +96,7 @@ CEXIMemoryCard::CEXIMemoryCard(const int index)
memory_card_content = new u8[memory_card_size];
GCMemcard::Format(memory_card_content, m_strFilename.find(".JAP.raw") != std::string::npos, nintendo_card_id);
- memset(memory_card_content+MC_HDR_SIZE, 0xFF, memory_card_size-MC_HDR_SIZE);
+ memset(memory_card_content+MC_HDR_SIZE, 0xFF, memory_card_size-MC_HDR_SIZE);
WARN_LOG(EXPANSIONINTERFACE, "No memory card found. Will create a new one.");
}
SetCardFlashID(memory_card_content, card_index);
@@ -167,14 +167,14 @@ CEXIMemoryCard::~CEXIMemoryCard()
Flush(true);
delete[] memory_card_content;
memory_card_content = NULL;
-
+
if (flushThread.joinable())
{
flushThread.join();
}
}
-bool CEXIMemoryCard::IsPresent()
+bool CEXIMemoryCard::IsPresent()
{
return true;
}
@@ -207,7 +207,7 @@ void CEXIMemoryCard::SetCS(int cs)
m_uPosition = 0;
}
else
- {
+ {
switch (command)
{
case cmdSectorErase:
@@ -248,7 +248,7 @@ void CEXIMemoryCard::SetCS(int cs)
CmdDoneLater(5000);
}
-
+
// Page written to memory card, not just to buffer - let's schedule a flush 0.5b cycles into the future (1 sec)
// But first we unschedule already scheduled flushes - no point in flushing once per page for a large write.
CoreTiming::RemoveEvent(et_this_card);
@@ -324,7 +324,7 @@ void CEXIMemoryCard::TransferByte(u8 &byte)
byte = 0xFF;
m_uPosition = 0;
}
- }
+ }
else
{
switch (command)
@@ -332,7 +332,7 @@ void CEXIMemoryCard::TransferByte(u8 &byte)
case cmdNintendoID:
//
// Nintendo card:
- // 00 | 80 00 00 00 10 00 00 00
+ // 00 | 80 00 00 00 10 00 00 00
// "bigben" card:
// 00 | ff 00 00 05 10 00 00 00 00 00 00 00 00 00 00
// we do it the Nintendo way.
@@ -431,7 +431,7 @@ void CEXIMemoryCard::TransferByte(u8 &byte)
default:
WARN_LOG(EXPANSIONINTERFACE, "EXI MEMCARD: unknown command byte %02x\n", byte);
- byte = 0xFF;
+ byte = 0xFF;
}
}
m_uPosition++;
@@ -474,7 +474,7 @@ void CEXIMemoryCard::DoState(PointerWrap &p)
p.Do(nintendo_card_id);
p.Do(card_id);
p.Do(memory_card_size);
- p.DoArray(memory_card_content, memory_card_size);
+ p.DoArray(memory_card_content, memory_card_size);
p.Do(card_index);
}
}
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.h b/Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.h
index 2ccef0aeab..2651ca08f0 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.h
+++ b/Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.h
@@ -21,13 +21,13 @@ class CEXIMemoryCard : public IEXIDevice
public:
CEXIMemoryCard(const int index);
virtual ~CEXIMemoryCard();
- void SetCS(int cs);
- void Update();
- bool IsInterruptSet();
- bool IsPresent();
- void DoState(PointerWrap &p);
- void PauseAndLock(bool doLock, bool unpauseOnUnlock=true);
- IEXIDevice* FindDevice(TEXIDevices device_type, int customIndex=-1);
+ void SetCS(int cs) override;
+ void Update() override;
+ bool IsInterruptSet() override;
+ bool IsPresent() override;
+ void DoState(PointerWrap &p) override;
+ void PauseAndLock(bool doLock, bool unpauseOnUnlock=true) override;
+ IEXIDevice* FindDevice(TEXIDevices device_type, int customIndex=-1) override;
private:
// This is scheduled whenever a page write is issued. The this pointer is passed
@@ -46,7 +46,7 @@ private:
// Variant of CmdDone which schedules an event later in the future to complete the command.
void CmdDoneLater(u64 cycles);
- enum
+ enum
{
cmdNintendoID = 0x00,
cmdReadArray = 0x52,
@@ -79,17 +79,17 @@ private:
u8 programming_buffer[128];
u32 formatDelay;
bool m_bDirty;
- //! memory card parameters
+ //! memory card parameters
unsigned int nintendo_card_id, card_id;
- unsigned int address;
+ unsigned int address;
int memory_card_size; //! in bytes, must be power of 2.
- u8 *memory_card_content;
+ u8 *memory_card_content;
FlushData flushData;
std::thread flushThread;
-
+
protected:
- virtual void TransferByte(u8 &byte);
+ virtual void TransferByte(u8 &byte) override;
};
#endif
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceMic.cpp b/Source/Core/Core/Src/HW/EXI_DeviceMic.cpp
index 4a5b3cc0ae..6ad84cc860 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceMic.cpp
+++ b/Source/Core/Core/Src/HW/EXI_DeviceMic.cpp
@@ -117,7 +117,7 @@ void CEXIMic::StreamStop()
void CEXIMic::StreamReadOne()
{
std::lock_guard<std::mutex> lk(ring_lock);
-
+
if (samples_avail >= buff_size_samples)
{
s16 *last_buffer = &stream_buffer[stream_rpos];
@@ -149,10 +149,10 @@ CEXIMic::CEXIMic(int index)
sample_rate = rate_base;
buff_size = ring_base;
buff_size_samples = buff_size / sample_size;
-
+
ring_pos = 0;
memset(ring_buffer, 0, sizeof(ring_buffer));
-
+
next_int_ticks = 0;
StreamInit();
@@ -222,7 +222,7 @@ void CEXIMic::TransferByte(u8 &byte)
status.button = Pad::GetMicButton(slot);
byte = status.U8[pos ^ 1];
-
+
if (pos == 1)
status.buff_ovrflw = 0;
break;
@@ -240,7 +240,7 @@ void CEXIMic::TransferByte(u8 &byte)
buff_size_samples = buff_size / sample_size;
UpdateNextInterruptTicks();
-
+
StreamStart();
}
else if (wasactive && !status.is_active)
@@ -254,7 +254,7 @@ void CEXIMic::TransferByte(u8 &byte)
{
if (ring_pos == 0)
StreamReadOne();
-
+
byte = ring_buffer[ring_pos ^ 1];
ring_pos = (ring_pos + 1) % buff_size;
}
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceMic.h b/Source/Core/Core/Src/HW/EXI_DeviceMic.h
index 093424df25..ff4fe522e6 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceMic.h
+++ b/Source/Core/Core/Src/HW/EXI_DeviceMic.h
@@ -92,7 +92,7 @@ public:
int stream_wpos;
int stream_rpos;
int samples_avail;
-
+
protected:
virtual void TransferByte(u8 &byte);
};
diff --git a/Source/Core/Core/Src/HW/GCMemcard.cpp b/Source/Core/Core/Src/HW/GCMemcard.cpp
index 67102bbc8c..adaa7a1858 100644
--- a/Source/Core/Core/Src/HW/GCMemcard.cpp
+++ b/Source/Core/Core/Src/HW/GCMemcard.cpp
@@ -4,6 +4,9 @@
#include "GCMemcard.h"
#include "ColorUtil.h"
+
+#include <cinttypes>
+
static void ByteSwap(u8 *valueA, u8 *valueB)
{
u8 tmp = *valueA;
@@ -64,8 +67,8 @@ GCMemcard::GCMemcard(const char *filename, bool forceCreation, bool sjis)
return;
}
}
-
-
+
+
mcdFile.Seek(0, SEEK_SET);
if (!mcdFile.ReadBytes(&hdr, BLOCK_SIZE))
{
@@ -103,7 +106,7 @@ GCMemcard::GCMemcard(const char *filename, bool forceCreation, bool sjis)
}
u32 csums = TestChecksums();
-
+
if (csums & 0x1)
{
// header checksum error!
@@ -159,7 +162,7 @@ GCMemcard::GCMemcard(const char *filename, bool forceCreation, bool sjis)
}
mcdFile.Seek(0xa000, SEEK_SET);
-
+
maxBlock = (u32)m_sizeMb * MBIT_TO_BLOCKS;
mc_data_blocks.reserve(maxBlock - MC_FST_BLOCKS);
@@ -173,18 +176,18 @@ GCMemcard::GCMemcard(const char *filename, bool forceCreation, bool sjis)
}
else
{
- PanicAlertT("Failed to read block %d of the save data\nMemcard may be truncated\nFilePosition:%llx", i, mcdFile.Tell());
+ PanicAlertT("Failed to read block %d of the save data\nMemcard may be truncated\nFilePosition:%" PRIx64, i, mcdFile.Tell());
m_valid = false;
break;
}
}
mcdFile.Close();
-
+
initDirBatPointers();
}
-void GCMemcard::initDirBatPointers()
+void GCMemcard::initDirBatPointers()
{
if (BE16(dir.UpdateCounter) > (BE16(dir_backup.UpdateCounter)))
{
@@ -287,7 +290,7 @@ bool GCMemcard::FixChecksums()
{
if (!m_valid)
return false;
-
+
calc_checksumsBE((u16*)&hdr, 0xFE, &hdr.Checksum, &hdr.Checksum_Inv);
calc_checksumsBE((u16*)&dir, 0xFFE, &dir.Checksum, &dir.Checksum_Inv);
calc_checksumsBE((u16*)&dir_backup, 0xFFE, &dir_backup.Checksum, &dir_backup.Checksum_Inv);
@@ -638,7 +641,7 @@ u32 GCMemcard::ImportFile(DEntry& direntry, std::vector<GCMBlock> &saveBlocks)
if (firstBlock == 0xFFFF)
return OUTOFBLOCKS;
Directory UpdatedDir = *CurrentDir;
-
+
// find first free dir entry
for (int i=0; i < DIRLEN; i++)
{
@@ -672,19 +675,19 @@ u32 GCMemcard::ImportFile(DEntry& direntry, std::vector<GCMBlock> &saveBlocks)
u16 nextBlock;
// keep assuming no freespace fragmentation, and copy over all the data
for (int i = 0; i < fileBlocks; ++i)
- {
+ {
if (firstBlock == 0xFFFF)
PanicAlert("Fatal Error");
mc_data_blocks[firstBlock - MC_FST_BLOCKS] = saveBlocks[i];
if (i == fileBlocks-1)
nextBlock = 0xFFFF;
else
- nextBlock = UpdatedBat.NextFreeBlock(firstBlock+1);
+ nextBlock = UpdatedBat.NextFreeBlock(firstBlock+1);
UpdatedBat.Map[firstBlock - MC_FST_BLOCKS] = BE16(nextBlock);
UpdatedBat.LastAllocated = BE16(firstBlock);
firstBlock = nextBlock;
}
-
+
UpdatedBat.FreeBlocks = BE16(BE16(UpdatedBat.FreeBlocks) - fileBlocks);
UpdatedBat.UpdateCounter = BE16(BE16(UpdatedBat.UpdateCounter) + 1);
*PreviousBat = UpdatedBat;
@@ -775,7 +778,7 @@ u32 GCMemcard::CopyFrom(const GCMemcard& source, u8 index)
DEntry tempDEntry;
if (!source.GetDEntry(index, tempDEntry))
return NOMEMCARD;
-
+
u32 size = source.DEntry_BlockCount(index);
if (size == 0xFFFF) return INVALIDFILESIZE;
@@ -851,7 +854,7 @@ u32 GCMemcard::ImportGciInternal(FILE* gcih, const char *inputFile, const std::s
return LENGTHFAIL;
if (gci.Tell() != offset + DENTRY_SIZE) // Verify correct file position
return OPENFAIL;
-
+
u32 size = BE16((tempDEntry.BlockCount));
std::vector<GCMBlock> saveData;
saveData.reserve(size);
@@ -873,7 +876,7 @@ u32 GCMemcard::ImportGciInternal(FILE* gcih, const char *inputFile, const std::s
}
gci2.Seek(0, SEEK_SET);
- if (!gci2.WriteBytes(&tempDEntry, DENTRY_SIZE))
+ if (!gci2.WriteBytes(&tempDEntry, DENTRY_SIZE))
completeWrite = false;
int fileBlocks = BE16(tempDEntry.BlockCount);
gci2.Seek(DENTRY_SIZE, SEEK_SET);
@@ -889,7 +892,7 @@ u32 GCMemcard::ImportGciInternal(FILE* gcih, const char *inputFile, const std::s
else
ret = WRITEFAIL;
}
- else
+ else
ret = ImportFile(tempDEntry, saveData);
return ret;
@@ -925,7 +928,7 @@ u32 GCMemcard::ExportGci(u8 index, const char *fileName, const std::string &dire
return OPENFAIL;
gci.Seek(0, SEEK_SET);
-
+
switch(offset)
{
case GCS:
@@ -1064,7 +1067,7 @@ u32 GCMemcard::ReadAnimRGBA8(u8 index, u32* buffer, u8 *delays) const
// To ensure only one type of icon is used
// Sonic Heroes it the only game I have seen that tries to use a CI8 and RGB5A3 icon
- //int fmtCheck = 0;
+ //int fmtCheck = 0;
int formats = BE16(CurrentDir->Dir[index].IconFmt);
int fdelays = BE16(CurrentDir->Dir[index].AnimSpeed);
@@ -1230,7 +1233,7 @@ bool GCMemcard::Format(bool sjis, u16 SizeMb)
gcp.dir_backup = &dir_backup;
gcp.bat = &bat;
gcp.bat_backup = &bat_backup;
-
+
*(u16*)hdr.SizeMb = BE16(SizeMb);
hdr.Encoding = BE16(sjis ? 1 : 0);
FormatInternal(gcp);
@@ -1243,7 +1246,7 @@ bool GCMemcard::Format(bool sjis, u16 SizeMb)
GCMBlock b;
mc_data_blocks.push_back(b);
}
-
+
initDirBatPointers();
m_valid = true;
@@ -1260,7 +1263,7 @@ void GCMemcard::FormatInternal(GCMC_Header &GCP)
{
rand = (((rand * (u64)0x0000000041c64e6dULL) + (u64)0x0000000000003039ULL) >> 16);
p_hdr->serial[i] = (u8)(g_SRAM.flash_id[0][i] + (u32)rand);
- rand = (((rand * (u64)0x0000000041c64e6dULL) + (u64)0x0000000000003039ULL) >> 16);
+ rand = (((rand * (u64)0x0000000041c64e6dULL) + (u64)0x0000000000003039ULL) >> 16);
rand &= (u64)0x0000000000007fffULL;
}
p_hdr->SramBias = g_SRAM.counter_bias;
@@ -1276,7 +1279,7 @@ void GCMemcard::FormatInternal(GCMC_Header &GCP)
p_dir_backup->UpdateCounter = BE16(1);
calc_checksumsBE((u16*)p_dir, 0xFFE, &p_dir->Checksum, &p_dir->Checksum_Inv);
calc_checksumsBE((u16*)p_dir_backup, 0xFFE, &p_dir_backup->Checksum, &p_dir_backup->Checksum_Inv);
-
+
BlockAlloc *p_bat = GCP.bat,
*p_bat_backup = GCP.bat_backup;
p_bat_backup->UpdateCounter = BE16(1);
@@ -1332,7 +1335,7 @@ s32 GCMemcard::FZEROGX_MakeSaveGameValid(DEntry& direntry, std::vector<GCMBlock>
// calc 16-bit checksum
for (i=0x02;i<0x8000;i++)
- {
+ {
chksum ^= (FileBuffer[block].block[i-(block*0x2000)]&0xFF);
for (j=8; j > 0; j--)
{
diff --git a/Source/Core/Core/Src/HW/GCMemcard.h b/Source/Core/Core/Src/HW/GCMemcard.h
index 215402dd10..fdd553194a 100644
--- a/Source/Core/Core/Src/HW/GCMemcard.h
+++ b/Source/Core/Core/Src/HW/GCMemcard.h
@@ -32,7 +32,7 @@ enum
SAV = 0x80,
SAVFAIL,
GCS = 0x110,
- GCSFAIL,
+ GCSFAIL,
FAIL,
WRITEFAIL,
DELETE_FAIL,
@@ -180,11 +180,11 @@ public:
bool Save();
bool Format(bool sjis = false, u16 SizeMb = MemCard2043Mb);
static bool Format(u8 * card_data, bool sjis = false, u16 SizeMb = MemCard2043Mb);
-
+
static void calc_checksumsBE(u16 *buf, u32 length, u16 *csum, u16 *inv_csum);
u32 TestChecksums() const;
bool FixChecksums();
-
+
// get number of file entries in the directory
u8 GetNumFiles() const;
u8 GetFileIndex(u8 fileNumber) const;
diff --git a/Source/Core/Core/Src/HW/GCPad.cpp b/Source/Core/Core/Src/HW/GCPad.cpp
index 1a8ec37ea4..7c20c6df7c 100644
--- a/Source/Core/Core/Src/HW/GCPad.cpp
+++ b/Source/Core/Core/Src/HW/GCPad.cpp
@@ -70,7 +70,7 @@ void GetStatus(u8 _numPAD, SPADStatus* _pPADStatus)
g_controller_interface.UpdateInput();
}
_last_numPAD = _numPAD;
-
+
// get input
((GCPad*)g_plugin.controllers[_numPAD])->GetInput(_pPADStatus);
}
@@ -105,7 +105,7 @@ void Rumble(u8 _numPAD, unsigned int _uType, unsigned int _uStrength)
// __________________________________________________________________________________________________
// Function: Motor
// Purpose: For devices with constant Force feedback
-// input: _numPAD - The pad to operate on
+// input: _numPAD - The pad to operate on
// _uType - 06 = Motor On, 04 = Motor Off
// _uStrength - 00 = Left Strong, 127 = Left Weak, 128 = Right Weak, 255 = Right Strong
// output: none
@@ -127,7 +127,7 @@ void Motor(u8 _numPAD, unsigned int _uType, unsigned int _uStrength)
bool GetMicButton(u8 pad)
{
-
+
std::unique_lock<std::recursive_mutex> lk(g_plugin.controls_lock, std::try_to_lock);
if (!lk.owns_lock())
diff --git a/Source/Core/Core/Src/HW/GCPadEmu.cpp b/Source/Core/Core/Src/HW/GCPadEmu.cpp
index a1e07794c7..28c33ae926 100644
--- a/Source/Core/Core/Src/HW/GCPadEmu.cpp
+++ b/Source/Core/Core/Src/HW/GCPadEmu.cpp
@@ -24,7 +24,7 @@ const u16 trigger_bitmasks[] =
const u16 dpad_bitmasks[] =
{
- PAD_BUTTON_UP, PAD_BUTTON_DOWN, PAD_BUTTON_LEFT, PAD_BUTTON_RIGHT
+ PAD_BUTTON_UP, PAD_BUTTON_DOWN, PAD_BUTTON_LEFT, PAD_BUTTON_RIGHT
};
const char* const named_buttons[] =
@@ -65,8 +65,8 @@ GCPad::GCPad(const unsigned int index) : m_index(index)
// triggers
groups.push_back(m_triggers = new MixedTriggers(_trans("Triggers")));
- for (unsigned int i=0; i < sizeof(named_triggers)/sizeof(*named_triggers); ++i)
- m_triggers->controls.push_back(new ControlGroup::Input(named_triggers[i]));
+ for (auto& named_trigger : named_triggers)
+ m_triggers->controls.push_back(new ControlGroup::Input(named_trigger));
// rumble
groups.push_back(m_rumble = new ControlGroup(_trans("Rumble")));
@@ -74,8 +74,8 @@ GCPad::GCPad(const unsigned int index) : m_index(index)
// dpad
groups.push_back(m_dpad = new Buttons(_trans("D-Pad")));
- for (unsigned int i=0; i < 4; ++i)
- m_dpad->controls.push_back(new ControlGroup::Input(named_directions[i]));
+ for (auto& named_direction : named_directions)
+ m_dpad->controls.push_back(new ControlGroup::Input(named_direction));
// options
groups.push_back(m_options = new ControlGroup(_trans("Options")));
diff --git a/Source/Core/Core/Src/HW/GCPadEmu.h b/Source/Core/Core/Src/HW/GCPadEmu.h
index aa5b33d252..94d07b539f 100644
--- a/Source/Core/Core/Src/HW/GCPadEmu.h
+++ b/Source/Core/Core/Src/HW/GCPadEmu.h
@@ -19,10 +19,10 @@ public:
void SetMotor(const u8 on);
bool GetMicButton() const;
-
- std::string GetName() const;
- void LoadDefaults(const ControllerInterface& ciface);
+ std::string GetName() const override;
+
+ void LoadDefaults(const ControllerInterface& ciface) override;
private:
diff --git a/Source/Core/Core/Src/HW/GPFifo.cpp b/Source/Core/Core/Src/HW/GPFifo.cpp
index c889466938..88371a68d9 100644
--- a/Source/Core/Core/Src/HW/GPFifo.cpp
+++ b/Source/Core/Core/Src/HW/GPFifo.cpp
@@ -16,7 +16,7 @@ namespace GPFifo
{
// 32 Byte gather pipe with extra space
-// Overfilling is no problem (up to the real limit), CheckGatherPipe will blast the
+// Overfilling is no problem (up to the real limit), CheckGatherPipe will blast the
// contents in nicely sized chunks
// Other optimizations to think about:
@@ -24,7 +24,7 @@ namespace GPFifo
// If the gp is NOT linked to the fifo, just blast to memory byte by word
// If the gp IS linked to the fifo, use a fast wrapping buffer and skip writing to memory
-// Both of these should actually work! Only problem is that we have to decide at run time,
+// Both of these should actually work! Only problem is that we have to decide at run time,
// the same function could use both methods. Compile 2 different versions of each such block?
u8 GC_ALIGNED32(m_gatherPipe[GATHER_PIPE_SIZE*16]); //more room, for the fastmodes
@@ -80,10 +80,10 @@ void STACKALIGN CheckGatherPipe()
g_video_backend->Video_GatherPipeBursted();
}
-
+
// move back the spill bytes
memmove(m_gatherPipe, m_gatherPipe + cnt, m_gatherPipeCount);
-
+
// Profile where the FIFO writes are occurring.
if (jit && PC != 0 && (jit->js.fifoWriteAddresses.find(PC)) == (jit->js.fifoWriteAddresses.end()))
{
diff --git a/Source/Core/Core/Src/HW/Memmap.cpp b/Source/Core/Core/Src/HW/Memmap.cpp
index 3e236eaaf7..82f3141040 100644
--- a/Source/Core/Core/Src/HW/Memmap.cpp
+++ b/Source/Core/Core/Src/HW/Memmap.cpp
@@ -128,7 +128,7 @@ template <class T, u8 *P> void HW_Write_Memory(T _Data, const u32 _Address)
}
// Create shortcuts to the hardware devices' read and write functions.
-// This can be seen as an alternative to a switch() or if() table.
+// This can be seen as an alternative to a switch() or if() table.
#define BLOCKSIZE 4
#define CP_START 0x00 //0x0000 >> 10
#define WII_IPC_START 0x00 //0x0000 >> 10
@@ -406,7 +406,7 @@ bool AreMemoryBreakpointsActivated()
u32 Read_Instruction(const u32 em_address)
{
- UGeckoInstruction inst = ReadUnchecked_U32(em_address);
+ UGeckoInstruction inst = ReadUnchecked_U32(em_address);
return inst.hex;
}
diff --git a/Source/Core/Core/Src/HW/Memmap.h b/Source/Core/Core/Src/HW/Memmap.h
index 8a3516e8b1..819829c354 100644
--- a/Source/Core/Core/Src/HW/Memmap.h
+++ b/Source/Core/Core/Src/HW/Memmap.h
@@ -49,7 +49,7 @@ namespace Memory
// In 64-bit, this might point to "high memory" (above the 32-bit limit),
// so be sure to load it into a 64-bit register.
-extern u8 *base;
+extern u8 *base;
// These are guaranteed to point to "low memory" addresses (sub-32-bit).
extern u8 *m_pRAM;
@@ -119,7 +119,7 @@ inline u32 ReadFast32(const u32 _Address)
// used by interpreter to read instructions, uses iCache
u32 Read_Opcode(const u32 _Address);
-// this is used by Debugger a lot.
+// this is used by Debugger a lot.
// For now, just reads from memory!
u32 Read_Instruction(const u32 _Address);
diff --git a/Source/Core/Core/Src/HW/MemmapFunctions.cpp b/Source/Core/Core/Src/HW/MemmapFunctions.cpp
index 3a6604a385..40bc5f4a3a 100644
--- a/Source/Core/Core/Src/HW/MemmapFunctions.cpp
+++ b/Source/Core/Core/Src/HW/MemmapFunctions.cpp
@@ -35,16 +35,16 @@ namespace Memory
// EFB RE
/*
GXPeekZ
-80322de8: rlwinm r0, r3, 2, 14, 29 (0003fffc) a = x << 2 & 0x3fffc
+80322de8: rlwinm r0, r3, 2, 14, 29 (0003fffc) a = x << 2 & 0x3fffc
80322dec: oris r0, r0, 0xC800 a |= 0xc8000000
80322df0: rlwinm r3, r0, 0, 20, 9 (ffc00fff) x = a & 0xffc00fff
-80322df4: rlwinm r0, r4, 12, 4, 19 (0ffff000) a = (y << 12) & 0x0ffff000;
+80322df4: rlwinm r0, r4, 12, 4, 19 (0ffff000) a = (y << 12) & 0x0ffff000;
80322df8: or r0, r3, r0 a |= x;
80322dfc: rlwinm r0, r0, 0, 10, 7 (ff3fffff) a &= 0xff3fffff
80322e00: oris r3, r0, 0x0040 x = a | 0x00400000
80322e04: lwz r0, 0 (r3) r0 = *r3
-80322e08: stw r0, 0 (r5) z =
-80322e0c: blr
+80322e08: stw r0, 0 (r5) z =
+80322e0c: blr
*/
@@ -128,7 +128,7 @@ inline void hwWriteIOBridge(u32 var, u32 addr) {WII_IOBridge::Write32(var, addr)
inline void hwWriteIOBridge(u64 var, u32 addr) {PanicAlert("hwWriteIOBridge: There's no 64-bit HW write. %08x", addr);}
// Nasty but necessary. Super Mario Galaxy pointer relies on this stuff.
-u32 EFB_Read(const u32 addr)
+u32 EFB_Read(const u32 addr)
{
u32 var = 0;
// Convert address to coordinates. It's possible that this should be done
@@ -327,7 +327,7 @@ u32 Read_Opcode(u32 _Address)
return 0x00000000;
}
- if (Core::g_CoreStartupParameter.bMMU &&
+ if (Core::g_CoreStartupParameter.bMMU &&
!Core::g_CoreStartupParameter.bTLBHack &&
(_Address & ADDR_MASK_MEM1))
{
@@ -414,7 +414,7 @@ double Read_F64(const u32 _Address)
u64 i;
double d;
} cvt;
-
+
cvt.i = Read_U64(_Address);
return cvt.d;
}
@@ -441,7 +441,7 @@ u32 Read_U16_ZX(const u32 _Address)
return (u32)Read_U16(_Address);
}
-void Write_U8(const u8 _Data, const u32 _Address)
+void Write_U8(const u8 _Data, const u32 _Address)
{
#ifdef ENABLE_MEM_CHECK
TMemCheck *mc = PowerPC::memchecks.GetMemCheck(_Address);
@@ -474,7 +474,7 @@ void Write_U16_Swap(const u16 _Data, const u32 _Address) {
void Write_U32(const u32 _Data, const u32 _Address)
-{
+{
#ifdef ENABLE_MEM_CHECK
TMemCheck *mc = PowerPC::memchecks.GetMemCheck(_Address);
if (mc)
@@ -518,7 +518,7 @@ void Write_F64(const double _Data, const u32 _Address)
Write_U64(cvt.i, _Address);
}
u8 ReadUnchecked_U8(const u32 _Address)
-{
+{
u8 _var = 0;
ReadFromHardware<u8>(_var, _Address, _Address, FLAG_NO_EXCEPTION);
return _var;
@@ -546,7 +546,7 @@ void WriteUnchecked_U32(const u32 _iValue, const u32 _Address)
// *********************************************************************************
// Warning: Test Area
//
-// This code is for TESTING and it works in interpreter mode ONLY. Some games (like
+// This code is for TESTING and it works in interpreter mode ONLY. Some games (like
// COD iirc) work thanks to this basic TLB emulation.
// It is just a small hack and we have never spend enough time to finalize it.
// Cheers PearPC!
@@ -576,26 +576,26 @@ void WriteUnchecked_U32(const u32 _iValue, const u32 _Address)
#define PPC_EXC_DSISR_PAGE (1<<30)
#define PPC_EXC_DSISR_PROT (1<<27)
-#define PPC_EXC_DSISR_STORE (1<<25)
+#define PPC_EXC_DSISR_STORE (1<<25)
#define SDR1_HTABORG(v) (((v)>>16)&0xffff)
#define SDR1_HTABMASK(v) ((v)&0x1ff)
-#define SDR1_PAGETABLE_BASE(v) ((v)&0xffff)
+#define SDR1_PAGETABLE_BASE(v) ((v)&0xffff)
#define SR_T (1<<31)
#define SR_Ks (1<<30)
#define SR_Kp (1<<29)
#define SR_N (1<<28)
#define SR_VSID(v) ((v)&0xffffff)
#define SR_BUID(v) (((v)>>20)&0x1ff)
-#define SR_CNTRL_SPEC(v) ((v)&0xfffff)
+#define SR_CNTRL_SPEC(v) ((v)&0xfffff)
-#define EA_SR(v) (((v)>>28)&0xf)
-#define EA_PageIndex(v) (((v)>>12)&0xffff)
+#define EA_SR(v) (((v)>>28)&0xf)
+#define EA_PageIndex(v) (((v)>>12)&0xffff)
#define EA_Offset(v) ((v)&0xfff)
-#define EA_API(v) (((v)>>22)&0x3f)
+#define EA_API(v) (((v)>>22)&0x3f)
#define PA_RPN(v) (((v)>>12)&0xfffff)
-#define PA_Offset(v) ((v)&0xfff)
+#define PA_Offset(v) ((v)&0xfff)
#define PTE1_V (1<<31)
#define PTE1_VSID(v) (((v)>>7)&0xffffff)
@@ -611,7 +611,7 @@ void WriteUnchecked_U32(const u32 _iValue, const u32 _Address)
// Hey! these duplicate a structure in Gekko.h
union UPTE1
{
- struct
+ struct
{
u32 API : 6;
u32 H : 1;
@@ -623,7 +623,7 @@ union UPTE1
union UPTE2
{
- struct
+ struct
{
u32 PP : 2;
u32 : 1;
@@ -664,24 +664,24 @@ void SDRUpdated()
u32 x = 1;
u32 xx = 0;
int n = 0;
- while ((htabmask & x) && (n < 9))
+ while ((htabmask & x) && (n < 9))
{
n++;
xx|=x;
x<<=1;
}
- if (htabmask & ~xx)
+ if (htabmask & ~xx)
{
return;
}
u32 htaborg = SDR1_HTABORG(PowerPC::ppcState.spr[SPR_SDR]);
- if (htaborg & xx)
+ if (htaborg & xx)
{
return;
}
PowerPC::ppcState.pagetable_base = htaborg<<16;
PowerPC::ppcState.pagetable_hashmask = ((xx<<10)|0x3ff);
-}
+}
// TLB cache
@@ -785,7 +785,7 @@ void UpdateTLBEntry(const XCheckTLBFlag _Flag, UPTE2 PTE2, const u32 vpa)
PowerPC::ppcState.itlb_last++;
PowerPC::ppcState.itlb_last &= 127;
PowerPC::ppcState.itlb_pa[PowerPC::ppcState.itlb_last] = PTE2.RPN << HW_PAGE_INDEX_SHIFT;
- PowerPC::ppcState.itlb_va[PowerPC::ppcState.itlb_last] = vpa & ~0xfff;
+ PowerPC::ppcState.itlb_va[PowerPC::ppcState.itlb_last] = vpa & ~0xfff;
}
else
{
@@ -793,7 +793,7 @@ void UpdateTLBEntry(const XCheckTLBFlag _Flag, UPTE2 PTE2, const u32 vpa)
PowerPC::ppcState.dtlb_last++;
PowerPC::ppcState.dtlb_last &= 127;
PowerPC::ppcState.dtlb_pa[PowerPC::ppcState.dtlb_last] = PTE2.RPN << HW_PAGE_INDEX_SHIFT;
- PowerPC::ppcState.dtlb_va[PowerPC::ppcState.dtlb_last] = vpa & ~0xfff;
+ PowerPC::ppcState.dtlb_va[PowerPC::ppcState.dtlb_last] = vpa & ~0xfff;
}
#endif
}
@@ -845,12 +845,12 @@ u32 TranslatePageAddress(const u32 _Address, const XCheckTLBFlag _Flag)
if (LookupTLBPageAddress(_Flag, _Address, &translatedAddress))
return translatedAddress;
- u32 sr = PowerPC::ppcState.sr[EA_SR(_Address)];
+ u32 sr = PowerPC::ppcState.sr[EA_SR(_Address)];
- u32 offset = EA_Offset(_Address); // 12 bit
+ u32 offset = EA_Offset(_Address); // 12 bit
u32 page_index = EA_PageIndex(_Address); // 16 bit
- u32 VSID = SR_VSID(sr); // 24 bit
- u32 api = EA_API(_Address); // 6 bit (part of page_index)
+ u32 VSID = SR_VSID(sr); // 24 bit
+ u32 api = EA_API(_Address); // 6 bit (part of page_index)
u8* pRAM = GetPointer(0);
@@ -864,9 +864,9 @@ u32 TranslatePageAddress(const u32 _Address, const XCheckTLBFlag _Flag)
UPTE1 PTE1;
PTE1.Hex = bswap(*(u32*)&pRAM[pteg_addr]);
- if (PTE1.V && !PTE1.H)
+ if (PTE1.V && !PTE1.H)
{
- if (VSID == PTE1.VSID && (api == PTE1.API))
+ if (VSID == PTE1.VSID && (api == PTE1.API))
{
UPTE2 PTE2;
PTE2.Hex = bswap((*(u32*)&pRAM[(pteg_addr + 4)]));
@@ -886,13 +886,13 @@ u32 TranslatePageAddress(const u32 _Address, const XCheckTLBFlag _Flag)
return ((PTE2.RPN << 12) | offset);
}
}
- pteg_addr+=8;
+ pteg_addr+=8;
}
// hash function no 2 "not" .360
hash1 = ~hash1;
pteg_addr = ((hash1 & PowerPC::ppcState.pagetable_hashmask) << 6) | PowerPC::ppcState.pagetable_base;
- for (int i = 0; i < 8; i++)
+ for (int i = 0; i < 8; i++)
{
u32 pte = bswap(*(u32*)&pRAM[pteg_addr]);
if ((pte & PTE1_V) && (pte & PTE1_H))
@@ -910,13 +910,13 @@ u32 TranslatePageAddress(const u32 _Address, const XCheckTLBFlag _Flag)
case FLAG_WRITE: PTE2.C = 1; break;
case FLAG_NO_EXCEPTION: break;
case FLAG_OPCODE: break;
- }
+ }
*(u32*)&pRAM[(pteg_addr + 4)] = bswap(PTE2.Hex);
return ((PTE2.RPN << 12) | offset);
}
}
- pteg_addr+=8;
+ pteg_addr+=8;
}
return 0;
}
diff --git a/Source/Core/Core/Src/HW/MemoryInterface.cpp b/Source/Core/Core/Src/HW/MemoryInterface.cpp
index 9eb833cbc0..80f451687b 100644
--- a/Source/Core/Core/Src/HW/MemoryInterface.cpp
+++ b/Source/Core/Core/Src/HW/MemoryInterface.cpp
@@ -61,7 +61,7 @@ void Write32(const u32 _iValue, const u32 _iAddress)
}
//TODO : check
-void Write16(const u16 _iValue, const u32 _iAddress)
+void Write16(const u16 _iValue, const u32 _iAddress)
{
INFO_LOG(MEMMAP, "(w16) 0x%04x @ 0x%08x", _iValue, _iAddress);
switch(_iAddress & 0xFFF)
diff --git a/Source/Core/Core/Src/HW/MemoryInterface.h b/Source/Core/Core/Src/HW/MemoryInterface.h
index ffa255b4b2..2a4fa2a8e1 100644
--- a/Source/Core/Core/Src/HW/MemoryInterface.h
+++ b/Source/Core/Core/Src/HW/MemoryInterface.h
@@ -13,7 +13,7 @@ namespace MemoryInterface
void DoState(PointerWrap &p);
void Read16(u16& _uReturnValue, const u32 _iAddress);
-void Read32(u32& _uReturnValue, const u32 _iAddress);
+void Read32(u32& _uReturnValue, const u32 _iAddress);
void Write32(const u32 _iValue, const u32 _iAddress);
void Write16(const u16 _iValue, const u32 _iAddress);
} // end of namespace MemoryInterface
diff --git a/Source/Core/Core/Src/HW/ProcessorInterface.cpp b/Source/Core/Core/Src/HW/ProcessorInterface.cpp
index 273ee32231..68b0ce960b 100644
--- a/Source/Core/Core/Src/HW/ProcessorInterface.cpp
+++ b/Source/Core/Core/Src/HW/ProcessorInterface.cpp
@@ -101,12 +101,12 @@ void Read32(u32& _uReturnValue, const u32 _iAddress)
{
//INFO_LOG(PROCESSORINTERFACE, "(r32) 0x%08x", _iAddress);
- switch(_iAddress & 0xFFF)
+ switch(_iAddress & 0xFFF)
{
case PI_INTERRUPT_CAUSE:
_uReturnValue = m_InterruptCause;
return;
-
+
case PI_INTERRUPT_MASK:
_uReturnValue = m_InterruptMask;
return;
@@ -136,31 +136,31 @@ void Read32(u32& _uReturnValue, const u32 _iAddress)
INFO_LOG(PROCESSORINTERFACE, "Read flipper rev, 0x%08x", m_FlipperRev);
_uReturnValue = m_FlipperRev;
return;
-
+
default:
ERROR_LOG(PROCESSORINTERFACE, "!!!!Unknown write!!!! 0x%08x", _iAddress);
break;
}
-
+
_uReturnValue = 0xAFFE0000;
}
void Write32(const u32 _uValue, const u32 _iAddress)
{
//INFO_LOG(PROCESSORINTERFACE, "(w32) 0x%08x @ 0x%08x", _uValue, _iAddress);
- switch(_iAddress & 0xFFF)
+ switch(_iAddress & 0xFFF)
{
case PI_INTERRUPT_CAUSE:
Common::AtomicAnd(m_InterruptCause, ~_uValue); // writes turn them off
UpdateException();
return;
- case PI_INTERRUPT_MASK:
+ case PI_INTERRUPT_MASK:
m_InterruptMask = _uValue;
DEBUG_LOG(PROCESSORINTERFACE,"New Interrupt mask: %08x", m_InterruptMask);
UpdateException();
return;
-
+
case PI_FIFO_BASE:
Fifo_CPUBase = _uValue & 0xFFFFFFE0;
DEBUG_LOG(PROCESSORINTERFACE,"Fifo base = %08x", _uValue);
@@ -172,7 +172,7 @@ void Write32(const u32 _uValue, const u32 _iAddress)
break;
case PI_FIFO_WPTR:
- Fifo_CPUWritePointer = _uValue & 0xFFFFFFE0;
+ Fifo_CPUWritePointer = _uValue & 0xFFFFFFE0;
DEBUG_LOG(PROCESSORINTERFACE,"Fifo writeptr = %08x", _uValue);
break;
@@ -245,12 +245,12 @@ void SetInterrupt(u32 _causemask, bool _bSet)
{
DEBUG_LOG(PROCESSORINTERFACE, "Setting Interrupt %s (clear)", Debug_GetInterruptName(_causemask));
}
-
+
if (_bSet)
Common::AtomicOr(m_InterruptCause, _causemask);
else
Common::AtomicAnd(m_InterruptCause, ~_causemask);// is there any reason to have this possibility?
- // F|RES: i think the hw devices reset the interrupt in the PI to 0
+ // F|RES: i think the hw devices reset the interrupt in the PI to 0
// if the interrupt cause is eliminated. that isnt done by software (afaik)
UpdateException();
}
diff --git a/Source/Core/Core/Src/HW/ProcessorInterface.h b/Source/Core/Core/Src/HW/ProcessorInterface.h
index ce81cb35ef..7feefa2e14 100644
--- a/Source/Core/Core/Src/HW/ProcessorInterface.h
+++ b/Source/Core/Core/Src/HW/ProcessorInterface.h
@@ -16,9 +16,9 @@ namespace ProcessorInterface
enum InterruptCause
{
INT_CAUSE_PI = 0x1, // YAGCD says: GP runtime error
- INT_CAUSE_RSW = 0x2, // Reset Switch
- INT_CAUSE_DI = 0x4, // DVD interrupt
- INT_CAUSE_SI = 0x8, // Serial interface
+ INT_CAUSE_RSW = 0x2, // Reset Switch
+ INT_CAUSE_DI = 0x4, // DVD interrupt
+ INT_CAUSE_SI = 0x8, // Serial interface
INT_CAUSE_EXI = 0x10, // Expansion interface
INT_CAUSE_AI = 0x20, // Audio Interface Streaming
INT_CAUSE_DSP = 0x40, // DSP interface
diff --git a/Source/Core/Core/Src/HW/SI.cpp b/Source/Core/Core/Src/HW/SI.cpp
index 76810b7f6d..7f46b9a101 100644
--- a/Source/Core/Core/Src/HW/SI.cpp
+++ b/Source/Core/Core/Src/HW/SI.cpp
@@ -222,7 +222,7 @@ void DoState(PointerWrap &p)
p.Do(g_Channel[i].m_InHi.Hex);
p.Do(g_Channel[i].m_InLo.Hex);
p.Do(g_Channel[i].m_Out.Hex);
-
+
ISIDevice* pDevice = g_Channel[i].m_pDevice;
SIDevices type = pDevice->GetDeviceType();
p.Do(type);
@@ -249,13 +249,13 @@ void DoState(PointerWrap &p)
p.DoPOD(g_StatusReg);
p.Do(g_EXIClockCount);
p.Do(g_SIBuffer);
-}
+}
void Init()
{
for (int i = 0; i < NUMBER_OF_CHANNELS; i++)
- {
+ {
g_Channel[i].m_Out.Hex = 0;
g_Channel[i].m_InHi.Hex = 0;
g_Channel[i].m_InLo.Hex = 0;
diff --git a/Source/Core/Core/Src/HW/SI_Device.cpp b/Source/Core/Core/Src/HW/SI_Device.cpp
index e9674bcab6..ee0e649b5e 100644
--- a/Source/Core/Core/Src/HW/SI_Device.cpp
+++ b/Source/Core/Core/Src/HW/SI_Device.cpp
@@ -44,19 +44,19 @@ public:
CSIDevice_Null(SIDevices device, int _iDeviceNumber) : ISIDevice(device, _iDeviceNumber) {}
virtual ~CSIDevice_Null() {}
- int RunBuffer(u8* _pBuffer, int _iLength) {
+ int RunBuffer(u8* _pBuffer, int _iLength) override {
reinterpret_cast<u32*>(_pBuffer)[0] = SI_ERROR_NO_RESPONSE;
return 4;
}
- bool GetData(u32& _Hi, u32& _Low) {
+ bool GetData(u32& _Hi, u32& _Low) override {
_Hi = 0x80000000;
return true;
}
- void SendCommand(u32 _Cmd, u8 _Poll) {}
+ void SendCommand(u32 _Cmd, u8 _Poll) override {}
};
-// F A C T O R Y
+// F A C T O R Y
ISIDevice* SIDevice_Create(const SIDevices device, const int port_number)
{
switch (device)
diff --git a/Source/Core/Core/Src/HW/SI_DeviceAMBaseboard.cpp b/Source/Core/Core/Src/HW/SI_DeviceAMBaseboard.cpp
index 83af23b7a7..96d3fba56c 100644
--- a/Source/Core/Core/Src/HW/SI_DeviceAMBaseboard.cpp
+++ b/Source/Core/Core/Src/HW/SI_DeviceAMBaseboard.cpp
@@ -92,7 +92,7 @@ int CSIDevice_AMBaseboard::RunBuffer(u8* _pBuffer, int _iLength)
int iPosition = 0;
while(iPosition < _iLength)
- {
+ {
// read the command
EBufferCommands command = static_cast<EBufferCommands>(_pBuffer[iPosition ^ 3]);
iPosition++;
@@ -106,7 +106,7 @@ int CSIDevice_AMBaseboard::RunBuffer(u8* _pBuffer, int _iLength)
iPosition = _iLength; // break the while loop
}
break;
- case CMD_GCAM:
+ case CMD_GCAM:
{
int i;
@@ -188,7 +188,7 @@ int CSIDevice_AMBaseboard::RunBuffer(u8* _pBuffer, int _iLength)
case 0x1f:
{
ERROR_LOG(AMBASEBOARDDEBUG, "GC-AM: Command 1f, %02x %02x %02x %02x %02x (REGION)", ptr(1), ptr(2), ptr(3), ptr(4), ptr(5));
- unsigned char string[] =
+ unsigned char string[] =
"\x00\x00\x30\x00"
//"\x01\xfe\x00\x00" // JAPAN
"\x02\xfd\x00\x00" // USA
@@ -232,7 +232,7 @@ int CSIDevice_AMBaseboard::RunBuffer(u8* _pBuffer, int _iLength)
case 0x4e:
case 0x4f:
{
- DEBUG_LOG(AMBASEBOARDDEBUG, "GC-AM: Command %02x, %02x %02x %02x %02x %02x %02x %02x (JVS IO)",
+ DEBUG_LOG(AMBASEBOARDDEBUG, "GC-AM: Command %02x, %02x %02x %02x %02x %02x %02x %02x (JVS IO)",
ptr(0), ptr(1), ptr(2), ptr(3), ptr(4), ptr(5), ptr(6), ptr(7));
int pptr = 2;
JVSIOMessage msg;
@@ -283,8 +283,8 @@ int CSIDevice_AMBaseboard::RunBuffer(u8* _pBuffer, int _iLength)
msg.addData(1);
msg.addData((void *)"\x01\x02\x0a\x00", 4); // 2 player, 10 bit
msg.addData((void *)"\x02\x02\x00\x00", 4); // 2 coin slots
- //msg.addData((void *)"\x03\x02\x08\x00", 4);
- msg.addData((void *)"\x00\x00\x00\x00", 4);
+ //msg.addData((void *)"\x03\x02\x08\x00", 4);
+ msg.addData((void *)"\x00\x00\x00\x00", 4);
break;
case 0x15:
while (*jvs_io++) {};
diff --git a/Source/Core/Core/Src/HW/SI_DeviceAMBaseboard.h b/Source/Core/Core/Src/HW/SI_DeviceAMBaseboard.h
index 8c135ca980..d7b31a5ede 100644
--- a/Source/Core/Core/Src/HW/SI_DeviceAMBaseboard.h
+++ b/Source/Core/Core/Src/HW/SI_DeviceAMBaseboard.h
@@ -20,13 +20,13 @@ public:
CSIDevice_AMBaseboard(SIDevices device, int _iDeviceNumber);
// run the SI Buffer
- virtual int RunBuffer(u8* _pBuffer, int _iLength);
+ virtual int RunBuffer(u8* _pBuffer, int _iLength) override;
// return true on new data
- virtual bool GetData(u32& _Hi, u32& _Low);
+ virtual bool GetData(u32& _Hi, u32& _Low) override;
// send a command directly
- virtual void SendCommand(u32 _Cmd, u8 _Poll);
+ virtual void SendCommand(u32 _Cmd, u8 _Poll) override;
};
#endif // _SIDEVICE_AMBASEBOARD_H
diff --git a/Source/Core/Core/Src/HW/SI_DeviceDanceMat.cpp b/Source/Core/Core/Src/HW/SI_DeviceDanceMat.cpp
index 8a21591b94..72420abf9b 100644
--- a/Source/Core/Core/Src/HW/SI_DeviceDanceMat.cpp
+++ b/Source/Core/Core/Src/HW/SI_DeviceDanceMat.cpp
@@ -85,7 +85,7 @@ int CSIDevice_DanceMat::RunBuffer(u8* _pBuffer, int _iLength)
for (int i = 0; i < (int)sizeof(SOrigin); i++)
{
_pBuffer[i ^ 3] = *pCalibration++;
- }
+ }
}
break;
@@ -94,7 +94,7 @@ int CSIDevice_DanceMat::RunBuffer(u8* _pBuffer, int _iLength)
{
ERROR_LOG(SERIALINTERFACE, "Unknown SI command (0x%x)", command);
PanicAlert("SI: Unknown command (0x%x)", command);
- }
+ }
break;
}
@@ -112,7 +112,7 @@ bool CSIDevice_DanceMat::GetData(u32& _Hi, u32& _Low)
{
SPADStatus PadStatus;
memset(&PadStatus, 0, sizeof(PadStatus));
-
+
Pad::GetStatus(ISIDevice::m_iDeviceNumber, &PadStatus);
Movie::CallInputManip(&PadStatus, ISIDevice::m_iDeviceNumber);
diff --git a/Source/Core/Core/Src/HW/SI_DeviceDanceMat.h b/Source/Core/Core/Src/HW/SI_DeviceDanceMat.h
index 7c413026ec..f2dbb2f311 100644
--- a/Source/Core/Core/Src/HW/SI_DeviceDanceMat.h
+++ b/Source/Core/Core/Src/HW/SI_DeviceDanceMat.h
@@ -13,7 +13,7 @@
class CSIDevice_DanceMat : public ISIDevice
{
private:
-
+
// Commands
enum EBufferCommands
{
@@ -47,7 +47,7 @@ private:
union UCommand
{
u32 Hex;
- struct
+ struct
{
u32 Parameter1 : 8;
u32 Parameter2 : 8;
@@ -86,20 +86,20 @@ public:
CSIDevice_DanceMat(SIDevices device, int _iDeviceNumber);
// Run the SI Buffer
- virtual int RunBuffer(u8* _pBuffer, int _iLength);
+ virtual int RunBuffer(u8* _pBuffer, int _iLength) override;
// Send and Receive pad input from network
static bool NetPlay_GetInput(u8 numPAD, SPADStatus status, u32 *PADStatus);
static u8 NetPlay_InGamePadToLocalPad(u8 numPAD);
// Return true on new data
- virtual bool GetData(u32& _Hi, u32& _Low);
+ virtual bool GetData(u32& _Hi, u32& _Low) override;
// Send a command directly
- virtual void SendCommand(u32 _Cmd, u8 _Poll);
+ virtual void SendCommand(u32 _Cmd, u8 _Poll) override;
// Savestate support
- virtual void DoState(PointerWrap& p);
+ virtual void DoState(PointerWrap& p) override;
};
#endif
diff --git a/Source/Core/Core/Src/HW/SI_DeviceGBA.cpp b/Source/Core/Core/Src/HW/SI_DeviceGBA.cpp
index 937bf45036..6a59ecd3af 100644
--- a/Source/Core/Core/Src/HW/SI_DeviceGBA.cpp
+++ b/Source/Core/Core/Src/HW/SI_DeviceGBA.cpp
@@ -26,9 +26,9 @@ void GBAConnectionWaiter()
// "dolphin gba"
if (!server.Listen(0xd6ba))
return;
-
+
server.SetBlocking(false);
-
+
sf::SocketTCP new_client;
while (server_running)
{
diff --git a/Source/Core/Core/Src/HW/SI_DeviceGBA.h b/Source/Core/Core/Src/HW/SI_DeviceGBA.h
index 7783d06285..d2fa333096 100644
--- a/Source/Core/Core/Src/HW/SI_DeviceGBA.h
+++ b/Source/Core/Core/Src/HW/SI_DeviceGBA.h
@@ -39,10 +39,10 @@ public:
~CSIDevice_GBA() {}
// Run the SI Buffer
- virtual int RunBuffer(u8* _pBuffer, int _iLength);
+ virtual int RunBuffer(u8* _pBuffer, int _iLength) override;
- virtual bool GetData(u32& _Hi, u32& _Low) { return true; }
- virtual void SendCommand(u32 _Cmd, u8 _Poll) {}
+ virtual bool GetData(u32& _Hi, u32& _Low) override { return true; }
+ virtual void SendCommand(u32 _Cmd, u8 _Poll) override {}
};
#endif
diff --git a/Source/Core/Core/Src/HW/SI_DeviceGCController.cpp b/Source/Core/Core/Src/HW/SI_DeviceGCController.cpp
index b1a1bbeafa..2db017d5c6 100644
--- a/Source/Core/Core/Src/HW/SI_DeviceGCController.cpp
+++ b/Source/Core/Core/Src/HW/SI_DeviceGCController.cpp
@@ -85,7 +85,7 @@ int CSIDevice_GCController::RunBuffer(u8* _pBuffer, int _iLength)
for (int i = 0; i < (int)sizeof(SOrigin); i++)
{
_pBuffer[i ^ 3] = *pCalibration++;
- }
+ }
}
break;
@@ -94,7 +94,7 @@ int CSIDevice_GCController::RunBuffer(u8* _pBuffer, int _iLength)
{
ERROR_LOG(SERIALINTERFACE, "Unknown SI command (0x%x)", command);
PanicAlert("SI: Unknown command (0x%x)", command);
- }
+ }
break;
}
@@ -112,7 +112,7 @@ bool CSIDevice_GCController::GetData(u32& _Hi, u32& _Low)
{
SPADStatus PadStatus;
memset(&PadStatus, 0, sizeof(PadStatus));
-
+
Pad::GetStatus(ISIDevice::m_iDeviceNumber, &PadStatus);
Movie::CallInputManip(&PadStatus, ISIDevice::m_iDeviceNumber);
diff --git a/Source/Core/Core/Src/HW/SI_DeviceGCController.h b/Source/Core/Core/Src/HW/SI_DeviceGCController.h
index 9673041c6f..c0278eebfd 100644
--- a/Source/Core/Core/Src/HW/SI_DeviceGCController.h
+++ b/Source/Core/Core/Src/HW/SI_DeviceGCController.h
@@ -13,7 +13,7 @@
class CSIDevice_GCController : public ISIDevice
{
private:
-
+
// Commands
enum EBufferCommands
{
@@ -47,7 +47,7 @@ private:
union UCommand
{
u32 Hex;
- struct
+ struct
{
u32 Parameter1 : 8;
u32 Parameter2 : 8;
diff --git a/Source/Core/Core/Src/HW/SI_DeviceGCSteeringWheel.cpp b/Source/Core/Core/Src/HW/SI_DeviceGCSteeringWheel.cpp
index 3540db325f..322b0bcfc2 100644
--- a/Source/Core/Core/Src/HW/SI_DeviceGCSteeringWheel.cpp
+++ b/Source/Core/Core/Src/HW/SI_DeviceGCSteeringWheel.cpp
@@ -102,7 +102,7 @@ bool CSIDevice_GCSteeringWheel::GetData(u32& _Hi, u32& _Low)
{
SPADStatus PadStatus;
memset(&PadStatus, 0, sizeof(PadStatus));
-
+
Pad::GetStatus(ISIDevice::m_iDeviceNumber, &PadStatus);
Movie::CallInputManip(&PadStatus, ISIDevice::m_iDeviceNumber);
diff --git a/Source/Core/Core/Src/HW/SI_DeviceGCSteeringWheel.h b/Source/Core/Core/Src/HW/SI_DeviceGCSteeringWheel.h
index 2398b8f321..050a1220ce 100644
--- a/Source/Core/Core/Src/HW/SI_DeviceGCSteeringWheel.h
+++ b/Source/Core/Core/Src/HW/SI_DeviceGCSteeringWheel.h
@@ -13,7 +13,7 @@
class CSIDevice_GCSteeringWheel : public ISIDevice
{
private:
-
+
// Commands
enum EBufferCommands
{
@@ -48,7 +48,7 @@ private:
union UCommand
{
u32 Hex;
- struct
+ struct
{
u32 Parameter1 : 8;
u32 Parameter2 : 8;
diff --git a/Source/Core/Core/Src/HW/Sram.cpp b/Source/Core/Core/Src/HW/Sram.cpp
index ba2fa12957..8c135798b3 100644
--- a/Source/Core/Core/Src/HW/Sram.cpp
+++ b/Source/Core/Core/Src/HW/Sram.cpp
@@ -31,7 +31,7 @@ SRAM sram_dump = {{
#if 0
// german
-SRAM sram_dump_german = {{
+SRAM sram_dump_german = {{
0x1F, 0x66,
0xE0, 0x96,
0x00, 0x00, 0x00, 0x00,
@@ -81,7 +81,7 @@ void SetCardFlashID(u8* buffer, u8 card_index)
{
rand = (((rand * (u64)0x0000000041c64e6dULL) + (u64)0x0000000000003039ULL) >> 16);
csum += g_SRAM.flash_id[card_index][i] = buffer[i] - ((u8)rand&0xff);
- rand = (((rand * (u64)0x0000000041c64e6dULL) + (u64)0x0000000000003039ULL) >> 16);
+ rand = (((rand * (u64)0x0000000041c64e6dULL) + (u64)0x0000000000003039ULL) >> 16);
rand &= (u64)0x0000000000007fffULL;
}
g_SRAM.flashID_chksum[card_index] = csum^0xFF;
diff --git a/Source/Core/Core/Src/HW/StreamADPCM.cpp b/Source/Core/Core/Src/HW/StreamADPCM.cpp
index 91e4763ed2..4534f468a9 100644
--- a/Source/Core/Core/Src/HW/StreamADPCM.cpp
+++ b/Source/Core/Core/Src/HW/StreamADPCM.cpp
@@ -35,7 +35,7 @@ s16 ADPDecodeSample(s32 bits, s32 q, s32& hist1, s32& hist2)
if (hist < -0x200000) hist = -0x200000;
s32 cur = (((s16)(bits << 12) >> (q & 0xf)) << 6) + hist;
-
+
hist2 = hist1;
hist1 = cur;
diff --git a/Source/Core/Core/Src/HW/SystemTimers.cpp b/Source/Core/Core/Src/HW/SystemTimers.cpp
index bf77060c83..140ef652bf 100644
--- a/Source/Core/Core/Src/HW/SystemTimers.cpp
+++ b/Source/Core/Core/Src/HW/SystemTimers.cpp
@@ -119,7 +119,7 @@ int et_PatchEngine; // PatchEngine updates every 1/60th of a second by default
// These are badly educated guesses
// Feel free to experiment. Set these in Init below.
int
- // This is a fixed value, don't change it
+ // This is a fixed value, don't change it
AUDIO_DMA_PERIOD,
// Regulates the speed of the Command Processor
@@ -200,7 +200,7 @@ void DecrementerSet()
{
CoreTiming::SetFakeDecStartTicks(CoreTiming::GetTicks());
CoreTiming::SetFakeDecStartValue(decValue);
-
+
CoreTiming::ScheduleEvent(decValue * TIMER_RATIO, et_Dec);
}
}
diff --git a/Source/Core/Core/Src/HW/VideoInterface.cpp b/Source/Core/Core/Src/HW/VideoInterface.cpp
index a3d5f41d35..3c68493eed 100644
--- a/Source/Core/Core/Src/HW/VideoInterface.cpp
+++ b/Source/Core/Core/Src/HW/VideoInterface.cpp
@@ -461,7 +461,7 @@ void Write16(const u16 _iValue, const u32 _iAddress)
}
UpdateParameters();
- }
+ }
break;
case VI_HORIZONTAL_TIMING_0_HI:
diff --git a/Source/Core/Core/Src/HW/VideoInterface.h b/Source/Core/Core/Src/HW/VideoInterface.h
index 9004360b18..aaaedf5209 100644
--- a/Source/Core/Core/Src/HW/VideoInterface.h
+++ b/Source/Core/Core/Src/HW/VideoInterface.h
@@ -132,8 +132,8 @@ union UVIHorizontalTiming0
{
u32 Hex;
struct { u16 Lo, Hi; };
- struct
- {
+ struct
+ {
u32 HLW : 9; // Halfline Width (W*16 = Width (720))
u32 : 7;
u32 HCE : 7; // Horizontal Sync Start to Color Burst End
@@ -147,8 +147,8 @@ union UVIHorizontalTiming1
{
u32 Hex;
struct { u16 Lo, Hi; };
- struct
- {
+ struct
+ {
u32 HSY : 7; // Horizontal Sync Width
u32 HBE640 : 9; // Horizontal Sync Start to horizontal blank end
u32 : 1;
@@ -162,8 +162,8 @@ union UVIVBlankTimingRegister
{
u32 Hex;
struct { u16 Lo, Hi; };
- struct
- {
+ struct
+ {
u32 PRB : 10; // Pre-blanking in half lines
u32 : 6;
u32 PSB : 10; // Post blanking in half lines
@@ -176,8 +176,8 @@ union UVIBurstBlankingRegister
{
u32 Hex;
struct { u16 Lo, Hi; };
- struct
- {
+ struct
+ {
u32 BS0 : 5; // Field x start to burst blanking start in halflines
u32 BE0 : 11; // Field x start to burst blanking end in halflines
u32 BS2 : 5; // Field x+2 start to burst blanking start in halflines
@@ -189,7 +189,7 @@ union UVIFBInfoRegister
{
u32 Hex;
struct { u16 Lo, Hi; };
- struct
+ struct
{
// TODO: mask out lower 9bits/align to 9bits???
u32 FBB : 24; // Base address of the framebuffer in external mem
@@ -205,8 +205,8 @@ union UVIInterruptRegister
{
u32 Hex;
struct { u16 Lo, Hi; };
- struct
- {
+ struct
+ {
u32 HCT : 11; // Horizontal Position
u32 : 5;
u32 VCT : 11; // Vertical Position
@@ -221,8 +221,8 @@ union UVILatchRegister
{
u32 Hex;
struct { u16 Lo, Hi; };
- struct
- {
+ struct
+ {
u32 HCT : 11; // Horizontal Count
u32 : 5;
u32 VCT : 11; // Vertical Count
@@ -307,7 +307,7 @@ union UVIBorderBlankRegister
union UVIDTVStatus
{
u16 Hex;
- struct
+ struct
{
u16 component_plugged : 1;
u16 ntsc_j : 1;
diff --git a/Source/Core/Core/Src/HW/WII_IPC.cpp b/Source/Core/Core/Src/HW/WII_IPC.cpp
index b09d83f44b..d4535d1578 100644
--- a/Source/Core/Core/Src/HW/WII_IPC.cpp
+++ b/Source/Core/Core/Src/HW/WII_IPC.cpp
@@ -212,7 +212,7 @@ void Write32(const u32 _Value, const u32 _Address)
_dbg_assert_msg_(WII_IPC, 0, "w32 %08x @ %08x", _Value, _Address);
break;
}
-
+
WII_IPC_HLE_Interface::Update();
CoreTiming::ScheduleEvent_Threadsafe(0, updateInterrupts, 0);
}
diff --git a/Source/Core/Core/Src/HW/Wiimote.cpp b/Source/Core/Core/Src/HW/Wiimote.cpp
index 2061e80f2e..da807735bc 100644
--- a/Source/Core/Core/Src/HW/Wiimote.cpp
+++ b/Source/Core/Core/Src/HW/Wiimote.cpp
@@ -43,15 +43,15 @@ void Initialize(void* const hwnd, bool wait)
// add 4 wiimotes
for (unsigned int i = WIIMOTE_CHAN_0; i<MAX_BBMOTES; ++i)
g_plugin.controllers.push_back(new WiimoteEmu::Wiimote(i));
-
-
+
+
g_controller_interface.SetHwnd(hwnd);
g_controller_interface.Initialize();
g_plugin.LoadConfig(false);
WiimoteReal::Initialize(wait);
-
+
// reload Wiimotes with our settings
if (Movie::IsPlayingInput() || Movie::IsRecordingInput())
Movie::ChangeWiiPads();
diff --git a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Attachment.h b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Attachment.h
index dfa292bf3b..e965261d21 100644
--- a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Attachment.h
+++ b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Attachment.h
@@ -18,7 +18,7 @@ public:
virtual void GetState( u8* const data, const bool focus = true ) {}
void Reset();
- std::string GetName() const;
+ std::string GetName() const override;
const char* const name;
WiimoteEmu::ExtensionReg& reg;
diff --git a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Classic.cpp b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Classic.cpp
index 5b0d962397..4ada5fb554 100644
--- a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Classic.cpp
+++ b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Classic.cpp
@@ -50,15 +50,15 @@ static const char* const classic_trigger_names[] =
static const u16 classic_dpad_bitmasks[] =
{
- Classic::PAD_UP, Classic::PAD_DOWN, Classic::PAD_LEFT, Classic::PAD_RIGHT
+ Classic::PAD_UP, Classic::PAD_DOWN, Classic::PAD_LEFT, Classic::PAD_RIGHT
};
Classic::Classic(WiimoteEmu::ExtensionReg& _reg) : Attachment(_trans("Classic"), _reg)
{
// buttons
groups.push_back(m_buttons = new Buttons("Buttons"));
- for (unsigned int i = 0; i < sizeof(classic_button_names)/sizeof(*classic_button_names); ++i)
- m_buttons->controls.push_back(new ControlGroup::Input(classic_button_names[i]));
+ for (auto& classic_button_name : classic_button_names)
+ m_buttons->controls.push_back(new ControlGroup::Input(classic_button_name));
// sticks
groups.push_back(m_left_stick = new AnalogStick(_trans("Left Stick")));
@@ -66,13 +66,13 @@ Classic::Classic(WiimoteEmu::ExtensionReg& _reg) : Attachment(_trans("Classic"),
// triggers
groups.push_back(m_triggers = new MixedTriggers("Triggers"));
- for (unsigned int i=0; i < sizeof(classic_trigger_names)/sizeof(*classic_trigger_names); ++i)
- m_triggers->controls.push_back(new ControlGroup::Input(classic_trigger_names[i]));
+ for (auto& classic_trigger_name : classic_trigger_names)
+ m_triggers->controls.push_back(new ControlGroup::Input(classic_trigger_name));
// dpad
groups.push_back(m_dpad = new Buttons("D-Pad"));
- for (unsigned int i=0; i < 4; ++i)
- m_dpad->controls.push_back(new ControlGroup::Input(named_directions[i]));
+ for (auto& named_direction : named_directions)
+ m_dpad->controls.push_back(new ControlGroup::Input(named_direction));
// set up register
// calibration
diff --git a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Drums.cpp b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Drums.cpp
index 1ae774ba7d..1d79de87bf 100644
--- a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Drums.cpp
+++ b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Drums.cpp
@@ -36,8 +36,8 @@ Drums::Drums(WiimoteEmu::ExtensionReg& _reg) : Attachment(_trans("Drums"), _reg)
{
// pads
groups.push_back(m_pads = new Buttons(_trans("Pads")));
- for (unsigned int i = 0; i < sizeof(drum_pad_names)/sizeof(*drum_pad_names); ++i)
- m_pads->controls.push_back(new ControlGroup::Input(drum_pad_names[i]));
+ for (auto& drum_pad_name : drum_pad_names)
+ m_pads->controls.push_back(new ControlGroup::Input(drum_pad_name));
// stick
groups.push_back(m_stick = new AnalogStick("Stick"));
diff --git a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Guitar.cpp b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Guitar.cpp
index 23a2f93054..92b09b1e1a 100644
--- a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Guitar.cpp
+++ b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Guitar.cpp
@@ -40,8 +40,8 @@ Guitar::Guitar(WiimoteEmu::ExtensionReg& _reg) : Attachment(_trans("Guitar"), _r
{
// frets
groups.push_back(m_frets = new Buttons(_trans("Frets")));
- for (unsigned int i = 0; i < sizeof(guitar_fret_names)/sizeof(*guitar_fret_names); ++i)
- m_frets->controls.push_back(new ControlGroup::Input(guitar_fret_names[i]));
+ for (auto& guitar_fret_name : guitar_fret_names)
+ m_frets->controls.push_back(new ControlGroup::Input(guitar_fret_name));
// strum
groups.push_back(m_strum = new Buttons(_trans("Strum")));
diff --git a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Guitar.h b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Guitar.h
index 245ebabb90..1e33830a14 100644
--- a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Guitar.h
+++ b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Guitar.h
@@ -11,7 +11,7 @@ class Guitar : public Attachment
{
public:
Guitar(WiimoteEmu::ExtensionReg& _reg);
- void GetState( u8* const data, const bool focus );
+ void GetState( u8* const data, const bool focus ) override;
enum
{
diff --git a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Nunchuk.cpp b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Nunchuk.cpp
index 63dd485ed7..7f330ecc78 100644
--- a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Nunchuk.cpp
+++ b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Nunchuk.cpp
@@ -17,7 +17,7 @@ static const u8 nunchuck_id[] = { 0x00, 0x00, 0xa4, 0x20, 0x00, 0x00 };
static const u8 nunchuck_calibration[] =
{
0x80, 0x80, 0x80, 0x00, // accelerometer x, y, z neutral
- 0xb3, 0xb3, 0xb3, 0x00, // x, y, z g-force values
+ 0xb3, 0xb3, 0xb3, 0x00, // x, y, z g-force values
// 0x80 = analog stick x and y axis center
0xff, 0x00, 0x80,
@@ -121,10 +121,10 @@ void Nunchuk::GetState(u8* const data, const bool focus)
// buttons
m_buttons->GetState(&ncdata->bt, nunchuk_button_bitmasks);
}
-
+
// flip the button bits :/
ncdata->bt ^= 0x03;
-
+
if (m_udpWrap->inst)
{
if (m_udpWrap->updNun)
@@ -151,7 +151,7 @@ void Nunchuk::GetState(u8* const data, const bool focus)
accel.x = x;
accel.y = y;
accel.z = z;
- }
+ }
}
wm_accel* dt = (wm_accel*)&ncdata->ax;
diff --git a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Nunchuk.h b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Nunchuk.h
index 3b720f73a7..975e1fbfee 100644
--- a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Nunchuk.h
+++ b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Nunchuk.h
@@ -17,7 +17,7 @@ class Nunchuk : public Attachment
public:
Nunchuk(UDPWrapper * wrp, WiimoteEmu::ExtensionReg& _reg);
- virtual void GetState( u8* const data, const bool focus );
+ virtual void GetState( u8* const data, const bool focus ) override;
enum
{
@@ -25,7 +25,7 @@ public:
BUTTON_Z = 0x01,
};
- void LoadDefaults(const ControllerInterface& ciface);
+ void LoadDefaults(const ControllerInterface& ciface) override;
private:
Tilt* m_tilt;
@@ -37,7 +37,7 @@ private:
AnalogStick* m_stick;
u8 m_shake_step[3];
-
+
UDPWrapper* const m_udpWrap;
};
diff --git a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Turntable.cpp b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Turntable.cpp
index 901ad27c9f..83047114bc 100644
--- a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Turntable.cpp
+++ b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Turntable.cpp
@@ -34,8 +34,8 @@ Turntable::Turntable(WiimoteEmu::ExtensionReg& _reg) : Attachment(_trans("Turnta
{
// buttons
groups.push_back(m_buttons = new Buttons("Buttons"));
- for (unsigned int i = 0; i < sizeof(turntable_button_names)/sizeof(*turntable_button_names); ++i)
- m_buttons->controls.push_back(new ControlGroup::Input(turntable_button_names[i]));
+ for (auto& turntable_button_name : turntable_button_names)
+ m_buttons->controls.push_back(new ControlGroup::Input(turntable_button_name));
// turntables
groups.push_back(m_left_table = new Slider(_trans("Table Left")));
diff --git a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Turntable.h b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Turntable.h
index b2c73e1920..c416d69cfc 100644
--- a/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Turntable.h
+++ b/Source/Core/Core/Src/HW/WiimoteEmu/Attachment/Turntable.h
@@ -11,7 +11,7 @@ class Turntable : public Attachment
{
public:
Turntable(WiimoteEmu::ExtensionReg& _reg);
- void GetState(u8* const data, const bool focus);
+ void GetState(u8* const data, const bool focus) override;
enum
{
diff --git a/Source/Core/Core/Src/HW/WiimoteEmu/Encryption.cpp b/Source/Core/Core/Src/HW/WiimoteEmu/Encryption.cpp
index 70efdf2803..3c0c111a90 100644
--- a/Source/Core/Core/Src/HW/WiimoteEmu/Encryption.cpp
+++ b/Source/Core/Core/Src/HW/WiimoteEmu/Encryption.cpp
@@ -196,10 +196,10 @@ void genkey(const u8* const rand, const u8 idx, u8* const key)
{
const u8* const ans = ans_tbl[idx];
u8 t0[10];
-
+
for(int i=0; i<10; ++i)
t0[i] = tsbox[rand[i]];
-
+
key[0] = ((ror8((ans[0]^t0[5]),(t0[2]%8)) - t0[9]) ^ t0[4]);
key[1] = ((ror8((ans[1]^t0[1]),(t0[0]%8)) - t0[5]) ^ t0[7]);
key[2] = ((ror8((ans[2]^t0[6]),(t0[8]%8)) - t0[2]) ^ t0[0]);
@@ -219,7 +219,7 @@ void gentabs(const u8* const rand, const u8* const key, const u8 idx, u8* const
ft[5] = sboxes[idx][key[3]] ^ sboxes[(idx+1)%8][rand[9]];
ft[6] = sboxes[idx][rand[0]] ^ sboxes[(idx+1)%8][rand[6]];
ft[7] = sboxes[idx][rand[1]] ^ sboxes[(idx+1)%8][rand[8]];
-
+
sb[0] = sboxes[idx][key[0]] ^ sboxes[(idx+1)%8][rand[1]];
sb[1] = sboxes[idx][key[5]] ^ sboxes[(idx+1)%8][rand[4]];
sb[2] = sboxes[idx][key[3]] ^ sboxes[(idx+1)%8][rand[0]];
@@ -245,10 +245,10 @@ void wiimote_gen_key(wiimote_key* const key, const u8* const keydata)
rand[9-i] = keydata[i];
for (int i=0; i<6; ++i)
skey[5-i] = keydata[i+10];
-
+
//DEBUG_LOG(WIIMOTE, "rand: %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x", rand[0], rand[1], rand[2], rand[3], rand[4], rand[5], rand[6], rand[7], rand[8], rand[9]);
//DEBUG_LOG(WIIMOTE, "key: %02x %02x %02x %02x %02x %02x", skey[0], skey[1], skey[2], skey[3], skey[4], skey[5]);
-
+
for(idx = 0; idx < 7; ++idx)
{
genkey(rand, idx, testkey);
@@ -257,12 +257,12 @@ void wiimote_gen_key(wiimote_key* const key, const u8* const keydata)
}
// default case is idx = 7 which is valid (homebrew uses it for the 0x17 case)
//DEBUG_LOG(WIIMOTE, "idx: %d", idx);
-
+
gentabs(rand, skey, idx, key->ft, key->sb);
-
+
//DEBUG_LOG(WIIMOTE, "ft: %02x %02x %02x %02x %02x %02x %02x %02x", key->ft[0], key->ft[1], key->ft[2], key->ft[3], key->ft[4], key->ft[5], key->ft[6], key->ft[7]);
//DEBUG_LOG(WIIMOTE, "sb: %02x %02x %02x %02x %02x %02x %02x %02x", key->sb[0], key->sb[1], key->sb[2], key->sb[3], key->sb[4], key->sb[5], key->sb[6], key->sb[7]);
-
+
// for homebrew, ft and sb are all 0x97 which is equivalent to 0x17
}
@@ -270,7 +270,7 @@ void wiimote_gen_key(wiimote_key* const key, const u8* const keydata)
/* Encrypt data */
void wiimote_encrypt(const wiimote_key* const key, u8* const data, int addr, const u8 len)
{
- for (int i = 0; i < len; ++i, ++addr)
+ for (int i = 0; i < len; ++i, ++addr)
data[i] = (data[i] - key->ft[addr % 8]) ^ key->sb[addr % 8];
}
diff --git a/Source/Core/Core/Src/HW/WiimoteEmu/MatrixMath.h b/Source/Core/Core/Src/HW/WiimoteEmu/MatrixMath.h
index b8abafbb3a..867b944b48 100644
--- a/Source/Core/Core/Src/HW/WiimoteEmu/MatrixMath.h
+++ b/Source/Core/Core/Src/HW/WiimoteEmu/MatrixMath.h
@@ -27,9 +27,9 @@ inline void MatrixIdentity(Matrix & m)
inline void MatrixFrustum(Matrix &m, double l, double r, double b, double t, double n, double f)
{
- m[0][0]=2*n/(r-l); m[0][1]=0; m[0][2]=0; m[0][3]=0;
- m[1][0]=0; m[1][1]=2*n/(t-b); m[1][2]=0; m[1][3]=0;
- m[2][0]=(r+l)/(r-l); m[2][1]=(t+b)/(t-b); m[2][2]=(f+n)/(f-n); m[2][3]=-1;
+ m[0][0]=2*n/(r-l); m[0][1]=0; m[0][2]=0; m[0][3]=0;
+ m[1][0]=0; m[1][1]=2*n/(t-b); m[1][2]=0; m[1][3]=0;
+ m[2][0]=(r+l)/(r-l); m[2][1]=(t+b)/(t-b); m[2][2]=(f+n)/(f-n); m[2][3]=-1;
m[3][0]=0; m[3][1]=0; m[3][2]=2*f*n/(f-n); m[3][3]=0;
}
diff --git a/Source/Core/Core/Src/HW/WiimoteEmu/WiimoteEmu.cpp b/Source/Core/Core/Src/HW/WiimoteEmu/WiimoteEmu.cpp
index 94e7d88cd6..28f60940c4 100644
--- a/Source/Core/Core/Src/HW/WiimoteEmu/WiimoteEmu.cpp
+++ b/Source/Core/Core/Src/HW/WiimoteEmu/WiimoteEmu.cpp
@@ -60,7 +60,7 @@ static const u8 eeprom_data_16D0[] = {
0x77, 0x88, 0x00, 0x00, 0x2B, 0x01, 0xE8, 0x13
};
-const ReportFeatures reporting_mode_features[] =
+const ReportFeatures reporting_mode_features[] =
{
//0x30: Core Buttons
{ 2, 0, 0, 0, 4 },
@@ -97,7 +97,7 @@ void EmulateShake(AccelData* const accel
// peak G-force
double shake_intensity;
-
+
// shake is a bitfield of X,Y,Z shake button states
static const unsigned int btns[] = { 0x01, 0x02, 0x04 };
unsigned int shake = 0;
@@ -264,8 +264,8 @@ Wiimote::Wiimote( const unsigned int index )
// buttons
groups.push_back(m_buttons = new Buttons("Buttons"));
- for (unsigned int i=0; i < sizeof(named_buttons)/sizeof(*named_buttons); ++i)
- m_buttons->controls.push_back(new ControlGroup::Input( named_buttons[i]));
+ for (auto& named_button : named_buttons)
+ m_buttons->controls.push_back(new ControlGroup::Input( named_button));
// udp
groups.push_back(m_udp = new UDPWrapper(m_index, _trans("UDP Wiimote")));
@@ -302,8 +302,8 @@ Wiimote::Wiimote( const unsigned int index )
// dpad
groups.push_back(m_dpad = new Buttons("D-Pad"));
- for (unsigned int i=0; i < 4; ++i)
- m_dpad->controls.push_back(new ControlGroup::Input(named_directions[i]));
+ for (auto& named_direction : named_directions)
+ m_dpad->controls.push_back(new ControlGroup::Input(named_direction));
// options
groups.push_back( m_options = new ControlGroup(_trans("Options")));
@@ -457,7 +457,7 @@ void Wiimote::GetIRData(u8* const data, bool use_accel)
{
float xx = 10000, yy = 0, zz = 0;
double nsin,ncos;
-
+
if (use_accel)
{
double ax,az,len;
@@ -466,7 +466,7 @@ void Wiimote::GetIRData(u8* const data, bool use_accel)
len=sqrt(ax*ax+az*az);
if (len)
{
- ax/=len;
+ ax/=len;
az/=len; //normalizing the vector
nsin=ax;
ncos=az;
@@ -493,22 +493,22 @@ void Wiimote::GetIRData(u8* const data, bool use_accel)
UDPTLayer::GetIR(m_udp, &xx, &yy, &zz);
Vertex v[4];
-
+
static const int camWidth=1024;
static const int camHeight=768;
- static const double bndup=-0.315447;
- static const double bnddown=0.85;
- static const double bndleft=0.443364;
- static const double bndright=-0.443364;
+ static const double bndup=-0.315447;
+ static const double bnddown=0.85;
+ static const double bndleft=0.443364;
+ static const double bndright=-0.443364;
static const double dist1=100.f/camWidth; //this seems the optimal distance for zelda
static const double dist2=1.2f*dist1;
- for (int i=0; i<4; i++)
+ for (auto& vtx : v)
{
- v[i].x=xx*(bndright-bndleft)/2+(bndleft+bndright)/2;
- if (m_sensor_bar_on_top) v[i].y=yy*(bndup-bnddown)/2+(bndup+bnddown)/2;
- else v[i].y=yy*(bndup-bnddown)/2-(bndup+bnddown)/2;
- v[i].z=0;
+ vtx.x=xx*(bndright-bndleft)/2+(bndleft+bndright)/2;
+ if (m_sensor_bar_on_top) vtx.y=yy*(bndup-bnddown)/2+(bndup+bnddown)/2;
+ else vtx.y=yy*(bndup-bnddown)/2-(bndup+bnddown)/2;
+ vtx.z=0;
}
v[0].x-=(zz*0.5+1)*dist1;
@@ -553,7 +553,7 @@ void Wiimote::GetIRData(u8* const data, bool use_accel)
wm_ir_basic* const irdata = (wm_ir_basic*)data;
for (unsigned int i=0; i<2; ++i)
{
- if (x[i*2] < 1024 && y[i*2] < 768)
+ if (x[i*2] < 1024 && y[i*2] < 768)
{
irdata[i].x1 = u8(x[i*2]);
irdata[i].x1hi = x[i*2] >> 8;
@@ -616,7 +616,7 @@ void Wiimote::GetExtData(u8* const data)
// Bit 0 of byte 4 is moved to bit 7 of byte 5
// Bit 3 of byte 5 is moved to bit 4 of byte 5, overwriting it
// Bit 1 of byte 5 is moved to bit 3 of byte 5
- // Bit 0 of byte 5 is moved to bit 2 of byte 5, overwriting it
+ // Bit 0 of byte 5 is moved to bit 2 of byte 5, overwriting it
case 0x5:
//data[5] & (1 << 7)
//data[4] & (1 << 0)
@@ -659,7 +659,7 @@ void Wiimote::Update()
u8 data[MAX_PAYLOAD];
memset(data, 0, sizeof(data));
-
+
// figure out what data we need
s8 rptf_size = MAX_PAYLOAD;
@@ -676,28 +676,28 @@ void Wiimote::Update()
{
data[0] = 0xA1;
data[1] = m_reporting_mode;
-
+
// core buttons
if (rptf.core)
GetCoreData(data + rptf.core);
-
+
// acceleration
if (rptf.accel)
GetAccelData(data + rptf.accel, rptf.core?(data+rptf.core):NULL);
-
+
// IR
if (rptf.ir)
- GetIRData(data + rptf.ir, (rptf.accel != 0));
-
+ GetIRData(data + rptf.ir, (rptf.accel != 0));
+
// extension
if (rptf.ext)
GetExtData(data + rptf.ext);
-
+
// hybrid wiimote stuff (for now, it's not supported while recording)
if (WIIMOTE_SRC_HYBRID == g_wiimote_sources[m_index] && !Movie::IsRecordingInput())
{
using namespace WiimoteReal;
-
+
std::lock_guard<std::recursive_mutex> lk(g_refresh_lock);
if (g_wiimotes[m_index])
{
@@ -712,11 +712,11 @@ void Wiimote::Update()
if (real_data[1] >= WM_REPORT_CORE)
{
const ReportFeatures& real_rptf = reporting_mode_features[real_data[1] - WM_REPORT_CORE];
-
+
// force same report type from real-wiimote
if (&real_rptf != &rptf)
rptf_size = 0;
-
+
// core
// mix real-buttons with emu-buttons in the status struct, and in the report
if (real_rptf.core && rptf.core)
@@ -724,15 +724,15 @@ void Wiimote::Update()
m_status.buttons |= *(wm_core*)(real_data + real_rptf.core);
*(wm_core*)(data + rptf.core) = m_status.buttons;
}
-
+
// accel
// use real-accel data always i guess
if (real_rptf.accel && rptf.accel)
memcpy(data + rptf.accel, real_data + real_rptf.accel, sizeof(wm_accel));
-
+
// ir
// TODO
-
+
// ext
// use real-ext data if an emu-extention isn't chosen
if (real_rptf.ext && rptf.ext && (0 == m_extension->switch_extension))
@@ -744,7 +744,7 @@ void Wiimote::Update()
// use real-acks if an emu-extension isn't chosen
rptf_size = -1;
break;
-
+
// use all status reports, after modification of the extension bit
case WM_STATUS_REPORT :
//if (m_extension->switch_extension)
@@ -753,14 +753,14 @@ void Wiimote::Update()
((wm_status_report*)(real_data + 2))->extension = 1;
rptf_size = -1;
break;
-
+
// use all read-data replies
case WM_READ_DATA_REPLY:
rptf_size = -1;
break;
-
+
}
-
+
// copy over report from real-wiimote
if (-1 == rptf_size)
{
@@ -794,7 +794,7 @@ void Wiimote::Update()
}
}
-void Wiimote::ControlChannel(const u16 _channelID, const void* _pData, u32 _Size)
+void Wiimote::ControlChannel(const u16 _channelID, const void* _pData, u32 _Size)
{
// Check for custom communication
if (99 == _channelID)
@@ -823,7 +823,7 @@ void Wiimote::ControlChannel(const u16 _channelID, const void* _pData, u32 _Size
case HID_TYPE_SET_REPORT :
if (HID_PARAM_INPUT == hidp->param)
{
- PanicAlert("HID_TYPE_SET_REPORT - INPUT");
+ PanicAlert("HID_TYPE_SET_REPORT - INPUT");
}
else
{
diff --git a/Source/Core/Core/Src/HW/WiimoteReal/IONix.cpp b/Source/Core/Core/Src/HW/WiimoteReal/IONix.cpp
index f06bec2dde..860a9a3d57 100644
--- a/Source/Core/Core/Src/HW/WiimoteReal/IONix.cpp
+++ b/Source/Core/Core/Src/HW/WiimoteReal/IONix.cpp
@@ -71,7 +71,7 @@ void WiimoteScanner::FindWiimotes(std::vector<Wiimote*> & found_wiimotes, Wiimot
inquiry_info scan_infos[max_infos] = {};
auto* scan_infos_ptr = scan_infos;
found_board = NULL;
-
+
// Scan for bluetooth devices
int const found_devices = hci_inquiry(device_id, wait_len, max_infos, NULL, &scan_infos_ptr, IREQ_CACHE_FLUSH);
if (found_devices < 0)
@@ -86,7 +86,7 @@ void WiimoteScanner::FindWiimotes(std::vector<Wiimote*> & found_wiimotes, Wiimot
for (int i = 0; i < found_devices; ++i)
{
ERROR_LOG(WIIMOTE, "found a device...");
-
+
// BT names are a maximum of 248 bytes apparently
char name[255] = {};
if (hci_read_remote_name(device_sock, &scan_infos[i].bdaddr, sizeof(name), name, 1000) < 0)
diff --git a/Source/Core/Core/Src/HW/WiimoteReal/IOWin.cpp b/Source/Core/Core/Src/HW/WiimoteReal/IOWin.cpp
index 58ebfbfa64..2f1efd0228 100644
--- a/Source/Core/Core/Src/HW/WiimoteReal/IOWin.cpp
+++ b/Source/Core/Core/Src/HW/WiimoteReal/IOWin.cpp
@@ -138,8 +138,8 @@ inline void init_lib()
namespace WiimoteReal
{
-
-
+
+
int _IOWrite(HANDLE &dev_handle, OVERLAPPED &hid_overlap_write, enum win_bt_stack_t &stack, const u8* buf, int len);
int _IORead(HANDLE &dev_handle, OVERLAPPED &hid_overlap_read, u8* buf, int index);
void _IOWakeup(HANDLE &dev_handle, OVERLAPPED &hid_overlap_read);
@@ -217,7 +217,7 @@ void WiimoteScanner::FindWiimotes(std::vector<Wiimote*> & found_wiimotes, Wiimot
// Query the data for this device
if (SetupDiGetDeviceInterfaceDetail(device_info, &device_data, detail_data, len, NULL, NULL))
- {
+ {
auto const wm = new Wiimote;
wm->devicepath = detail_data->DevicePath;
bool real_wiimote = false, is_bb = false;
@@ -254,7 +254,7 @@ int CheckDeviceType_Write(HANDLE &dev_handle, const u8* buf, int size, int attem
enum win_bt_stack_t stack = MSBT_STACK_UNKNOWN;
DWORD written = 0;
-
+
for (; attempts>0; --attempts)
{
if (_IOWrite(dev_handle, hid_overlap_write, stack, buf, size))
@@ -278,7 +278,7 @@ int CheckDeviceType_Write(HANDLE &dev_handle, const u8* buf, int size, int attem
}
}
}
-
+
CloseHandle(hid_overlap_write.hEvent);
return written;
@@ -295,7 +295,7 @@ int CheckDeviceType_Read(HANDLE &dev_handle, u8* buf, int attempts)
if (read > 0)
break;
}
-
+
CloseHandle(hid_overlap_read.hEvent);
return read;
@@ -308,17 +308,17 @@ void WiimoteScanner::CheckDeviceType(std::basic_string<TCHAR> &devicepath, bool
{
real_wiimote = false;
is_bb = false;
-
+
#ifdef SHARE_WRITE_WIIMOTES
std::lock_guard<std::mutex> lk(g_connected_wiimotes_lock);
if (g_connected_wiimotes.count(devicepath) != 0)
return;
#endif
-
+
HANDLE dev_handle = CreateFile(devicepath.c_str(),
- GENERIC_READ | GENERIC_WRITE,
+ GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
- NULL, OPEN_EXISTING, FILE_FLAG_OVERLAPPED,
+ NULL, OPEN_EXISTING, FILE_FLAG_OVERLAPPED,
NULL);
if (dev_handle == INVALID_HANDLE_VALUE)
return;
@@ -326,7 +326,7 @@ void WiimoteScanner::CheckDeviceType(std::basic_string<TCHAR> &devicepath, bool
bool check_vidpid = false;
HIDD_ATTRIBUTES attrib;
attrib.Size = sizeof(attrib);
- if (!check_vidpid ||
+ if (!check_vidpid ||
(HidD_GetAttributes(dev_handle, &attrib) &&
(attrib.VendorID == 0x057e) &&
(attrib.ProductID == 0x0306)))
@@ -343,18 +343,18 @@ void WiimoteScanner::CheckDeviceType(std::basic_string<TCHAR> &devicepath, bool
u8 const disable_enc_pt1_report[MAX_PAYLOAD] = {WM_SET_REPORT | WM_BT_OUTPUT, WM_WRITE_DATA, 0x04, 0xa4, 0x00, 0xf0, 0x01, 0x55};
u8 const disable_enc_pt2_report[MAX_PAYLOAD] = {WM_SET_REPORT | WM_BT_OUTPUT, WM_WRITE_DATA, 0x04, 0xa4, 0x00, 0xfb, 0x01, 0x00};
- rc = CheckDeviceType_Write(dev_handle,
- disable_enc_pt1_report,
- sizeof(disable_enc_pt1_report),
+ rc = CheckDeviceType_Write(dev_handle,
+ disable_enc_pt1_report,
+ sizeof(disable_enc_pt1_report),
1);
- rc = CheckDeviceType_Write(dev_handle,
- disable_enc_pt2_report,
- sizeof(disable_enc_pt2_report),
+ rc = CheckDeviceType_Write(dev_handle,
+ disable_enc_pt2_report,
+ sizeof(disable_enc_pt2_report),
1);
-
- rc = CheckDeviceType_Write(dev_handle,
- req_status_report,
- sizeof(req_status_report),
+
+ rc = CheckDeviceType_Write(dev_handle,
+ req_status_report,
+ sizeof(req_status_report),
1);
while (rc > 0 && --max_cycles > 0)
@@ -364,13 +364,13 @@ void WiimoteScanner::CheckDeviceType(std::basic_string<TCHAR> &devicepath, bool
// DEBUG_LOG(WIIMOTE, "CheckDeviceType: Read failed...");
break;
}
-
+
switch (buf[1])
{
case WM_STATUS_REPORT:
{
real_wiimote = true;
-
+
// DEBUG_LOG(WIIMOTE, "CheckDeviceType: Got Status Report");
wm_status_report * wsr = (wm_status_report*)&buf[2];
if (wsr->extension)
@@ -402,7 +402,7 @@ void WiimoteScanner::CheckDeviceType(std::basic_string<TCHAR> &devicepath, bool
case WM_READ_DATA_REPLY:
{
// DEBUG_LOG(WIIMOTE, "CheckDeviceType: Got Data Reply");
- wm_read_data_reply * wrdr
+ wm_read_data_reply * wrdr
= (wm_read_data_reply*)&buf[2];
// Check if it has returned what we asked.
if (Common::swap16(wrdr->address) == 0x00fa)
@@ -410,15 +410,15 @@ void WiimoteScanner::CheckDeviceType(std::basic_string<TCHAR> &devicepath, bool
real_wiimote = true;
// 0x020420A40000ULL means balance board.
u64 ext_type = (*(u64*)&wrdr->data[0]);
- // DEBUG_LOG(WIIMOTE,
- // "CheckDeviceType: GOT EXT TYPE %llX",
+ // DEBUG_LOG(WIIMOTE,
+ // "CheckDeviceType: GOT EXT TYPE %llX",
// ext_type);
is_bb = (ext_type == 0x020420A40000ULL);
}
else
{
- ERROR_LOG(WIIMOTE,
- "CheckDeviceType: GOT UNREQUESTED ADDRESS %X",
+ ERROR_LOG(WIIMOTE,
+ "CheckDeviceType: GOT UNREQUESTED ADDRESS %X",
Common::swap16(wrdr->address));
}
// force end
@@ -441,7 +441,7 @@ void WiimoteScanner::CheckDeviceType(std::basic_string<TCHAR> &devicepath, bool
bool WiimoteScanner::IsReady() const
{
// TODO: don't search for a radio each time
-
+
BLUETOOTH_FIND_RADIO_PARAMS radioParam;
radioParam.dwSize = sizeof(radioParam);
@@ -581,7 +581,7 @@ int _IORead(HANDLE &dev_handle, OVERLAPPED &hid_overlap_read, u8* buf, int index
buf[0] = 0xa1;
// Used below for a warning
buf[1] = 0;
-
+
DWORD bytes = 0;
ResetEvent(hid_overlap_read.hEvent);
if (!ReadFile(dev_handle, buf + 1, MAX_PAYLOAD - 1, &bytes, &hid_overlap_read))
@@ -653,11 +653,11 @@ int _IOWrite(HANDLE &dev_handle, OVERLAPPED &hid_overlap_write, enum win_bt_stac
stack = MSBT_STACK_BLUESOLEIL;
if (_IOWrite(dev_handle, hid_overlap_write, stack, buf, len))
return 1;
-
+
stack = MSBT_STACK_MS;
if (_IOWrite(dev_handle, hid_overlap_write, stack, buf, len))
return 1;
-
+
stack = MSBT_STACK_UNKNOWN;
break;
}
@@ -665,7 +665,7 @@ int _IOWrite(HANDLE &dev_handle, OVERLAPPED &hid_overlap_write, enum win_bt_stac
{
auto result = HidD_SetOutputReport(dev_handle, const_cast<u8*>(buf) + 1, len - 1);
//FlushFileBuffers(dev_handle);
-
+
if (!result)
{
auto err = GetLastError();
@@ -679,7 +679,7 @@ int _IOWrite(HANDLE &dev_handle, OVERLAPPED &hid_overlap_write, enum win_bt_stac
WARN_LOG(WIIMOTE, "IOWrite[MSBT_STACK_MS]: ERROR: %08x", err);
}
}
-
+
return result;
break;
}
@@ -692,7 +692,7 @@ int _IOWrite(HANDLE &dev_handle, OVERLAPPED &hid_overlap_write, enum win_bt_stac
std::fill(big_buf + len, big_buf + MAX_PAYLOAD, 0);
buf = big_buf;
}
-
+
ResetEvent(hid_overlap_write.hEvent);
DWORD bytes = 0;
if (WriteFile(dev_handle, buf + 1, MAX_PAYLOAD - 1, &bytes, &hid_overlap_write))
@@ -711,7 +711,7 @@ int _IOWrite(HANDLE &dev_handle, OVERLAPPED &hid_overlap_write, enum win_bt_stac
break;
}
}
-
+
return 0;
}
@@ -738,9 +738,9 @@ void ProcessWiimotes(bool new_scan, T& callback)
BLUETOOTH_FIND_RADIO_PARAMS radioParam;
radioParam.dwSize = sizeof(radioParam);
-
+
HANDLE hRadio;
-
+
// TODO: save radio(s) in the WiimoteScanner constructor?
// Enumerate BT radios
diff --git a/Source/Core/Core/Src/HW/WiimoteReal/IOdarwin.mm b/Source/Core/Core/Src/HW/WiimoteReal/IOdarwin.mm
index 4f015866bc..f59cffee2c 100644
--- a/Source/Core/Core/Src/HW/WiimoteReal/IOdarwin.mm
+++ b/Source/Core/Core/Src/HW/WiimoteReal/IOdarwin.mm
@@ -1,5 +1,4 @@
#define BLUETOOTH_VERSION_USE_CURRENT
-#import <IOBluetooth/IOBluetooth.h>
#include "Common.h"
#include "WiimoteReal.h"
diff --git a/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp b/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp
index ee6de5f19d..e5fff5b3f1 100644
--- a/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp
+++ b/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.cpp
@@ -13,7 +13,7 @@
#include "Host.h"
#include "ConfigManager.h"
#include "SFML/Network.hpp"
-
+
#include "WiimoteReal.h"
@@ -61,14 +61,14 @@ void Wiimote::WriteReport(Report rpt)
if (rpt.size() >= 3)
{
bool const new_rumble_state = (rpt[2] & 0x1) != 0;
-
+
if (WM_RUMBLE == rpt[1] && new_rumble_state == m_rumble_state)
{
// If this is a rumble report and the rumble state didn't change, ignore
//ERROR_LOG(WIIMOTE, "Ignoring rumble report.");
return;
}
-
+
m_rumble_state = new_rumble_state;
}
@@ -80,7 +80,7 @@ void Wiimote::WriteReport(Report rpt)
void Wiimote::QueueReport(u8 rpt_id, const void* _data, unsigned int size)
{
auto const data = static_cast<const u8*>(_data);
-
+
Report rpt(size + 2);
rpt[0] = WM_SET_REPORT | WM_BT_OUTPUT;
rpt[1] = rpt_id;
@@ -91,7 +91,7 @@ void Wiimote::QueueReport(u8 rpt_id, const void* _data, unsigned int size)
void Wiimote::DisableDataReporting()
{
m_last_input_report.clear();
-
+
// This probably accomplishes nothing.
wm_report_mode rpt = {};
rpt.mode = WM_REPORT_CORE;
@@ -120,7 +120,7 @@ void Wiimote::SetChannel(u16 channel)
void Wiimote::ClearReadQueue()
{
Report rpt;
-
+
// The "Clear" function isn't thread-safe :/
while (m_read_reports.Pop(rpt))
{}
@@ -151,12 +151,12 @@ void Wiimote::InterruptChannel(const u16 channel, const void* const _data, const
if (channel != m_channel)
{
m_channel = channel;
-
+
ClearReadQueue();
EmuStart();
}
-
+
auto const data = static_cast<const u8*>(_data);
Report rpt(data, data + size);
WiimoteEmu::Wiimote *const wm = (WiimoteEmu::Wiimote*)::Wiimote::GetPlugin()->controllers[index];
@@ -168,7 +168,7 @@ void Wiimote::InterruptChannel(const u16 channel, const void* const _data, const
{
rpt[0] = WM_SET_REPORT | WM_BT_OUTPUT;
}
-
+
// Disallow games from turning off all of the LEDs.
// It makes Wiimote connection status confusing.
if (rpt[1] == WM_LEDS)
@@ -226,9 +226,9 @@ bool Wiimote::Write()
if (!m_write_reports.Empty())
{
Report const& rpt = m_write_reports.Front();
-
+
bool const is_speaker_data = rpt[1] == WM_WRITE_SPEAKER_DATA;
-
+
if (!is_speaker_data || m_last_audio_report.GetTimeDifference() > 5)
{
if (Core::g_CoreStartupParameter.iBBDumpPort > 0 && index == WIIMOTE_BALANCE_BOARD)
@@ -237,15 +237,15 @@ bool Wiimote::Write()
Socket.Send((char*)rpt.data(), rpt.size(), sf::IPAddress::LocalHost, Core::g_CoreStartupParameter.iBBDumpPort);
}
IOWrite(rpt.data(), rpt.size());
-
+
if (is_speaker_data)
m_last_audio_report.Update();
-
+
m_write_reports.Pop();
return true;
}
}
-
+
return false;
}
@@ -264,7 +264,7 @@ const Report& Wiimote::ProcessReadQueue()
{
// A non-data report, use it.
return m_last_input_report;
-
+
// Forget the last data report as it may be of the wrong type
// or contain outdated button data
// or it's not supposed to be sent at this time
@@ -275,7 +275,7 @@ const Report& Wiimote::ProcessReadQueue()
// If the last report wasn't a data report it's irrelevant.
if (!IsDataReport(m_last_input_report))
m_last_input_report.clear();
-
+
// If it was a data report, we repeat that until something else comes in.
return m_last_input_report;
}
@@ -307,13 +307,13 @@ bool Wiimote::PrepareOnThread()
{
// core buttons, no continuous reporting
u8 static const mode_report[] = {WM_SET_REPORT | WM_BT_OUTPUT, WM_REPORT_MODE, 0, WM_REPORT_CORE};
-
+
// Set the active LEDs and turn on rumble.
u8 static const led_report[] = {WM_SET_REPORT | WM_BT_OUTPUT, WM_LEDS, u8(WIIMOTE_LED_1 << (index%WIIMOTE_BALANCE_BOARD) | 0x1)};
// Turn off rumble
u8 static const rumble_report[] = {WM_SET_REPORT | WM_BT_OUTPUT, WM_RUMBLE, 0};
-
+
// Request status report
u8 static const req_status_report[] = {WM_SET_REPORT | WM_BT_OUTPUT, WM_REQUEST_STATUS, 0};
// TODO: check for sane response?
@@ -469,7 +469,7 @@ void WiimoteScanner::ThreadFunc()
//std::this_thread::yield();
Common::SleepCurrentThread(500);
}
-
+
NOTICE_LOG(WIIMOTE, "Wiimote scanning has stopped.");
}
@@ -565,7 +565,7 @@ void LoadSettings()
sec.Get("Source", &g_wiimote_sources[i], i ? WIIMOTE_SRC_NONE : WIIMOTE_SRC_EMU);
}
-
+
std::string secname("BalanceBoard");
IniFile::Section& sec = *inifile.GetOrCreateSection(secname.c_str());
sec.Get("Source", &g_wiimote_sources[WIIMOTE_BALANCE_BOARD], WIIMOTE_SRC_NONE);
@@ -612,9 +612,9 @@ void Initialize(bool wait)
// called on emulation shutdown
void Stop(void)
{
- for (unsigned int i = 0; i < MAX_BBMOTES; ++i)
- if (g_wiimotes[i] && g_wiimotes[i]->IsConnected())
- g_wiimotes[i]->EmuStop();
+ for (auto& wiimote : g_wiimotes)
+ if (wiimote && wiimote->IsConnected())
+ wiimote->EmuStop();
}
// called when the dolphin app exits
@@ -637,16 +637,16 @@ void Shutdown(void)
void Resume()
{
- for (unsigned int i = 0; i < MAX_BBMOTES; ++i)
- if (g_wiimotes[i] && g_wiimotes[i]->IsConnected())
- g_wiimotes[i]->EmuResume();
+ for (auto& wiimote : g_wiimotes)
+ if (wiimote && wiimote->IsConnected())
+ wiimote->EmuResume();
}
void Pause()
{
- for (unsigned int i = 0; i < MAX_BBMOTES; ++i)
- if (g_wiimotes[i] && g_wiimotes[i]->IsConnected())
- g_wiimotes[i]->EmuPause();
+ for (auto& wiimote : g_wiimotes)
+ if (wiimote && wiimote->IsConnected())
+ wiimote->EmuPause();
}
void ChangeWiimoteSource(unsigned int index, int source)
@@ -656,8 +656,6 @@ void ChangeWiimoteSource(unsigned int index, int source)
g_wiimote_sources[index] = source;
g_wiimote_scanner.WantWiimotes(0 != CalculateWantedWiimotes());
g_wiimote_scanner.WantBB(0 != CalculateWantedBB());
-
-
// kill real connection (or swap to different slot)
DoneWithWiimote(index);
}
@@ -699,9 +697,9 @@ void TryToConnectWiimote(Wiimote* wm)
}
g_wiimote_scanner.WantWiimotes(0 != CalculateWantedWiimotes());
-
+
lk.unlock();
-
+
delete wm;
}
@@ -713,11 +711,11 @@ void TryToConnectBalanceBoard(Wiimote* wm)
{
wm = NULL;
}
-
+
g_wiimote_scanner.WantBB(0 != CalculateWantedBB());
-
+
lk.unlock();
-
+
delete wm;
}
@@ -733,7 +731,7 @@ void DoneWithWiimote(int index)
// First see if we can use this real Wiimote in another slot.
TryToConnectWiimote(wm);
}
-
+
// else, just disconnect the Wiimote
HandleWiimoteDisconnect(index);
}
@@ -741,7 +739,7 @@ void DoneWithWiimote(int index)
void HandleWiimoteDisconnect(int index)
{
Wiimote* wm = NULL;
-
+
{
std::lock_guard<std::recursive_mutex> lk(g_refresh_lock);
@@ -766,12 +764,12 @@ void HandleFoundWiimotes(const std::vector<Wiimote*>& wiimotes)
void Refresh()
{
g_wiimote_scanner.StopScanning();
-
+
{
std::unique_lock<std::recursive_mutex> lk(g_refresh_lock);
std::vector<Wiimote*> found_wiimotes;
Wiimote* found_board = NULL;
-
+
if (0 != CalculateWantedWiimotes() || 0 != CalculateWantedBB())
{
// Don't hang Dolphin when searching
@@ -796,7 +794,7 @@ void Refresh()
if(found_board)
TryToConnectBalanceBoard(found_board);
}
-
+
Initialize();
}
diff --git a/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.h b/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.h
index e4e965400c..c4807ed95f 100644
--- a/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.h
+++ b/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.h
@@ -70,7 +70,7 @@ public:
void DisableDataReporting();
void EnableDataReporting(u8 mode);
void SetChannel(u16 channel);
-
+
void QueueReport(u8 rpt_id, const void* data, unsigned int size);
int index;
@@ -104,7 +104,7 @@ protected:
private:
void ClearReadQueue();
void WriteReport(Report rpt);
-
+
int IORead(u8* buf);
int IOWrite(u8 const* buf, int len);
void IOWakeup();
@@ -114,7 +114,7 @@ private:
void WaitReady();
bool m_rumble_state;
-
+
std::thread m_wiimote_thread;
// Whether to keep running the thread.
volatile bool m_run_thread;
@@ -127,7 +127,7 @@ private:
Common::FifoQueue<Report> m_read_reports;
Common::FifoQueue<Report> m_write_reports;
-
+
Common::Timer m_last_audio_report;
};
@@ -138,7 +138,7 @@ public:
~WiimoteScanner();
bool IsReady() const;
-
+
void WantWiimotes(bool do_want);
void WantBB(bool do_want);
diff --git a/Source/Core/Core/Src/HW/WiimoteReal/WiimoteRealBase.h b/Source/Core/Core/Src/HW/WiimoteReal/WiimoteRealBase.h
index 0ad78610fe..82c18f6ec2 100644
--- a/Source/Core/Core/Src/HW/WiimoteReal/WiimoteRealBase.h
+++ b/Source/Core/Core/Src/HW/WiimoteReal/WiimoteRealBase.h
@@ -8,6 +8,13 @@
#ifdef _WIN32
#include <windows.h>
#elif defined(__APPLE__)
+ // Work around an Apple bug: for some reason, IOBluetooth.h errors on
+ // inclusion in Mavericks, but only in Objective-C++ C++11 mode. I filed
+ // this as <rdar://15312520>; in the meantime...
+ #import <Foundation/Foundation.h>
+ #undef NS_ENUM_AVAILABLE
+ #define NS_ENUM_AVAILABLE(...)
+ // end hack
#import <IOBluetooth/IOBluetooth.h>
#elif defined(__linux__) && HAVE_BLUEZ
#include <bluetooth/bluetooth.h>
diff --git a/Source/Core/Core/Src/Host.h b/Source/Core/Core/Src/Host.h
index bb2c9af8aa..67c74faba8 100644
--- a/Source/Core/Core/Src/Host.h
+++ b/Source/Core/Core/Src/Host.h
@@ -13,7 +13,7 @@
// Common and Host.
// Common simply provides OS-neutral implementations of things like threads, mutexes,
-// INI file manipulation, memory mapping, etc.
+// INI file manipulation, memory mapping, etc.
// Host is an abstract interface for communicating things back to the host. The emulator
// core is treated as a library, not as a main program, because it is far easier to
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.h
index 0db0ff3853..5f492015f5 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.h
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.h
@@ -13,7 +13,7 @@ namespace WII_IPC_HLE_Interface
{
#define IPC_FIRST_ID 0x00 // first IPC device ID
-#define IPC_MAX_FILES 0x10 // first IPC file ID
+#define IPC_MAX_FILES 0x10 // first IPC file ID
void EnqueReplyCallback(u64 userdata, int =0);
@@ -21,7 +21,7 @@ void EnqueReplyCallback(u64 userdata, int =0);
void Init();
// Shutdown
-void Shutdown();
+void Shutdown();
// Reset
void Reset(bool _bHard = false);
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device.h
index 2cd2aa1ff4..49249a2053 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device.h
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device.h
@@ -12,27 +12,27 @@
#include "ChunkFile.h"
#define FS_SUCCESS (u32)0 // Success
-#define FS_EACCES (u32)-1 // Permission denied
-#define FS_EEXIST (u32)-2 // File exists
+#define FS_EACCES (u32)-1 // Permission denied
+#define FS_EEXIST (u32)-2 // File exists
#define FS_EINVAL (u32)-4 // Invalid argument Invalid FD
-#define FS_ENOENT (u32)-6 // File not found
-#define FS_EBUSY (u32)-8 // Resource busy
-#define FS_EIO (u32)-12 // Returned on ECC error
-#define FS_ENOMEM (u32)-22 // Alloc failed during request
-#define FS_EFATAL (u32)-101 // Fatal error
-#define FS_EACCESS (u32)-102 // Permission denied
-#define FS_ECORRUPT (u32)-103 // returned for "corrupted" NAND
-#define FS_EEXIST2 (u32)-105 // File exists
-#define FS_ENOENT2 (u32)-106 // File not found
-#define FS_ENFILE (u32)-107 // Too many fds open
-#define FS_EFBIG (u32)-108 // Max block count reached?
-#define FS_EFDEXHAUSTED (u32)-109 // Too many fds open
-#define FS_ENAMELEN (u32)-110 // Pathname is too long
-#define FS_EFDOPEN (u32)-111 // FD is already open
-#define FS_EIO2 (u32)-114 // Returned on ECC error
-#define FS_ENOTEMPTY (u32)-115 // Directory not empty
-#define FS_EDIRDEPTH (u32)-116 // Max directory depth exceeded
-#define FS_EBUSY2 (u32)-118 // Resource busy
+#define FS_ENOENT (u32)-6 // File not found
+#define FS_EBUSY (u32)-8 // Resource busy
+#define FS_EIO (u32)-12 // Returned on ECC error
+#define FS_ENOMEM (u32)-22 // Alloc failed during request
+#define FS_EFATAL (u32)-101 // Fatal error
+#define FS_EACCESS (u32)-102 // Permission denied
+#define FS_ECORRUPT (u32)-103 // returned for "corrupted" NAND
+#define FS_EEXIST2 (u32)-105 // File exists
+#define FS_ENOENT2 (u32)-106 // File not found
+#define FS_ENFILE (u32)-107 // Too many fds open
+#define FS_EFBIG (u32)-108 // Max block count reached?
+#define FS_EFDEXHAUSTED (u32)-109 // Too many fds open
+#define FS_ENAMELEN (u32)-110 // Pathname is too long
+#define FS_EFDOPEN (u32)-111 // FD is already open
+#define FS_EIO2 (u32)-114 // Returned on ECC error
+#define FS_ENOTEMPTY (u32)-115 // Directory not empty
+#define FS_EDIRDEPTH (u32)-116 // Max directory depth exceeded
+#define FS_EBUSY2 (u32)-118 // Resource busy
//#define FS_EFATAL (u32)-119 // Fatal error not used by IOS as fatal ERROR
#define FS_EESEXHAUSTED (u32)-1016 // Max of 2 ES handles at a time
@@ -107,12 +107,12 @@ public:
{
}
- virtual void DoState(PointerWrap& p)
+ virtual void DoState(PointerWrap& p)
{
DoStateShared(p);
p.Do(m_Active);
}
-
+
void DoStateShared(PointerWrap& p);
const std::string& GetDeviceName() const { return m_Name; }
@@ -165,15 +165,15 @@ protected:
LogTypes::LOG_TYPE LogType = LogTypes::WII_IPC_HLE,
LogTypes::LOG_LEVELS Verbosity = LogTypes::LDEBUG)
{
- GENERIC_LOG(LogType, Verbosity, "CommandDump of %s",
+ GENERIC_LOG(LogType, Verbosity, "CommandDump of %s",
GetDeviceName().c_str());
for (u32 i = 0; i < _NumberOfCommands; i++)
{
GENERIC_LOG(LogType, Verbosity, " Command%02i: 0x%08x", i,
- Memory::Read_U32(_CommandAddress + i*4));
+ Memory::Read_U32(_CommandAddress + i*4));
}
}
-
+
void DumpAsync(u32 BufferVector, u32 NumberInBuffer, u32 NumberOutBuffer,
LogTypes::LOG_TYPE LogType = LogTypes::WII_IPC_HLE,
LogTypes::LOG_LEVELS Verbosity = LogTypes::LDEBUG)
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp
index 659807dcc4..e0106bf273 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.cpp
@@ -19,6 +19,8 @@
#include "../../DiscIO/Src/FileMonitor.h"
+#include <cinttypes>
+
using namespace DVDInterface;
@@ -68,7 +70,7 @@ bool CWII_IPC_HLE_Device_di::Close(u32 _CommandAddress, bool _bForce)
return true;
}
-bool CWII_IPC_HLE_Device_di::IOCtl(u32 _CommandAddress)
+bool CWII_IPC_HLE_Device_di::IOCtl(u32 _CommandAddress)
{
u32 BufferIn = Memory::Read_U32(_CommandAddress + 0x10);
u32 BufferInSize = Memory::Read_U32(_CommandAddress + 0x14);
@@ -85,7 +87,7 @@ bool CWII_IPC_HLE_Device_di::IOCtl(u32 _CommandAddress)
return true;
}
-bool CWII_IPC_HLE_Device_di::IOCtlV(u32 _CommandAddress)
+bool CWII_IPC_HLE_Device_di::IOCtlV(u32 _CommandAddress)
{
SIOCtlVBuffer CommandBuffer(_CommandAddress);
@@ -108,7 +110,7 @@ bool CWII_IPC_HLE_Device_di::IOCtlV(u32 _CommandAddress)
// Get TMD offset for requested partition...
u64 const TMDOffset = ((u64)Memory::Read_U32(CommandBuffer.InBuffer[0].m_Address + 4) << 2 ) + 0x2c0;
- INFO_LOG(WII_IPC_DVD, "DVDLowOpenPartition: TMDOffset 0x%016llx", TMDOffset);
+ INFO_LOG(WII_IPC_DVD, "DVDLowOpenPartition: TMDOffset 0x%016" PRIx64, TMDOffset);
static u32 const TMDsz = 0x208; //CommandBuffer.PayloadBuffer[0].m_Size;
u8 pTMD[TMDsz];
@@ -204,13 +206,13 @@ u32 CWII_IPC_HLE_Device_di::ExecuteCommand(u32 _BufferIn, u32 _BufferInSize, u32
pFilename = m_pFileSystem->GetFileName(DVDAddress);
if (pFilename != NULL)
{
- INFO_LOG(WII_IPC_DVD, "DVDLowRead: %s (0x%llx) - (DVDAddr: 0x%llx, Size: 0x%x)",
+ INFO_LOG(WII_IPC_DVD, "DVDLowRead: %s (0x%" PRIx64 ") - (DVDAddr: 0x%" PRIx64 ", Size: 0x%x)",
pFilename, m_pFileSystem->GetFileSize(pFilename), DVDAddress, Size);
FileMon::CheckFile(std::string(pFilename), (int)m_pFileSystem->GetFileSize(pFilename));
}
else
{
- INFO_LOG(WII_IPC_DVD, "DVDLowRead: file unknown - (DVDAddr: 0x%llx, Size: 0x%x)",
+ INFO_LOG(WII_IPC_DVD, "DVDLowRead: file unknown - (DVDAddr: 0x%" PRIx64 ", Size: 0x%x)",
DVDAddress, Size);
}
}
@@ -308,7 +310,7 @@ u32 CWII_IPC_HLE_Device_di::ExecuteCommand(u32 _BufferIn, u32 _BufferInSize, u32
u64 DVDAddress = (u64)DVDAddress32 << 2;
- INFO_LOG(WII_IPC_DVD, "DVDLowUnencryptedRead: DVDAddr: 0x%08llx, Size: 0x%x", DVDAddress, Size);
+ INFO_LOG(WII_IPC_DVD, "DVDLowUnencryptedRead: DVDAddr: 0x%08" PRIx64 ", Size: 0x%x", DVDAddress, Size);
if (Size > _BufferOutSize)
{
@@ -342,12 +344,12 @@ u32 CWII_IPC_HLE_Device_di::ExecuteCommand(u32 _BufferIn, u32 _BufferInSize, u32
pFilename = m_pFileSystem->GetFileName(DVDAddress);
if (pFilename != NULL)
{
- INFO_LOG(WII_IPC_DVD, "DVDLowSeek: %s (0x%llx) - (DVDAddr: 0x%llx)",
+ INFO_LOG(WII_IPC_DVD, "DVDLowSeek: %s (0x%" PRIx64 ") - (DVDAddr: 0x%" PRIx64 ")",
pFilename, m_pFileSystem->GetFileSize(pFilename), DVDAddress);
}
else
{
- INFO_LOG(WII_IPC_DVD, "DVDLowSeek: file unknown - (DVDAddr: 0x%llx)",
+ INFO_LOG(WII_IPC_DVD, "DVDLowSeek: file unknown - (DVDAddr: 0x%" PRIx64 ")",
DVDAddress);
}
}
@@ -418,7 +420,7 @@ u32 CWII_IPC_HLE_Device_di::ExecuteCommand(u32 _BufferIn, u32 _BufferInSize, u32
case DVDLowAudioBufferConfig:
/*
For more information: http://www.crazynation.org/GC/GC_DD_TECH/GCTech.htm
-
+
Upon Power up or reset , 2 commands must be issued for proper use of audio streaming:
DVDReadDiskID A8000040,00000000,00000020
DVDLowAudioBufferConfig E4xx00yy,00000000,00000020
@@ -453,9 +455,9 @@ int CWII_IPC_HLE_Device_di::GetCmdDelay(u32 _CommandAddress)
{
u32 BufferIn = Memory::Read_U32(_CommandAddress + 0x10);
u32 Command = Memory::Read_U32(BufferIn) >> 24;
-
+
// Hacks below
-
+
switch (Command)
{
case DVDLowRead:
@@ -468,13 +470,13 @@ int CWII_IPC_HLE_Device_di::GetCmdDelay(u32 _CommandAddress)
return SystemTimers::GetTicksPerSecond() / 975000 * Size;
break;
}
-
+
case DVDLowClearCoverInterrupt:
// Less than ~1/155th of a second hangs Oregon Trail at "loading wheel".
// More than ~1/140th of a second hangs Resident Evil Archives: Resident Evil Zero.
return SystemTimers::GetTicksPerSecond() / 146;
break;
-
+
// case DVDLowAudioBufferConfig:
// case DVDLowInquiry:
// case DVDLowReadDiskID:
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.h
index 64be42f978..e5b19e4ab7 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.h
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_DI.h
@@ -24,9 +24,9 @@ public:
bool Open(u32 _CommandAddress, u32 _Mode);
bool Close(u32 _CommandAddress, bool _bForce);
- bool IOCtl(u32 _CommandAddress);
+ bool IOCtl(u32 _CommandAddress);
bool IOCtlV(u32 _CommandAddress);
-
+
int GetCmdDelay(u32);
private:
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp
index 6e2f02e2be..1a8febe6fd 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp
@@ -21,10 +21,10 @@ std::string HLE_IPC_BuildFilename(std::string path_wii, int _size)
std::string path_full = File::GetUserPath(D_WIIROOT_IDX);
// Replaces chars that FAT32 can't support with strings defined in /sys/replace
- for (auto i = replacements.begin(); i != replacements.end(); ++i)
+ for (auto& replacement : replacements)
{
- for (size_t j = 0; (j = path_wii.find(i->first, j)) != path_wii.npos; ++j)
- path_wii.replace(j, 1, i->second);
+ for (size_t j = 0; (j = path_wii.find(replacement.first, j)) != path_wii.npos; ++j)
+ path_wii.replace(j, 1, replacement.second);
}
path_full += path_wii;
@@ -79,7 +79,7 @@ CWII_IPC_HLE_Device_FileIO::~CWII_IPC_HLE_Device_FileIO()
bool CWII_IPC_HLE_Device_FileIO::Close(u32 _CommandAddress, bool _bForce)
{
- INFO_LOG(WII_IPC_FILEIO, "FileIO: Close %s (DeviceID=%08x)", m_Name.c_str(), m_DeviceID);
+ INFO_LOG(WII_IPC_FILEIO, "FileIO: Close %s (DeviceID=%08x)", m_Name.c_str(), m_DeviceID);
m_Mode = 0;
// Close always return 0 for success
@@ -89,11 +89,11 @@ bool CWII_IPC_HLE_Device_FileIO::Close(u32 _CommandAddress, bool _bForce)
return true;
}
-bool CWII_IPC_HLE_Device_FileIO::Open(u32 _CommandAddress, u32 _Mode)
+bool CWII_IPC_HLE_Device_FileIO::Open(u32 _CommandAddress, u32 _Mode)
{
m_Mode = _Mode;
u32 ReturnValue = 0;
-
+
static const char* const Modes[] =
{
"Unk Mode",
@@ -101,9 +101,9 @@ bool CWII_IPC_HLE_Device_FileIO::Open(u32 _CommandAddress, u32 _Mode)
"Write only",
"Read and Write"
};
-
+
m_filepath = HLE_IPC_BuildFilename(m_Name, 64);
-
+
// The file must exist before we can open it
// It should be created by ISFS_CreateFile, not here
if (File::Exists(m_filepath))
@@ -126,23 +126,23 @@ bool CWII_IPC_HLE_Device_FileIO::Open(u32 _CommandAddress, u32 _Mode)
File::IOFile CWII_IPC_HLE_Device_FileIO::OpenFile()
{
const char* open_mode = "";
-
+
switch (m_Mode)
{
case ISFS_OPEN_READ:
open_mode = "rb";
break;
-
+
case ISFS_OPEN_WRITE:
case ISFS_OPEN_RW:
open_mode = "r+b";
break;
-
+
default:
PanicAlertT("FileIO: Unknown open mode : 0x%02x", m_Mode);
break;
}
-
+
return File::IOFile(m_filepath, open_mode);
}
@@ -207,8 +207,8 @@ bool CWII_IPC_HLE_Device_FileIO::Seek(u32 _CommandAddress)
return true;
}
-bool CWII_IPC_HLE_Device_FileIO::Read(u32 _CommandAddress)
-{
+bool CWII_IPC_HLE_Device_FileIO::Read(u32 _CommandAddress)
+{
u32 ReturnValue = FS_EACCESS;
const u32 Address = Memory::Read_U32(_CommandAddress + 0xC); // Read to this memory address
const u32 Size = Memory::Read_U32(_CommandAddress + 0x10);
@@ -233,12 +233,12 @@ bool CWII_IPC_HLE_Device_FileIO::Read(u32 _CommandAddress)
{
m_SeekPos += Size;
}
-
+
}
}
else
{
- ERROR_LOG(WII_IPC_FILEIO, "FileIO: Failed to read from %s (Addr=0x%08x Size=0x%x) - file could not be opened or does not exist", m_Name.c_str(), Address, Size);
+ ERROR_LOG(WII_IPC_FILEIO, "FileIO: Failed to read from %s (Addr=0x%08x Size=0x%x) - file could not be opened or does not exist", m_Name.c_str(), Address, Size);
ReturnValue = FS_FILE_NOT_EXIST;
}
@@ -246,8 +246,8 @@ bool CWII_IPC_HLE_Device_FileIO::Read(u32 _CommandAddress)
return true;
}
-bool CWII_IPC_HLE_Device_FileIO::Write(u32 _CommandAddress)
-{
+bool CWII_IPC_HLE_Device_FileIO::Write(u32 _CommandAddress)
+{
u32 ReturnValue = FS_EACCESS;
const u32 Address = Memory::Read_U32(_CommandAddress + 0xC); // Write data from this memory address
const u32 Size = Memory::Read_U32(_CommandAddress + 0x10);
@@ -272,7 +272,7 @@ bool CWII_IPC_HLE_Device_FileIO::Write(u32 _CommandAddress)
}
else
{
- ERROR_LOG(WII_IPC_FILEIO, "FileIO: Failed to read from %s (Addr=0x%08x Size=0x%x) - file could not be opened or does not exist", m_Name.c_str(), Address, Size);
+ ERROR_LOG(WII_IPC_FILEIO, "FileIO: Failed to read from %s (Addr=0x%08x Size=0x%x) - file could not be opened or does not exist", m_Name.c_str(), Address, Size);
ReturnValue = FS_FILE_NOT_EXIST;
}
@@ -280,13 +280,13 @@ bool CWII_IPC_HLE_Device_FileIO::Write(u32 _CommandAddress)
return true;
}
-bool CWII_IPC_HLE_Device_FileIO::IOCtl(u32 _CommandAddress)
+bool CWII_IPC_HLE_Device_FileIO::IOCtl(u32 _CommandAddress)
{
INFO_LOG(WII_IPC_FILEIO, "FileIO: IOCtl (Device=%s)", m_Name.c_str());
#if defined(_DEBUG) || defined(DEBUGFAST)
DumpCommands(_CommandAddress);
#endif
- const u32 Parameter = Memory::Read_U32(_CommandAddress + 0xC);
+ const u32 Parameter = Memory::Read_U32(_CommandAddress + 0xC);
u32 ReturnValue = 0;
switch (Parameter)
@@ -329,6 +329,6 @@ void CWII_IPC_HLE_Device_FileIO::DoState(PointerWrap &p)
p.Do(m_Mode);
p.Do(m_SeekPos);
-
+
m_filepath = HLE_IPC_BuildFilename(m_Name, 64);
}
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.h
index 17dab453db..65dd0ce50c 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.h
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.h
@@ -64,7 +64,7 @@ private:
u32 m_Mode;
u32 m_SeekPos;
-
+
std::string m_filepath;
};
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp
index f0ea0d545f..58ff0917ed 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp
@@ -13,7 +13,7 @@
0x20 GetTitleID (ES_GetTitleID) (Input: none, Output: 8 bytes)
0x1d GetDataDir (ES_GetDataDir) (Input: 8 bytes, Output: 30 bytes)
- 0x1b DiGetTicketView (Input: none, Output: 216 bytes)
+ 0x1b DiGetTicketView (Input: none, Output: 216 bytes)
0x16 GetConsumption (Input: 8 bytes, Output: 0 bytes, 4 bytes) // there are two output buffers
0x12 GetNumTicketViews (ES_GetNumTicketViews) (Input: 8 bytes, Output: 4 bytes)
@@ -23,7 +23,7 @@
but only the first two are correctly supported. For the other four we ignore any potential
input and only write zero to the out buffer. However, most games only use first two,
but some Nintendo developed games use the other ones to:
-
+
0x1b: Mario Galaxy, Mario Kart, SSBB
0x16: Mario Galaxy, Mario Kart, SSBB
0x12: Mario Kart
@@ -35,10 +35,14 @@
#include "WII_IPC_HLE_Device_es.h"
+// need to include this before polarssl/aes.h,
+// otherwise we may not get __STDC_FORMAT_MACROS
+#include <cinttypes>
+
#include "../PowerPC/PowerPC.h"
#include "../VolumeHandler.h"
#include "FileUtil.h"
-#include "Crypto/aes.h"
+#include <polarssl/aes.h>
#include "ConfigManager.h"
#include "../Boot/Boot_DOL.h"
@@ -56,7 +60,7 @@
std::string CWII_IPC_HLE_Device_es::m_ContentFile;
-CWII_IPC_HLE_Device_es::CWII_IPC_HLE_Device_es(u32 _DeviceID, const std::string& _rDeviceName)
+CWII_IPC_HLE_Device_es::CWII_IPC_HLE_Device_es(u32 _DeviceID, const std::string& _rDeviceName)
: IWII_IPC_HLE_Device(_DeviceID, _rDeviceName)
, m_pContentLoader(NULL)
, m_TitleID(-1)
@@ -86,7 +90,7 @@ u8* CWII_IPC_HLE_Device_es::keyTable[11] = {
CWII_IPC_HLE_Device_es::~CWII_IPC_HLE_Device_es()
{}
-void CWII_IPC_HLE_Device_es::LoadWAD(const std::string& _rContentFile)
+void CWII_IPC_HLE_Device_es::LoadWAD(const std::string& _rContentFile)
{
m_ContentFile = _rContentFile;
}
@@ -152,10 +156,10 @@ void CWII_IPC_HLE_Device_es::DoState(PointerWrap& p)
}
else
{
- for (auto itr = m_ContentAccessMap.begin(); itr != m_ContentAccessMap.end(); ++itr)
+ for (auto& pair : m_ContentAccessMap)
{
- CFD = itr->first;
- SContentAccess& Access = itr->second;
+ CFD = pair.first;
+ SContentAccess& Access = pair.second;
Position = Access.m_Position;
TitleID = Access.m_TitleID;
Index = Access.m_pContent->m_Index;
@@ -182,9 +186,9 @@ bool CWII_IPC_HLE_Device_es::Close(u32 _CommandAddress, bool _bForce)
{
// Leave deletion of the INANDContentLoader objects to CNANDContentManager, don't do it here!
m_NANDContent.clear();
- for (auto itr = m_ContentAccessMap.begin(); itr != m_ContentAccessMap.end(); ++itr)
+ for (auto& pair : m_ContentAccessMap)
{
- delete itr->second.m_pFile;
+ delete pair.second.m_pFile;
}
m_ContentAccessMap.clear();
m_pContentLoader = NULL;
@@ -205,7 +209,7 @@ u32 CWII_IPC_HLE_Device_es::OpenTitleContent(u32 CFD, u64 TitleID, u16 Index)
if (!Loader.IsValid())
{
- WARN_LOG(WII_IPC_ES, "ES: loader not valid for %llx", TitleID);
+ WARN_LOG(WII_IPC_ES, "ES: loader not valid for %" PRIx64, TitleID);
return 0xffffffff;
}
@@ -239,7 +243,7 @@ u32 CWII_IPC_HLE_Device_es::OpenTitleContent(u32 CFD, u64 TitleID, u16 Index)
return CFD;
}
-bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
+bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
{
SIOCtlVBuffer Buffer(_CommandAddress);
@@ -271,7 +275,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
case IOCTL_ES_GETDEVICEID:
{
_dbg_assert_msg_(WII_IPC_ES, Buffer.NumberPayloadBuffer == 1, "IOCTL_ES_GETDEVICEID no out buffer");
-
+
EcWii &ec = EcWii::GetInstance();
INFO_LOG(WII_IPC_ES, "IOCTL_ES_GETDEVICEID %08X", ec.getNgId());
Memory::Write_U32(ec.getNgId(), Buffer.PayloadBuffer[0].m_Address);
@@ -303,7 +307,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
else
Memory::Write_U32((u32)rNANDContent.GetContentSize(), _CommandAddress + 0x4);
- INFO_LOG(WII_IPC_ES, "IOCTL_ES_GETTITLECONTENTSCNT: TitleID: %08x/%08x content count %i",
+ INFO_LOG(WII_IPC_ES, "IOCTL_ES_GETTITLECONTENTSCNT: TitleID: %08x/%08x content count %i",
(u32)(TitleID>>32), (u32)TitleID, rNANDContent.IsValid() ? NumberOfPrivateContent : (u32)rNANDContent.GetContentSize());
return true;
@@ -394,7 +398,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
u8* pDest = Memory::GetPointer(Addr);
- if (rContent.m_Position + Size > rContent.m_pContent->m_Size)
+ if (rContent.m_Position + Size > rContent.m_pContent->m_Size)
{
Size = rContent.m_pContent->m_Size-rContent.m_Position;
}
@@ -590,7 +594,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
{
u32 FileSize = (u32)File::GetSize(TicketFilename);
_dbg_assert_msg_(WII_IPC_ES, (FileSize % DiscIO::INANDContentLoader::TICKET_SIZE) == 0, "IOCTL_ES_GETVIEWCNT ticket file size seems to be wrong");
-
+
ViewCount = FileSize / DiscIO::INANDContentLoader::TICKET_SIZE;
_dbg_assert_msg_(WII_IPC_ES, (ViewCount>0) && (ViewCount<=4), "IOCTL_ES_GETVIEWCNT ticket count seems to be wrong");
}
@@ -628,7 +632,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
u32 retVal = 0;
const DiscIO::INANDContentLoader& Loader = AccessContentDevice(TitleID);
-
+
const u8 *Ticket = Loader.GetTIK();
if (Ticket)
{
@@ -694,7 +698,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
u32 TMDViewCnt = 0;
if (Loader.IsValid())
{
- TMDViewCnt += DiscIO::INANDContentLoader::TMD_VIEW_SIZE;
+ TMDViewCnt += DiscIO::INANDContentLoader::TMD_VIEW_SIZE;
TMDViewCnt += 2; // title version
TMDViewCnt += 2; // num entries
TMDViewCnt += (u32)Loader.GetContentSize() * (4+2+2+8); // content id, index, type, size
@@ -782,7 +786,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
// Presumably return -1017 when title not installed TODO verify
Memory::Write_U32(ES_PARAMTER_SIZE_OR_ALIGNMENT, _CommandAddress + 0x4);
}
-
+
}
break;
case IOCTL_ES_GETSTOREDTMDSIZE:
@@ -798,7 +802,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
if (Loader.IsValid())
{
TMDCnt += DiscIO::INANDContentLoader::TMD_HEADER_SIZE;
- TMDCnt += (u32)Loader.GetContentSize() * DiscIO::INANDContentLoader::CONTENT_HEADER_SIZE;
+ TMDCnt += (u32)Loader.GetContentSize() * DiscIO::INANDContentLoader::CONTENT_HEADER_SIZE;
}
if(Buffer.NumberPayloadBuffer)
Memory::Write_U32(TMDCnt, Buffer.PayloadBuffer[0].m_Address);
@@ -820,7 +824,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
u32 MaxCount = 0;
if (Buffer.NumberInBuffer > 1)
{
- // TODO: actually use this param in when writing to the outbuffer :/
+ // TODO: actually use this param in when writing to the outbuffer :/
MaxCount = Memory::Read_U32(Buffer.InBuffer[1].m_Address);
}
const DiscIO::INANDContentLoader& Loader = AccessContentDevice(TitleID);
@@ -838,7 +842,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
const std::vector<DiscIO::SNANDContent>& rContent = Loader.GetContent();
for (size_t i=0; i<Loader.GetContentSize(); i++)
{
- Memory::WriteBigEData(rContent[i].m_Header, Address, DiscIO::INANDContentLoader::CONTENT_HEADER_SIZE);
+ Memory::WriteBigEData(rContent[i].m_Header, Address, DiscIO::INANDContentLoader::CONTENT_HEADER_SIZE);
Address += DiscIO::INANDContentLoader::CONTENT_HEADER_SIZE;
}
@@ -860,10 +864,10 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
u8* newIV = Memory::GetPointer(Buffer.PayloadBuffer[0].m_Address);
u8* destination = Memory::GetPointer(Buffer.PayloadBuffer[1].m_Address);
- AES_KEY AESKey;
- AES_set_encrypt_key(keyTable[keyIndex], 128, &AESKey);
+ aes_context AES_ctx;
+ aes_setkey_enc(&AES_ctx, keyTable[keyIndex], 128);
memcpy(newIV, IV, 16);
- AES_cbc_encrypt(source, destination, size, &AESKey, newIV, AES_ENCRYPT);
+ aes_crypt_cbc(&AES_ctx, AES_ENCRYPT, size, newIV, source, destination);
_dbg_assert_msg_(WII_IPC_ES, keyIndex == 6, "IOCTL_ES_ENCRYPT: Key type is not SD, data will be crap");
}
@@ -878,10 +882,10 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
u8* newIV = Memory::GetPointer(Buffer.PayloadBuffer[0].m_Address);
u8* destination = Memory::GetPointer(Buffer.PayloadBuffer[1].m_Address);
- AES_KEY AESKey;
- AES_set_decrypt_key(keyTable[keyIndex], 128, &AESKey);
+ aes_context AES_ctx;
+ aes_setkey_dec(&AES_ctx, keyTable[keyIndex], 128);
memcpy(newIV, IV, 16);
- AES_cbc_encrypt(source, destination, size, &AESKey, newIV, AES_DECRYPT);
+ aes_crypt_cbc(&AES_ctx, AES_DECRYPT, size, newIV, source, destination);
_dbg_assert_msg_(WII_IPC_ES, keyIndex == 6, "IOCTL_ES_DECRYPT: Key type is not SD, data will be crap");
}
@@ -940,7 +944,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
if (!bSuccess)
{
PanicAlertT("IOCTL_ES_LAUNCH: Game tried to reload a title that is not available in your NAND dump\n"
- "TitleID %016llx.\n Dolphin will likely hang now.", TitleID);
+ "TitleID %016" PRIx64".\n Dolphin will likely hang now.", TitleID);
}
else
{
@@ -949,9 +953,9 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
bool* wiiMoteConnected = new bool[size];
for (unsigned int i = 0; i < size; i++)
wiiMoteConnected[i] = s_Usb->m_WiiMotes[i].IsConnected();
-
+
std::string tContentFile(m_ContentFile.c_str());
-
+
WII_IPC_HLE_Interface::Reset(true);
WII_IPC_HLE_Interface::Init();
s_Usb = GetUsbPointer();
@@ -967,7 +971,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
s_Usb->m_WiiMotes[i].Activate(false);
}
}
-
+
delete[] wiiMoteConnected;
WII_IPC_HLE_Interface::SetDefaultContentFile(tContentFile);
}
@@ -979,24 +983,24 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
Memory::Write_U16(IOSv, 0x00003140);
Memory::Write_U16(0xFFFF, 0x00003142);
Memory::Write_U32(Memory::Read_U32(0x00003140), 0x00003188);
-
+
//TODO: provide correct return code when bSuccess= false
Memory::Write_U32(0, _CommandAddress + 0x4);
- ERROR_LOG(WII_IPC_ES, "IOCTL_ES_LAUNCH %016llx %08x %016llx %08x %016llx %04x", TitleID,view,ticketid,devicetype,titleid,access);
+ ERROR_LOG(WII_IPC_ES, "IOCTL_ES_LAUNCH %016" PRIx64 " %08x %016" PRIx64 " %08x %016" PRIx64 " %04x", TitleID,view,ticketid,devicetype,titleid,access);
// IOCTL_ES_LAUNCH 0001000248414341 00000001 0001c0fef3df2cfa 00000000 0001000248414341 ffff
// This is necessary because Reset(true) above deleted this object. Ew.
-
+
// It seems that the original hardware overwrites the command after it has been
- // executed. We write 8 which is not any valid command, and what IOS does
+ // executed. We write 8 which is not any valid command, and what IOS does
Memory::Write_U32(8, _CommandAddress);
// IOS seems to write back the command that was responded to
Memory::Write_U32(7, _CommandAddress + 8);
-
+
// Generate a reply to the IPC command
WII_IPC_HLE_Interface::EnqReply(_CommandAddress, 0);
-
+
return false;
}
break;
@@ -1116,12 +1120,12 @@ u32 CWII_IPC_HLE_Device_es::ES_DIVerify(u8* _pTMD, u32 _sz)
// TODO: Force the game to save to another location, instead of moving the user's save.
if (Movie::IsPlayingInput() && Movie::IsConfigSaved() && Movie::IsStartingFromClearSave())
- {
+ {
if (File::Exists((savePath + "banner.bin").c_str()))
{
if (File::Exists((savePath + "../backup/").c_str()))
{
- // The last run of this game must have been to play back a movie, so their save is already backed up.
+ // The last run of this game must have been to play back a movie, so their save is already backed up.
File::DeleteDirRecursively(savePath.c_str());
}
else
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.h
index ddc1f3613f..5dd4bd1ceb 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.h
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.h
@@ -100,7 +100,7 @@ private:
enum EErrorCodes
{
ES_INVALID_TMD = -106, // or access denied
- ES_READ_LESS_DATA_THAN_EXPECTED = -1009,
+ ES_READ_LESS_DATA_THAN_EXPECTED = -1009,
ES_WRITE_FAILURE = -1010,
ES_PARAMTER_SIZE_OR_ALIGNMENT = -1017,
ES_HASH_DOESNT_MATCH = -1022,
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.cpp
index 3db9f70c48..edbcc0967a 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.cpp
@@ -22,7 +22,7 @@
static Common::replace_v replacements;
-CWII_IPC_HLE_Device_fs::CWII_IPC_HLE_Device_fs(u32 _DeviceID, const std::string& _rDeviceName)
+CWII_IPC_HLE_Device_fs::CWII_IPC_HLE_Device_fs(u32 _DeviceID, const std::string& _rDeviceName)
: IWII_IPC_HLE_Device(_DeviceID, _rDeviceName)
{
Common::ReadReplacements(replacements);
@@ -60,9 +60,8 @@ static u64 ComputeTotalFileSize(const File::FSTEntry& parentEntry)
{
u64 sizeOfFiles = 0;
const std::vector<File::FSTEntry>& children = parentEntry.children;
- for (std::vector<File::FSTEntry>::const_iterator it = children.begin(); it != children.end(); ++it)
+ for (const auto& entry : children)
{
- const File::FSTEntry& entry = *it;
if (entry.isDirectory)
sizeOfFiles += ComputeTotalFileSize(entry);
else
@@ -71,11 +70,11 @@ static u64 ComputeTotalFileSize(const File::FSTEntry& parentEntry)
return sizeOfFiles;
}
-bool CWII_IPC_HLE_Device_fs::IOCtlV(u32 _CommandAddress)
+bool CWII_IPC_HLE_Device_fs::IOCtlV(u32 _CommandAddress)
{
u32 ReturnValue = FS_RESULT_OK;
SIOCtlVBuffer CommandBuffer(_CommandAddress);
-
+
// Prepare the out buffer(s) with zeros as a safety precaution
// to avoid returning bad values
for(u32 i = 0; i < CommandBuffer.NumberPayloadBuffer; i++)
@@ -174,7 +173,7 @@ bool CWII_IPC_HLE_Device_fs::IOCtlV(u32 _CommandAddress)
_dbg_assert_(WII_IPC_FILEIO, CommandBuffer.PayloadBuffer[0].m_Size == 4);
_dbg_assert_(WII_IPC_FILEIO, CommandBuffer.PayloadBuffer[1].m_Size == 4);
- // this command sucks because it asks of the number of used
+ // this command sucks because it asks of the number of used
// fsBlocks and inodes
// It should be correct, but don't count on it...
const char *relativepath = (const char*)Memory::GetPointer(CommandBuffer.InBuffer[0].m_Address);
@@ -230,11 +229,11 @@ bool CWII_IPC_HLE_Device_fs::IOCtlV(u32 _CommandAddress)
Memory::Write_U32(ReturnValue, _CommandAddress+4);
- return true;
+ return true;
}
-bool CWII_IPC_HLE_Device_fs::IOCtl(u32 _CommandAddress)
-{
+bool CWII_IPC_HLE_Device_fs::IOCtl(u32 _CommandAddress)
+{
//u32 DeviceID = Memory::Read_U32(_CommandAddress + 8);
//LOG(WII_IPC_FILEIO, "FS: IOCtl (Device=%s, DeviceID=%08x)", GetDeviceName().c_str(), DeviceID);
@@ -249,10 +248,10 @@ bool CWII_IPC_HLE_Device_fs::IOCtl(u32 _CommandAddress)
//LOG(WII_IPC_FILEIO, "Cleared %u bytes of the out buffer", _BufferOutSize);
Memory::Memset(BufferOut, 0, BufferOutSize);
- u32 ReturnValue = ExecuteCommand(Parameter, BufferIn, BufferInSize, BufferOut, BufferOutSize);
+ u32 ReturnValue = ExecuteCommand(Parameter, BufferIn, BufferInSize, BufferOut, BufferOutSize);
Memory::Write_U32(ReturnValue, _CommandAddress + 4);
- return true;
+ return true;
}
s32 CWII_IPC_HLE_Device_fs::ExecuteCommand(u32 _Parameter, u32 _BufferIn, u32 _BufferInSize, u32 _BufferOut, u32 _BufferOutSize)
@@ -307,7 +306,7 @@ s32 CWII_IPC_HLE_Device_fs::ExecuteCommand(u32 _Parameter, u32 _BufferIn, u32 _B
case IOCTL_SET_ATTR:
{
u32 Addr = _BufferIn;
-
+
u32 OwnerID = Memory::Read_U32(Addr); Addr += 4;
u16 GroupID = Memory::Read_U16(Addr); Addr += 2;
std::string Filename = HLE_IPC_BuildFilename((const char*)Memory::GetPointer(_BufferIn), 64); Addr += 64;
@@ -329,7 +328,7 @@ s32 CWII_IPC_HLE_Device_fs::ExecuteCommand(u32 _Parameter, u32 _BufferIn, u32 _B
break;
case IOCTL_GET_ATTR:
- {
+ {
_dbg_assert_msg_(WII_IPC_FILEIO, _BufferOutSize == 76,
" GET_ATTR needs an 76 bytes large output buffer but it is %i bytes large",
_BufferOutSize);
@@ -339,7 +338,7 @@ s32 CWII_IPC_HLE_Device_fs::ExecuteCommand(u32 _Parameter, u32 _BufferIn, u32 _B
std::string Filename = HLE_IPC_BuildFilename((const char*)Memory::GetPointer(_BufferIn), 64);
u8 OwnerPerm = 0x3; // read/write
u8 GroupPerm = 0x3; // read/write
- u8 OtherPerm = 0x3; // read/write
+ u8 OtherPerm = 0x3; // read/write
u8 Attributes = 0x00; // no attributes
if (File::IsDirectory(Filename))
{
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.h
index 6e896b4e48..e02b187fee 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.h
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.h
@@ -43,7 +43,7 @@ public:
virtual bool IOCtl(u32 _CommandAddress);
virtual bool IOCtlV(u32 _CommandAddress);
-
+
virtual int GetCmdDelay(u32);
private:
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_hid.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_hid.cpp
index f2699b989f..00415a526f 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_hid.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_hid.cpp
@@ -521,7 +521,7 @@ libusb_device_handle * CWII_IPC_HLE_Device_hid::GetDeviceByDevNum(u32 devNum)
if (cnt < 0)
return NULL;
-
+
#ifdef _WIN32
static bool has_warned_about_drivers = false;
#endif
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_hid.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_hid.h
index 74169a50b3..c57e4ee84d 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_hid.h
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_hid.h
@@ -7,7 +7,7 @@
#include "WII_IPC_HLE.h"
#include "WII_IPC_HLE_Device.h"
-#include "libusb.h"
+#include <libusb.h>
#include "Thread.h"
#include <list>
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp
index cf5ede4c35..1cfcf26343 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp
@@ -677,8 +677,8 @@ bool CWII_IPC_HLE_Device_net_ip_top::IOCtl(u32 _CommandAddress)
u32 fd = Memory::Read_U32(BufferIn);
WiiSockMan &sm = WiiSockMan::getInstance();
ReturnValue = sm.delSocket(fd);
- DEBUG_LOG(WII_IPC_NET, "%s(%x) %x",
- Command == IOCTL_SO_ICMPCLOSE ? "IOCTL_SO_ICMPCLOSE" : "IOCTL_SO_CLOSE",
+ DEBUG_LOG(WII_IPC_NET, "%s(%x) %x",
+ Command == IOCTL_SO_ICMPCLOSE ? "IOCTL_SO_ICMPCLOSE" : "IOCTL_SO_CLOSE",
fd, ReturnValue);
break;
}
@@ -734,13 +734,13 @@ bool CWII_IPC_HLE_Device_net_ip_top::IOCtl(u32 _CommandAddress)
// Do the level/optname translation
int nat_level = -1, nat_optname = -1;
- for (unsigned int i = 0; i < sizeof (opt_level_mapping) / sizeof (opt_level_mapping[0]); ++i)
- if (level == opt_level_mapping[i][1])
- nat_level = opt_level_mapping[i][0];
+ for (auto& map : opt_level_mapping)
+ if (level == map[1])
+ nat_level = map[0];
- for (unsigned int i = 0; i < sizeof (opt_name_mapping) / sizeof (opt_name_mapping[0]); ++i)
- if (optname == opt_name_mapping[i][1])
- nat_optname = opt_name_mapping[i][0];
+ for (auto& map : opt_name_mapping)
+ if (optname == map[1])
+ nat_optname = map[0];
u8 optval[20];
u32 optlen = 4;
@@ -755,7 +755,7 @@ bool CWII_IPC_HLE_Device_net_ip_top::IOCtl(u32 _CommandAddress)
if (optname == SO_ERROR)
{
s32 last_error = WiiSockMan::getInstance().getLastNetError();
-
+
Memory::Write_U32(sizeof(s32), BufferOut + 0xC);
Memory::Write_U32(last_error, BufferOut + 0x10);
}
@@ -775,7 +775,7 @@ bool CWII_IPC_HLE_Device_net_ip_top::IOCtl(u32 _CommandAddress)
"BufferIn: (%08x, %i), BufferOut: (%08x, %i)"
"%02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx",
fd, level, optname, optlen, BufferIn, BufferInSize, BufferOut, BufferOutSize, optval[0], optval[1], optval[2], optval[3], optval[4], optval[5], optval[6], optval[7], optval[8], optval[9], optval[10], optval[11], optval[12], optval[13], optval[14], optval[15], optval[16], optval[17], optval[18], optval[19]);
-
+
//TODO: bug booto about this, 0x2005 most likely timeout related, default value on wii is , 0x2001 is most likely tcpnodelay
if (level == 6 && (optname == 0x2005 || optname == 0x2001)){
ReturnValue = 0;
@@ -785,13 +785,13 @@ bool CWII_IPC_HLE_Device_net_ip_top::IOCtl(u32 _CommandAddress)
// Do the level/optname translation
int nat_level = -1, nat_optname = -1;
- for (unsigned int i = 0; i < sizeof (opt_level_mapping) / sizeof (opt_level_mapping[0]); ++i)
- if (level == opt_level_mapping[i][1])
- nat_level = opt_level_mapping[i][0];
+ for (auto& map : opt_level_mapping)
+ if (level == map[1])
+ nat_level = map[0];
- for (unsigned int i = 0; i < sizeof (opt_name_mapping) / sizeof (opt_name_mapping[0]); ++i)
- if (optname == opt_name_mapping[i][1])
- nat_optname = opt_name_mapping[i][0];
+ for (auto& map : opt_name_mapping)
+ if (optname == map[1])
+ nat_optname = map[0];
if (nat_level == -1 || nat_optname == -1)
{
@@ -924,11 +924,11 @@ bool CWII_IPC_HLE_Device_net_ip_top::IOCtl(u32 _CommandAddress)
// Translate Wii to native events
int unhandled_events = events;
ufds[i].events = 0;
- for (unsigned int j = 0; j < sizeof (mapping) / sizeof (mapping[0]); ++j)
+ for (auto& map : mapping)
{
- if (events & mapping[j][1])
- ufds[i].events |= mapping[j][0];
- unhandled_events &= ~mapping[j][1];
+ if (events & map[1])
+ ufds[i].events |= map[0];
+ unhandled_events &= ~map[1];
}
DEBUG_LOG(WII_IPC_NET, "IOCTL_SO_POLL(%d) "
@@ -949,10 +949,10 @@ bool CWII_IPC_HLE_Device_net_ip_top::IOCtl(u32 _CommandAddress)
// Translate native to Wii events
int revents = 0;
- for (unsigned int j = 0; j < sizeof (mapping) / sizeof (mapping[0]); ++j)
+ for (auto& map : mapping)
{
- if (ufds[i].revents & mapping[j][0])
- revents |= mapping[j][1];
+ if (ufds[i].revents & map[0])
+ revents |= map[1];
}
// No need to change fd or events as they are input only.
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net_ssl.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net_ssl.cpp
index 669d531dcf..36d4b2de19 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net_ssl.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net_ssl.cpp
@@ -77,7 +77,7 @@ bool CWII_IPC_HLE_Device_net_ssl::IOCtl(u32 _CommandAddress)
u32 BufferOut = Memory::Read_U32(_CommandAddress + 0x18);
u32 BufferOutSize = Memory::Read_U32(_CommandAddress + 0x1C);
u32 Command = Memory::Read_U32(_CommandAddress + 0x0C);
-
+
INFO_LOG(WII_IPC_SSL, "%s unknown %i "
"(BufferIn: (%08x, %i), BufferOut: (%08x, %i)",
GetDeviceName().c_str(), Command,
@@ -493,10 +493,10 @@ _SSL_NEW_ERROR:
BufferOut2, BufferOutSize2, BufferOut3, BufferOutSize3);
break;
}
-
+
// SSL return codes are written to BufferIn
Memory::Write_U32(0, _CommandAddress+4);
-
+
return true;
}
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp
index c422bd7960..0b8e8bb53e 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp
@@ -93,7 +93,7 @@ bool CWII_IPC_HLE_Device_sdio_slot0::Close(u32 _CommandAddress, bool _bForce)
}
// The front SD slot
-bool CWII_IPC_HLE_Device_sdio_slot0::IOCtl(u32 _CommandAddress)
+bool CWII_IPC_HLE_Device_sdio_slot0::IOCtl(u32 _CommandAddress)
{
u32 Cmd = Memory::Read_U32(_CommandAddress + 0xC);
@@ -101,11 +101,11 @@ bool CWII_IPC_HLE_Device_sdio_slot0::IOCtl(u32 _CommandAddress)
u32 BufferInSize = Memory::Read_U32(_CommandAddress + 0x14);
u32 BufferOut = Memory::Read_U32(_CommandAddress + 0x18);
u32 BufferOutSize = Memory::Read_U32(_CommandAddress + 0x1C);
-
+
// As a safety precaution we fill the out buffer with zeros to avoid
// returning nonsense values
Memory::Memset(BufferOut, 0, BufferOutSize);
-
+
u32 ReturnValue = 0;
switch (Cmd) {
case IOCTL_WRITEHCR:
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.h
index e7a323228d..d59f7e0a0a 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.h
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.h
@@ -19,7 +19,7 @@ public:
bool Open(u32 _CommandAddress, u32 _Mode);
bool Close(u32 _CommandAddress, bool _bForce);
- bool IOCtl(u32 _CommandAddress);
+ bool IOCtl(u32 _CommandAddress);
bool IOCtlV(u32 _CommandAddress);
void EventNotify();
@@ -34,7 +34,7 @@ private:
};
// IOCtl
- enum
+ enum
{
IOCTL_WRITEHCR = 0x01,
IOCTL_READHCR = 0x02,
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h
index d4b26bcac2..8c796a458c 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_stm.h
@@ -54,7 +54,7 @@ public:
return true;
}
- virtual bool IOCtl(u32 _CommandAddress)
+ virtual bool IOCtl(u32 _CommandAddress)
{
u32 Parameter = Memory::Read_U32(_CommandAddress + 0x0C);
u32 BufferIn = Memory::Read_U32(_CommandAddress + 0x10);
@@ -117,7 +117,7 @@ class CWII_IPC_HLE_Device_stm_eventhook : public IWII_IPC_HLE_Device
{
public:
- CWII_IPC_HLE_Device_stm_eventhook(u32 _DeviceID, const std::string& _rDeviceName)
+ CWII_IPC_HLE_Device_stm_eventhook(u32 _DeviceID, const std::string& _rDeviceName)
: IWII_IPC_HLE_Device(_DeviceID, _rDeviceName)
, m_EventHookAddress(0)
{}
@@ -144,7 +144,7 @@ public:
return true;
}
- virtual bool IOCtl(u32 _CommandAddress)
+ virtual bool IOCtl(u32 _CommandAddress)
{
u32 Parameter = Memory::Read_U32(_CommandAddress + 0x0C);
u32 BufferIn = Memory::Read_U32(_CommandAddress + 0x10);
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb.cpp
index ecf84cf31e..990a9e6a7d 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb.cpp
@@ -436,12 +436,12 @@ u32 CWII_IPC_HLE_Device_usb_oh1_57e_305::Update()
// Create ACL connection
if (m_HCIEndpoint.IsValid() && (m_ScanEnable & HCI_PAGE_SCAN_ENABLE))
{
- for (unsigned int i = 0; i < m_WiiMotes.size(); i++)
+ for (auto& wiimote : m_WiiMotes)
{
- if (m_WiiMotes[i].EventPagingChanged(m_ScanEnable))
+ if (wiimote.EventPagingChanged(m_ScanEnable))
{
Host_SetWiiMoteConnectionState(1);
- SendEventRequestConnection(m_WiiMotes[i]);
+ SendEventRequestConnection(wiimote);
}
}
}
@@ -449,9 +449,9 @@ u32 CWII_IPC_HLE_Device_usb_oh1_57e_305::Update()
// Link channels when connected
if (m_ACLEndpoint.IsValid())
{
- for (unsigned int i = 0; i < m_WiiMotes.size(); i++)
+ for (auto& wiimote : m_WiiMotes)
{
- if (m_WiiMotes[i].LinkChannel())
+ if (wiimote.LinkChannel())
break;
}
}
@@ -483,13 +483,13 @@ void CWII_IPC_HLE_Device_usb_oh1_57e_305::ACLPool::Store(const u8* data, const u
ERROR_LOG(WII_IPC_WIIMOTE, "ACL queue size reached 100 - current packet will be dropped!");
return;
}
-
+
_dbg_assert_msg_(WII_IPC_WIIMOTE,
size < m_acl_pkt_size, "ACL packet too large for pool");
-
+
m_queue.push_back(Packet());
auto& packet = m_queue.back();
-
+
std::copy(data, data + size, packet.data);
packet.size = size;
packet.conn_handle = conn_handle;
@@ -498,7 +498,7 @@ void CWII_IPC_HLE_Device_usb_oh1_57e_305::ACLPool::Store(const u8* data, const u
void CWII_IPC_HLE_Device_usb_oh1_57e_305::ACLPool::WriteToEndpoint(CtrlBuffer& endpoint)
{
auto& packet = m_queue.front();
-
+
const u8* const data = packet.data;
const u16 size = packet.size;
const u16 conn_handle = packet.conn_handle;
@@ -546,7 +546,7 @@ bool CWII_IPC_HLE_Device_usb_oh1_57e_305::SendEventInquiryResponse()
SQueuedEvent Event(static_cast<u32>(sizeof(SHCIEventInquiryResult) + m_WiiMotes.size()*sizeof(hci_inquiry_response)), 0);
- SHCIEventInquiryResult* pInquiryResult = (SHCIEventInquiryResult*)Event.m_buffer;
+ SHCIEventInquiryResult* pInquiryResult = (SHCIEventInquiryResult*)Event.m_buffer;
pInquiryResult->EventType = HCI_EVENT_INQUIRY_RESULT;
pInquiryResult->PayloadLength = (u8)(sizeof(SHCIEventInquiryResult) - 2 + (m_WiiMotes.size() * sizeof(hci_inquiry_response)));
@@ -558,7 +558,7 @@ bool CWII_IPC_HLE_Device_usb_oh1_57e_305::SendEventInquiryResponse()
continue;
u8* pBuffer = Event.m_buffer + sizeof(SHCIEventInquiryResult) + i*sizeof(hci_inquiry_response);
- hci_inquiry_response* pResponse = (hci_inquiry_response*)pBuffer;
+ hci_inquiry_response* pResponse = (hci_inquiry_response*)pBuffer;
pResponse->bdaddr = m_WiiMotes[i].GetBD();
pResponse->uclass[0]= m_WiiMotes[i].GetClass()[0];
@@ -757,7 +757,7 @@ bool CWII_IPC_HLE_Device_usb_oh1_57e_305::SendEventReadRemoteFeatures(u16 _conne
INFO_LOG(WII_IPC_WIIMOTE, "Event: SendEventReadRemoteFeatures");
DEBUG_LOG(WII_IPC_WIIMOTE, " Connection_Handle: 0x%04x", pReadRemoteFeatures->ConnectionHandle);
- DEBUG_LOG(WII_IPC_WIIMOTE, " features: %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x",
+ DEBUG_LOG(WII_IPC_WIIMOTE, " features: %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x",
pReadRemoteFeatures->features[0], pReadRemoteFeatures->features[1], pReadRemoteFeatures->features[2],
pReadRemoteFeatures->features[3], pReadRemoteFeatures->features[4], pReadRemoteFeatures->features[5],
pReadRemoteFeatures->features[6], pReadRemoteFeatures->features[7]);
@@ -830,7 +830,7 @@ bool CWII_IPC_HLE_Device_usb_oh1_57e_305::SendEventCommandStatus(u16 _Opcode)
pHCIEvent->PacketIndicator = 0x01;
pHCIEvent->Opcode = _Opcode;
- INFO_LOG(WII_IPC_WIIMOTE, "Event: Command Status (Opcode: 0x%04x)", pHCIEvent->Opcode);
+ INFO_LOG(WII_IPC_WIIMOTE, "Event: Command Status (Opcode: 0x%04x)", pHCIEvent->Opcode);
AddEventToQueue(Event);
@@ -886,7 +886,7 @@ bool CWII_IPC_HLE_Device_usb_oh1_57e_305::SendEventNumberOfCompletedPackets()
event->num_con_handles++;
info->compl_pkts = m_PacketCount[i];
info->con_handle = m_WiiMotes[i].GetConnectionHandle();
-
+
DEBUG_LOG(WII_IPC_WIIMOTE, " Connection_Handle: 0x%04x", info->con_handle);
DEBUG_LOG(WII_IPC_WIIMOTE, " Number_Of_Completed_Packets: %i", info->compl_pkts);
@@ -1733,7 +1733,7 @@ void CWII_IPC_HLE_Device_usb_oh1_57e_305::CommandReadLocalFeatures(u8* _Input)
INFO_LOG(WII_IPC_WIIMOTE, "Command: HCI_CMD_READ_LOCAL_FEATURES:");
DEBUG_LOG(WII_IPC_WIIMOTE, "return:");
- DEBUG_LOG(WII_IPC_WIIMOTE, " features: %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x",
+ DEBUG_LOG(WII_IPC_WIIMOTE, " features: %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x",
Reply.features[0], Reply.features[1], Reply.features[2],
Reply.features[3], Reply.features[4], Reply.features[5],
Reply.features[6], Reply.features[7]);
@@ -1818,16 +1818,16 @@ void CWII_IPC_HLE_Device_usb_oh1_57e_305::CommandVendorSpecific_FC4C(u8* _Input,
//
CWII_IPC_HLE_WiiMote* CWII_IPC_HLE_Device_usb_oh1_57e_305::AccessWiiMote(const bdaddr_t& _rAddr)
{
- for (size_t i=0; i<m_WiiMotes.size(); i++)
+ for (auto& wiimote : m_WiiMotes)
{
- const bdaddr_t& BD = m_WiiMotes[i].GetBD();
+ const bdaddr_t& BD = wiimote.GetBD();
if ((_rAddr.b[0] == BD.b[0]) &&
(_rAddr.b[1] == BD.b[1]) &&
(_rAddr.b[2] == BD.b[2]) &&
(_rAddr.b[3] == BD.b[3]) &&
(_rAddr.b[4] == BD.b[4]) &&
(_rAddr.b[5] == BD.b[5]))
- return &m_WiiMotes[i];
+ return &wiimote;
}
ERROR_LOG(WII_IPC_WIIMOTE,"Can't find WiiMote by bd: %02x:%02x:%02x:%02x:%02x:%02x",
@@ -1837,10 +1837,10 @@ CWII_IPC_HLE_WiiMote* CWII_IPC_HLE_Device_usb_oh1_57e_305::AccessWiiMote(const b
CWII_IPC_HLE_WiiMote* CWII_IPC_HLE_Device_usb_oh1_57e_305::AccessWiiMote(u16 _ConnectionHandle)
{
- for (size_t i=0; i<m_WiiMotes.size(); i++)
+ for (auto& wiimote : m_WiiMotes)
{
- if (m_WiiMotes[i].GetConnectionHandle() == _ConnectionHandle)
- return &m_WiiMotes[i];
+ if (wiimote.GetConnectionHandle() == _ConnectionHandle)
+ return &wiimote;
}
ERROR_LOG(WII_IPC_WIIMOTE, "Can't find WiiMote by connection handle %02x", _ConnectionHandle);
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb.h
index 253f2d08de..75da4492e9 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb.h
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb.h
@@ -39,13 +39,6 @@ struct SQueuedEvent
}
};
-// Hacks for ChunkFile to accept SQueuedEvent as POD
-namespace std
-{
-template <>
-struct is_pod<SQueuedEvent> : std::true_type {};
-}
-
// Important to remember that this class is for /dev/usb/oh1/57e/305 ONLY
// /dev/usb/oh1 -> internal usb bus
// 57e/305 -> VendorID/ProductID of device on usb bus
@@ -155,7 +148,7 @@ private:
SHCICommandMessage m_CtrlSetup;
CtrlBuffer m_HCIEndpoint;
std::deque<SQueuedEvent> m_EventQueue;
-
+
u32 m_ACLSetup;
CtrlBuffer m_ACLEndpoint;
@@ -170,7 +163,7 @@ private:
u16 size;
u16 conn_handle;
};
-
+
std::deque<Packet> m_queue;
public:
@@ -216,7 +209,7 @@ private:
bool SendEventReadRemoteFeatures(u16 _connectionHandle);
bool SendEventRoleChange(bdaddr_t _bd, bool _master);
bool SendEventNumberOfCompletedPackets();
- bool SendEventAuthenticationCompleted(u16 _connectionHandle);
+ bool SendEventAuthenticationCompleted(u16 _connectionHandle);
bool SendEventModeChange(u16 _connectionHandle, u8 _mode, u16 _value);
bool SendEventDisconnect(u16 _connectionHandle, u8 _Reason);
bool SendEventRequestLinkKey(const bdaddr_t& _bd);
@@ -260,7 +253,7 @@ private:
void CommandWriteInquiryScanType(u8* _Input);
void CommandWriteLinkSupervisionTimeout(u8* _Input);
- // OGF 0x04 Informational commands and return parameters
+ // OGF 0x04 Informational commands and return parameters
void CommandReadBufferSize(u8* _Input);
void CommandReadLocalVer(u8* _Input);
void CommandReadLocalFeatures(u8* _Input);
@@ -268,14 +261,14 @@ private:
// OGF 0x3F Vendor specific
void CommandVendorSpecific_FC4C(u8* _Input, u32 _Size);
- void CommandVendorSpecific_FC4F(u8* _Input, u32 _Size);
+ void CommandVendorSpecific_FC4F(u8* _Input, u32 _Size);
// Debugging
void LOG_LinkKey(const u8* _pLinkKey);
#pragma pack(push,1)
#define CONF_PAD_MAX_REGISTERED 10
-
+
struct _conf_pad_device
{
u8 bdaddr[6];
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb_kbd.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb_kbd.cpp
index bfe0df8743..4300ecc4da 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb_kbd.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_usb_kbd.cpp
@@ -28,6 +28,7 @@ bool CWII_IPC_HLE_Device_usb_kbd::Open(u32 _CommandAddress, u32 _Mode)
for(int i = 0; i < 256; i++)
m_OldKeyBuffer[i] = false;
+
m_OldModifiers = 0x00;
//m_MessageQueue.push(SMessageData(MSG_KBD_CONNECT, 0, NULL));
@@ -170,7 +171,7 @@ u8 CWII_IPC_HLE_Device_usb_kbd::m_KeyCodesQWERTY[256] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x2A, // Backspace
0x2B, // Tab
- 0x00, 0x00,
+ 0x00, 0x00,
0x00, // Clear
0x28, // Return
0x00, 0x00,
@@ -191,18 +192,18 @@ u8 CWII_IPC_HLE_Device_usb_kbd::m_KeyCodesQWERTY[256] = {
0x52, // Up
0x4F, // Right
0x51, // Down
- 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00,
0x46, // Print screen
0x49, // Insert
0x4C, // Delete
0x00,
// 0 -> 9
- 0x27, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24,
+ 0x27, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24,
0x25, 0x26,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00,
// A -> Z
- 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B,
+ 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B,
0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x12, 0x13,
0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B,
0x1C, 0x1D,
@@ -219,7 +220,7 @@ u8 CWII_IPC_HLE_Device_usb_kbd::m_KeyCodesQWERTY[256] = {
0x54, // Divide
// F1 -> F12
0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 0x40, 0x41,
- 0x42, 0x43, 0x44, 0x45,
+ 0x42, 0x43, 0x44, 0x45,
// F13 -> F24
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00,
@@ -258,7 +259,7 @@ u8 CWII_IPC_HLE_Device_usb_kbd::m_KeyCodesAZERTY[256] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x2A, // Backspace
0x2B, // Tab
- 0x00, 0x00,
+ 0x00, 0x00,
0x00, // Clear
0x28, // Return
0x00, 0x00,
@@ -279,18 +280,18 @@ u8 CWII_IPC_HLE_Device_usb_kbd::m_KeyCodesAZERTY[256] = {
0x52, // Up
0x4F, // Right
0x51, // Down
- 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00,
0x46, // Print screen
0x49, // Insert
0x4C, // Delete
0x00,
// 0 -> 9
- 0x27, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24,
+ 0x27, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, 0x24,
0x25, 0x26,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00,
// A -> Z
- 0x14, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B,
+ 0x14, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B,
0x0C, 0x0D, 0x0E, 0x0F, 0x33, 0x11, 0x12, 0x13,
0x04, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1D, 0x1B,
0x1C, 0x1A,
@@ -307,7 +308,7 @@ u8 CWII_IPC_HLE_Device_usb_kbd::m_KeyCodesAZERTY[256] = {
0x54, // Divide
// F1 -> F12
0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 0x40, 0x41,
- 0x42, 0x43, 0x44, 0x45,
+ 0x42, 0x43, 0x44, 0x45,
// F13 -> F24
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00,
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.cpp
index 9b57f96a2c..d873914b2b 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.cpp
@@ -385,7 +385,7 @@ void CWII_IPC_HLE_WiiMote::ReceiveConnectionReq(u8 _Ident, u8* _pData, u32 _Size
INFO_LOG(WII_IPC_WIIMOTE, "[L2CAP] SendConnectionResponse");
SendCommandToACL(_Ident, L2CAP_CONNECT_RSP, sizeof(l2cap_con_rsp_cp), (u8*)&Rsp);
-
+
// update state machine
/*
if (rChannel.PSM == L2CAP_PSM_HID_CNTL)
@@ -613,7 +613,7 @@ void CWII_IPC_HLE_WiiMote::SendConfigurationRequest(u16 scid, u16 MTU, u16 Flush
*(u16*)&Buffer[Offset] = MTU; Offset += L2CAP_OPT_MTU_SIZE;
DEBUG_LOG(WII_IPC_WIIMOTE, " MTU: 0x%04x", MTU);
}
-
+
if (FlushTimeOut || rChannel.FlushTimeOut)
{
if (FlushTimeOut == 0)
@@ -650,7 +650,7 @@ void CWII_IPC_HLE_WiiMote::SDPSendServiceSearchResponse(u16 cid, u16 Transaction
{
// verify block... we handle search pattern for HID service only
{
- CBigEndianBuffer buffer(pServiceSearchPattern);
+ CBigEndianBuffer buffer(pServiceSearchPattern);
_dbg_assert_(WII_IPC_WIIMOTE, buffer.Read8(0) == SDP_SEQ8); // data sequence
_dbg_assert_(WII_IPC_WIIMOTE, buffer.Read8(1) == 0x03); // sequence size
@@ -757,7 +757,7 @@ void CWII_IPC_HLE_WiiMote::SDPSendServiceAttributeResponse(u16 cid, u16 Transact
int Offset = 0;
l2cap_hdr_t* pHeader = (l2cap_hdr_t*)&DataFrame[Offset]; Offset += sizeof(l2cap_hdr_t);
pHeader->dcid = cid;
-
+
buffer.Write8 (Offset, 0x05); Offset++;
buffer.Write16(Offset, TransactionID); Offset += 2; // transaction ID
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.h b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.h
index 397841a2f0..7c9444f1f0 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.h
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_WiiMote.h
@@ -101,7 +101,7 @@ private:
std::string m_Name;
CWII_IPC_HLE_Device_usb_oh1_57e_305* m_pHost;
- struct SChannel
+ struct SChannel
{
u16 SCID;
u16 DCID;
@@ -132,14 +132,14 @@ private:
void ReceiveDisconnectionReq(u8 _Ident, u8* _pData, u32 _Size);
void ReceiveConfigurationReq(u8 _Ident, u8* _pData, u32 _Size);
void ReceiveConfigurationResponse(u8 _Ident, u8* _pData, u32 _Size);
-
+
// some new ugly stuff
- // should be inside the plugin
+ // should be inside the plugin
void HandleSDP(u16 _SCID, u8* _pData, u32 _Size);
void SDPSendServiceSearchResponse(u16 _SCID, u16 _TransactionID, u8* _pServiceSearchPattern, u16 _MaximumServiceRecordCount);
- void SDPSendServiceAttributeResponse(u16 _SCID, u16 TransactionID, u32 _ServiceHandle,
- u16 _StartAttrID, u16 _EndAttrID,
+ void SDPSendServiceAttributeResponse(u16 _SCID, u16 TransactionID, u32 _ServiceHandle,
+ u16 _StartAttrID, u16 _EndAttrID,
u16 _MaximumAttributeByteCount, u8* _pContinuationState);
u16 AddAttribToList(int _AttribID, u8* _pBuffer);
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_Socket.cpp b/Source/Core/Core/Src/IPC_HLE/WII_Socket.cpp
index 8db1580ef7..32e6cbe81c 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_Socket.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_Socket.cpp
@@ -207,7 +207,7 @@ void WiiSocket::update(bool read, bool write, bool except)
int ret = bind(fd, (sockaddr*)&local_name, sizeof(local_name));
ReturnValue = WiiSockMan::getNetErrorCode(ret, "SO_BIND", false);
- INFO_LOG(WII_IPC_NET, "IOCTL_SO_BIND (%08X %s:%d) = %d ", fd,
+ INFO_LOG(WII_IPC_NET, "IOCTL_SO_BIND (%08X %s:%d) = %d ", fd,
inet_ntoa(local_name.sin_addr), Common::swap16(local_name.sin_port), ret);
break;
}
@@ -217,7 +217,7 @@ void WiiSocket::update(bool read, bool write, bool except)
sockaddr_in local_name;
WiiSockAddrIn* wii_name = (WiiSockAddrIn*)Memory::GetPointer(BufferIn + 0x08);
WiiSockMan::Convert(*wii_name, local_name);
-
+
int ret = connect(fd, (sockaddr*)&local_name, sizeof(local_name));
ReturnValue = WiiSockMan::getNetErrorCode(ret, "SO_CONNECT", false);
@@ -227,13 +227,13 @@ void WiiSocket::update(bool read, bool write, bool except)
}
case IOCTL_SO_ACCEPT:
{
-
+
if (BufferOutSize > 0)
{
sockaddr_in local_name;
WiiSockAddrIn* wii_name = (WiiSockAddrIn*)Memory::GetPointer(BufferOut);
WiiSockMan::Convert(*wii_name, local_name);
-
+
socklen_t addrlen = sizeof(sockaddr_in);
int ret = (s32)accept(fd, (sockaddr*)&local_name, &addrlen);
ReturnValue = WiiSockMan::getNetErrorCode(ret, "SO_ACCEPT", true);
@@ -261,7 +261,7 @@ void WiiSocket::update(bool read, bool write, bool except)
// Fix blocking error codes
if (!nonBlock)
{
- if (it->net_type == IOCTL_SO_CONNECT
+ if (it->net_type == IOCTL_SO_CONNECT
&& ReturnValue == -SO_EISCONN)
{
ReturnValue = SO_SUCCESS;
@@ -275,25 +275,25 @@ void WiiSocket::update(bool read, bool write, bool except)
u32 BufferInSize = 0, BufferInSize2 = 0;
u32 BufferOut = 0, BufferOut2 = 0;
u32 BufferOutSize = 0, BufferOutSize2 = 0;
-
+
if (CommandBuffer.InBuffer.size() > 0)
{
BufferIn = CommandBuffer.InBuffer.at(0).m_Address;
BufferInSize = CommandBuffer.InBuffer.at(0).m_Size;
}
-
+
if (CommandBuffer.PayloadBuffer.size() > 0)
{
BufferOut = CommandBuffer.PayloadBuffer.at(0).m_Address;
BufferOutSize = CommandBuffer.PayloadBuffer.at(0).m_Size;
}
-
+
if (CommandBuffer.PayloadBuffer.size() > 1)
{
BufferOut2 = CommandBuffer.PayloadBuffer.at(1).m_Address;
BufferOutSize2 = CommandBuffer.PayloadBuffer.at(1).m_Size;
}
-
+
if (CommandBuffer.InBuffer.size() > 1)
{
BufferIn2 = CommandBuffer.InBuffer.at(1).m_Address;
@@ -309,7 +309,7 @@ void WiiSocket::update(bool read, bool write, bool except)
{
case IOCTLV_NET_SSL_DOHANDSHAKE:
{
-
+
int ret = ssl_handshake(&CWII_IPC_HLE_Device_net_ssl::_SSL[sslID].ctx);
switch (ret)
{
@@ -330,7 +330,7 @@ void WiiSocket::update(bool read, bool write, bool except)
Memory::Write_U32(SSL_ERR_FAILED, BufferIn);
break;
}
-
+
INFO_LOG(WII_IPC_SSL, "IOCTLV_NET_SSL_DOHANDSHAKE = (%d) "
"BufferIn: (%08x, %i), BufferIn2: (%08x, %i), "
"BufferOut: (%08x, %i), BufferOut2: (%08x, %i)",
@@ -342,7 +342,7 @@ void WiiSocket::update(bool read, bool write, bool except)
case IOCTLV_NET_SSL_WRITE:
{
int ret = ssl_write(&CWII_IPC_HLE_Device_net_ssl::_SSL[sslID].ctx, Memory::GetPointer(BufferOut2), BufferOutSize2);
-
+
#ifdef DEBUG_SSL
File::IOFile("ssl_write.bin", "ab").WriteBytes(Memory::GetPointer(BufferOut2), BufferOutSize2);
#endif
@@ -351,7 +351,7 @@ void WiiSocket::update(bool read, bool write, bool except)
// Return bytes written or SSL_ERR_ZERO if none
Memory::Write_U32((ret == 0) ? SSL_ERR_ZERO : ret, BufferIn);
}
- else
+ else
{
switch (ret)
{
@@ -386,7 +386,7 @@ void WiiSocket::update(bool read, bool write, bool except)
// Return bytes read or SSL_ERR_ZERO if none
Memory::Write_U32((ret == 0) ? SSL_ERR_ZERO : ret, BufferIn);
}
- else
+ else
{
switch (ret)
{
@@ -415,32 +415,32 @@ void WiiSocket::update(bool read, bool write, bool except)
{
Memory::Write_U32(SSL_ERR_ID, BufferIn);
}
- }
+ }
else
{
switch (it->net_type)
{
case IOCTLV_SO_SENDTO:
{
-
+
u32 flags = Memory::Read_U32(BufferIn2 + 0x04);
u32 has_destaddr = Memory::Read_U32(BufferIn2 + 0x08);
char * data = (char*)Memory::GetPointer(BufferIn);
-
+
// Act as non blocking when SO_MSG_NONBLOCK is specified
forceNonBlock = ((flags & SO_MSG_NONBLOCK) == SO_MSG_NONBLOCK);
// send/sendto only handles MSG_OOB
flags &= SO_MSG_OOB;
-
+
sockaddr_in local_name = {0};
if (has_destaddr)
- {
+ {
WiiSockAddrIn* wii_name = (WiiSockAddrIn*)Memory::GetPointer(BufferIn2 + 0x0C);
WiiSockMan::Convert(*wii_name, local_name);
}
- int ret = sendto(fd, data, BufferInSize, flags,
- has_destaddr ? (struct sockaddr*)&local_name : NULL,
+ int ret = sendto(fd, data, BufferInSize, flags,
+ has_destaddr ? (struct sockaddr*)&local_name : NULL,
has_destaddr ? sizeof(sockaddr) : 0);
ReturnValue = WiiSockMan::getNetErrorCode(ret, "SO_SENDTO", true);
@@ -464,7 +464,7 @@ void WiiSocket::update(bool read, bool write, bool except)
sockaddr_in local_name;
memset(&local_name, 0, sizeof(sockaddr_in));
-
+
if (BufferOutSize2 != 0)
{
WiiSockAddrIn* wii_name = (WiiSockAddrIn*)Memory::GetPointer(BufferOut2);
@@ -473,7 +473,7 @@ void WiiSocket::update(bool read, bool write, bool except)
// Act as non blocking when SO_MSG_NONBLOCK is specified
forceNonBlock = ((flags & SO_MSG_NONBLOCK) == SO_MSG_NONBLOCK);
-
+
// recv/recvfrom only handles PEEK/OOB
flags &= SO_MSG_PEEK | SO_MSG_OOB;
#ifdef _WIN32
@@ -490,10 +490,10 @@ void WiiSocket::update(bool read, bool write, bool except)
BufferOutSize2 ? &addrlen : 0);
ReturnValue = WiiSockMan::getNetErrorCode(ret, BufferOutSize2 ? "SO_RECVFROM" : "SO_RECV", true);
-
+
INFO_LOG(WII_IPC_NET, "%s(%d, %p) Socket: %08X, Flags: %08X, "
"BufferIn: (%08x, %i), BufferIn2: (%08x, %i), "
- "BufferOut: (%08x, %i), BufferOut2: (%08x, %i)",
+ "BufferOut: (%08x, %i), BufferOut2: (%08x, %i)",
BufferOutSize2 ? "IOCTLV_SO_RECVFROM " : "IOCTLV_SO_RECV ",
ReturnValue, data, fd, flags,
BufferIn, BufferInSize, BufferIn2, BufferInSize2,
@@ -510,14 +510,14 @@ void WiiSocket::update(bool read, bool write, bool except)
break;
}
}
-
+
}
if ( nonBlock || forceNonBlock
|| (!it->is_ssl && ReturnValue != -SO_EAGAIN && ReturnValue != -SO_EINPROGRESS && ReturnValue != -SO_EALREADY)
|| (it->is_ssl && ReturnValue != SSL_ERR_WAGAIN && ReturnValue != SSL_ERR_RAGAIN))
{
- DEBUG_LOG(WII_IPC_NET, "IOCTL(V) Sock: %08x ioctl/v: %d returned: %d nonBlock: %d forceNonBlock: %d",
+ DEBUG_LOG(WII_IPC_NET, "IOCTL(V) Sock: %08x ioctl/v: %d returned: %d nonBlock: %d forceNonBlock: %d",
fd, it->is_ssl ? (int) it->ssl_type : (int) it->net_type, ReturnValue, nonBlock, forceNonBlock);
WiiSockMan::EnqueueReply(it->_CommandAddress, ReturnValue);
it = pending_sockops.erase(it);
@@ -602,21 +602,21 @@ void WiiSockMan::Update()
if (ret >= 0)
{
- for (auto it = WiiSockets.begin(); it != WiiSockets.end(); ++it)
+ for (auto& pair : WiiSockets)
{
- WiiSocket& sock = it->second;
+ WiiSocket& sock = pair.second;
sock.update(
- FD_ISSET(sock.fd, &read_fds) != 0,
- FD_ISSET(sock.fd, &write_fds) != 0,
+ FD_ISSET(sock.fd, &read_fds) != 0,
+ FD_ISSET(sock.fd, &write_fds) != 0,
FD_ISSET(sock.fd, &except_fds) != 0
);
}
}
else
{
- for (auto it = WiiSockets.begin(); it != WiiSockets.end(); ++it)
+ for (auto& elem : WiiSockets)
{
- it->second.update(false, false, false);
+ elem.second.update(false, false, false);
}
}
}
@@ -626,10 +626,10 @@ void WiiSockMan::EnqueueReply(u32 CommandAddress, s32 ReturnValue)
Memory::Write_U32(8, CommandAddress);
// IOS seems to write back the command that was responded to
Memory::Write_U32(Memory::Read_U32(CommandAddress), CommandAddress + 8);
-
+
// Return value
Memory::Write_U32(ReturnValue, CommandAddress + 4);
-
+
WII_IPC_HLE_Interface::EnqReply(CommandAddress);
}
diff --git a/Source/Core/Core/Src/IPC_HLE/WiiMote_HID_Attr.cpp b/Source/Core/Core/Src/IPC_HLE/WiiMote_HID_Attr.cpp
index e96bb5d7da..f919b4dec4 100644
--- a/Source/Core/Core/Src/IPC_HLE/WiiMote_HID_Attr.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WiiMote_HID_Attr.cpp
@@ -10,17 +10,17 @@
// 0x00 (checked)
u8 ServiceRecordHandle[] = { 0x0a, 0x00, 0x01, 0x00, 0x00 };
// 0x01 (checked)
-u8 SrvClassIDList[] = { 0x35, 0x03,
+u8 SrvClassIDList[] = { 0x35, 0x03,
0x19, 0x11, 0x24 };
// 0x04 (checked)
-u8 ProtocolDescriptorList[] = { 0x35, 0x0D,
- 0x35, 0x06,
- 0x19, 0x01, 0x00, // Element 0
- 0x09, 0x00, 0x11, // Element 1
+u8 ProtocolDescriptorList[] = { 0x35, 0x0D,
+ 0x35, 0x06,
+ 0x19, 0x01, 0x00, // Element 0
+ 0x09, 0x00, 0x11, // Element 1
0x35, 0x03,
- 0x19, 0x00, 0x11}; // Element 0
+ 0x19, 0x00, 0x11}; // Element 0
// 0x5 (checked)
-u8 BrowseGroupList[] = { 0x35, 0x03,
+u8 BrowseGroupList[] = { 0x35, 0x03,
0x19, 0x10, 0x02 };
// 0x6 (checked)
u8 LanguageBaseAttributeIDList[] = { 0x35, 0x09,
@@ -34,11 +34,11 @@ u8 BluetoothProfileDescriptorList[] = { 0x35, 0x08,
0x09, 0x01, 0x00 };
// 0x0D (checked)
u8 AdditionalProtocolDescriptorLists[] = { 0x35, 0x0F,
- 0x35, 0x0D,
+ 0x35, 0x0D,
0x35, 0x06,
0x19, 0x01, 0x00,
0x09, 0x00, 0x13,
- 0x35, 0x03,
+ 0x35, 0x03,
0x19, 0x00, 0x11 };
// 0x100
u8 ServiceName[] = { 0x25, 0x13, 'N','i','n','t','e','n','d','o',' ','R','V','L','-','C','N','T','-','0','1' };
@@ -62,39 +62,39 @@ u8 HIDReconnectInitiate[] = { 0x09, 0x00, 0x01 };
// 0x206
u8 HIDDescriptorList[] = { 0x35, 0xDF,
- 0x35, 0xDD,
- 0x08, 0x22, // Element 0
+ 0x35, 0xDD,
+ 0x08, 0x22, // Element 0
0x25, 0xD9, // hmm... <- 0x25 is a string but there is Data
// 0xD9 Bytes - Element 1
- 0x05, 0x01, 0x09, 0x05, 0xa1, 0x01, 0x85, 0x10,
- 0x15, 0x00, 0x26, 0xff, 0x00, 0x75, 0x08, 0x95,
- 0x01, 0x06, 0x00, 0xff, 0x09, 0x01, 0x91, 0x00,
- 0x85, 0x11, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00,
- 0x85, 0x12, 0x95, 0x02, 0x09, 0x01, 0x91, 0x00,
- 0x85, 0x13, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00,
- 0x85, 0x14, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00,
- 0x85, 0x15, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00,
- 0x85, 0x16, 0x95, 0x15, 0x09, 0x01, 0x91, 0x00,
- 0x85, 0x17, 0x95, 0x06, 0x09, 0x01, 0x91, 0x00,
- 0x85, 0x18, 0x95, 0x15, 0x09, 0x01, 0x91, 0x00,
- 0x85, 0x19, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00,
- 0x85, 0x1a, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00,
- 0x85, 0x20, 0x95, 0x06, 0x09, 0x01, 0x81, 0x00,
- 0x85, 0x21, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
- 0x85, 0x22, 0x95, 0x04, 0x09, 0x01, 0x81, 0x00,
- 0x85, 0x30, 0x95, 0x02, 0x09, 0x01, 0x81, 0x00,
- 0x85, 0x31, 0x95, 0x05, 0x09, 0x01, 0x81, 0x00,
- 0x85, 0x32, 0x95, 0x0a, 0x09, 0x01, 0x81, 0x00,
- 0x85, 0x33, 0x95, 0x11, 0x09, 0x01, 0x81, 0x00,
- 0x85, 0x34, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
- 0x85, 0x35, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
- 0x85, 0x36, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
- 0x85, 0x37, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
- 0x85, 0x3d, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
- 0x85, 0x3e, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
- 0x85, 0x3f, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
- 0xc0 }; // end tag
+ 0x05, 0x01, 0x09, 0x05, 0xa1, 0x01, 0x85, 0x10,
+ 0x15, 0x00, 0x26, 0xff, 0x00, 0x75, 0x08, 0x95,
+ 0x01, 0x06, 0x00, 0xff, 0x09, 0x01, 0x91, 0x00,
+ 0x85, 0x11, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00,
+ 0x85, 0x12, 0x95, 0x02, 0x09, 0x01, 0x91, 0x00,
+ 0x85, 0x13, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00,
+ 0x85, 0x14, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00,
+ 0x85, 0x15, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00,
+ 0x85, 0x16, 0x95, 0x15, 0x09, 0x01, 0x91, 0x00,
+ 0x85, 0x17, 0x95, 0x06, 0x09, 0x01, 0x91, 0x00,
+ 0x85, 0x18, 0x95, 0x15, 0x09, 0x01, 0x91, 0x00,
+ 0x85, 0x19, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00,
+ 0x85, 0x1a, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00,
+ 0x85, 0x20, 0x95, 0x06, 0x09, 0x01, 0x81, 0x00,
+ 0x85, 0x21, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
+ 0x85, 0x22, 0x95, 0x04, 0x09, 0x01, 0x81, 0x00,
+ 0x85, 0x30, 0x95, 0x02, 0x09, 0x01, 0x81, 0x00,
+ 0x85, 0x31, 0x95, 0x05, 0x09, 0x01, 0x81, 0x00,
+ 0x85, 0x32, 0x95, 0x0a, 0x09, 0x01, 0x81, 0x00,
+ 0x85, 0x33, 0x95, 0x11, 0x09, 0x01, 0x81, 0x00,
+ 0x85, 0x34, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
+ 0x85, 0x35, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
+ 0x85, 0x36, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
+ 0x85, 0x37, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
+ 0x85, 0x3d, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
+ 0x85, 0x3e, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
+ 0x85, 0x3f, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00,
+ 0xc0 }; // end tag
// 0x207
@@ -121,60 +121,60 @@ u8 HIDBootDevice[] = { 0x28, 0x00 };
static u8 packet1[] = {
- 0x00, 0x7b, 0x00, 0x76, 0x36, 0x01, 0xcc, 0x09, 0x00, 0x00, 0x0a, 0x00, 0x01,
- 0x00, 0x00, 0x09, 0x00, 0x01, 0x35, 0x03, 0x19, 0x11, 0x24, 0x09, 0x00, 0x04, 0x35, 0x0d, 0x35,
- 0x06, 0x19, 0x01, 0x00, 0x09, 0x00, 0x11, 0x35, 0x03, 0x19, 0x00, 0x11, 0x09, 0x00, 0x05, 0x35,
- 0x03, 0x19, 0x10, 0x02, 0x09, 0x00, 0x06, 0x35, 0x09, 0x09, 0x65, 0x6e, 0x09, 0x00, 0x6a, 0x09,
- 0x01, 0x00, 0x09, 0x00, 0x09, 0x35, 0x08, 0x35, 0x06, 0x19, 0x11, 0x24, 0x09, 0x01, 0x00, 0x09,
- 0x00, 0x0d, 0x35, 0x0f, 0x35, 0x0d, 0x35, 0x06, 0x19, 0x01, 0x00, 0x09, 0x00, 0x13, 0x35, 0x03,
- 0x19, 0x00, 0x11, 0x09, 0x01, 0x00, 0x25, 0x13, 0x4e, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x6f,
- 0x20, 0x52, 0x56, 0x4c, 0x2d, 0x43, 0x4e, 0x54, 0x2d, 0x30, 0x31, 0x09, 0x01, 0x02, 0x00, 0x76,
+ 0x00, 0x7b, 0x00, 0x76, 0x36, 0x01, 0xcc, 0x09, 0x00, 0x00, 0x0a, 0x00, 0x01,
+ 0x00, 0x00, 0x09, 0x00, 0x01, 0x35, 0x03, 0x19, 0x11, 0x24, 0x09, 0x00, 0x04, 0x35, 0x0d, 0x35,
+ 0x06, 0x19, 0x01, 0x00, 0x09, 0x00, 0x11, 0x35, 0x03, 0x19, 0x00, 0x11, 0x09, 0x00, 0x05, 0x35,
+ 0x03, 0x19, 0x10, 0x02, 0x09, 0x00, 0x06, 0x35, 0x09, 0x09, 0x65, 0x6e, 0x09, 0x00, 0x6a, 0x09,
+ 0x01, 0x00, 0x09, 0x00, 0x09, 0x35, 0x08, 0x35, 0x06, 0x19, 0x11, 0x24, 0x09, 0x01, 0x00, 0x09,
+ 0x00, 0x0d, 0x35, 0x0f, 0x35, 0x0d, 0x35, 0x06, 0x19, 0x01, 0x00, 0x09, 0x00, 0x13, 0x35, 0x03,
+ 0x19, 0x00, 0x11, 0x09, 0x01, 0x00, 0x25, 0x13, 0x4e, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x6f,
+ 0x20, 0x52, 0x56, 0x4c, 0x2d, 0x43, 0x4e, 0x54, 0x2d, 0x30, 0x31, 0x09, 0x01, 0x02, 0x00, 0x76,
};
static u8 packet2[] = {
- 0x00, 0x7b, 0x00, 0x76, 0x01, 0x25, 0x13, 0x4e, 0x69, 0x6e, 0x74, 0x65, 0x6e,
- 0x64, 0x6f, 0x20, 0x52, 0x56, 0x4c, 0x2d, 0x43, 0x4e, 0x54, 0x2d, 0x30, 0x31, 0x09, 0x01, 0x02,
- 0x25, 0x08, 0x4e, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x6f, 0x09, 0x02, 0x00, 0x09, 0x01, 0x00,
- 0x09, 0x02, 0x01, 0x09, 0x01, 0x11, 0x09, 0x02, 0x02, 0x08, 0x04, 0x09, 0x02, 0x03, 0x08, 0x33,
- 0x09, 0x02, 0x04, 0x28, 0x00, 0x09, 0x02, 0x05, 0x28, 0x01, 0x09, 0x02, 0x06, 0x35, 0xdf, 0x35,
- 0xdd, 0x08, 0x22, 0x25, 0xd9, 0x05, 0x01, 0x09, 0x05, 0xa1, 0x01, 0x85, 0x10, 0x15, 0x00, 0x26,
- 0xff, 0x00, 0x75, 0x08, 0x95, 0x01, 0x06, 0x00, 0xff, 0x09, 0x01, 0x91, 0x00, 0x85, 0x11, 0x95,
- 0x01, 0x09, 0x01, 0x91, 0x00, 0x85, 0x12, 0x95, 0x02, 0x09, 0x01, 0x91, 0x00, 0x02, 0x00, 0xec,
+ 0x00, 0x7b, 0x00, 0x76, 0x01, 0x25, 0x13, 0x4e, 0x69, 0x6e, 0x74, 0x65, 0x6e,
+ 0x64, 0x6f, 0x20, 0x52, 0x56, 0x4c, 0x2d, 0x43, 0x4e, 0x54, 0x2d, 0x30, 0x31, 0x09, 0x01, 0x02,
+ 0x25, 0x08, 0x4e, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x6f, 0x09, 0x02, 0x00, 0x09, 0x01, 0x00,
+ 0x09, 0x02, 0x01, 0x09, 0x01, 0x11, 0x09, 0x02, 0x02, 0x08, 0x04, 0x09, 0x02, 0x03, 0x08, 0x33,
+ 0x09, 0x02, 0x04, 0x28, 0x00, 0x09, 0x02, 0x05, 0x28, 0x01, 0x09, 0x02, 0x06, 0x35, 0xdf, 0x35,
+ 0xdd, 0x08, 0x22, 0x25, 0xd9, 0x05, 0x01, 0x09, 0x05, 0xa1, 0x01, 0x85, 0x10, 0x15, 0x00, 0x26,
+ 0xff, 0x00, 0x75, 0x08, 0x95, 0x01, 0x06, 0x00, 0xff, 0x09, 0x01, 0x91, 0x00, 0x85, 0x11, 0x95,
+ 0x01, 0x09, 0x01, 0x91, 0x00, 0x85, 0x12, 0x95, 0x02, 0x09, 0x01, 0x91, 0x00, 0x02, 0x00, 0xec,
};
static u8 packet3[] = {
- 0x00, 0x7b, 0x00, 0x76, 0x85, 0x13, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00, 0x85,
- 0x14, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00, 0x85, 0x15, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00, 0x85,
- 0x16, 0x95, 0x15, 0x09, 0x01, 0x91, 0x00, 0x85, 0x17, 0x95, 0x06, 0x09, 0x01, 0x91, 0x00, 0x85,
- 0x18, 0x95, 0x15, 0x09, 0x01, 0x91, 0x00, 0x85, 0x19, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00, 0x85,
- 0x1a, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00, 0x85, 0x20, 0x95, 0x06, 0x09, 0x01, 0x81, 0x00, 0x85,
- 0x21, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00, 0x85, 0x22, 0x95, 0x04, 0x09, 0x01, 0x81, 0x00, 0x85,
- 0x30, 0x95, 0x02, 0x09, 0x01, 0x81, 0x00, 0x85, 0x31, 0x95, 0x05, 0x09, 0x01, 0x81, 0x00, 0x85,
- 0x32, 0x95, 0x0a, 0x09, 0x01, 0x81, 0x00, 0x85, 0x33, 0x95, 0x11, 0x09, 0x01, 0x02, 0x01, 0x62,
+ 0x00, 0x7b, 0x00, 0x76, 0x85, 0x13, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00, 0x85,
+ 0x14, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00, 0x85, 0x15, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00, 0x85,
+ 0x16, 0x95, 0x15, 0x09, 0x01, 0x91, 0x00, 0x85, 0x17, 0x95, 0x06, 0x09, 0x01, 0x91, 0x00, 0x85,
+ 0x18, 0x95, 0x15, 0x09, 0x01, 0x91, 0x00, 0x85, 0x19, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00, 0x85,
+ 0x1a, 0x95, 0x01, 0x09, 0x01, 0x91, 0x00, 0x85, 0x20, 0x95, 0x06, 0x09, 0x01, 0x81, 0x00, 0x85,
+ 0x21, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00, 0x85, 0x22, 0x95, 0x04, 0x09, 0x01, 0x81, 0x00, 0x85,
+ 0x30, 0x95, 0x02, 0x09, 0x01, 0x81, 0x00, 0x85, 0x31, 0x95, 0x05, 0x09, 0x01, 0x81, 0x00, 0x85,
+ 0x32, 0x95, 0x0a, 0x09, 0x01, 0x81, 0x00, 0x85, 0x33, 0x95, 0x11, 0x09, 0x01, 0x02, 0x01, 0x62,
};
static u8 packet4[] = {
- 0x00, 0x70, 0x00, 0x6d, 0x81, 0x00, 0x85, 0x34, 0x95, 0x15, 0x09, 0x01, 0x81,
- 0x00, 0x85, 0x35, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00, 0x85, 0x36, 0x95, 0x15, 0x09, 0x01, 0x81,
- 0x00, 0x85, 0x37, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00, 0x85, 0x3d, 0x95, 0x15, 0x09, 0x01, 0x81,
- 0x00, 0x85, 0x3e, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00, 0x85, 0x3f, 0x95, 0x15, 0x09, 0x01, 0x81,
- 0x00, 0xc0, 0x09, 0x02, 0x07, 0x35, 0x08, 0x35, 0x06, 0x09, 0x04, 0x09, 0x09, 0x01, 0x00, 0x09,
- 0x02, 0x08, 0x28, 0x00, 0x09, 0x02, 0x09, 0x28, 0x01, 0x09, 0x02, 0x0a, 0x28, 0x01, 0x09, 0x02,
- 0x0b, 0x09, 0x01, 0x00, 0x09, 0x02, 0x0c, 0x09, 0x0c, 0x80, 0x09, 0x02, 0x0d, 0x28, 0x00, 0x09,
- 0x02, 0x0e, 0x28, 0x00, 0x00,
+ 0x00, 0x70, 0x00, 0x6d, 0x81, 0x00, 0x85, 0x34, 0x95, 0x15, 0x09, 0x01, 0x81,
+ 0x00, 0x85, 0x35, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00, 0x85, 0x36, 0x95, 0x15, 0x09, 0x01, 0x81,
+ 0x00, 0x85, 0x37, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00, 0x85, 0x3d, 0x95, 0x15, 0x09, 0x01, 0x81,
+ 0x00, 0x85, 0x3e, 0x95, 0x15, 0x09, 0x01, 0x81, 0x00, 0x85, 0x3f, 0x95, 0x15, 0x09, 0x01, 0x81,
+ 0x00, 0xc0, 0x09, 0x02, 0x07, 0x35, 0x08, 0x35, 0x06, 0x09, 0x04, 0x09, 0x09, 0x01, 0x00, 0x09,
+ 0x02, 0x08, 0x28, 0x00, 0x09, 0x02, 0x09, 0x28, 0x01, 0x09, 0x02, 0x0a, 0x28, 0x01, 0x09, 0x02,
+ 0x0b, 0x09, 0x01, 0x00, 0x09, 0x02, 0x0c, 0x09, 0x0c, 0x80, 0x09, 0x02, 0x0d, 0x28, 0x00, 0x09,
+ 0x02, 0x0e, 0x28, 0x00, 0x00,
};
static u8 packet4_0x10001[] = {
- 0x00, 0x60, 0x00, 0x5d, 0x36, 0x00, 0x5a, 0x09, 0x00, 0x00, 0x0a, 0x00, 0x01,
- 0x00, 0x01, 0x09, 0x00, 0x01, 0x35, 0x03, 0x19, 0x12, 0x00, 0x09, 0x00, 0x04, 0x35, 0x0d, 0x35,
- 0x06, 0x19, 0x01, 0x00, 0x09, 0x00, 0x01, 0x35, 0x03, 0x19, 0x00, 0x01, 0x09, 0x00, 0x05, 0x35,
- 0x03, 0x19, 0x10, 0x02, 0x09, 0x00, 0x09, 0x35, 0x08, 0x35, 0x06, 0x19, 0x12, 0x00, 0x09, 0x01,
- 0x00, 0x09, 0x02, 0x00, 0x09, 0x01, 0x00, 0x09, 0x02, 0x01, 0x09, 0x05, 0x7e, 0x09, 0x02, 0x02,
- 0x09, 0x03, 0x06, 0x09, 0x02, 0x03, 0x09, 0x06, 0x00, 0x09, 0x02, 0x04, 0x28, 0x01, 0x09, 0x02,
- 0x05, 0x09, 0x00, 0x02, 0x00,
+ 0x00, 0x60, 0x00, 0x5d, 0x36, 0x00, 0x5a, 0x09, 0x00, 0x00, 0x0a, 0x00, 0x01,
+ 0x00, 0x01, 0x09, 0x00, 0x01, 0x35, 0x03, 0x19, 0x12, 0x00, 0x09, 0x00, 0x04, 0x35, 0x0d, 0x35,
+ 0x06, 0x19, 0x01, 0x00, 0x09, 0x00, 0x01, 0x35, 0x03, 0x19, 0x00, 0x01, 0x09, 0x00, 0x05, 0x35,
+ 0x03, 0x19, 0x10, 0x02, 0x09, 0x00, 0x09, 0x35, 0x08, 0x35, 0x06, 0x19, 0x12, 0x00, 0x09, 0x01,
+ 0x00, 0x09, 0x02, 0x00, 0x09, 0x01, 0x00, 0x09, 0x02, 0x01, 0x09, 0x05, 0x7e, 0x09, 0x02, 0x02,
+ 0x09, 0x03, 0x06, 0x09, 0x02, 0x03, 0x09, 0x06, 0x00, 0x09, 0x02, 0x04, 0x28, 0x01, 0x09, 0x02,
+ 0x05, 0x09, 0x00, 0x02, 0x00,
};
diff --git a/Source/Core/Core/Src/IPC_HLE/WiiMote_HID_Attr.h b/Source/Core/Core/Src/IPC_HLE/WiiMote_HID_Attr.h
index a9350ec532..ac21d4cd48 100644
--- a/Source/Core/Core/Src/IPC_HLE/WiiMote_HID_Attr.h
+++ b/Source/Core/Core/Src/IPC_HLE/WiiMote_HID_Attr.h
@@ -12,7 +12,7 @@ struct SAttrib
u8* pData;
u16 size;
- SAttrib(u16 _ID, u8* _Data, u16 _size)
+ SAttrib(u16 _ID, u8* _Data, u16 _size)
: ID(_ID)
, pData(_Data)
, size(_size)
diff --git a/Source/Core/Core/Src/IPC_HLE/hci.h b/Source/Core/Core/Src/IPC_HLE/hci.h
index b87e20fd84..41f145a8ed 100644
--- a/Source/Core/Core/Src/IPC_HLE/hci.h
+++ b/Source/Core/Core/Src/IPC_HLE/hci.h
@@ -84,14 +84,6 @@
// All structs in this file are packed
#pragma pack(push, 1)
-/*
- * Bluetooth Address Family Protocol Numbers
- */
-#define BTPROTO_HCI 1
-#define BTPROTO_L2CAP 2
-#define BTPROTO_RFCOMM 3
-#define BTPROTO_SCO 4
-
/* All sizes are in bytes */
#define BLUETOOTH_BDADDR_SIZE 6
@@ -102,9 +94,8 @@
typedef struct {
uint8_t b[BLUETOOTH_BDADDR_SIZE];
} bdaddr_t;
-#endif
-
#define BDADDR_ANY { { 0, 0, 0, 0, 0, 0 } }
+#endif
/**************************************************************************
**************************************************************************
@@ -2416,7 +2407,7 @@ struct SHCIEventStatus
u8 EventType;
u8 PayloadLength;
u8 EventStatus;
- u8 PacketIndicator;
+ u8 PacketIndicator;
u16 Opcode;
};
diff --git a/Source/Core/Core/Src/Movie.cpp b/Source/Core/Core/Src/Movie.cpp
index c613d18fd5..cc5b099ee0 100644
--- a/Source/Core/Core/Src/Movie.cpp
+++ b/Source/Core/Core/Src/Movie.cpp
@@ -66,7 +66,7 @@ bool g_bRecordingFromSaveState = false;
bool g_bPolled = false;
int g_currentSaveVersion = 0;
-std::string tmpStateFilename = "dtm.sav";
+std::string tmpStateFilename = File::GetUserPath(D_STATESAVES_IDX) + "dtm.sav";
std::string g_InputDisplay[8];
@@ -81,7 +81,7 @@ void EnsureTmpInputSize(size_t bound)
size_t newAlloc = DTM_BASE_LENGTH;
while (newAlloc < bound)
newAlloc *= 2;
-
+
u8* newTmpInput = new u8[newAlloc];
tmpInputAllocated = newAlloc;
if (tmpInput != NULL)
@@ -111,14 +111,14 @@ std::string GetInputDisplay()
for (int i = 0; i < 8; ++i)
if ((g_numPads & (1 << i)) != 0)
inputDisplay.append(g_InputDisplay[i]);
-
- return inputDisplay;
+
+ return inputDisplay;
}
void FrameUpdate()
{
g_currentFrame++;
- if(!g_bPolled)
+ if(!g_bPolled)
g_currentLagCount++;
if (IsRecordingInput())
@@ -131,7 +131,7 @@ void FrameUpdate()
Core::SetState(Core::CORE_PAUSE);
g_bFrameStep = false;
}
-
+
// ("framestop") the only purpose of this is to cause interpreter/jit Run() to return temporarily.
// after that we set it back to CPU_RUNNING and continue as normal.
if (g_bFrameStop)
@@ -139,7 +139,7 @@ void FrameUpdate()
if(g_framesToSkip)
FrameSkipping();
-
+
g_bPolled = false;
}
@@ -176,8 +176,8 @@ void Init()
if (!tmpHeader.bFromSaveState || !IsPlayingInput())
Core::SetStateFileName("");
- for (int i = 0; i < 8; ++i)
- g_InputDisplay[i].clear();
+ for (auto& disp : g_InputDisplay)
+ disp.clear();
if (!IsPlayingInput() && !IsRecordingInput())
{
@@ -203,10 +203,10 @@ void InputUpdate()
void SetFrameSkipping(unsigned int framesToSkip)
{
std::lock_guard<std::mutex> lk(cs_frameSkip);
-
+
g_framesToSkip = framesToSkip;
g_frameSkipCounter = 0;
-
+
// Don't forget to re-enable rendering in case it wasn't...
// as this won't be changed anymore when frameskip is turned off
if (framesToSkip == 0)
@@ -723,7 +723,7 @@ bool PlayInput(const char *filename)
return false;
g_recordfd.ReadArray(&tmpHeader, 1);
-
+
if(tmpHeader.filetype[0] != 'D' || tmpHeader.filetype[1] != 'T' || tmpHeader.filetype[2] != 'M' || tmpHeader.filetype[3] != 0x1A) {
PanicAlertT("Invalid recording file");
goto cleanup;
@@ -738,7 +738,7 @@ bool PlayInput(const char *filename)
g_currentInputCount = 0;
g_playMode = MODE_PLAYING;
-
+
g_totalBytes = g_recordfd.GetSize() - 256;
EnsureTmpInputSize((size_t)g_totalBytes);
g_recordfd.ReadArray(tmpInput, (size_t)g_totalBytes);
@@ -849,7 +849,7 @@ void LoadInput(const char *filename)
// this is a "you did something wrong" alert for the user's benefit.
// we'll try to say what's going on in excruciating detail, otherwise the user might not believe us.
if(IsUsingWiimote(0))
- {
+ {
// TODO: more detail
PanicAlertT("Warning: You loaded a save whose movie mismatches on byte %d (0x%X). You should load another save before continuing, or load this state with read-only mode off. Otherwise you'll probably get a desync.", i+256, i+256);
memcpy(tmpInput, movInput, g_currentByte);
@@ -942,7 +942,7 @@ void PlayController(SPADStatus *PadStatus, int controllerID)
memcpy(&g_padState, &(tmpInput[g_currentByte]), 8);
g_currentByte += 8;
-
+
PadStatus->triggerLeft = g_padState.TriggerL;
PadStatus->triggerRight = g_padState.TriggerR;
@@ -953,7 +953,7 @@ void PlayController(SPADStatus *PadStatus, int controllerID)
PadStatus->substickY = g_padState.CStickY;
PadStatus->button |= PAD_USE_ORIGIN;
-
+
if(g_padState.A)
{
PadStatus->button |= PAD_BUTTON_A;
@@ -972,7 +972,7 @@ void PlayController(SPADStatus *PadStatus, int controllerID)
PadStatus->button |= PAD_TRIGGER_Z;
if(g_padState.Start)
PadStatus->button |= PAD_BUTTON_START;
-
+
if(g_padState.DPadUp)
PadStatus->button |= PAD_BUTTON_UP;
if(g_padState.DPadDown)
@@ -981,7 +981,7 @@ void PlayController(SPADStatus *PadStatus, int controllerID)
PadStatus->button |= PAD_BUTTON_LEFT;
if(g_padState.DPadRight)
PadStatus->button |= PAD_BUTTON_RIGHT;
-
+
if(g_padState.L)
PadStatus->button |= PAD_TRIGGER_L;
if(g_padState.R)
@@ -1053,19 +1053,19 @@ bool PlayWiimote(int wiimote, u8 *data, const WiimoteEmu::ReportFeatures& rptf,
EndPlayInput(!g_bReadOnly);
return false;
}
-
+
memcpy(data, &(tmpInput[g_currentByte]), size);
g_currentByte += size;
-
+
SetWiiInputDisplayString(wiimote, coreData, accelData, irData);
g_currentInputCount++;
-
+
CheckInputEnd();
return true;
}
-void EndPlayInput(bool cont)
+void EndPlayInput(bool cont)
{
if (cont)
{
@@ -1092,12 +1092,12 @@ void SaveRecording(const char *filename)
// Create the real header now and write it
DTMHeader header;
memset(&header, 0, sizeof(DTMHeader));
-
+
header.filetype[0] = 'D'; header.filetype[1] = 'T'; header.filetype[2] = 'M'; header.filetype[3] = 0x1A;
strncpy((char *)header.gameID, Core::g_CoreStartupParameter.GetUniqueID().c_str(), 6);
header.bWii = Core::g_CoreStartupParameter.bWii;
header.numControllers = g_numPads & (Core::g_CoreStartupParameter.bWii ? 0xFF : 0x0F);
-
+
header.bFromSaveState = g_bRecordingFromSaveState;
header.frameCount = g_totalFrames;
header.lagCount = g_totalLagCount;
@@ -1131,7 +1131,7 @@ void SaveRecording(const char *filename)
memcpy(header.revision, revision, ArraySize(header.revision));
// TODO
- header.uniqueID = 0;
+ header.uniqueID = 0;
// header.audioEmulator;
save_record.WriteArray(&header, 1);
@@ -1144,7 +1144,7 @@ void SaveRecording(const char *filename)
stateFilename.append(".sav");
success = File::Copy(tmpStateFilename, stateFilename);
}
-
+
if (success)
Core::DisplayMessage(StringFromFormat("DTM %s saved", filename).c_str(), 2000);
else
diff --git a/Source/Core/Core/Src/Movie.h b/Source/Core/Core/Src/Movie.h
index 423393c7a4..fcfa935cf4 100644
--- a/Source/Core/Core/Src/Movie.h
+++ b/Source/Core/Core/Src/Movie.h
@@ -41,7 +41,7 @@ struct ControllerState {
u8 TriggerL, TriggerR; // Triggers, 16 bits
u8 AnalogStickX, AnalogStickY; // Main Stick, 16 bits
u8 CStickX, CStickY; // Sub-Stick, 16 bits
-
+
}; // Total: 60 + 4 = 64 bits per frame
static_assert(sizeof(ControllerState) == 8, "ControllerState should be 8 bytes");
#pragma pack(pop)
diff --git a/Source/Core/Core/Src/NetPlayServer.cpp b/Source/Core/Core/Src/NetPlayServer.cpp
index 8cd6f08a9a..0049719a05 100644
--- a/Source/Core/Core/Src/NetPlayServer.cpp
+++ b/Source/Core/Core/Src/NetPlayServer.cpp
@@ -51,7 +51,7 @@ void NetPlayServer::ThreadFunc()
sf::Packet spac;
spac << (MessageId)NP_MSG_PING;
spac << m_ping_key;
-
+
std::lock_guard<std::recursive_mutex> lks(m_crit.send);
m_ping_timer.Start();
SendToClients(spac);
@@ -217,7 +217,7 @@ unsigned int NetPlayServer::OnConnect(sf::SocketTCP& socket)
UpdatePadMapping(); // sync pad mappings with everyone
UpdateWiimoteMapping();
}
-
+
// add client to selector/ used for receiving
m_selector.Add(socket);
@@ -255,7 +255,7 @@ unsigned int NetPlayServer::OnDisconnect(sf::SocketTCP& socket)
spac << pid;
m_selector.Remove(socket);
-
+
std::lock_guard<std::recursive_mutex> lkp(m_crit.players);
m_players.erase(m_players.find(socket));
@@ -386,7 +386,7 @@ unsigned int NetPlayServer::OnData(sf::Packet& packet, sf::SocketTCP& socket)
// then disconnect them.
if (m_pad_map[map] != player.pid)
return 1;
-
+
// Relay to clients
sf::Packet spac;
spac << (MessageId)NP_MSG_PAD_DATA;
diff --git a/Source/Core/Core/Src/PatchEngine.cpp b/Source/Core/Core/Src/PatchEngine.cpp
index e266e0d098..f4386ade6d 100644
--- a/Source/Core/Core/Src/PatchEngine.cpp
+++ b/Source/Core/Core/Src/PatchEngine.cpp
@@ -35,7 +35,7 @@ using namespace Common;
namespace PatchEngine
{
-const char *PatchTypeStrings[] =
+const char *PatchTypeStrings[] =
{
"byte",
"word",
@@ -54,9 +54,8 @@ void LoadPatchSection(const char *section, std::vector<Patch> &patches,
std::vector<std::string> enabledLines;
std::set<std::string> enabledNames;
localIni.GetLines(enabledSectionName.c_str(), enabledLines);
- for (auto iter = enabledLines.begin(); iter != enabledLines.end(); ++iter)
+ for (auto& line : enabledLines)
{
- const std::string& line = *iter;
if (line.size() != 0 && line[0] == '$')
{
std::string name = line.substr(1, line.size() - 1);
@@ -72,10 +71,8 @@ void LoadPatchSection(const char *section, std::vector<Patch> &patches,
Patch currentPatch;
inis[i]->GetLines(section, lines);
- for (auto iter = lines.begin(); iter != lines.end(); ++iter)
+ for (auto line : lines)
{
- std::string line = *iter;
-
if (line.size() == 0)
continue;
@@ -187,11 +184,11 @@ void LoadPatches()
void ApplyPatches(const std::vector<Patch> &patches)
{
- for (std::vector<Patch>::const_iterator iter = patches.begin(); iter != patches.end(); ++iter)
+ for (const auto& patch : patches)
{
- if (iter->active)
+ if (patch.active)
{
- for (std::vector<PatchEntry>::const_iterator iter2 = iter->entries.begin(); iter2 != iter->entries.end(); ++iter2)
+ for (std::vector<PatchEntry>::const_iterator iter2 = patch.entries.begin(); iter2 != patch.entries.end(); ++iter2)
{
u32 addr = iter2->address;
u32 value = iter2->value;
@@ -215,7 +212,7 @@ void ApplyPatches(const std::vector<Patch> &patches)
}
}
-void ApplyFramePatches()
+void ApplyFramePatches()
{
ApplyPatches(onFrame);
diff --git a/Source/Core/Core/Src/PowerPC/Gekko.h b/Source/Core/Core/Src/PowerPC/Gekko.h
index f4da1f800d..d4e6f8e4cb 100644
--- a/Source/Core/Core/Src/PowerPC/Gekko.h
+++ b/Source/Core/Core/Src/PowerPC/Gekko.h
@@ -76,7 +76,7 @@ union UGeckoInstruction
u32 OPCD_5 : 6;
};
struct
- {
+ {
u32 LK_2 : 1;
u32 AA_2 : 1;
// Branch displacement, signed 14-bit (right-extended by 0b00)
@@ -118,7 +118,7 @@ union UGeckoInstruction
u32 OPCD_9 : 6;
};
struct
- {
+ {
u32 UIMM_2 : 16;
u32 RA_4 : 5;
u32 L_3 : 1;
@@ -193,7 +193,7 @@ union UGeckoInstruction
};
// crxor
- struct
+ struct
{
u32 : 11;
// Source bit in the CR
@@ -206,7 +206,7 @@ union UGeckoInstruction
};
// mftb
- struct
+ struct
{
u32 : 11;
// Time base register
@@ -214,7 +214,7 @@ union UGeckoInstruction
u32 : 11;
};
- struct
+ struct
{
u32 : 11;
// Upper time base register
@@ -224,7 +224,7 @@ union UGeckoInstruction
u32 : 11;
};
- struct
+ struct
{
u32 : 18;
// Source field in the CR or FPSCR
@@ -234,7 +234,7 @@ union UGeckoInstruction
u32 : 6;
};
- struct
+ struct
{
u32 : 12;
// Field mask, identifies the CR fields to be updated by mtcrf
@@ -244,7 +244,7 @@ union UGeckoInstruction
u32 FD : 5;
u32 : 6;
};
- struct
+ struct
{
u32 : 6;
// Source FPR
@@ -266,7 +266,7 @@ union UGeckoInstruction
};
// paired single quantized load/store
- struct
+ struct
{
u32 : 7;
// Graphics quantization register to use
@@ -281,13 +281,13 @@ union UGeckoInstruction
u32 : 16;
};
- struct
+ struct
{
signed SIMM_12 : 12;
u32 : 20;
};
- struct
+ struct
{
u32 : 11;
// Number of bytes to use in lswi/stswi (0 means 32 bytes)
@@ -305,7 +305,7 @@ union UGeckoInstruction
union UGQR
{
u32 Hex;
- struct
+ struct
{
u32 ST_TYPE : 3;
u32 : 5;
@@ -338,7 +338,7 @@ union UFPR
// XER
union UReg_XER
{
- struct
+ struct
{
u32 BYTE_COUNT : 7;
u32 : 22;
@@ -542,7 +542,7 @@ union UReg_HID4
union UReg_SPR1
{
u32 Hex;
- struct
+ struct
{
u32 htaborg : 16;
u32 : 7;
@@ -634,7 +634,7 @@ union UReg_DMAL
union UReg_BAT_Up
{
- struct
+ struct
{
u32 VP : 1;
u32 VS : 1;
@@ -650,7 +650,7 @@ union UReg_BAT_Up
union UReg_BAT_Lo
{
- struct
+ struct
{
u32 PP : 2;
u32 : 1;
@@ -666,7 +666,7 @@ union UReg_BAT_Lo
union UReg_PTE
{
- struct
+ struct
{
u64 API : 6;
u64 H : 1;
@@ -703,7 +703,7 @@ enum EQuantizeType
};
// branches
-enum
+enum
{
BO_BRANCH_IF_CTR_0 = 2, // 3
BO_DONT_DECREMENT_FLAG = 4, // 2
diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.cpp
index 0082d9946b..dd71abcaeb 100644
--- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.cpp
+++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.cpp
@@ -10,11 +10,11 @@
#include "../../Host.h"
#include "../../IPC_HLE/WII_IPC_HLE.h"
-
#ifdef USE_GDBSTUB
#include "../GDBStub.h"
#endif
+#include <cinttypes>
namespace {
u32 last_pc;
@@ -79,7 +79,7 @@ void Trace( UGeckoInstruction &instCode )
std::string fregs = "";
for (int i=0; i<32; i++)
{
- sprintf(freg, "f%02d: %08llx %08llx ", i, PowerPC::ppcState.ps[i][0], PowerPC::ppcState.ps[i][1]);
+ sprintf(freg, "f%02d: %08" PRIx64 " %08" PRIx64 " ", i, PowerPC::ppcState.ps[i][0], PowerPC::ppcState.ps[i][1]);
fregs.append(freg);
}
diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.h b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.h
index cd46e7846b..dfbe4eb003 100644
--- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.h
+++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter.h
@@ -19,15 +19,15 @@
class Interpreter : public CPUCoreBase
{
public:
- void Init();
- void Shutdown();
+ void Init() override;
+ void Shutdown() override;
void Reset();
- void SingleStep();
+ void SingleStep() override;
int SingleStepInner();
- void Run();
- void ClearCache();
- const char *GetName();
+ void Run() override;
+ void ClearCache() override;
+ const char *GetName() override;
typedef void (*_interpreterInstruction)(UGeckoInstruction instCode);
@@ -281,7 +281,7 @@ public:
static void crxor(UGeckoInstruction _inst);
static void mcrf(UGeckoInstruction _inst);
static void rfi(UGeckoInstruction _inst);
- static void rfid(UGeckoInstruction _inst);
+ static void rfid(UGeckoInstruction _inst);
// static void sync(UGeckoInstruction _inst);
static void isync(UGeckoInstruction _inst);
diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Branch.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Branch.cpp
index 123c870edf..5a3dc9e467 100644
--- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Branch.cpp
+++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Branch.cpp
@@ -109,7 +109,7 @@ void Interpreter::rfi(UGeckoInstruction _inst)
m_EndBlock = true;
}
-void Interpreter::rfid(UGeckoInstruction _inst)
+void Interpreter::rfid(UGeckoInstruction _inst)
{
_dbg_assert_msg_(POWERPC, 0, "rfid instruction unimplemented (does this instruction even exist?)");
m_EndBlock = true;
diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FPUtils.h b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FPUtils.h
index 5509679ebc..d379bf7049 100644
--- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FPUtils.h
+++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FPUtils.h
@@ -115,7 +115,7 @@ inline double NI_mul(const double a, const double b)
}
inline double NI_add(const double a, const double b)
-{
+{
#ifdef VERY_ACCURATE_FP
if (a != a) return a;
if (b != b) return b;
@@ -132,7 +132,7 @@ inline double NI_add(const double a, const double b)
}
inline double NI_sub(const double a, const double b)
-{
+{
#ifdef VERY_ACCURATE_FP
if (a != a) return a;
if (b != b) return b;
@@ -224,7 +224,7 @@ inline u32 ConvertToSingle(u64 x)
}
}
-// used by psq_stXX operations.
+// used by psq_stXX operations.
inline u32 ConvertToSingleFTZ(u64 x)
{
u32 exp = (x >> 52) & 0x7ff;
diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp
index e1511c7997..daa02c20a1 100644
--- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp
+++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp
@@ -40,8 +40,8 @@ void Interpreter::fcmpo(UGeckoInstruction _inst)
int compareResult;
- if (fa < fb) compareResult = 8;
- else if (fa > fb) compareResult = 4;
+ if (fa < fb) compareResult = 8;
+ else if (fa > fb) compareResult = 4;
else if (fa == fb) compareResult = 2;
else
{
@@ -71,12 +71,12 @@ void Interpreter::fcmpu(UGeckoInstruction _inst)
int compareResult;
- if (fa < fb) compareResult = 8;
- else if (fa > fb) compareResult = 4;
+ if (fa < fb) compareResult = 8;
+ else if (fa > fb) compareResult = 4;
else if (fa == fb) compareResult = 2;
else
- {
- compareResult = 1;
+ {
+ compareResult = 1;
if (IsSNAN(fa) || IsSNAN(fb))
{
SetFPException(FPSCR_VXSNAN);
@@ -98,7 +98,7 @@ void Interpreter::fctiwx(UGeckoInstruction _inst)
FPSCR.FI = 0;
FPSCR.FR = 0;
}
- else if (b < -(double)0x80000000)
+ else if (b < -(double)0x80000000)
{
value = 0x80000000;
SetFPException(FPSCR_VXCVI);
@@ -141,7 +141,7 @@ void Interpreter::fctiwx(UGeckoInstruction _inst)
SetFI(1);
FPSCR.FR = fabs(di) > fabs(b);
}
- }
+ }
// based on HW tests
// FPRF is not affected
riPS0(_inst.FD) = 0xfff8000000000000ull | value;
@@ -190,7 +190,7 @@ void Interpreter::fctiwzx(UGeckoInstruction _inst)
// FPRF is not affected
riPS0(_inst.FD) = 0xfff8000000000000ull | value;
if (value == 0 && ( (*(u64*)&b) & DOUBLE_SIGN ))
- riPS0(_inst.FD) |= 0x100000000ull;
+ riPS0(_inst.FD) |= 0x100000000ull;
if (_inst.Rc)
Helper_UpdateCR1(rPS0(_inst.FD));
}
@@ -199,7 +199,7 @@ void Interpreter::fmrx(UGeckoInstruction _inst)
{
riPS0(_inst.FD) = riPS0(_inst.FB);
// This is a binary instruction. Does not alter FPSCR
- if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
+ if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
}
void Interpreter::fabsx(UGeckoInstruction _inst)
@@ -213,7 +213,7 @@ void Interpreter::fnabsx(UGeckoInstruction _inst)
{
riPS0(_inst.FD) = riPS0(_inst.FB) | (1ULL << 63);
// This is a binary instruction. Does not alter FPSCR
- if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
+ if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
}
void Interpreter::fnegx(UGeckoInstruction _inst)
@@ -251,7 +251,7 @@ void Interpreter::fmulx(UGeckoInstruction _inst)
FPSCR.FI = 0; // are these flags important?
FPSCR.FR = 0;
UpdateFPRF(rPS0(_inst.FD));
- if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
+ if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
}
void Interpreter::fmulsx(UGeckoInstruction _inst)
{
@@ -293,7 +293,7 @@ void Interpreter::faddsx(UGeckoInstruction _inst)
{
rPS0(_inst.FD) = rPS1(_inst.FD) = ForceSingle(NI_add(rPS0(_inst.FA), rPS0(_inst.FB)));
UpdateFPRF(rPS0(_inst.FD));
- if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
+ if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
}
void Interpreter::fdivx(UGeckoInstruction _inst)
@@ -305,7 +305,7 @@ void Interpreter::fdivx(UGeckoInstruction _inst)
else
{
rPS0(_inst.FD) = ForceDouble(a / b);
- if (b == 0.0)
+ if (b == 0.0)
{
if (a == 0.0)
{
@@ -366,7 +366,7 @@ void Interpreter::fresx(UGeckoInstruction _inst)
double b = rPS0(_inst.FB);
double one_over = ForceSingle(1.0 / b);
// this is based on the real hardware tests
- if (b != 0.0 && IsINF(one_over))
+ if (b != 0.0 && IsINF(one_over))
{
if (one_over > 0)
riPS0(_inst.FD) = riPS1(_inst.FD) = MAX_SINGLE;
@@ -388,7 +388,7 @@ void Interpreter::fresx(UGeckoInstruction _inst)
void Interpreter::frsqrtex(UGeckoInstruction _inst)
{
double b = rPS0(_inst.FB);
- if (b < 0.0)
+ if (b < 0.0)
{
SetFPException(FPSCR_VXSQRT);
rPS0(_inst.FD) = PPC_NAN;
@@ -432,7 +432,7 @@ void Interpreter::fmsubx(UGeckoInstruction _inst)
{
rPS0(_inst.FD) = ForceDouble(NI_msub( rPS0(_inst.FA), rPS0(_inst.FC), rPS0(_inst.FB) ));
UpdateFPRF(rPS0(_inst.FD));
- if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
+ if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
}
void Interpreter::fmsubsx(UGeckoInstruction _inst)
@@ -440,7 +440,7 @@ void Interpreter::fmsubsx(UGeckoInstruction _inst)
rPS0(_inst.FD) = rPS1(_inst.FD) =
ForceSingle( NI_msub(rPS0(_inst.FA), rPS0(_inst.FC), rPS0(_inst.FB) ));
UpdateFPRF(rPS0(_inst.FD));
- if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
+ if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
}
void Interpreter::fnmaddx(UGeckoInstruction _inst)
@@ -451,10 +451,10 @@ void Interpreter::fnmaddx(UGeckoInstruction _inst)
}
void Interpreter::fnmaddsx(UGeckoInstruction _inst)
{
- rPS0(_inst.FD) = rPS1(_inst.FD) =
+ rPS0(_inst.FD) = rPS1(_inst.FD) =
ForceSingle(-NI_madd(rPS0(_inst.FA), rPS0(_inst.FC), rPS0(_inst.FB)));
UpdateFPRF(rPS0(_inst.FD));
- if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
+ if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
}
void Interpreter::fnmsubx(UGeckoInstruction _inst)
@@ -470,7 +470,7 @@ void Interpreter::fnmsubsx(UGeckoInstruction _inst)
rPS0(_inst.FD) = rPS1(_inst.FD) =
ForceSingle(-NI_msub(rPS0(_inst.FA), rPS0(_inst.FC), rPS0(_inst.FB)));
UpdateFPRF(rPS0(_inst.FD));
- if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
+ if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
}
void Interpreter::fsubx(UGeckoInstruction _inst)
diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Integer.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Integer.cpp
index f25d3431ca..d09d9bf724 100644
--- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Integer.cpp
+++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Integer.cpp
@@ -46,7 +46,7 @@ u32 Interpreter::Helper_Mask(int mb, int me)
//do the bitflip
u32 mask = begin ^ end;
//and invert if backwards
- if (me < mb)
+ if (me < mb)
return ~mask;
else
return mask;
@@ -64,7 +64,7 @@ void Interpreter::addic(UGeckoInstruction _inst)
{
u32 a = m_GPR[_inst.RA];
u32 imm = (u32)(s32)_inst.SIMM_16;
- // TODO(ector): verify this thing
+ // TODO(ector): verify this thing
m_GPR[_inst.RD] = a + imm;
SetCarry(Helper_Carry(a, imm));
}
@@ -135,7 +135,7 @@ void Interpreter::subfic(UGeckoInstruction _inst)
// #define CALC_XER_CA(X,Y) (((X) + (Y) < X) ? SET_XER_CA : CLEAR_XER_CA)
if ((rra + immediate) < rra)
SetCarry(1);
- else
+ else
SetCarry(0);
m_GPR[_inst.RD] = rra - immediate;
@@ -146,7 +146,7 @@ void Interpreter::subfic(UGeckoInstruction _inst)
SetCarry((m_GPR[_inst.RA] == 0) || (Helper_Carry(0-m_GPR[_inst.RA], immediate)));
}
-void Interpreter::twi(UGeckoInstruction _inst)
+void Interpreter::twi(UGeckoInstruction _inst)
{
s32 a = m_GPR[_inst.RA];
s32 b = _inst.SIMM_16;
@@ -216,8 +216,8 @@ void Interpreter::cmp(UGeckoInstruction _inst)
{
s32 a = (s32)m_GPR[_inst.RA];
s32 b = (s32)m_GPR[_inst.RB];
- int fTemp = 0x8; // a < b
- // if (a < b) fTemp = 0x8; else
+ int fTemp = 0x8; // a < b
+ // if (a < b) fTemp = 0x8; else
if (a > b) fTemp = 0x4;
else if (a == b) fTemp = 0x2;
if (GetXER_SO()) PanicAlert("cmp getting overflow flag"); // fTemp |= 0x1
@@ -230,7 +230,7 @@ void Interpreter::cmpl(UGeckoInstruction _inst)
u32 b = m_GPR[_inst.RB];
u32 fTemp = 0x8; // a < b
- // if (a < b) fTemp = 0x8;else
+ // if (a < b) fTemp = 0x8;else
if (a > b) fTemp = 0x4;
else if (a == b) fTemp = 0x2;
if (GetXER_SO()) PanicAlert("cmpl getting overflow flag"); // fTemp |= 0x1;
@@ -243,7 +243,7 @@ void Interpreter::cntlzwx(UGeckoInstruction _inst)
u32 mask = 0x80000000;
int i = 0;
for (; i < 32; i++, mask >>= 1)
- if (val & mask)
+ if (val & mask)
break;
m_GPR[_inst.RA] = i;
if (_inst.Rc) Helper_UpdateCR0(m_GPR[_inst.RA]);
@@ -374,7 +374,7 @@ void Interpreter::srwx(UGeckoInstruction _inst)
if (_inst.Rc) Helper_UpdateCR0(m_GPR[_inst.RA]);
}
-void Interpreter::tw(UGeckoInstruction _inst)
+void Interpreter::tw(UGeckoInstruction _inst)
{
s32 a = m_GPR[_inst.RA];
s32 b = m_GPR[_inst.RB];
diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp
index d6adca6f38..3fb441f5b9 100644
--- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp
+++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp
@@ -214,7 +214,7 @@ void Interpreter::stmw(UGeckoInstruction _inst)
}
void Interpreter::lwz(UGeckoInstruction _inst)
-{
+{
u32 uAddress = Helper_Get_EA(_inst);
u32 temp = Memory::Read_U32(uAddress);
if (!(PowerPC::ppcState.Exceptions & EXCEPTION_DSI))
@@ -289,8 +289,8 @@ void Interpreter::stfs(UGeckoInstruction _inst)
}
void Interpreter::stfsu(UGeckoInstruction _inst)
-{
- u32 uAddress = Helper_Get_EA_U(_inst);
+{
+ u32 uAddress = Helper_Get_EA_U(_inst);
Memory::Write_U32(ConvertToSingle(riPS0(_inst.FS)), uAddress);
if (!(PowerPC::ppcState.Exceptions & EXCEPTION_DSI))
{
@@ -340,7 +340,7 @@ void Interpreter::dcbf(UGeckoInstruction _inst)
/* u32 tmp1 = Memory::Read_U32(PC+4);
u32 tmp2 = Memory::Read_U32(PC+8);
- if ((tmp1 == 0x38630020) &&
+ if ((tmp1 == 0x38630020) &&
(tmp2 == 0x4200fff8))
{
NPC = PC + 12;
@@ -424,7 +424,7 @@ void Interpreter::ecowx(UGeckoInstruction _inst)
}
if (EA & 3)
Common::AtomicOr(PowerPC::ppcState.Exceptions, EXCEPTION_ALIGNMENT);
-
+
// _assert_msg_(POWERPC,0,"ecowx - send stw request (%08x@%08x) to device %02x",
// m_GPR[_inst.RS], EA, PowerPC::ppcState.spr[SPR_EAR] & 0x1f);
@@ -441,7 +441,7 @@ void Interpreter::eieio(UGeckoInstruction _inst)
void Interpreter::icbi(UGeckoInstruction _inst)
{
- u32 address = Helper_Get_EA_X(_inst);
+ u32 address = Helper_Get_EA_X(_inst);
PowerPC::ppcState.iCache.Invalidate(address);
}
@@ -491,7 +491,7 @@ void Interpreter::lhbrx(UGeckoInstruction _inst)
if (!(PowerPC::ppcState.Exceptions & EXCEPTION_DSI))
{
m_GPR[_inst.RD] = temp;
- }
+ }
}
void Interpreter::lhzux(UGeckoInstruction _inst)
@@ -623,8 +623,8 @@ void Interpreter::stfiwx(UGeckoInstruction _inst)
void Interpreter::stfsux(UGeckoInstruction _inst)
-{
- u32 uAddress = Helper_Get_EA_UX(_inst);
+{
+ u32 uAddress = Helper_Get_EA_UX(_inst);
Memory::Write_U32(ConvertToSingle(riPS0(_inst.FS)), uAddress);
if (!(PowerPC::ppcState.Exceptions & EXCEPTION_DSI))
{
@@ -633,7 +633,7 @@ void Interpreter::stfsux(UGeckoInstruction _inst)
}
void Interpreter::stfsx(UGeckoInstruction _inst)
-{
+{
Memory::Write_U32(ConvertToSingle(riPS0(_inst.FS)), Helper_Get_EA_X(_inst));
}
@@ -833,7 +833,7 @@ void Interpreter::tlbia(UGeckoInstruction _inst)
{
// Gekko does not support this instructions.
PanicAlert("The GC CPU does not support tlbia");
- // invalid the whole TLB
+ // invalid the whole TLB
//MessageBox(0,"TLBIA","TLBIA",0);
}
diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStorePaired.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStorePaired.cpp
index e3364cc1b6..c90598772c 100644
--- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStorePaired.cpp
+++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStorePaired.cpp
@@ -24,7 +24,7 @@ const float m_dequantizeTable[] =
(1 << 12), (1 << 11), (1 << 10), (1 << 9),
(1 << 8), (1 << 7), (1 << 6), (1 << 5),
(1 << 4), (1 << 3), (1 << 2), (1 << 1),
-};
+};
// quantize table
const float m_quantizeTable[] =
@@ -45,7 +45,7 @@ const float m_quantizeTable[] =
1.0 / (1 << 12), 1.0 / (1 << 11), 1.0 / (1 << 10), 1.0 / (1 << 9),
1.0 / (1 << 8), 1.0 / (1 << 7), 1.0 / (1 << 6), 1.0 / (1 << 5),
1.0 / (1 << 4), 1.0 / (1 << 3), 1.0 / (1 << 2), 1.0 / (1 << 1),
-};
+};
template <class T>
inline T CLAMP(T a, T bottom, T top) {
@@ -54,12 +54,12 @@ inline T CLAMP(T a, T bottom, T top) {
return a;
}
-void Interpreter::Helper_Quantize(const u32 _Addr, const double _fValue,
+void Interpreter::Helper_Quantize(const u32 _Addr, const double _fValue,
const EQuantizeType _quantizeType, const unsigned int _uScale)
{
- switch (_quantizeType)
+ switch (_quantizeType)
{
- case QUANTIZE_FLOAT:
+ case QUANTIZE_FLOAT:
Memory::Write_U32( ConvertToSingleFTZ( *(u64*)&_fValue ), _Addr );
break;
@@ -67,28 +67,28 @@ void Interpreter::Helper_Quantize(const u32 _Addr, const double _fValue,
case QUANTIZE_U8:
{
float fResult = CLAMP((float)_fValue * m_quantizeTable[_uScale], 0.0f, 255.0f);
- Memory::Write_U8((u8)fResult, _Addr);
+ Memory::Write_U8((u8)fResult, _Addr);
}
break;
case QUANTIZE_U16:
{
float fResult = CLAMP((float)_fValue * m_quantizeTable[_uScale], 0.0f, 65535.0f);
- Memory::Write_U16((u16)fResult, _Addr);
+ Memory::Write_U16((u16)fResult, _Addr);
}
break;
case QUANTIZE_S8:
{
float fResult = CLAMP((float)_fValue * m_quantizeTable[_uScale], -128.0f, 127.0f);
- Memory::Write_U8((u8)(s8)fResult, _Addr);
+ Memory::Write_U8((u8)(s8)fResult, _Addr);
}
break;
case QUANTIZE_S16:
{
float fResult = CLAMP((float)_fValue * m_quantizeTable[_uScale], -32768.0f, 32767.0f);
- Memory::Write_U16((u16)(s16)fResult, _Addr);
+ Memory::Write_U16((u16)(s16)fResult, _Addr);
}
break;
@@ -98,7 +98,7 @@ void Interpreter::Helper_Quantize(const u32 _Addr, const double _fValue,
}
}
-float Interpreter::Helper_Dequantize(const u32 _Addr, const EQuantizeType _quantizeType,
+float Interpreter::Helper_Dequantize(const u32 _Addr, const EQuantizeType _quantizeType,
const unsigned int _uScale)
{
// dequantize the value
@@ -113,15 +113,15 @@ float Interpreter::Helper_Dequantize(const u32 _Addr, const EQuantizeType _quant
break;
case QUANTIZE_U8:
- fResult = static_cast<float>(Memory::Read_U8(_Addr)) * m_dequantizeTable[_uScale];
+ fResult = static_cast<float>(Memory::Read_U8(_Addr)) * m_dequantizeTable[_uScale];
break;
case QUANTIZE_U16:
- fResult = static_cast<float>(Memory::Read_U16(_Addr)) * m_dequantizeTable[_uScale];
+ fResult = static_cast<float>(Memory::Read_U16(_Addr)) * m_dequantizeTable[_uScale];
break;
case QUANTIZE_S8:
- fResult = static_cast<float>((s8)Memory::Read_U8(_Addr)) * m_dequantizeTable[_uScale];
+ fResult = static_cast<float>((s8)Memory::Read_U8(_Addr)) * m_dequantizeTable[_uScale];
break;
// used for THP player
@@ -137,7 +137,7 @@ float Interpreter::Helper_Dequantize(const u32 _Addr, const EQuantizeType _quant
return fResult;
}
-void Interpreter::psq_l(UGeckoInstruction _inst)
+void Interpreter::psq_l(UGeckoInstruction _inst)
{
const UGQR gqr(rSPR(SPR_GQR0 + _inst.I));
const EQuantizeType ldType = static_cast<EQuantizeType>(gqr.LD_TYPE);
diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Paired.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Paired.cpp
index ebf19c8cd4..991ae89b6e 100644
--- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Paired.cpp
+++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Paired.cpp
@@ -34,15 +34,15 @@ void Interpreter::ps_mr(UGeckoInstruction _inst)
void Interpreter::ps_nabs(UGeckoInstruction _inst)
{
- riPS0(_inst.FD) = riPS0(_inst.FB) | (1ULL << 63);
- riPS1(_inst.FD) = riPS1(_inst.FB) | (1ULL << 63);
+ riPS0(_inst.FD) = riPS0(_inst.FB) | (1ULL << 63);
+ riPS1(_inst.FD) = riPS1(_inst.FB) | (1ULL << 63);
if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
}
void Interpreter::ps_abs(UGeckoInstruction _inst)
{
- riPS0(_inst.FD) = riPS0(_inst.FB) &~ (1ULL << 63);
- riPS1(_inst.FD) = riPS1(_inst.FB) &~ (1ULL << 63);
+ riPS0(_inst.FD) = riPS0(_inst.FB) &~ (1ULL << 63);
+ riPS1(_inst.FD) = riPS1(_inst.FB) &~ (1ULL << 63);
if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
}
@@ -85,7 +85,7 @@ void Interpreter::ps_merge11(UGeckoInstruction _inst)
// From here on, the real deal.
void Interpreter::ps_div(UGeckoInstruction _inst)
-{
+{
u32 ex_mask = 0;
// PS0
@@ -164,7 +164,7 @@ void Interpreter::ps_div(UGeckoInstruction _inst)
}
}
- SetFPException(ex_mask);
+ SetFPException(ex_mask);
UpdateFPRF(rPS0(_inst.FD));
if (_inst.Rc) Helper_UpdateCR1(rPS0(_inst.FD));
}
@@ -358,10 +358,10 @@ void Interpreter::ps_cmpu0(UGeckoInstruction _inst)
double fb = rPS0(_inst.FB);
int compareResult;
- if (fa < fb) compareResult = 8;
- else if (fa > fb) compareResult = 4;
+ if (fa < fb) compareResult = 8;
+ else if (fa > fb) compareResult = 4;
else if (fa == fb) compareResult = 2;
- else
+ else
{
compareResult = 1;
if (IsSNAN(fa) || IsSNAN(fb))
@@ -370,17 +370,17 @@ void Interpreter::ps_cmpu0(UGeckoInstruction _inst)
}
}
FPSCR.FPRF = compareResult;
- SetCRField(_inst.CRFD, compareResult);
+ SetCRField(_inst.CRFD, compareResult);
}
void Interpreter::ps_cmpo0(UGeckoInstruction _inst)
-{
+{
double fa = rPS0(_inst.FA);
double fb = rPS0(_inst.FB);
int compareResult;
- if (fa < fb) compareResult = 8;
- else if (fa > fb) compareResult = 4;
+ if (fa < fb) compareResult = 8;
+ else if (fa > fb) compareResult = 4;
else if (fa == fb) compareResult = 2;
else
{
@@ -388,17 +388,17 @@ void Interpreter::ps_cmpo0(UGeckoInstruction _inst)
if (IsSNAN(fa) || IsSNAN(fb))
{
SetFPException(FPSCR_VXSNAN);
- if (!FPSCR.VE)
+ if (!FPSCR.VE)
SetFPException(FPSCR_VXVC);
}
- else
+ else
{
//if (IsQNAN(fa) || IsQNAN(fb)) // this is always true
SetFPException(FPSCR_VXVC);
}
}
FPSCR.FPRF = compareResult;
- SetCRField(_inst.CRFD, compareResult);
+ SetCRField(_inst.CRFD, compareResult);
}
void Interpreter::ps_cmpu1(UGeckoInstruction _inst)
@@ -407,10 +407,10 @@ void Interpreter::ps_cmpu1(UGeckoInstruction _inst)
double fb = rPS1(_inst.FB);
int compareResult;
- if (fa < fb) compareResult = 8;
- else if (fa > fb) compareResult = 4;
+ if (fa < fb) compareResult = 8;
+ else if (fa > fb) compareResult = 4;
else if (fa == fb) compareResult = 2;
- else
+ else
{
compareResult = 1;
if (IsSNAN(fa) || IsSNAN(fb))
@@ -419,17 +419,17 @@ void Interpreter::ps_cmpu1(UGeckoInstruction _inst)
}
}
FPSCR.FPRF = compareResult;
- SetCRField(_inst.CRFD, compareResult);
+ SetCRField(_inst.CRFD, compareResult);
}
void Interpreter::ps_cmpo1(UGeckoInstruction _inst)
-{
+{
double fa = rPS1(_inst.FA);
double fb = rPS1(_inst.FB);
int compareResult;
- if (fa < fb) compareResult = 8;
- else if (fa > fb) compareResult = 4;
+ if (fa < fb) compareResult = 8;
+ else if (fa > fb) compareResult = 4;
else if (fa == fb) compareResult = 2;
else
{
@@ -437,17 +437,17 @@ void Interpreter::ps_cmpo1(UGeckoInstruction _inst)
if (IsSNAN(fa) || IsSNAN(fb))
{
SetFPException(FPSCR_VXSNAN);
- if (!FPSCR.VE)
+ if (!FPSCR.VE)
SetFPException(FPSCR_VXVC);
}
- else
+ else
{
//if (IsQNAN(fa) || IsQNAN(fb)) // this is always true
SetFPException(FPSCR_VXVC);
}
}
FPSCR.FPRF = compareResult;
- SetCRField(_inst.CRFD, compareResult);
+ SetCRField(_inst.CRFD, compareResult);
}
// __________________________________________________________________________________________________
diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp
index 5f05d9b3b3..688d166608 100644
--- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp
+++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp
@@ -40,7 +40,7 @@ static void FPSCRtoFPUSettings(UReg_FPSCR fp)
{
FPURoundMode::SetRoundMode(fp.RN);
-
+
if (fp.VE || fp.OE || fp.UE || fp.ZE || fp.XE)
{
//PanicAlert("FPSCR - exceptions enabled. Please report. VE=%i OE=%i UE=%i ZE=%i XE=%i",
@@ -80,7 +80,7 @@ void Interpreter::mtfsb1x(UGeckoInstruction _inst)
SetFPException(b);
else
FPSCR.Hex |= b;
- FPSCRtoFPUSettings(FPSCR);
+ FPSCRtoFPUSettings(FPSCR);
if (_inst.Rc) PanicAlert("mtfsb1x: inst_.Rc");
}
@@ -124,7 +124,7 @@ void Interpreter::mtfsfx(UGeckoInstruction _inst)
void Interpreter::mcrxr(UGeckoInstruction _inst)
{
// USES_XER
- SetCRField(_inst.CRFD, PowerPC::ppcState.spr[SPR_XER] >> 28);
+ SetCRField(_inst.CRFD, PowerPC::ppcState.spr[SPR_XER] >> 28);
PowerPC::ppcState.spr[SPR_XER] &= ~0xF0000000; // clear 0-3
}
@@ -218,7 +218,7 @@ void Interpreter::mfspr(UGeckoInstruction _inst)
//XER LR CTR are the only ones available in user mode, time base can be read too.
//Gamecube games always run in superuser mode, but hey....
- switch (iIndex)
+ switch (iIndex)
{
case SPR_DEC:
if ((rSPR(iIndex) & 0x80000000) == 0) // We are still decrementing
@@ -241,7 +241,7 @@ void Interpreter::mfspr(UGeckoInstruction _inst)
rSPR(iIndex) |= 1; // BNE = buffer not empty
else
rSPR(iIndex) &= ~1;
- }
+ }
break;
}
m_GPR[_inst.RD] = rSPR(iIndex);
@@ -343,13 +343,13 @@ void Interpreter::mtspr(UGeckoInstruction _inst)
case SPR_DMAL:
// Locked cache<->Memory DMA
// Total fake, we ignore that DMAs take time.
- if (DMAL.DMA_T)
+ if (DMAL.DMA_T)
{
u32 dwMemAddress = DMAU.MEM_ADDR << 5;
u32 dwCacheAddress = DMAL.LC_ADDR << 5;
u32 iLength = ((DMAU.DMA_LEN_U << 2) | DMAL.DMA_LEN_L);
// INFO_LOG(POWERPC, "DMA: mem = %x, cache = %x, len = %u, LD = %d, PC=%x", dwMemAddress, dwCacheAddress, iLength, (int)DMAL.DMA_LD, PC);
- if (iLength == 0)
+ if (iLength == 0)
iLength = 128;
if (DMAL.DMA_LD)
Memory::DMA_MemoryToLC(dwCacheAddress, dwMemAddress, iLength);
@@ -465,7 +465,7 @@ void Interpreter::mcrfs(UGeckoInstruction _inst)
FPSCR.VXCVI = 0;
break;
}
- SetCRField(_inst.CRFD, fpflags);
+ SetCRField(_inst.CRFD, fpflags);
}
void Interpreter::mffsx(UGeckoInstruction _inst)
diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Tables.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Tables.cpp
index f1403bed87..882b9d01da 100644
--- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Tables.cpp
+++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_Tables.cpp
@@ -13,7 +13,7 @@ struct GekkoOPTemplate
GekkoOPInfo opinfo;
};
-static GekkoOPTemplate primarytable[] =
+static GekkoOPTemplate primarytable[] =
{
{4, Interpreter::RunTable4, {"RunTable4", OPTYPE_SUBTABLE | (4<<24), 0, 0, 0, 0, 0}},
{19, Interpreter::RunTable19, {"RunTable19", OPTYPE_SUBTABLE | (19<<24), 0, 0, 0, 0, 0}},
@@ -95,7 +95,7 @@ static GekkoOPTemplate primarytable[] =
{58, Interpreter::unknown_instruction, {"unknown_instruction", OPTYPE_UNKNOWN, 0, 0, 0, 0, 0}},
};
-static GekkoOPTemplate table4[] =
+static GekkoOPTemplate table4[] =
{ //SUBOP10
{0, Interpreter::ps_cmpu0, {"ps_cmpu0", OPTYPE_PS, FL_SET_CRn | FL_USE_FPU, 0, 0, 0, 0}},
{32, Interpreter::ps_cmpo0, {"ps_cmpo0", OPTYPE_PS, FL_SET_CRn | FL_USE_FPU, 0, 0, 0, 0}},
@@ -111,9 +111,9 @@ static GekkoOPTemplate table4[] =
{624, Interpreter::ps_merge11, {"ps_merge11", OPTYPE_PS, FL_RC_BIT | FL_USE_FPU, 0, 0, 0, 0}},
{1014, Interpreter::dcbz_l, {"dcbz_l", OPTYPE_SYSTEM, 0, 0, 0, 0, 0}},
-};
+};
-static GekkoOPTemplate table4_2[] =
+static GekkoOPTemplate table4_2[] =
{
{10, Interpreter::ps_sum0, {"ps_sum0", OPTYPE_PS, FL_USE_FPU, 0, 0, 0, 0}},
{11, Interpreter::ps_sum1, {"ps_sum1", OPTYPE_PS, FL_USE_FPU, 0, 0, 0, 0}},
@@ -135,15 +135,15 @@ static GekkoOPTemplate table4_2[] =
};
-static GekkoOPTemplate table4_3[] =
+static GekkoOPTemplate table4_3[] =
{
{6, Interpreter::psq_lx, {"psq_lx", OPTYPE_PS, FL_USE_FPU | FL_LOADSTORE, 0, 0, 0, 0}},
{7, Interpreter::psq_stx, {"psq_stx", OPTYPE_PS, FL_USE_FPU | FL_LOADSTORE, 0, 0, 0, 0}},
{38, Interpreter::psq_lux, {"psq_lux", OPTYPE_PS, FL_USE_FPU | FL_LOADSTORE, 0, 0, 0, 0}},
- {39, Interpreter::psq_stux, {"psq_stux", OPTYPE_PS, FL_USE_FPU | FL_LOADSTORE, 0, 0, 0, 0}},
+ {39, Interpreter::psq_stux, {"psq_stux", OPTYPE_PS, FL_USE_FPU | FL_LOADSTORE, 0, 0, 0, 0}},
};
-static GekkoOPTemplate table19[] =
+static GekkoOPTemplate table19[] =
{
{528, Interpreter::bcctrx, {"bcctrx", OPTYPE_BRANCH, FL_ENDBLOCK, 0, 0, 0, 0}},
{16, Interpreter::bclrx, {"bclrx", OPTYPE_BRANCH, FL_ENDBLOCK, 0, 0, 0, 0}},
@@ -155,16 +155,16 @@ static GekkoOPTemplate table19[] =
{449, Interpreter::cror, {"cror", OPTYPE_CR, FL_EVIL, 0, 0, 0, 0}},
{417, Interpreter::crorc, {"crorc", OPTYPE_CR, FL_EVIL, 0, 0, 0, 0}},
{193, Interpreter::crxor, {"crxor", OPTYPE_CR, FL_EVIL, 0, 0, 0, 0}},
-
+
{150, Interpreter::isync, {"isync", OPTYPE_ICACHE, FL_EVIL, 0, 0, 0, 0}},
{0, Interpreter::mcrf, {"mcrf", OPTYPE_SYSTEM, FL_EVIL, 0, 0, 0, 0}},
-
+
{50, Interpreter::rfi, {"rfi", OPTYPE_SYSTEM, FL_ENDBLOCK | FL_CHECKEXCEPTIONS, 1, 0, 0, 0}},
{18, Interpreter::rfid, {"rfid", OPTYPE_SYSTEM, FL_ENDBLOCK | FL_CHECKEXCEPTIONS, 0, 0, 0, 0}}
};
-static GekkoOPTemplate table31[] =
+static GekkoOPTemplate table31[] =
{
{28, Interpreter::andx, {"andx", OPTYPE_INTEGER, FL_OUT_A | FL_IN_SB | FL_RC_BIT, 0, 0, 0, 0}},
{60, Interpreter::andcx, {"andcx", OPTYPE_INTEGER, FL_OUT_A | FL_IN_SB | FL_RC_BIT, 0, 0, 0, 0}},
@@ -191,7 +191,7 @@ static GekkoOPTemplate table31[] =
{470, Interpreter::dcbi, {"dcbi", OPTYPE_DCACHE, 0, 4, 0, 0, 0}},
{758, Interpreter::dcba, {"dcba", OPTYPE_DCACHE, 0, 4, 0, 0, 0}},
{1014, Interpreter::dcbz, {"dcbz", OPTYPE_DCACHE, FL_LOADSTORE, 4, 0, 0, 0}},
-
+
//load word
{23, Interpreter::lwzx, {"lwzx", OPTYPE_LOAD, FL_OUT_D | FL_IN_A0 | FL_IN_B | FL_LOADSTORE, 0, 0, 0, 0}},
{55, Interpreter::lwzux, {"lwzux", OPTYPE_LOAD, FL_OUT_D | FL_OUT_A | FL_IN_A | FL_IN_B | FL_LOADSTORE, 0, 0, 0, 0}},
@@ -207,7 +207,7 @@ static GekkoOPTemplate table31[] =
//load byte
{87, Interpreter::lbzx, {"lbzx", OPTYPE_LOAD, FL_OUT_D | FL_IN_A0 | FL_IN_B | FL_LOADSTORE, 0, 0, 0, 0}},
{119, Interpreter::lbzux, {"lbzux", OPTYPE_LOAD, FL_OUT_D | FL_OUT_A | FL_IN_A | FL_IN_B | FL_LOADSTORE, 0, 0, 0, 0}},
-
+
//load byte reverse
{534, Interpreter::lwbrx, {"lwbrx", OPTYPE_LOAD, FL_OUT_D | FL_IN_A0 | FL_IN_B | FL_LOADSTORE, 0, 0, 0, 0}},
{790, Interpreter::lhbrx, {"lhbrx", OPTYPE_LOAD, FL_OUT_D | FL_IN_A0 | FL_IN_B | FL_LOADSTORE, 0, 0, 0, 0}},
@@ -239,7 +239,7 @@ static GekkoOPTemplate table31[] =
{661, Interpreter::stswx, {"stswx", OPTYPE_STORE, FL_EVIL | FL_LOADSTORE, 0, 0, 0, 0}},
{725, Interpreter::stswi, {"stswi", OPTYPE_STORE, FL_EVIL | FL_LOADSTORE, 0, 0, 0, 0}},
- // fp load/store
+ // fp load/store
{535, Interpreter::lfsx, {"lfsx", OPTYPE_LOADFP, FL_IN_A0 | FL_IN_B | FL_USE_FPU | FL_LOADSTORE, 0, 0, 0, 0}},
{567, Interpreter::lfsux, {"lfsux", OPTYPE_LOADFP, FL_IN_A | FL_IN_B | FL_USE_FPU | FL_LOADSTORE, 0, 0, 0, 0}},
{599, Interpreter::lfdx, {"lfdx", OPTYPE_LOADFP, FL_IN_A0 | FL_IN_B | FL_USE_FPU | FL_LOADSTORE, 0, 0, 0, 0}},
@@ -277,8 +277,8 @@ static GekkoOPTemplate table31[] =
{566, Interpreter::tlbsync, {"tlbsync", OPTYPE_SYSTEM, 0, 0, 0, 0, 0}},
};
-static GekkoOPTemplate table31_2[] =
-{
+static GekkoOPTemplate table31_2[] =
+{
{266, Interpreter::addx, {"addx", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_RC_BIT, 0, 0, 0, 0}},
{778, Interpreter::addx, {"addox", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_RC_BIT, 0, 0, 0, 0}},
{10, Interpreter::addcx, {"addcx", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_SET_CA | FL_RC_BIT, 0, 0, 0, 0}},
@@ -305,19 +305,19 @@ static GekkoOPTemplate table31_2[] =
{200, Interpreter::subfzex, {"subfzex", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_READ_CA | FL_SET_CA | FL_RC_BIT, 0, 0, 0, 0}},
};
-static GekkoOPTemplate table59[] =
+static GekkoOPTemplate table59[] =
{
{18, Interpreter::fdivsx, {"fdivsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 16, 0, 0, 0}}, // TODO
- {20, Interpreter::fsubsx, {"fsubsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
- {21, Interpreter::faddsx, {"faddsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
+ {20, Interpreter::fsubsx, {"fsubsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
+ {21, Interpreter::faddsx, {"faddsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
// {22, Interpreter::fsqrtsx, {"fsqrtsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}}, // Not implemented on gekko
- {24, Interpreter::fresx, {"fresx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
- {25, Interpreter::fmulsx, {"fmulsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
- {28, Interpreter::fmsubsx, {"fmsubsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
- {29, Interpreter::fmaddsx, {"fmaddsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
- {30, Interpreter::fnmsubsx, {"fnmsubsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
- {31, Interpreter::fnmaddsx, {"fnmaddsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
-};
+ {24, Interpreter::fresx, {"fresx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
+ {25, Interpreter::fmulsx, {"fmulsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
+ {28, Interpreter::fmsubsx, {"fmsubsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
+ {29, Interpreter::fmaddsx, {"fmaddsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
+ {30, Interpreter::fnmsubsx, {"fnmsubsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
+ {31, Interpreter::fnmaddsx, {"fnmaddsx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
+};
static GekkoOPTemplate table63[] =
{
@@ -339,7 +339,7 @@ static GekkoOPTemplate table63[] =
{711, Interpreter::mtfsfx, {"mtfsfx", OPTYPE_SYSTEMFP, FL_USE_FPU, 2, 0, 0, 0}},
};
-static GekkoOPTemplate table63_2[] =
+static GekkoOPTemplate table63_2[] =
{
{18, Interpreter::fdivx, {"fdivx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 30, 0, 0, 0}},
{20, Interpreter::fsubx, {"fsubx", OPTYPE_FPU, FL_RC_BIT_F | FL_USE_FPU, 0, 0, 0, 0}},
@@ -364,7 +364,7 @@ void InitTables()
return;
//clear
- for (int i = 0; i < 32; i++)
+ for (int i = 0; i < 32; i++)
{
Interpreter::m_opTable59[i] = Interpreter::unknown_instruction;
m_infoTable59[i] = 0;
@@ -376,118 +376,118 @@ void InitTables()
Interpreter::m_opTable19[i] = Interpreter::unknown_instruction;
Interpreter::m_opTable31[i] = Interpreter::unknown_instruction;
Interpreter::m_opTable63[i] = Interpreter::unknown_instruction;
- m_infoTable4[i] = 0;
- m_infoTable19[i] = 0;
- m_infoTable31[i] = 0;
- m_infoTable63[i] = 0;
+ m_infoTable4[i] = 0;
+ m_infoTable19[i] = 0;
+ m_infoTable31[i] = 0;
+ m_infoTable63[i] = 0;
}
- for (int i = 0; i < (int)(sizeof(primarytable) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : primarytable)
{
- Interpreter::m_opTable[primarytable[i].opcode] = primarytable[i].Inst;
- m_infoTable[primarytable[i].opcode] = &primarytable[i].opinfo;
+ Interpreter::m_opTable[tpl.opcode] = tpl.Inst;
+ m_infoTable[tpl.opcode] = &tpl.opinfo;
}
for (int i = 0; i < 32; i++)
{
int fill = i << 5;
- for (int j = 0; j < (int)(sizeof(table4_2) / sizeof(GekkoOPTemplate)); j++)
+ for (auto& tpl : table4_2)
{
- int op = fill+table4_2[j].opcode;
- Interpreter::m_opTable4[op] = table4_2[j].Inst;
- m_infoTable4[op] = &table4_2[j].opinfo;
+ int op = fill+tpl.opcode;
+ Interpreter::m_opTable4[op] = tpl.Inst;
+ m_infoTable4[op] = &tpl.opinfo;
}
}
for (int i = 0; i < 16; i++)
{
int fill = i << 6;
- for (int j = 0; j < (int)(sizeof(table4_3) / sizeof(GekkoOPTemplate)); j++)
+ for (auto& tpl : table4_3)
{
- int op = fill+table4_3[j].opcode;
- Interpreter::m_opTable4[op] = table4_3[j].Inst;
- m_infoTable4[op] = &table4_3[j].opinfo;
+ int op = fill+tpl.opcode;
+ Interpreter::m_opTable4[op] = tpl.Inst;
+ m_infoTable4[op] = &tpl.opinfo;
}
}
- for (int i = 0; i < (int)(sizeof(table4) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table4)
{
- int op = table4[i].opcode;
- Interpreter::m_opTable4[op] = table4[i].Inst;
- m_infoTable4[op] = &table4[i].opinfo;
+ int op = tpl.opcode;
+ Interpreter::m_opTable4[op] = tpl.Inst;
+ m_infoTable4[op] = &tpl.opinfo;
}
- for (int i = 0; i < (int)(sizeof(table31) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table31)
{
- int op = table31[i].opcode;
- Interpreter::m_opTable31[op] = table31[i].Inst;
- m_infoTable31[op] = &table31[i].opinfo;
+ int op = tpl.opcode;
+ Interpreter::m_opTable31[op] = tpl.Inst;
+ m_infoTable31[op] = &tpl.opinfo;
}
for (int i = 0; i < 1; i++)
{
int fill = i << 9;
- for (int j = 0; j < (int)(sizeof(table31_2) / sizeof(GekkoOPTemplate)); j++)
+ for (auto& tpl : table31_2)
{
- int op = fill + table31_2[j].opcode;
- Interpreter::m_opTable31[op] = table31_2[j].Inst;
- m_infoTable31[op] = &table31_2[j].opinfo;
+ int op = fill + tpl.opcode;
+ Interpreter::m_opTable31[op] = tpl.Inst;
+ m_infoTable31[op] = &tpl.opinfo;
}
}
- for (int i = 0; i < (int)(sizeof(table19) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table19)
{
- int op = table19[i].opcode;
- Interpreter::m_opTable19[op] = table19[i].Inst;
- m_infoTable19[op] = &table19[i].opinfo;
+ int op = tpl.opcode;
+ Interpreter::m_opTable19[op] = tpl.Inst;
+ m_infoTable19[op] = &tpl.opinfo;
}
- for (int i = 0; i < (int)(sizeof(table59) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table59)
{
- int op = table59[i].opcode;
- Interpreter::m_opTable59[op] = table59[i].Inst;
- m_infoTable59[op] = &table59[i].opinfo;
+ int op = tpl.opcode;
+ Interpreter::m_opTable59[op] = tpl.Inst;
+ m_infoTable59[op] = &tpl.opinfo;
}
- for (int i = 0; i < (int)(sizeof(table63) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table63)
{
- int op = table63[i].opcode;
- Interpreter::m_opTable63[op] = table63[i].Inst;
- m_infoTable63[op] = &table63[i].opinfo;
+ int op = tpl.opcode;
+ Interpreter::m_opTable63[op] = tpl.Inst;
+ m_infoTable63[op] = &tpl.opinfo;
}
for (int i = 0; i < 32; i++)
{
int fill = i << 5;
- for (int j = 0; j < (int)(sizeof(table63_2) / sizeof(GekkoOPTemplate)); j++)
+ for (auto& tpl : table63_2)
{
- int op = fill + table63_2[j].opcode;
- Interpreter::m_opTable63[op] = table63_2[j].Inst;
- m_infoTable63[op] = &table63_2[j].opinfo;
+ int op = fill + tpl.opcode;
+ Interpreter::m_opTable63[op] = tpl.Inst;
+ m_infoTable63[op] = &tpl.opinfo;
}
}
m_numInstructions = 0;
- for (int i = 0; i < (int)(sizeof(primarytable) / sizeof(GekkoOPTemplate)); i++)
- m_allInstructions[m_numInstructions++] = &primarytable[i].opinfo;
- for (int i = 0; i < (int)(sizeof(table4_2) / sizeof(GekkoOPTemplate)); i++)
- m_allInstructions[m_numInstructions++] = &table4_2[i].opinfo;
- for (int i = 0; i < (int)(sizeof(table4_3) / sizeof(GekkoOPTemplate)); i++)
- m_allInstructions[m_numInstructions++] = &table4_3[i].opinfo;
- for (int i = 0; i < (int)(sizeof(table4) / sizeof(GekkoOPTemplate)); i++)
- m_allInstructions[m_numInstructions++] = &table4[i].opinfo;
- for (int i = 0; i < (int)(sizeof(table31) / sizeof(GekkoOPTemplate)); i++)
- m_allInstructions[m_numInstructions++] = &table31[i].opinfo;
- for (int i = 0; i < (int)(sizeof(table31_2) / sizeof(GekkoOPTemplate)); i++)
- m_allInstructions[m_numInstructions++] = &table31_2[i].opinfo;
- for (int i = 0; i < (int)(sizeof(table19) / sizeof(GekkoOPTemplate)); i++)
- m_allInstructions[m_numInstructions++] = &table19[i].opinfo;
- for (int i = 0; i < (int)(sizeof(table59) / sizeof(GekkoOPTemplate)); i++)
- m_allInstructions[m_numInstructions++] = &table59[i].opinfo;
- for (int i = 0; i < (int)(sizeof(table63) / sizeof(GekkoOPTemplate)); i++)
- m_allInstructions[m_numInstructions++] = &table63[i].opinfo;
- for (int i = 0; i < (int)(sizeof(table63_2) / sizeof(GekkoOPTemplate)); i++)
- m_allInstructions[m_numInstructions++] = &table63_2[i].opinfo;
+ for (auto& tpl : primarytable)
+ m_allInstructions[m_numInstructions++] = &tpl.opinfo;
+ for (auto& tpl : table4_2)
+ m_allInstructions[m_numInstructions++] = &tpl.opinfo;
+ for (auto& tpl : table4_3)
+ m_allInstructions[m_numInstructions++] = &tpl.opinfo;
+ for (auto& tpl : table4)
+ m_allInstructions[m_numInstructions++] = &tpl.opinfo;
+ for (auto& tpl : table31)
+ m_allInstructions[m_numInstructions++] = &tpl.opinfo;
+ for (auto& tpl : table31_2)
+ m_allInstructions[m_numInstructions++] = &tpl.opinfo;
+ for (auto& tpl : table19)
+ m_allInstructions[m_numInstructions++] = &tpl.opinfo;
+ for (auto& tpl : table59)
+ m_allInstructions[m_numInstructions++] = &tpl.opinfo;
+ for (auto& tpl : table63)
+ m_allInstructions[m_numInstructions++] = &tpl.opinfo;
+ for (auto& tpl : table63_2)
+ m_allInstructions[m_numInstructions++] = &tpl.opinfo;
if (m_numInstructions >= 512) {
PanicAlert("m_allInstructions underdimensioned");
}
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit.cpp
index d7f4125046..394c7bc86a 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/Jit.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit.cpp
@@ -60,7 +60,7 @@ using namespace PowerPC;
// will be as small to be negligible, so I haven't dirtied up the code with that. AMD recommends it in their
// optimization manuals, though.
//
-// We support block linking. Reserve space at the exits of every block for a full 5-byte jmp. Save 16-bit offsets
+// We support block linking. Reserve space at the exits of every block for a full 5-byte jmp. Save 16-bit offsets
// from the starts of each block, marking the exits so that they can be nicely patched at any time.
//
// Blocks do NOT use call/ret, they only jmp to each other and to the dispatcher when necessary.
@@ -94,7 +94,7 @@ using namespace PowerPC;
CR2-CR4 are non-volatile, rest of CR is volatile -> dropped on blr.
R5-R12 are volatile -> dropped on blr.
* classic inlining across calls.
-
+
Low hanging fruit:
stfd -- guaranteed in memory
cmpl
@@ -183,7 +183,7 @@ void Jit64::Init()
asm_routines.Init();
}
-void Jit64::ClearCache()
+void Jit64::ClearCache()
{
blocks.Clear();
trampolines.ClearCodeSpace();
@@ -286,7 +286,7 @@ void Jit64::WriteExit(u32 destination, int exit_num)
JitBlock *b = js.curBlock;
b->exitAddress[exit_num] = destination;
b->exitPtrs[exit_num] = GetWritableCodePtr();
-
+
// Link opportunity!
if (jo.enableBlocklink)
{
@@ -303,21 +303,21 @@ void Jit64::WriteExit(u32 destination, int exit_num)
JMP(asm_routines.dispatcher, true);
}
-void Jit64::WriteExitDestInEAX()
+void Jit64::WriteExitDestInEAX()
{
MOV(32, M(&PC), R(EAX));
Cleanup();
- SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
+ SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
JMP(asm_routines.dispatcher, true);
}
-void Jit64::WriteRfiExitDestInEAX()
+void Jit64::WriteRfiExitDestInEAX()
{
MOV(32, M(&PC), R(EAX));
MOV(32, M(&NPC), R(EAX));
Cleanup();
ABI_CallFunction(reinterpret_cast<void *>(&PowerPC::CheckExceptions));
- SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
+ SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
JMP(asm_routines.dispatcher, true);
}
@@ -337,7 +337,7 @@ void Jit64::WriteExternalExceptionExit()
MOV(32, R(EAX), M(&PC));
MOV(32, M(&NPC), R(EAX));
ABI_CallFunction(reinterpret_cast<void *>(&PowerPC::CheckExternalExceptions));
- SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
+ SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
JMP(asm_routines.dispatcher, true);
}
@@ -374,11 +374,11 @@ void Jit64::Trace()
sprintf(reg, "f%02d: %016x ", i, riPS0(i));
strncat(fregs, reg, 750);
}
-#endif
+#endif
- DEBUG_LOG(DYNA_REC, "JIT64 PC: %08x SRR0: %08x SRR1: %08x CRfast: %02x%02x%02x%02x%02x%02x%02x%02x FPSCR: %08x MSR: %08x LR: %08x %s %s",
- PC, SRR0, SRR1, PowerPC::ppcState.cr_fast[0], PowerPC::ppcState.cr_fast[1], PowerPC::ppcState.cr_fast[2], PowerPC::ppcState.cr_fast[3],
- PowerPC::ppcState.cr_fast[4], PowerPC::ppcState.cr_fast[5], PowerPC::ppcState.cr_fast[6], PowerPC::ppcState.cr_fast[7], PowerPC::ppcState.fpscr,
+ DEBUG_LOG(DYNA_REC, "JIT64 PC: %08x SRR0: %08x SRR1: %08x CRfast: %02x%02x%02x%02x%02x%02x%02x%02x FPSCR: %08x MSR: %08x LR: %08x %s %s",
+ PC, SRR0, SRR1, PowerPC::ppcState.cr_fast[0], PowerPC::ppcState.cr_fast[1], PowerPC::ppcState.cr_fast[2], PowerPC::ppcState.cr_fast[3],
+ PowerPC::ppcState.cr_fast[4], PowerPC::ppcState.cr_fast[5], PowerPC::ppcState.cr_fast[6], PowerPC::ppcState.cr_fast[7], PowerPC::ppcState.fpscr,
PowerPC::ppcState.msr, PowerPC::ppcState.spr[8], regs, fregs);
}
@@ -666,7 +666,7 @@ const u8* Jit64::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitBloc
js.skipnext = false;
i++; // Skip next instruction
}
-
+
if (js.cancel)
break;
}
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit.h b/Source/Core/Core/Src/PowerPC/Jit64/Jit.h
index a18f3692b8..71a556cb5f 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/Jit.h
+++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit.h
@@ -47,16 +47,6 @@
Core::g_CoreStartupParameter.setting) \
{Default(inst); return;}
-#define MEMCHECK_START \
- FixupBranch memException; \
- if (js.memcheck) \
- { TEST(32, M((void *)&PowerPC::ppcState.Exceptions), Imm32(EXCEPTION_DSI)); \
- memException = J_CC(CC_NZ); }
-
-#define MEMCHECK_END \
- if (js.memcheck) \
- SetJumpTarget(memException);
-
class Jit64 : public Jitx86Base
{
private:
@@ -72,30 +62,30 @@ public:
Jit64() : code_buffer(32000) {}
~Jit64() {}
- void Init();
- void Shutdown();
+ void Init() override;
+ void Shutdown() override;
// Jit!
- void Jit(u32 em_address);
+ void Jit(u32 em_address) override;
const u8* DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buffer, JitBlock *b);
u32 RegistersInUse();
- JitBlockCache *GetBlockCache() { return &blocks; }
+ JitBlockCache *GetBlockCache() override { return &blocks; }
void Trace();
- void ClearCache();
+ void ClearCache() override;
const u8 *GetDispatcher() {
return asm_routines.dispatcher;
}
- const CommonAsmRoutines *GetAsmRoutines() {
+ const CommonAsmRoutines *GetAsmRoutines() override {
return &asm_routines;
}
- const char *GetName() {
+ const char *GetName() override {
#ifdef _M_X64
return "JIT64";
#else
@@ -104,8 +94,8 @@ public:
}
// Run!
- void Run();
- void SingleStep();
+ void Run() override;
+ void SingleStep() override;
// Utilities for use by opcodes
@@ -129,7 +119,7 @@ public:
void tri_op(int d, int a, int b, bool reversible, void (XEmitter::*op)(Gen::X64Reg, Gen::OpArg));
typedef u32 (*Operation)(u32 a, u32 b);
void regimmop(int d, int a, bool binary, u32 value, Operation doop, void (XEmitter::*op)(int, const Gen::OpArg&, const Gen::OpArg&), bool Rc = false, bool carry = false);
- void fp_tri_op(int d, int a, int b, bool reversible, bool dupe, void (XEmitter::*op)(Gen::X64Reg, Gen::OpArg));
+ void fp_tri_op(int d, int a, int b, bool reversible, bool dupe, void (XEmitter::*op_2)(Gen::X64Reg, Gen::OpArg), void (XEmitter::*op_3)(Gen::X64Reg, Gen::X64Reg, Gen::OpArg));
// OPCODES
void unknown_instruction(UGeckoInstruction _inst);
@@ -188,7 +178,7 @@ public:
void ps_arith(UGeckoInstruction inst); //aggregate
void ps_mergeXX(UGeckoInstruction inst);
void ps_maddXX(UGeckoInstruction inst);
- void ps_rsqrte(UGeckoInstruction inst);
+ void ps_recip(UGeckoInstruction inst);
void ps_sum(UGeckoInstruction inst);
void ps_muls(UGeckoInstruction inst);
@@ -233,7 +223,7 @@ public:
void twx(UGeckoInstruction inst);
void lXXx(UGeckoInstruction inst);
-
+
void stXx(UGeckoInstruction inst);
void lmw(UGeckoInstruction inst);
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit64_Tables.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit64_Tables.cpp
index 268e2562d6..0ff2bf5d7f 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/Jit64_Tables.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit64_Tables.cpp
@@ -27,7 +27,7 @@ struct GekkoOPTemplate
//GekkoOPInfo opinfo; // Doesn't need opinfo, Interpreter fills it out
};
-static GekkoOPTemplate primarytable[] =
+static GekkoOPTemplate primarytable[] =
{
{4, &Jit64::DynaRunTable4}, //"RunTable4", OPTYPE_SUBTABLE | (4<<24), 0}},
{19, &Jit64::DynaRunTable19}, //"RunTable19", OPTYPE_SUBTABLE | (19<<24), 0}},
@@ -108,7 +108,7 @@ static GekkoOPTemplate primarytable[] =
{58, &Jit64::Default}, //"unknown_instruction", OPTYPE_UNKNOWN, 0}},
};
-static GekkoOPTemplate table4[] =
+static GekkoOPTemplate table4[] =
{ //SUBOP10
{0, &Jit64::Default}, //"ps_cmpu0", OPTYPE_PS, FL_SET_CRn}},
{32, &Jit64::Default}, //"ps_cmpo0", OPTYPE_PS, FL_SET_CRn}},
@@ -124,9 +124,9 @@ static GekkoOPTemplate table4[] =
{624, &Jit64::ps_mergeXX}, //"ps_merge11", OPTYPE_PS, FL_RC_BIT}},
{1014, &Jit64::Default}, //"dcbz_l", OPTYPE_SYSTEM, 0}},
-};
+};
-static GekkoOPTemplate table4_2[] =
+static GekkoOPTemplate table4_2[] =
{
{10, &Jit64::ps_sum}, //"ps_sum0", OPTYPE_PS, 0}},
{11, &Jit64::ps_sum}, //"ps_sum1", OPTYPE_PS, 0}},
@@ -138,9 +138,9 @@ static GekkoOPTemplate table4_2[] =
{20, &Jit64::ps_arith}, //"ps_sub", OPTYPE_PS, 0}},
{21, &Jit64::ps_arith}, //"ps_add", OPTYPE_PS, 0}},
{23, &Jit64::ps_sel}, //"ps_sel", OPTYPE_PS, 0}},
- {24, &Jit64::Default}, //"ps_res", OPTYPE_PS, 0}},
+ {24, &Jit64::ps_recip}, //"ps_res", OPTYPE_PS, 0}},
{25, &Jit64::ps_arith}, //"ps_mul", OPTYPE_PS, 0}},
- {26, &Jit64::ps_rsqrte}, //"ps_rsqrte", OPTYPE_PS, 0, 1}},
+ {26, &Jit64::ps_recip}, //"ps_rsqrte", OPTYPE_PS, 0, 1}},
{28, &Jit64::ps_maddXX}, //"ps_msub", OPTYPE_PS, 0}},
{29, &Jit64::ps_maddXX}, //"ps_madd", OPTYPE_PS, 0}},
{30, &Jit64::ps_maddXX}, //"ps_nmsub", OPTYPE_PS, 0}},
@@ -148,15 +148,15 @@ static GekkoOPTemplate table4_2[] =
};
-static GekkoOPTemplate table4_3[] =
+static GekkoOPTemplate table4_3[] =
{
{6, &Jit64::Default}, //"psq_lx", OPTYPE_PS, 0}},
{7, &Jit64::Default}, //"psq_stx", OPTYPE_PS, 0}},
{38, &Jit64::Default}, //"psq_lux", OPTYPE_PS, 0}},
- {39, &Jit64::Default}, //"psq_stux", OPTYPE_PS, 0}},
+ {39, &Jit64::Default}, //"psq_stux", OPTYPE_PS, 0}},
};
-static GekkoOPTemplate table19[] =
+static GekkoOPTemplate table19[] =
{
{528, &Jit64::bcctrx}, //"bcctrx", OPTYPE_BRANCH, FL_ENDBLOCK}},
{16, &Jit64::bclrx}, //"bclrx", OPTYPE_BRANCH, FL_ENDBLOCK}},
@@ -168,16 +168,16 @@ static GekkoOPTemplate table19[] =
{449, &Jit64::crXXX}, //"cror", OPTYPE_CR, FL_EVIL}},
{417, &Jit64::crXXX}, //"crorc", OPTYPE_CR, FL_EVIL}},
{193, &Jit64::crXXX}, //"crxor", OPTYPE_CR, FL_EVIL}},
-
+
{150, &Jit64::DoNothing}, //"isync", OPTYPE_ICACHE, FL_EVIL}},
{0, &Jit64::mcrf}, //"mcrf", OPTYPE_SYSTEM, FL_EVIL}},
-
+
{50, &Jit64::rfi}, //"rfi", OPTYPE_SYSTEM, FL_ENDBLOCK | FL_CHECKEXCEPTIONS, 1}},
{18, &Jit64::Default}, //"rfid", OPTYPE_SYSTEM, FL_ENDBLOCK | FL_CHECKEXCEPTIONS}}
};
-static GekkoOPTemplate table31[] =
+static GekkoOPTemplate table31[] =
{
{28, &Jit64::boolX}, //"andx", OPTYPE_INTEGER, FL_OUT_A | FL_IN_SB | FL_RC_BIT}},
{60, &Jit64::boolX}, //"andcx", OPTYPE_INTEGER, FL_OUT_A | FL_IN_SB | FL_RC_BIT}},
@@ -252,7 +252,7 @@ static GekkoOPTemplate table31[] =
{661, &Jit64::Default}, //"stswx", OPTYPE_STORE, FL_EVIL}},
{725, &Jit64::Default}, //"stswi", OPTYPE_STORE, FL_EVIL}},
- // fp load/store
+ // fp load/store
{535, &Jit64::lfsx}, //"lfsx", OPTYPE_LOADFP, FL_IN_A0 | FL_IN_B}},
{567, &Jit64::Default}, //"lfsux", OPTYPE_LOADFP, FL_IN_A | FL_IN_B}},
{599, &Jit64::Default}, //"lfdx", OPTYPE_LOADFP, FL_IN_A0 | FL_IN_B}},
@@ -290,8 +290,8 @@ static GekkoOPTemplate table31[] =
{566, &Jit64::Default}, //"tlbsync", OPTYPE_SYSTEM, 0}},
};
-static GekkoOPTemplate table31_2[] =
-{
+static GekkoOPTemplate table31_2[] =
+{
{266, &Jit64::addx}, //"addx", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_RC_BIT}},
{778, &Jit64::addx}, //"addx", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_RC_BIT}},
{10, &Jit64::addcx}, //"addcx", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_SET_CA | FL_RC_BIT}},
@@ -318,21 +318,21 @@ static GekkoOPTemplate table31_2[] =
{200, &Jit64::subfzex}, //"subfzex", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_READ_CA | FL_SET_CA | FL_RC_BIT}},
};
-static GekkoOPTemplate table59[] =
+static GekkoOPTemplate table59[] =
{
- {18, &Jit64::Default}, //{"fdivsx", OPTYPE_FPU, FL_RC_BIT_F, 16}},
- {20, &Jit64::fp_arith_s}, //"fsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {21, &Jit64::fp_arith_s}, //"faddsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {18, &Jit64::Default}, //{"fdivsx", OPTYPE_FPU, FL_RC_BIT_F, 16}},
+ {20, &Jit64::fp_arith_s}, //"fsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {21, &Jit64::fp_arith_s}, //"faddsx", OPTYPE_FPU, FL_RC_BIT_F}},
// {22, &Jit64::Default}, //"fsqrtsx", OPTYPE_FPU, FL_RC_BIT_F}}, // Not implemented on gekko
- {24, &Jit64::Default}, //"fresx", OPTYPE_FPU, FL_RC_BIT_F}},
- {25, &Jit64::fp_arith_s}, //"fmulsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {28, &Jit64::fmaddXX}, //"fmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {29, &Jit64::fmaddXX}, //"fmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {30, &Jit64::fmaddXX}, //"fnmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {31, &Jit64::fmaddXX}, //"fnmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
-};
-
-static GekkoOPTemplate table63[] =
+ {24, &Jit64::Default}, //"fresx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {25, &Jit64::fp_arith_s}, //"fmulsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {28, &Jit64::fmaddXX}, //"fmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {29, &Jit64::fmaddXX}, //"fmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {30, &Jit64::fmaddXX}, //"fnmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {31, &Jit64::fmaddXX}, //"fnmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
+};
+
+static GekkoOPTemplate table63[] =
{
{264, &Jit64::fsign}, //"fabsx", OPTYPE_FPU, FL_RC_BIT_F}},
{32, &Jit64::fcmpx}, //"fcmpo", OPTYPE_FPU, FL_RC_BIT_F}},
@@ -352,7 +352,7 @@ static GekkoOPTemplate table63[] =
{711, &Jit64::Default}, //"mtfsfx", OPTYPE_SYSTEMFP, 0, 2}},
};
-static GekkoOPTemplate table63_2[] =
+static GekkoOPTemplate table63_2[] =
{
{18, &Jit64::Default}, //"fdivx", OPTYPE_FPU, FL_RC_BIT_F, 30}},
{20, &Jit64::Default}, //"fsubx", OPTYPE_FPU, FL_RC_BIT_F}},
@@ -360,7 +360,7 @@ static GekkoOPTemplate table63_2[] =
{22, &Jit64::Default}, //"fsqrtx", OPTYPE_FPU, FL_RC_BIT_F}},
{23, &Jit64::Default}, //"fselx", OPTYPE_FPU, FL_RC_BIT_F}},
{25, &Jit64::fp_arith_s}, //"fmulx", OPTYPE_FPU, FL_RC_BIT_F}},
- {26, &Jit64::fp_arith_s}, //"frsqrtex", OPTYPE_FPU, FL_RC_BIT_F}},
+ {26, &Jit64::frsqrtex}, //"frsqrtex", OPTYPE_FPU, FL_RC_BIT_F}},
{28, &Jit64::fmaddXX}, //"fmsubx", OPTYPE_FPU, FL_RC_BIT_F}},
{29, &Jit64::fmaddXX}, //"fmaddx", OPTYPE_FPU, FL_RC_BIT_F}},
{30, &Jit64::fmaddXX}, //"fnmsubx", OPTYPE_FPU, FL_RC_BIT_F}},
@@ -394,9 +394,9 @@ void InitTables()
return;
//clear
- for (int i = 0; i < 32; i++)
+ for (auto& tpl : dynaOpTable59)
{
- dynaOpTable59[i] = &Jit64::unknown_instruction;
+ tpl = &Jit64::unknown_instruction;
}
for (int i = 0; i < 1024; i++)
@@ -404,81 +404,81 @@ void InitTables()
dynaOpTable4 [i] = &Jit64::unknown_instruction;
dynaOpTable19[i] = &Jit64::unknown_instruction;
dynaOpTable31[i] = &Jit64::unknown_instruction;
- dynaOpTable63[i] = &Jit64::unknown_instruction;
+ dynaOpTable63[i] = &Jit64::unknown_instruction;
}
- for (int i = 0; i < (int)(sizeof(primarytable) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : primarytable)
{
- dynaOpTable[primarytable[i].opcode] = primarytable[i].Inst;
+ dynaOpTable[tpl.opcode] = tpl.Inst;
}
for (int i = 0; i < 32; i++)
{
int fill = i << 5;
- for (int j = 0; j < (int)(sizeof(table4_2) / sizeof(GekkoOPTemplate)); j++)
+ for (auto& tpl : table4_2)
{
- int op = fill+table4_2[j].opcode;
- dynaOpTable4[op] = table4_2[j].Inst;
+ int op = fill+tpl.opcode;
+ dynaOpTable4[op] = tpl.Inst;
}
}
for (int i = 0; i < 16; i++)
{
int fill = i << 6;
- for (int j = 0; j < (int)(sizeof(table4_3) / sizeof(GekkoOPTemplate)); j++)
+ for (auto& tpl : table4_3)
{
- int op = fill+table4_3[j].opcode;
- dynaOpTable4[op] = table4_3[j].Inst;
+ int op = fill+tpl.opcode;
+ dynaOpTable4[op] = tpl.Inst;
}
}
- for (int i = 0; i < (int)(sizeof(table4) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table4)
{
- int op = table4[i].opcode;
- dynaOpTable4[op] = table4[i].Inst;
+ int op = tpl.opcode;
+ dynaOpTable4[op] = tpl.Inst;
}
- for (int i = 0; i < (int)(sizeof(table31) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table31)
{
- int op = table31[i].opcode;
- dynaOpTable31[op] = table31[i].Inst;
+ int op = tpl.opcode;
+ dynaOpTable31[op] = tpl.Inst;
}
for (int i = 0; i < 1; i++)
{
int fill = i << 9;
- for (int j = 0; j < (int)(sizeof(table31_2) / sizeof(GekkoOPTemplate)); j++)
+ for (auto& tpl : table31_2)
{
- int op = fill + table31_2[j].opcode;
- dynaOpTable31[op] = table31_2[j].Inst;
+ int op = fill + tpl.opcode;
+ dynaOpTable31[op] = tpl.Inst;
}
}
- for (int i = 0; i < (int)(sizeof(table19) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table19)
{
- int op = table19[i].opcode;
- dynaOpTable19[op] = table19[i].Inst;
+ int op = tpl.opcode;
+ dynaOpTable19[op] = tpl.Inst;
}
- for (int i = 0; i < (int)(sizeof(table59) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table59)
{
- int op = table59[i].opcode;
- dynaOpTable59[op] = table59[i].Inst;
+ int op = tpl.opcode;
+ dynaOpTable59[op] = tpl.Inst;
}
- for (int i = 0; i < (int)(sizeof(table63) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table63)
{
- int op = table63[i].opcode;
- dynaOpTable63[op] = table63[i].Inst;
+ int op = tpl.opcode;
+ dynaOpTable63[op] = tpl.Inst;
}
for (int i = 0; i < 32; i++)
{
int fill = i << 5;
- for (int j = 0; j < (int)(sizeof(table63_2) / sizeof(GekkoOPTemplate)); j++)
+ for (auto& tpl : table63_2)
{
- int op = fill + table63_2[j].opcode;
- dynaOpTable63[op] = table63_2[j].Inst;
+ int op = fill + tpl.opcode;
+ dynaOpTable63[op] = tpl.Inst;
}
}
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/JitAsm.cpp b/Source/Core/Core/Src/PowerPC/Jit64/JitAsm.cpp
index 607b1b5730..56975ef6ea 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/JitAsm.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64/JitAsm.cpp
@@ -13,9 +13,9 @@ using namespace Gen;
//TODO - make an option
//#if _DEBUG
-static bool enableDebug = false;
+static bool enableDebug = false;
//#else
-// bool enableDebug = false;
+// bool enableDebug = false;
//#endif
//static bool enableStatistics = false; //unused?
@@ -26,7 +26,7 @@ static bool enableDebug = false;
//GLOBAL STATIC ALLOCATIONS x64
//EAX - ubiquitous scratch register - EVERYBODY scratches this
//RBX - Base pointer of memory
-//R15 - Pointer to array of block pointers
+//R15 - Pointer to array of block pointers
Jit64AsmRoutineManager asm_routines;
@@ -48,7 +48,7 @@ void Jit64AsmRoutineManager::Generate()
outerLoop = GetCodePtr();
ABI_CallFunction(reinterpret_cast<void *>(&CoreTiming::Advance));
FixupBranch skipToRealDispatch = J(); //skip the sync and compare first time
-
+
dispatcher = GetCodePtr();
// The result of slice decrementation should be in flags if somebody jumped here
// IMPORTANT - We jump on negative, not carry!!!
@@ -168,7 +168,7 @@ void Jit64AsmRoutineManager::Generate()
MOV(32, M(&NPC), R(EAX));
ABI_CallFunction(reinterpret_cast<void *>(&PowerPC::CheckExternalExceptions));
SetJumpTarget(noExtException);
-
+
TEST(32, M((void*)PowerPC::GetStatePtr()), Imm32(0xFFFFFFFF));
J_CC(CC_Z, outerLoop, true);
@@ -194,14 +194,14 @@ void Jit64AsmRoutineManager::GenerateCommon()
GenFifoWrite(32);
fifoDirectWriteFloat = AlignCode4();
GenFifoFloatWrite();
- fifoDirectWriteXmm64 = AlignCode4();
+ fifoDirectWriteXmm64 = AlignCode4();
GenFifoXmm64Write();
GenQuantizedLoads();
GenQuantizedStores();
GenQuantizedSingleStores();
- //CMPSD(R(XMM0), M(&zero),
+ //CMPSD(R(XMM0), M(&zero),
// TODO
// Fast write routines - special case the most common hardware write
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/JitAsm.h b/Source/Core/Core/Src/PowerPC/Jit64/JitAsm.h
index 8835a07bcc..7dc55b475d 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/JitAsm.h
+++ b/Source/Core/Core/Src/PowerPC/Jit64/JitAsm.h
@@ -17,7 +17,7 @@
// 3) Can optimize code at runtime for the specific CPU model.
// There aren't really any disadvantages other than having to maintain a x86 emitter,
// which we have to do anyway :)
-//
+//
// To add a new asm routine, just add another const here, and add the code to Generate.
// Also, possibly increase the size of the code buffer.
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/JitRegCache.cpp b/Source/Core/Core/Src/PowerPC/Jit64/JitRegCache.cpp
index 083066c6f1..b2317c9394 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/JitRegCache.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64/JitRegCache.cpp
@@ -34,7 +34,7 @@ void RegCache::Start(PPCAnalyst::BlockRegStats &stats)
regs[i].location = GetDefaultLocation(i);
regs[i].away = false;
}
-
+
// todo: sort to find the most popular regs
/*
int maxPreload = 2;
@@ -75,14 +75,14 @@ void RegCache::LockX(int x1, int x2, int x3, int x4)
void RegCache::UnlockAll()
{
- for (int i = 0; i < 32; i++)
- locks[i] = false;
+ for (auto& lock : locks)
+ lock = false;
}
void RegCache::UnlockAllX()
{
- for (int i = 0; i < NUMXREGS; i++)
- xlocks[i] = false;
+ for (auto& xlock : xlocks)
+ xlock = false;
}
X64Reg RegCache::GetFreeXReg()
@@ -103,7 +103,7 @@ X64Reg RegCache::GetFreeXReg()
for (int i = 0; i < aCount; i++)
{
X64Reg xr = (X64Reg)aOrder[i];
- if (xlocks[xr])
+ if (xlocks[xr])
continue;
int preg = xregs[xr].ppcReg;
if (!locks[preg])
@@ -197,7 +197,7 @@ void FPURegCache::Start(PPCAnalyst::BlockRegStats &stats)
const int *GPRRegCache::GetAllocationOrder(int &count)
{
- static const int allocationOrder[] =
+ static const int allocationOrder[] =
{
// R12, when used as base register, for example in a LEA, can generate bad code! Need to look into this.
#ifdef _M_X64
@@ -216,7 +216,7 @@ const int *GPRRegCache::GetAllocationOrder(int &count)
const int *FPURegCache::GetAllocationOrder(int &count)
{
- static const int allocationOrder[] =
+ static const int allocationOrder[] =
{
#ifdef _M_X64
XMM6, XMM7, XMM8, XMM9, XMM10, XMM11, XMM12, XMM13, XMM14, XMM15, XMM2, XMM3, XMM4, XMM5
@@ -351,11 +351,12 @@ void FPURegCache::StoreFromRegister(int i)
{
X64Reg xr = regs[i].location.GetSimpleReg();
_assert_msg_(DYNA_REC, xr < NUMXREGS, "WTF - store - invalid reg");
+ OpArg newLoc = GetDefaultLocation(i);
+ if (xregs[xr].dirty)
+ emit->MOVAPD(newLoc, xr);
xregs[xr].free = true;
xregs[xr].dirty = false;
xregs[xr].ppcReg = -1;
- OpArg newLoc = GetDefaultLocation(i);
- emit->MOVAPD(newLoc, xr);
regs[i].location = newLoc;
regs[i].away = false;
}
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/JitRegCache.h b/Source/Core/Core/Src/PowerPC/Jit64/JitRegCache.h
index 550036dba7..cacd1e0e4e 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/JitRegCache.h
+++ b/Source/Core/Core/Src/PowerPC/Jit64/JitRegCache.h
@@ -16,7 +16,7 @@ enum FlushMode
enum GrabMode
{
M_READ = 1,
- M_WRITE = 2,
+ M_WRITE = 2,
M_READWRITE = 3,
};
@@ -58,7 +58,7 @@ protected:
X64CachedReg saved_xregs[NUMXREGS];
virtual const int *GetAllocationOrder(int &count) = 0;
-
+
XEmitter *emit;
public:
@@ -70,7 +70,7 @@ public:
void DiscardRegContentsIfCached(int preg);
void SetEmitter(XEmitter *emitter) {emit = emitter;}
- void FlushR(X64Reg reg);
+ void FlushR(X64Reg reg);
void FlushR(X64Reg reg, X64Reg reg2) {FlushR(reg); FlushR(reg2);}
void FlushLockX(X64Reg reg) {
FlushR(reg);
@@ -93,9 +93,9 @@ public:
const OpArg &R(int preg) const {return regs[preg].location;}
X64Reg RX(int preg) const
{
- if (regs[preg].away && regs[preg].location.IsSimpleReg())
- return regs[preg].location.GetSimpleReg();
- PanicAlert("Not so simple - %i", preg);
+ if (regs[preg].away && regs[preg].location.IsSimpleReg())
+ return regs[preg].location.GetSimpleReg();
+ PanicAlert("Not so simple - %i", preg);
return (X64Reg)-1;
}
virtual OpArg GetDefaultLocation(int reg) const = 0;
@@ -121,11 +121,11 @@ public:
class GPRRegCache : public RegCache
{
public:
- void Start(PPCAnalyst::BlockRegStats &stats);
- void BindToRegister(int preg, bool doLoad = true, bool makeDirty = true);
- void StoreFromRegister(int preg);
- OpArg GetDefaultLocation(int reg) const;
- const int *GetAllocationOrder(int &count);
+ void Start(PPCAnalyst::BlockRegStats &stats) override;
+ void BindToRegister(int preg, bool doLoad = true, bool makeDirty = true) override;
+ void StoreFromRegister(int preg) override;
+ OpArg GetDefaultLocation(int reg) const override;
+ const int *GetAllocationOrder(int &count) override;
void SetImmediate32(int preg, u32 immValue);
};
@@ -133,11 +133,11 @@ public:
class FPURegCache : public RegCache
{
public:
- void Start(PPCAnalyst::BlockRegStats &stats);
- void BindToRegister(int preg, bool doLoad = true, bool makeDirty = true);
- void StoreFromRegister(int preg);
- const int *GetAllocationOrder(int &count);
- OpArg GetDefaultLocation(int reg) const;
+ void Start(PPCAnalyst::BlockRegStats &stats) override;
+ void BindToRegister(int preg, bool doLoad = true, bool makeDirty = true) override;
+ void StoreFromRegister(int preg) override;
+ const int *GetAllocationOrder(int &count) override;
+ OpArg GetDefaultLocation(int reg) const override;
};
#endif // _JIT64REGCACHE_H
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_Branch.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_Branch.cpp
index fdf60906d6..b0f3f1cd18 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_Branch.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_Branch.cpp
@@ -12,12 +12,12 @@
// No need for a disable-mechanism.
// If defined, clears CR0 at blr and bl-s. If the assumption that
-// flags never carry over between functions holds, then the task for
+// flags never carry over between functions holds, then the task for
// an optimizer becomes much easier.
// #define ACID_TEST
-// Zelda and many more games seem to pass the Acid Test.
+// Zelda and many more games seem to pass the Acid Test.
using namespace Gen;
@@ -122,12 +122,12 @@ void Jit64::bcx(UGeckoInstruction inst)
if ((inst.BO & BO_DONT_CHECK_CONDITION) == 0) // Test a CR bit
{
TEST(8, M(&PowerPC::ppcState.cr_fast[inst.BI >> 2]), Imm8(8 >> (inst.BI & 3)));
- if (inst.BO & BO_BRANCH_IF_TRUE) // Conditional branch
+ if (inst.BO & BO_BRANCH_IF_TRUE) // Conditional branch
pConditionDontBranch = J_CC(CC_Z);
else
pConditionDontBranch = J_CC(CC_NZ);
}
-
+
if (inst.LK)
MOV(32, M(&LR), Imm32(js.compilerPC + 4));
@@ -180,7 +180,7 @@ void Jit64::bcctrx(UGeckoInstruction inst)
if (inst.BO_2 & BO_BRANCH_IF_TRUE)
branch = CC_Z;
else
- branch = CC_NZ;
+ branch = CC_NZ;
FixupBranch b = J_CC(branch, false);
MOV(32, R(EAX), M(&CTR));
AND(32, R(EAX), Imm32(0xFFFFFFFC));
@@ -223,7 +223,7 @@ void Jit64::bclrx(UGeckoInstruction inst)
if ((inst.BO & BO_DONT_CHECK_CONDITION) == 0) // Test a CR bit
{
TEST(8, M(&PowerPC::ppcState.cr_fast[inst.BI >> 2]), Imm8(8 >> (inst.BI & 3)));
- if (inst.BO & BO_BRANCH_IF_TRUE) // Conditional branch
+ if (inst.BO & BO_BRANCH_IF_TRUE) // Conditional branch
pConditionDontBranch = J_CC(CC_Z);
else
pConditionDontBranch = J_CC(CC_NZ);
@@ -235,7 +235,7 @@ void Jit64::bclrx(UGeckoInstruction inst)
AND(32, M(&PowerPC::ppcState.cr), Imm32(~(0xFF000000)));
#endif
- MOV(32, R(EAX), M(&LR));
+ MOV(32, R(EAX), M(&LR));
AND(32, R(EAX), Imm32(0xFFFFFFFC));
if (inst.LK)
MOV(32, M(&LR), Imm32(js.compilerPC + 4));
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_FloatingPoint.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_FloatingPoint.cpp
index 707b24f7f1..c4699ecc62 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_FloatingPoint.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_FloatingPoint.cpp
@@ -8,41 +8,67 @@
#include "JitRegCache.h"
#include "CPUDetect.h"
-const u64 GC_ALIGNED16(psSignBits2[2]) = {0x8000000000000000ULL, 0x8000000000000000ULL};
-const u64 GC_ALIGNED16(psAbsMask2[2]) = {0x7FFFFFFFFFFFFFFFULL, 0x7FFFFFFFFFFFFFFFULL};
-const double GC_ALIGNED16(psOneOne2[2]) = {1.0, 1.0};
+static const u64 GC_ALIGNED16(psSignBits2[2]) = {0x8000000000000000ULL, 0x8000000000000000ULL};
+static const u64 GC_ALIGNED16(psAbsMask2[2]) = {0x7FFFFFFFFFFFFFFFULL, 0x7FFFFFFFFFFFFFFFULL};
+static const double GC_ALIGNED16(psOneOne2[2]) = {1.0, 1.0};
+static const double one_const = 1.0f;
-void Jit64::fp_tri_op(int d, int a, int b, bool reversible, bool dupe, void (XEmitter::*op)(Gen::X64Reg, Gen::OpArg))
+void Jit64::fp_tri_op(int d, int a, int b, bool reversible, bool single,
+ void (XEmitter::*op_2)(Gen::X64Reg, Gen::OpArg),
+ void (XEmitter::*op_3)(Gen::X64Reg, Gen::X64Reg, Gen::OpArg))
{
+ if (!cpu_info.bAVX)
+ {
+ op_3 = nullptr;
+ }
+
fpr.Lock(d, a, b);
if (d == a)
{
- fpr.BindToRegister(d, true);
- (this->*op)(fpr.RX(d), fpr.R(b));
+ fpr.BindToRegister(d);
+ (this->*op_2)(fpr.RX(d), fpr.R(b));
}
else if (d == b)
{
if (reversible)
{
- fpr.BindToRegister(d, true);
- (this->*op)(fpr.RX(d), fpr.R(a));
+ fpr.BindToRegister(d);
+ (this->*op_2)(fpr.RX(d), fpr.R(a));
}
else
{
- MOVSD(XMM0, fpr.R(b));
- fpr.BindToRegister(d, !dupe);
- MOVSD(fpr.RX(d), fpr.R(a));
- (this->*op)(fpr.RX(d), Gen::R(XMM0));
+ if (op_3)
+ {
+ fpr.BindToRegister(d);
+ fpr.BindToRegister(a, true, false);
+ (this->*op_3)(fpr.RX(d), fpr.RX(a), fpr.R(b));
+ }
+ else
+ {
+ MOVSD(XMM0, fpr.R(b));
+ fpr.BindToRegister(d, false);
+ MOVSD(fpr.RX(d), fpr.R(a));
+ (this->*op_2)(fpr.RX(d), Gen::R(XMM0));
+ }
}
}
else
{
- // Sources different from d, can use rather quick solution
- fpr.BindToRegister(d, !dupe);
- MOVSD(fpr.RX(d), fpr.R(a));
- (this->*op)(fpr.RX(d), fpr.R(b));
+ if (op_3)
+ {
+ fpr.BindToRegister(d, false);
+ fpr.BindToRegister(a);
+ (this->*op_3)(fpr.RX(d), fpr.RX(a), fpr.R(b));
+ }
+ else
+ {
+ fpr.BindToRegister(d, false);
+ MOVSD(fpr.RX(d), fpr.R(a));
+ (this->*op_2)(fpr.RX(d), fpr.R(b));
+ }
}
- if (dupe)
+
+ if (single)
{
ForceSinglePrecisionS(fpr.RX(d));
if (cpu_info.bSSE3)
@@ -59,9 +85,6 @@ void Jit64::fp_tri_op(int d, int a, int b, bool reversible, bool dupe, void (XEm
fpr.UnlockAll();
}
-
-static const double one_const = 1.0f;
-
void Jit64::fp_arith_s(UGeckoInstruction inst)
{
INSTRUCTION_START
@@ -70,42 +93,45 @@ void Jit64::fp_arith_s(UGeckoInstruction inst)
Default(inst); return;
}
- if (inst.SUBOP5 == 26) {
- // frsqrtex
- int d = inst.FD;
- int b = inst.FB;
- fpr.Lock(b, d);
- fpr.BindToRegister(d, true, true);
- MOVSD(XMM0, M((void *)&one_const));
- SQRTSD(XMM1, fpr.R(b));
- DIVSD(XMM0, R(XMM1));
- MOVSD(fpr.R(d), XMM0);
- fpr.UnlockAll();
- return;
- }
-
- if (inst.SUBOP5 != 18 && inst.SUBOP5 != 20 && inst.SUBOP5 != 21 &&
- inst.SUBOP5 != 25) {
- Default(inst); return;
- }
-
// Only the interpreter has "proper" support for (some) FP flags
if (inst.SUBOP5 == 25 && Core::g_CoreStartupParameter.bEnableFPRF) {
Default(inst); return;
}
- bool dupe = inst.OPCD == 59;
+ bool single = inst.OPCD == 59;
switch (inst.SUBOP5)
{
- case 18: fp_tri_op(inst.FD, inst.FA, inst.FB, false, dupe, &XEmitter::DIVSD); break; //div
- case 20: fp_tri_op(inst.FD, inst.FA, inst.FB, false, dupe, &XEmitter::SUBSD); break; //sub
- case 21: fp_tri_op(inst.FD, inst.FA, inst.FB, true, dupe, &XEmitter::ADDSD); break; //add
- case 25: fp_tri_op(inst.FD, inst.FA, inst.FC, true, dupe, &XEmitter::MULSD); break; //mul
+ case 18: fp_tri_op(inst.FD, inst.FA, inst.FB, false, single, &XEmitter::DIVSD, &XEmitter::VDIVSD); break; //div
+ case 20: fp_tri_op(inst.FD, inst.FA, inst.FB, false, single, &XEmitter::SUBSD, &XEmitter::VSUBSD); break; //sub
+ case 21: fp_tri_op(inst.FD, inst.FA, inst.FB, true, single, &XEmitter::ADDSD, &XEmitter::VADDSD); break; //add
+ case 25: fp_tri_op(inst.FD, inst.FA, inst.FC, true, single, &XEmitter::MULSD, &XEmitter::VMULSD); break; //mul
default:
_assert_msg_(DYNA_REC, 0, "fp_arith_s WTF!!!");
}
}
+void Jit64::frsqrtex(UGeckoInstruction inst)
+{
+ INSTRUCTION_START
+ JITDISABLE(bJITFloatingPointOff)
+ int d = inst.FD;
+ int b = inst.FB;
+ fpr.Lock(b, d);
+ fpr.BindToRegister(d, d == b, true);
+ MOVSD(XMM0, M((void *)&one_const));
+ SQRTSD(XMM1, fpr.R(b));
+ if (cpu_info.bAVX)
+ {
+ VDIVSD(fpr.RX(d), XMM0, R(XMM1));
+ }
+ else
+ {
+ DIVSD(XMM0, R(XMM1));
+ MOVSD(fpr.R(d), XMM0);
+ }
+ fpr.UnlockAll();
+}
+
void Jit64::fmaddXX(UGeckoInstruction inst)
{
INSTRUCTION_START
@@ -204,12 +230,12 @@ void Jit64::fmrx(UGeckoInstruction inst)
int d = inst.FD;
int b = inst.FB;
fpr.Lock(b, d);
- fpr.BindToRegister(d, true, true);
+ fpr.BindToRegister(d, d == b, true);
MOVSD(XMM0, fpr.R(b));
MOVSD(fpr.R(d), XMM0);
fpr.UnlockAll();
}
-
+
void Jit64::fcmpx(UGeckoInstruction inst)
{
INSTRUCTION_START
@@ -264,12 +290,12 @@ void Jit64::fcmpx(UGeckoInstruction inst)
SetJumpTarget(pGreater);
MOV(8, M(&PowerPC::ppcState.cr_fast[crf]), Imm8(0x4));
continue3 = J();
-
+
// Less Than
SetJumpTarget(pLesser);
MOV(8, M(&PowerPC::ppcState.cr_fast[crf]), Imm8(0x8));
}
-
+
SetJumpTarget(continue1);
if (a != b)
{
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp
index b506ec41cd..244a051aaa 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp
@@ -282,10 +282,10 @@ void Jit64::reg_imm(UGeckoInstruction inst)
regimmop(d, a, false, (u32)inst.SIMM_16 << 16, Add, &XEmitter::ADD);
}
break;
- case 24:
+ case 24:
if (a == 0 && s == 0 && inst.UIMM == 0 && !inst.Rc) //check for nop
{NOP(); return;} //make the nop visible in the generated code. not much use but interesting if we see one.
- regimmop(a, s, true, inst.UIMM, Or, &XEmitter::OR);
+ regimmop(a, s, true, inst.UIMM, Or, &XEmitter::OR);
break; //ori
case 25: regimmop(a, s, true, inst.UIMM << 16, Or, &XEmitter::OR, false); break;//oris
case 28: regimmop(a, s, true, inst.UIMM, And, &XEmitter::AND, true); break;
@@ -301,7 +301,7 @@ void Jit64::reg_imm(UGeckoInstruction inst)
}
void Jit64::cmpXX(UGeckoInstruction inst)
-{
+{
// USES_CR
INSTRUCTION_START
JITDISABLE(bJITIntegerOff)
@@ -408,14 +408,14 @@ void Jit64::cmpXX(UGeckoInstruction inst)
MOV(32, M(&LR), Imm32(js.compilerPC + 4));
MOV(32, R(EAX), M(&CTR));
AND(32, R(EAX), Imm32(0xFFFFFFFC));
- WriteExitDestInEAX();
+ WriteExitDestInEAX();
}
else if ((js.next_inst.OPCD == 19) && (js.next_inst.SUBOP10 == 16)) // bclrx
{
MOV(32, R(EAX), M(&LR));
if (js.next_inst.LK)
MOV(32, M(&LR), Imm32(js.compilerPC + 4));
- WriteExitDestInEAX();
+ WriteExitDestInEAX();
}
else
{
@@ -455,7 +455,7 @@ void Jit64::cmpXX(UGeckoInstruction inst)
if (!merge_branch)
{
// Keep the normal code separate for clarity.
-
+
FixupBranch pLesser = J_CC(less_than);
FixupBranch pGreater = J_CC(greater_than);
MOV(8, M(&PowerPC::ppcState.cr_fast[crf]), Imm8(0x2)); // _x86Reg == 0
@@ -467,7 +467,7 @@ void Jit64::cmpXX(UGeckoInstruction inst)
MOV(8, M(&PowerPC::ppcState.cr_fast[crf]), Imm8(0x8)); // _x86Reg < 0
SetJumpTarget(continue1);
SetJumpTarget(continue2);
- // TODO: If we ever care about SO, borrow a trick from
+ // TODO: If we ever care about SO, borrow a trick from
// http://maws.mameworld.info/maws/mamesrc/src/emu/cpu/powerpc/drc_ops.c : bt, adc
}
else
@@ -475,7 +475,7 @@ void Jit64::cmpXX(UGeckoInstruction inst)
js.downcountAmount++;
int test_bit = 8 >> (js.next_inst.BI & 3);
bool condition = (js.next_inst.BO & BO_BRANCH_IF_TRUE) ? false : true;
-
+
// Test swapping (in the future, will be used to inline across branches the right way)
// if (rand() & 1)
// std::swap(destination1, destination2), condition = !condition;
@@ -515,7 +515,7 @@ void Jit64::cmpXX(UGeckoInstruction inst)
MOV(32, M(&LR), Imm32(js.compilerPC + 4));
MOV(32, R(EAX), M(&CTR));
AND(32, R(EAX), Imm32(0xFFFFFFFC));
- WriteExitDestInEAX();
+ WriteExitDestInEAX();
}
else if ((js.next_inst.OPCD == 19) && (js.next_inst.SUBOP10 == 16)) // bclrx
{
@@ -523,7 +523,7 @@ void Jit64::cmpXX(UGeckoInstruction inst)
AND(32, R(EAX), Imm32(0xFFFFFFFC));
if (js.next_inst.LK)
MOV(32, M(&LR), Imm32(js.compilerPC + 4));
- WriteExitDestInEAX();
+ WriteExitDestInEAX();
}
else
{
@@ -549,7 +549,7 @@ void Jit64::boolX(UGeckoInstruction inst)
JITDISABLE(bJITIntegerOff)
int a = inst.RA, s = inst.RS, b = inst.RB;
_dbg_assert_msg_(DYNA_REC, inst.OPCD == 31, "Invalid boolX");
-
+
if (gpr.R(s).IsImm() && gpr.R(b).IsImm())
{
if (inst.SUBOP10 == 28) /* andx */
@@ -622,7 +622,7 @@ void Jit64::boolX(UGeckoInstruction inst)
gpr.Lock(a,((a == s) ? b : s));
OpArg operand = ((a == s) ? gpr.R(b) : gpr.R(s));
gpr.BindToRegister(a, true, true);
-
+
if (inst.SUBOP10 == 28) /* andx */
{
AND(32, gpr.R(a), operand);
@@ -720,7 +720,7 @@ void Jit64::boolX(UGeckoInstruction inst)
{
gpr.Lock(a,s,b);
gpr.BindToRegister(a, false, true);
-
+
if (inst.SUBOP10 == 28) /* andx */
{
MOV(32, gpr.R(a), gpr.R(s));
@@ -913,7 +913,7 @@ void Jit64::subfic(UGeckoInstruction inst)
// This instruction has no RC flag
}
-void Jit64::subfcx(UGeckoInstruction inst)
+void Jit64::subfcx(UGeckoInstruction inst)
{
INSTRUCTION_START;
JITDISABLE(bJITIntegerOff)
@@ -945,7 +945,7 @@ void Jit64::subfcx(UGeckoInstruction inst)
gpr.UnlockAll();
}
-void Jit64::subfex(UGeckoInstruction inst)
+void Jit64::subfex(UGeckoInstruction inst)
{
INSTRUCTION_START;
JITDISABLE(bJITIntegerOff)
@@ -954,7 +954,7 @@ void Jit64::subfex(UGeckoInstruction inst)
gpr.BindToRegister(d, (d == a || d == b), true);
GetCarryEAXAndClear();
-
+
bool invertedCarry = false;
if (d == b)
{
@@ -1012,10 +1012,10 @@ void Jit64::subfzex(UGeckoInstruction inst)
INSTRUCTION_START
JITDISABLE(bJITIntegerOff)
int a = inst.RA, d = inst.RD;
-
+
gpr.Lock(a, d);
gpr.BindToRegister(d, d == a);
-
+
GetCarryEAXAndClear();
if (d != a)
{
@@ -1292,7 +1292,7 @@ void Jit64::divwux(UGeckoInstruction inst)
u64 magic_dividend = 0x100000000ULL << shift;
u32 magic = (u32)(magic_dividend / divisor);
u32 max_quotient = magic >> shift;
-
+
// Test for failure in round-up method
if (((u64)(magic+1) * (max_quotient*divisor-1)) >> (shift + 32) != max_quotient-1)
{
@@ -1472,7 +1472,7 @@ void Jit64::addx(UGeckoInstruction inst)
INSTRUCTION_START
JITDISABLE(bJITIntegerOff)
int a = inst.RA, b = inst.RB, d = inst.RD;
-
+
if (gpr.R(a).IsImm() && gpr.R(b).IsImm())
{
s32 i = (s32)gpr.R(a).offset, j = (s32)gpr.R(b).offset;
@@ -1513,7 +1513,7 @@ void Jit64::addx(UGeckoInstruction inst)
{
gpr.Lock(a, b, d);
gpr.BindToRegister(d, false);
- MOV(32, gpr.R(d), gpr.R(a));
+ MOV(32, gpr.R(d), gpr.R(a));
ADD(32, gpr.R(d), gpr.R(b));
if (inst.Rc)
{
@@ -1533,12 +1533,12 @@ void Jit64::addex(UGeckoInstruction inst)
INSTRUCTION_START
JITDISABLE(bJITIntegerOff)
int a = inst.RA, b = inst.RB, d = inst.RD;
-
+
if ((d == a) || (d == b))
{
gpr.Lock(a, b, d);
gpr.BindToRegister(d, true);
-
+
GetCarryEAXAndClear();
ADC(32, gpr.R(d), gpr.R((d == a) ? b : a));
if (inst.Rc)
@@ -1552,7 +1552,7 @@ void Jit64::addex(UGeckoInstruction inst)
{
gpr.Lock(a, b, d);
gpr.BindToRegister(d, false);
-
+
GetCarryEAXAndClear();
MOV(32, gpr.R(d), gpr.R(a));
ADC(32, gpr.R(d), gpr.R(b));
@@ -1570,7 +1570,7 @@ void Jit64::addcx(UGeckoInstruction inst)
INSTRUCTION_START
JITDISABLE(bJITIntegerOff)
int a = inst.RA, b = inst.RB, d = inst.RD;
-
+
if ((d == a) || (d == b))
{
int operand = ((d == a) ? b : a);
@@ -1590,7 +1590,7 @@ void Jit64::addcx(UGeckoInstruction inst)
gpr.Lock(a, b, d);
gpr.BindToRegister(d, false);
JitClearCAOV(inst.OE);
- MOV(32, gpr.R(d), gpr.R(a));
+ MOV(32, gpr.R(d), gpr.R(a));
ADD(32, gpr.R(d), gpr.R(b));
if (inst.Rc)
{
@@ -1607,12 +1607,12 @@ void Jit64::addmex(UGeckoInstruction inst)
INSTRUCTION_START
JITDISABLE(bJITIntegerOff)
int a = inst.RA, d = inst.RD;
-
+
if (d == a)
{
gpr.Lock(d);
gpr.BindToRegister(d, true);
-
+
GetCarryEAXAndClear();
ADC(32, gpr.R(d), Imm32(0xFFFFFFFF));
if (inst.Rc)
@@ -1626,7 +1626,7 @@ void Jit64::addmex(UGeckoInstruction inst)
{
gpr.Lock(a, d);
gpr.BindToRegister(d, false);
-
+
GetCarryEAXAndClear();
MOV(32, gpr.R(d), gpr.R(a));
ADC(32, gpr.R(d), Imm32(0xFFFFFFFF));
@@ -1645,12 +1645,12 @@ void Jit64::addzex(UGeckoInstruction inst)
INSTRUCTION_START
JITDISABLE(bJITIntegerOff)
int a = inst.RA, d = inst.RD;
-
+
if (d == a)
{
gpr.Lock(d);
gpr.BindToRegister(d, true);
-
+
GetCarryEAXAndClear();
ADC(32, gpr.R(d), Imm8(0));
if (inst.Rc)
@@ -1664,7 +1664,7 @@ void Jit64::addzex(UGeckoInstruction inst)
{
gpr.Lock(a, d);
gpr.BindToRegister(d, false);
-
+
GetCarryEAXAndClear();
MOV(32, gpr.R(d), gpr.R(a));
ADC(32, gpr.R(d), Imm8(0));
@@ -1726,7 +1726,7 @@ void Jit64::rlwinmx(UGeckoInstruction inst)
{
ROL(32, gpr.R(a), Imm8(inst.SH));
}
- if (!(inst.MB==0 && inst.ME==31))
+ if (!(inst.MB==0 && inst.ME==31))
{
AND(32, gpr.R(a), Imm32(Helper_Mask(inst.MB, inst.ME)));
if (inst.Rc)
@@ -1968,7 +1968,7 @@ void Jit64::slwx(UGeckoInstruction inst)
{
u32 amount = (u32)gpr.R(b).offset;
gpr.SetImmediate32(a, (amount & 0x20) ? 0 : (u32)gpr.R(s).offset << amount);
- if (inst.Rc)
+ if (inst.Rc)
{
ComputeRC(gpr.R(a));
}
@@ -1985,7 +1985,7 @@ void Jit64::slwx(UGeckoInstruction inst)
MOV(32, gpr.R(a), gpr.R(s));
}
SHL(64, gpr.R(a), R(ECX));
- if (inst.Rc)
+ if (inst.Rc)
{
AND(32, gpr.R(a), gpr.R(a));
GenerateRC();
@@ -2013,7 +2013,7 @@ void Jit64::slwx(UGeckoInstruction inst)
gpr.UnlockAll();
gpr.UnlockAllX();
// Shift of 0 doesn't update flags, so compare manually just in case
- if (inst.Rc)
+ if (inst.Rc)
{
ComputeRC(gpr.R(a));
}
@@ -2132,13 +2132,13 @@ void Jit64::cntlzwx(UGeckoInstruction inst)
JITDISABLE(bJITIntegerOff)
int a = inst.RA;
int s = inst.RS;
-
+
if (gpr.R(s).IsImm())
{
u32 mask = 0x80000000;
u32 i = 0;
for (; i < 32; i++, mask >>= 1)
- if ((u32)gpr.R(s).offset & mask)
+ if ((u32)gpr.R(s).offset & mask)
break;
gpr.SetImmediate32(a, i);
}
@@ -2215,7 +2215,7 @@ void Jit64::twx(UGeckoInstruction inst)
LOCK();
OR(32, M((void *)&PowerPC::ppcState.Exceptions), Imm32(EXCEPTION_PROGRAM));
WriteExceptionExit();
-
+
SetJumpTarget(exit1);
SetJumpTarget(exit2);
SetJumpTarget(exit3);
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp
index e558526f4e..a1c3bd971c 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp
@@ -36,25 +36,25 @@ void Jit64::lXXx(UGeckoInstruction inst)
accessSize = 32;
signExtend = false;
break;
-
+
case 34: /* lbz */
case 35: /* lbzu */
accessSize = 8;
signExtend = false;
break;
-
+
case 40: /* lhz */
case 41: /* lhzu */
accessSize = 16;
signExtend = false;
break;
-
+
case 42: /* lha */
case 43: /* lhau */
accessSize = 16;
signExtend = true;
break;
-
+
case 31:
switch (inst.SUBOP10)
{
@@ -63,7 +63,7 @@ void Jit64::lXXx(UGeckoInstruction inst)
accessSize = 32;
signExtend = false;
break;
-
+
case 87: /* lbzx */
case 119: /* lbzux */
accessSize = 8;
@@ -74,36 +74,36 @@ void Jit64::lXXx(UGeckoInstruction inst)
accessSize = 16;
signExtend = false;
break;
-
+
case 343: /* lhax */
case 375: /* lhaux */
accessSize = 16;
signExtend = true;
break;
-
+
default:
PanicAlert("Invalid instruction");
}
break;
-
+
default:
PanicAlert("Invalid instruction");
}
// TODO(ector): Make it dynamically enable/disable idle skipping where appropriate
// Will give nice boost to dual core mode
- // (mb2): I agree,
+ // (mb2): I agree,
// IMHO those Idles should always be skipped and replaced by a more controllable "native" Idle methode
// ... maybe the throttle one already do that :p
// if (CommandProcessor::AllowIdleSkipping() && PixelEngine::AllowIdleSkipping())
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bSkipIdle &&
- inst.OPCD == 32 &&
+ inst.OPCD == 32 &&
(inst.hex & 0xFFFF0000) == 0x800D0000 &&
(Memory::ReadUnchecked_U32(js.compilerPC + 4) == 0x28000000 ||
(SConfig::GetInstance().m_LocalCoreStartupParameter.bWii && Memory::ReadUnchecked_U32(js.compilerPC + 4) == 0x2C000000)) &&
Memory::ReadUnchecked_U32(js.compilerPC + 8) == 0x4182fff8)
{
- // TODO(LinesPrower):
+ // TODO(LinesPrower):
// - Rewrite this!
// It seems to be ugly and inefficient, but I don't know JIT stuff enough to make it right
// It only demonstrates the idea
@@ -112,11 +112,11 @@ void Jit64::lXXx(UGeckoInstruction inst)
s32 offset = (s32)(s16)inst.SIMM_16;
gpr.BindToRegister(d, false, true);
SafeLoadToReg(gpr.RX(d), gpr.R(a), accessSize, offset, RegistersInUse(), signExtend);
-
+
// if it's still 0, we can wait until the next event
TEST(32, gpr.R(d), gpr.R(d));
FixupBranch noIdle = J_CC(CC_NZ);
-
+
u32 registersInUse = RegistersInUse();
ABI_PushRegistersAndAdjustStack(registersInUse, false);
@@ -133,7 +133,7 @@ void Jit64::lXXx(UGeckoInstruction inst)
//js.compilerPC += 8;
return;
}
-
+
// Determine whether this instruction updates inst.RA
bool update;
if (inst.OPCD == 31)
@@ -199,12 +199,12 @@ void Jit64::lXXx(UGeckoInstruction inst)
}
gpr.Lock(a, b, d);
- gpr.BindToRegister(d, false, true);
+ gpr.BindToRegister(d, js.memcheck, true);
SafeLoadToReg(gpr.RX(d), opAddress, accessSize, 0, RegistersInUse(), signExtend);
if (update && js.memcheck && !zeroOffset)
{
- gpr.BindToRegister(a, false, true);
+ gpr.BindToRegister(a, true, true);
MEMCHECK_START
MOV(32, gpr.R(a), opAddress);
MEMCHECK_END
@@ -263,7 +263,7 @@ void Jit64::stX(UGeckoInstruction inst)
bool update = inst.OPCD & 1;
s32 offset = (s32)(s16)inst.SIMM_16;
- if (a || !update)
+ if (a || !update)
{
int accessSize;
switch (inst.OPCD & ~1)
@@ -288,7 +288,7 @@ void Jit64::stX(UGeckoInstruction inst)
if (update)
gpr.SetImmediate32(a, addr);
switch (accessSize)
- {
+ {
// No need to protect these, they don't touch any state
// question - should we inline them instead? Pro: Lose a CALL Con: Code bloat
case 8: CALL((void *)asm_routines.fifoDirectWrite8); break;
@@ -325,7 +325,7 @@ void Jit64::stX(UGeckoInstruction inst)
return;
}
}
-
+
// Optimized stack access?
if (accessSize == 32 && !gpr.R(a).IsImm() && a == 1 && js.st.isFirstBlockOfFunction && jo.optimizeStack)
{
@@ -333,7 +333,7 @@ void Jit64::stX(UGeckoInstruction inst)
MOV(32, R(ABI_PARAM1), gpr.R(a));
MOV(32, R(EAX), gpr.R(s));
BSWAP(32, EAX);
-#ifdef _M_X64
+#ifdef _M_X64
MOV(accessSize, MComplex(RBX, ABI_PARAM1, SCALE_1, (u32)offset), R(EAX));
#else
AND(32, R(ABI_PARAM1), Imm32(Memory::MEMVIEW32_MASK));
@@ -375,7 +375,7 @@ void Jit64::stX(UGeckoInstruction inst)
{
gpr.KillImmediate(a, true, true);
MEMCHECK_START
-
+
ADD(32, gpr.R(a), Imm32((u32)offset));
MEMCHECK_END
@@ -420,7 +420,7 @@ void Jit64::stXx(UGeckoInstruction inst)
case 151: accessSize = 32; break;
case 407: accessSize = 16; break;
case 215: accessSize = 8; break;
- default: PanicAlert("stXx: invalid access size");
+ default: PanicAlert("stXx: invalid access size");
accessSize = 0; break;
}
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp
index 8fbabdd60a..bc056e6bd1 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStoreFloating.cpp
@@ -35,7 +35,7 @@ void Jit64::lfs(UGeckoInstruction inst)
int d = inst.RD;
int a = inst.RA;
- if (!a)
+ if (!a)
{
Default(inst);
return;
@@ -45,7 +45,7 @@ void Jit64::lfs(UGeckoInstruction inst)
SafeLoadToReg(EAX, gpr.R(a), 32, offset, RegistersInUse(), false);
MEMCHECK_START
-
+
MOV(32, M(&temp32), R(EAX));
fpr.Lock(d);
fpr.BindToRegister(d, false);
@@ -67,7 +67,7 @@ void Jit64::lfd(UGeckoInstruction inst)
int d = inst.RD;
int a = inst.RA;
- if (!a)
+ if (!a)
{
Default(inst);
return;
@@ -108,7 +108,7 @@ void Jit64::lfd(UGeckoInstruction inst)
MOV(32, M((void*)((u8 *)&temp64+4)), R(EAX));
MEMCHECK_START
-
+
MOV(32, R(EAX), MDisp(ABI_PARAM1, (u32)Memory::base + offset + 4));
BSWAP(32, EAX);
MOV(32, M(&temp64), R(EAX));
@@ -213,7 +213,7 @@ void Jit64::stfd(UGeckoInstruction inst)
fpr.UnlockAll();
}
-// In Release on 32bit build,
+// In Release on 32bit build,
// this seemed to cause a problem with PokePark2
// at start after talking to first pokemon,
// you run and smash a box, then he goes on about
@@ -324,7 +324,7 @@ void Jit64::lfsx(UGeckoInstruction inst)
MOVD_xmm(r, MComplex(RBX, EAX, SCALE_1, 0));
#endif
MEMCHECK_START
-
+
PSHUFB(r, M((void *)bswapShuffle1x4));
CVTSS2SD(r, R(r));
MOVDDUP(r, R(r));
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStorePaired.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStorePaired.cpp
index 38113596ae..a2cb0784d1 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStorePaired.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStorePaired.cpp
@@ -15,7 +15,7 @@
const u8 GC_ALIGNED16(pbswapShuffle2x4[16]) = {3, 2, 1, 0, 7, 6, 5, 4, 8, 9, 10, 11, 12, 13, 14, 15};
//static u64 GC_ALIGNED16(temp64); // unused?
-
+
// TODO(ector): Improve 64-bit version
#if 0
static void WriteDual32(u64 value, u32 address)
@@ -122,12 +122,6 @@ void Jit64::psq_l(UGeckoInstruction inst)
const UGQR gqr(rSPR(SPR_GQR0 + inst.I));
- if (inst.W) {
- // PanicAlert("Single ps load: %i %i", gqr.ST_TYPE, gqr.ST_SCALE);
- Default(inst);
- return;
- }
-
bool update = inst.OPCD == 57;
int offset = inst.SIMM_12;
@@ -143,6 +137,8 @@ void Jit64::psq_l(UGeckoInstruction inst)
MOV(32, gpr.R(inst.RA), R(ECX));
MOVZX(32, 16, EAX, M(((char *)&GQR(inst.I)) + 2));
MOVZX(32, 8, EDX, R(AL));
+ if (inst.W)
+ OR(32, R(EDX), Imm8(8));
#ifdef _M_IX86
int addr_scale = SCALE_4;
#else
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_Paired.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_Paired.cpp
index 7d7480b311..781b75a538 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_Paired.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_Paired.cpp
@@ -11,14 +11,12 @@
// ps_madds0
// ps_muls0
// ps_madds1
-// ps_sel
// cmppd, andpd, andnpd, or
// lfsx, ps_merge01 etc
-const u64 GC_ALIGNED16(psSignBits[2]) = {0x8000000000000000ULL, 0x8000000000000000ULL};
-const u64 GC_ALIGNED16(psAbsMask[2]) = {0x7FFFFFFFFFFFFFFFULL, 0x7FFFFFFFFFFFFFFFULL};
-const double GC_ALIGNED16(psOneOne[2]) = {1.0, 1.0};
-const double GC_ALIGNED16(psZeroZero[2]) = {0.0, 0.0};
+static const u64 GC_ALIGNED16(psSignBits[2]) = {0x8000000000000000ULL, 0x8000000000000000ULL};
+static const u64 GC_ALIGNED16(psAbsMask[2]) = {0x7FFFFFFFFFFFFFFFULL, 0x7FFFFFFFFFFFFFFFULL};
+static const double GC_ALIGNED16(psOneOne[2]) = {1.0, 1.0};
void Jit64::ps_mr(UGeckoInstruction inst)
{
@@ -37,34 +35,32 @@ void Jit64::ps_mr(UGeckoInstruction inst)
void Jit64::ps_sel(UGeckoInstruction inst)
{
+ // we can't use (V)BLENDVPD here because it just looks at the sign bit
+ // but we need -0 = +0
+
INSTRUCTION_START
JITDISABLE(bJITPairedOff)
- Default(inst); return;
-
if (inst.Rc) {
Default(inst); return;
}
- // GRR can't get this to work 100%. Getting artifacts in D.O.N. intro.
int d = inst.FD;
int a = inst.FA;
int b = inst.FB;
int c = inst.FC;
- fpr.FlushLockX(XMM7);
- fpr.FlushLockX(XMM6);
+
fpr.Lock(a, b, c, d);
- fpr.BindToRegister(a, true, false);
- fpr.BindToRegister(d, false, true);
- // BLENDPD would have been nice...
- MOVAPD(XMM7, fpr.R(a));
- CMPPD(XMM7, M((void*)psZeroZero), 1); //less-than = 111111
- MOVAPD(XMM6, R(XMM7));
- ANDPD(XMM7, fpr.R(d));
- ANDNPD(XMM6, fpr.R(c));
- MOVAPD(fpr.RX(d), R(XMM7));
- ORPD(fpr.RX(d), R(XMM6));
+ MOVAPD(XMM0, fpr.R(a));
+ XORPD(XMM1, R(XMM1));
+ // XMM0 = XMM0 < 0 ? all 1s : all 0s
+ CMPPD(XMM0, R(XMM1), LT);
+ MOVAPD(XMM1, R(XMM0));
+ ANDPD(XMM0, fpr.R(b));
+ ANDNPD(XMM1, fpr.R(c));
+ ORPD(XMM0, R(XMM1));
+ fpr.BindToRegister(d, false);
+ MOVAPD(fpr.RX(d), R(XMM0));
fpr.UnlockAll();
- fpr.UnlockAllX();
}
void Jit64::ps_sign(UGeckoInstruction inst)
@@ -90,7 +86,7 @@ void Jit64::ps_sign(UGeckoInstruction inst)
switch (inst.SUBOP10)
{
- case 40: //neg
+ case 40: //neg
XORPD(fpr.RX(d), M((void*)&psSignBits));
break;
case 136: //nabs
@@ -104,20 +100,33 @@ void Jit64::ps_sign(UGeckoInstruction inst)
fpr.UnlockAll();
}
-void Jit64::ps_rsqrte(UGeckoInstruction inst)
+// ps_res and ps_rsqrte
+void Jit64::ps_recip(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(bJITPairedOff)
if (inst.Rc) {
Default(inst); return;
}
+ OpArg divisor;
int d = inst.FD;
int b = inst.FB;
fpr.Lock(d, b);
- fpr.BindToRegister(d, (d == b), true);
- SQRTPD(XMM0, fpr.R(b));
+ fpr.BindToRegister(d, (d == b));
+ switch (inst.SUBOP5)
+ {
+ case 24:
+ // ps_res
+ divisor = fpr.R(b);
+ break;
+ case 26:
+ // ps_rsqrte
+ SQRTPD(XMM0, fpr.R(b));
+ divisor = R(XMM0);
+ break;
+ }
MOVAPD(XMM1, M((void*)&psOneOne));
- DIVPD(XMM1, R(XMM0));
+ DIVPD(XMM1, divisor);
MOVAPD(fpr.R(d), XMM1);
fpr.UnlockAll();
}
@@ -173,7 +182,7 @@ void Jit64::tri_op(int d, int a, int b, bool reversible, void (XEmitter::*op)(X6
}
void Jit64::ps_arith(UGeckoInstruction inst)
-{
+{
INSTRUCTION_START
JITDISABLE(bJITPairedOff)
if (inst.Rc) {
@@ -182,10 +191,8 @@ void Jit64::ps_arith(UGeckoInstruction inst)
switch (inst.SUBOP5)
{
case 18: tri_op(inst.FD, inst.FA, inst.FB, false, &XEmitter::DIVPD); break; //div
- case 20: tri_op(inst.FD, inst.FA, inst.FB, false, &XEmitter::SUBPD); break; //sub
+ case 20: tri_op(inst.FD, inst.FA, inst.FB, false, &XEmitter::SUBPD); break; //sub
case 21: tri_op(inst.FD, inst.FA, inst.FB, true, &XEmitter::ADDPD); break; //add
- case 23: Default(inst); break; //sel
- case 24: Default(inst); break; //res
case 25: tri_op(inst.FD, inst.FA, inst.FC, true, &XEmitter::MULPD); break; //mul
default:
_assert_msg_(DYNA_REC, 0, "ps_arith WTF!!!");
@@ -193,10 +200,10 @@ void Jit64::ps_arith(UGeckoInstruction inst)
}
void Jit64::ps_sum(UGeckoInstruction inst)
-{
+{
INSTRUCTION_START
JITDISABLE(bJITPairedOff)
- // TODO: (inst.SUBOP5 == 10) breaks Sonic Colours (black screen)
+ // TODO: (inst.SUBOP5 == 10) breaks Sonic Colours (black screen)
if (inst.Rc || (inst.SUBOP5 == 10)) {
Default(inst); return;
}
@@ -222,7 +229,7 @@ void Jit64::ps_sum(UGeckoInstruction inst)
MOVAPD(XMM1, fpr.R(b));
SHUFPD(XMM1, R(XMM1), 5); // copy higher to lower
ADDPD(XMM0, R(XMM1)); // sum lowers
- MOVAPD(XMM1, fpr.R(c));
+ MOVAPD(XMM1, fpr.R(c));
UNPCKLPD(XMM1, R(XMM0)); // merge
MOVAPD(fpr.R(d), XMM1);
break;
@@ -288,7 +295,7 @@ void Jit64::ps_mergeXX(UGeckoInstruction inst)
MOVAPD(XMM0, fpr.R(a));
switch (inst.SUBOP10)
{
- case 528:
+ case 528:
UNPCKLPD(XMM0, fpr.R(b)); //unpck is faster than shuf
break; //00
case 560:
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_SystemRegisters.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_SystemRegisters.cpp
index 91a3a160c9..573feb3756 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_SystemRegisters.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_SystemRegisters.cpp
@@ -254,7 +254,7 @@ void Jit64::crXXX(UGeckoInstruction inst)
JITDISABLE(bJITSystemRegistersOff)
_dbg_assert_msg_(DYNA_REC, inst.OPCD == 19, "Invalid crXXX");
- // USES_CR
+ // USES_CR
// Get bit CRBA in EAX aligned with bit CRBD
int shiftA = (inst.CRBD & 3) - (inst.CRBA & 3);
diff --git a/Source/Core/Core/Src/PowerPC/Jit64IL/IR_X86.cpp b/Source/Core/Core/Src/PowerPC/Jit64IL/IR_X86.cpp
index 0b874d8b36..7a37a1cb43 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64IL/IR_X86.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64IL/IR_X86.cpp
@@ -163,9 +163,9 @@ static const int FRegAllocSize = sizeof(FRegAllocOrder) / sizeof(X64Reg);
#endif
static X64Reg regFindFreeReg(RegInfo& RI) {
- for (int i = 0; i < RegAllocSize; i++)
- if (RI.regs[RegAllocOrder[i]] == 0)
- return RegAllocOrder[i];
+ for (auto& reg : RegAllocOrder)
+ if (RI.regs[reg] == 0)
+ return reg;
int bestIndex = -1;
InstLoc bestEnd = 0;
@@ -184,9 +184,9 @@ static X64Reg regFindFreeReg(RegInfo& RI) {
}
static X64Reg fregFindFreeReg(RegInfo& RI) {
- for (int i = 0; i < FRegAllocSize; i++)
- if (RI.fregs[FRegAllocOrder[i]] == 0)
- return FRegAllocOrder[i];
+ for (auto& reg : FRegAllocOrder)
+ if (RI.fregs[reg] == 0)
+ return reg;
int bestIndex = -1;
InstLoc bestEnd = 0;
@@ -205,9 +205,9 @@ static X64Reg fregFindFreeReg(RegInfo& RI) {
}
static OpArg regLocForInst(RegInfo& RI, InstLoc I) {
- for (int i = 0; i < RegAllocSize; i++)
- if (RI.regs[RegAllocOrder[i]] == I)
- return R(RegAllocOrder[i]);
+ for (auto& reg : RegAllocOrder)
+ if (RI.regs[reg] == I)
+ return R(reg);
if (regGetSpill(RI, I) == 0)
PanicAlert("Retrieving unknown spill slot?!");
@@ -215,9 +215,9 @@ static OpArg regLocForInst(RegInfo& RI, InstLoc I) {
}
static OpArg fregLocForInst(RegInfo& RI, InstLoc I) {
- for (int i = 0; i < FRegAllocSize; i++)
- if (RI.fregs[FRegAllocOrder[i]] == I)
- return R(FRegAllocOrder[i]);
+ for (auto& reg : FRegAllocOrder)
+ if (RI.fregs[reg] == I)
+ return R(reg);
if (fregGetSpill(RI, I) == 0)
PanicAlert("Retrieving unknown spill slot?!");
@@ -225,15 +225,15 @@ static OpArg fregLocForInst(RegInfo& RI, InstLoc I) {
}
static void regClearInst(RegInfo& RI, InstLoc I) {
- for (int i = 0; i < RegAllocSize; i++)
- if (RI.regs[RegAllocOrder[i]] == I)
- RI.regs[RegAllocOrder[i]] = 0;
+ for (auto& reg : RegAllocOrder)
+ if (RI.regs[reg] == I)
+ RI.regs[reg] = 0;
}
static void fregClearInst(RegInfo& RI, InstLoc I) {
- for (int i = 0; i < FRegAllocSize; i++)
- if (RI.fregs[FRegAllocOrder[i]] == I)
- RI.fregs[FRegAllocOrder[i]] = 0;
+ for (auto& reg : FRegAllocOrder)
+ if (RI.fregs[reg] == I)
+ RI.fregs[reg] = 0;
}
static X64Reg regEnsureInReg(RegInfo& RI, InstLoc I) {
@@ -266,7 +266,7 @@ static void regSpillCallerSaved(RegInfo& RI) {
// 64-bit
regSpill(RI, RCX);
regSpill(RI, RDX);
- regSpill(RI, RSI);
+ regSpill(RI, RSI);
regSpill(RI, RDI);
regSpill(RI, R8);
regSpill(RI, R9);
@@ -411,7 +411,7 @@ static void fregEmitBinInst(RegInfo& RI, InstLoc I,
// Could be extended to unprofiled addresses.
static void regMarkMemAddress(RegInfo& RI, InstLoc I, InstLoc AI, unsigned OpNum) {
if (isImm(*AI)) {
- unsigned addr = RI.Build->GetImmValue(AI);
+ unsigned addr = RI.Build->GetImmValue(AI);
if (Memory::IsRAMAddress(addr))
return;
}
@@ -470,7 +470,7 @@ static void regEmitMemLoad(RegInfo& RI, InstLoc I, unsigned Size) {
X64Reg reg;
auto info = regBuildMemAddress(RI, I, getOp1(I), 1, Size, &reg);
- RI.Jit->SafeLoadToReg(reg, info.first, Size, info.second, regsInUse(RI), false);
+ RI.Jit->SafeLoadToReg(reg, info.first, Size, info.second, regsInUse(RI), false, EmuCodeBlock::SAFE_LOADSTORE_NO_FASTMEM);
if (regReadUse(RI, I))
RI.regs[reg] = I;
}
@@ -498,7 +498,7 @@ static void regEmitMemStore(RegInfo& RI, InstLoc I, unsigned Size) {
} else {
RI.Jit->MOV(32, R(EAX), regLocForInst(RI, getOp1(I)));
}
- RI.Jit->SafeWriteRegToReg(EAX, ECX, Size, 0, regsInUse(RI));
+ RI.Jit->SafeWriteRegToReg(EAX, ECX, Size, 0, regsInUse(RI), EmuCodeBlock::SAFE_LOADSTORE_NO_FASTMEM);
if (RI.IInfo[I - RI.FirstI] & 4)
regClearInst(RI, getOp1(I));
}
@@ -594,7 +594,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit) {
case InterpreterFallback:
case SystemCall:
case RFIExit:
- case InterpreterBranch:
+ case InterpreterBranch:
case ShortIdleLoop:
case FPExceptionCheck:
case DSIExceptionCheck:
@@ -713,7 +713,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit) {
break;
case IdleBranch:
regMarkUse(RI, I, getOp1(getOp1(I)), 1);
- break;
+ break;
case BranchCond: {
if (isICmp(*getOp1(I)) &&
isImm(*getOp2(getOp1(I)))) {
@@ -1128,7 +1128,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit) {
if (!thisUsed) break;
X64Reg reg = fregFindFreeReg(RI);
if (cpu_info.bSSSE3) {
- static const u32 GC_ALIGNED16(maskSwapa64_1[4]) =
+ static const u32 GC_ALIGNED16(maskSwapa64_1[4]) =
{0x04050607L, 0x00010203L, 0xFFFFFFFFL, 0xFFFFFFFFL};
#ifdef _M_X64
// TODO: Remove regEnsureInReg() and use ECX
@@ -1187,7 +1187,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit) {
Jit->MOV(32, R(EAX), loc1);
}
Jit->MOV(32, R(ECX), regLocForInst(RI, getOp2(I)));
- RI.Jit->SafeWriteRegToReg(EAX, ECX, 32, 0, regsInUse(RI));
+ RI.Jit->SafeWriteRegToReg(EAX, ECX, 32, 0, regsInUse(RI), EmuCodeBlock::SAFE_LOADSTORE_NO_FASTMEM);
if (RI.IInfo[I - RI.FirstI] & 4)
fregClearInst(RI, getOp1(I));
if (RI.IInfo[I - RI.FirstI] & 8)
@@ -1213,7 +1213,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit) {
FixupBranch safe = Jit->J_CC(CC_NZ);
// Fast routine
if (cpu_info.bSSSE3) {
- static const u32 GC_ALIGNED16(maskSwapa64_1[4]) =
+ static const u32 GC_ALIGNED16(maskSwapa64_1[4]) =
{0x04050607L, 0x00010203L, 0xFFFFFFFFL, 0xFFFFFFFFL};
X64Reg value = fregBinLHSRegWithMov(RI, I);
@@ -1250,12 +1250,12 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit) {
Jit->PSRLQ(XMM0, 32);
Jit->MOVD_xmm(R(EAX), XMM0);
Jit->MOV(32, R(ECX), address);
- RI.Jit->SafeWriteRegToReg(EAX, ECX, 32, 0, regsInUse(RI));
+ RI.Jit->SafeWriteRegToReg(EAX, ECX, 32, 0, regsInUse(RI), EmuCodeBlock::SAFE_LOADSTORE_NO_FASTMEM);
Jit->MOVAPD(XMM0, value);
Jit->MOVD_xmm(R(EAX), XMM0);
Jit->MOV(32, R(ECX), address);
- RI.Jit->SafeWriteRegToReg(EAX, ECX, 32, 4, regsInUse(RI));
+ RI.Jit->SafeWriteRegToReg(EAX, ECX, 32, 4, regsInUse(RI), EmuCodeBlock::SAFE_LOADSTORE_NO_FASTMEM);
Jit->SetJumpTarget(exit);
if (RI.IInfo[I - RI.FirstI] & 4)
@@ -1334,7 +1334,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit) {
case FSNeg: {
if (!thisUsed) break;
X64Reg reg = fregURegWithMov(RI, I);
- static const u32 GC_ALIGNED16(ssSignBits[4]) =
+ static const u32 GC_ALIGNED16(ssSignBits[4]) =
{0x80000000};
Jit->PXOR(reg, M((void*)&ssSignBits));
RI.fregs[reg] = I;
@@ -1344,7 +1344,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit) {
case FDNeg: {
if (!thisUsed) break;
X64Reg reg = fregURegWithMov(RI, I);
- static const u64 GC_ALIGNED16(ssSignBits[2]) =
+ static const u64 GC_ALIGNED16(ssSignBits[2]) =
{0x8000000000000000ULL};
Jit->PXOR(reg, M((void*)&ssSignBits));
RI.fregs[reg] = I;
@@ -1354,7 +1354,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit) {
case FPNeg: {
if (!thisUsed) break;
X64Reg reg = fregURegWithMov(RI, I);
- static const u32 GC_ALIGNED16(psSignBits[4]) =
+ static const u32 GC_ALIGNED16(psSignBits[4]) =
{0x80000000, 0x80000000};
Jit->PXOR(reg, M((void*)&psSignBits));
RI.fregs[reg] = I;
@@ -1384,7 +1384,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit) {
Jit->MOVAPD(reg, M(&PowerPC::ppcState.ps[ppcreg]));
RI.fregs[reg] = I;
break;
- }
+ }
case LoadFRegDENToZero: {
if (!thisUsed) break;
X64Reg reg = fregFindFreeReg(RI);
@@ -1623,14 +1623,14 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit) {
case BlockEnd:
break;
- case IdleBranch: {
+ case IdleBranch: {
Jit->CMP(32, regLocForInst(RI, getOp1(getOp1(I))),
- Imm32(RI.Build->GetImmValue(getOp2(getOp1(I)))));
+ Imm32(RI.Build->GetImmValue(getOp2(getOp1(I)))));
FixupBranch cont = Jit->J_CC(CC_NE);
- RI.Jit->Cleanup(); // is it needed?
+ RI.Jit->Cleanup(); // is it needed?
Jit->ABI_CallFunction((void *)&PowerPC::OnIdleIL);
-
+
Jit->MOV(32, M(&PC), Imm32(ibuild->GetImmValue( getOp2(I) )));
Jit->JMP(((JitIL *)jit)->asm_routines.testExceptions, true);
@@ -1682,7 +1682,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit) {
regWriteExit(RI, getOp1(I));
regNormalRegClear(RI, I);
break;
- }
+ }
case ShortIdleLoop: {
unsigned InstLoc = ibuild->GetImmValue(getOp1(I));
Jit->ABI_CallFunction((void *)&CoreTiming::Idle);
@@ -1711,11 +1711,11 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit) {
Jit->MOV(32, R(ECX), M(&SRR1));
Jit->AND(32, R(EAX), Imm32(~mask));
Jit->AND(32, R(ECX), Imm32(mask));
- Jit->OR(32, R(EAX), R(ECX));
+ Jit->OR(32, R(EAX), R(ECX));
// MSR &= 0xFFFBFFFF; // Mask used to clear the bit MSR[13]
Jit->AND(32, R(EAX), Imm32(0xFFFBFFFF));
Jit->MOV(32, M(&MSR), R(EAX));
- // NPC = SRR0;
+ // NPC = SRR0;
Jit->MOV(32, R(EAX), M(&SRR0));
Jit->WriteRfiExitDestInOpArg(R(EAX));
break;
@@ -1729,7 +1729,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit) {
// If a FPU exception occurs, the exception handler will read
// from PC. Update PC with the latest value in case that happens.
Jit->MOV(32, M(&PC), Imm32(InstLoc));
- Jit->SUB(32, M(&CoreTiming::downcount), Jit->js.downcountAmount > 127 ? Imm32(Jit->js.downcountAmount) : Imm8(Jit->js.downcountAmount));
+ Jit->SUB(32, M(&CoreTiming::downcount), Jit->js.downcountAmount > 127 ? Imm32(Jit->js.downcountAmount) : Imm8(Jit->js.downcountAmount));
Jit->JMP(Jit->asm_routines.fpException, true);
Jit->SetJumpTarget(b1);
break;
diff --git a/Source/Core/Core/Src/PowerPC/Jit64IL/JitIL.cpp b/Source/Core/Core/Src/PowerPC/Jit64IL/JitIL.cpp
index f056c9f8b3..b15ffbacca 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64IL/JitIL.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64IL/JitIL.cpp
@@ -3,6 +3,8 @@
// Refer to the license.txt file included.
#include <map>
+#include <memory>
+#include <cinttypes>
#include "Common.h"
#include "../../HLE/HLE.h"
@@ -50,7 +52,7 @@ using namespace PowerPC;
// will be as small to be negligible, so I haven't dirtied up the code with that. AMD recommends it in their
// optimization manuals, though.
//
-// We support block linking. Reserve space at the exits of every block for a full 5-byte jmp. Save 16-bit offsets
+// We support block linking. Reserve space at the exits of every block for a full 5-byte jmp. Save 16-bit offsets
// from the starts of each block, marking the exits so that they can be nicely patched at any time.
//
// Blocks do NOT use call/ret, they only jmp to each other and to the dispatcher when necessary.
@@ -84,7 +86,7 @@ using namespace PowerPC;
CR2-CR4 are non-volatile, rest of CR is volatile -> dropped on blr.
R5-R12 are volatile -> dropped on blr.
* classic inlining across calls.
-
+
Low hanging fruit:
stfd -- guaranteed in memory
cmpl
@@ -211,20 +213,20 @@ namespace JitILProfiler
File::IOFile file(buffer, "w");
setvbuf(file.GetHandle(), NULL, _IOFBF, 1024 * 1024);
fprintf(file.GetHandle(), "code hash,total elapsed,number of calls,elapsed per call\n");
- for (std::vector<Block>::iterator it = blocks.begin(), itEnd = blocks.end(); it != itEnd; ++it)
+ for (auto& block : blocks)
{
- const u64 codeHash = it->codeHash;
- const u64 totalElapsed = it->totalElapsed;
- const u64 numberOfCalls = it->numberOfCalls;
+ const u64 codeHash = block.codeHash;
+ const u64 totalElapsed = block.totalElapsed;
+ const u64 numberOfCalls = block.numberOfCalls;
const double elapsedPerCall = totalElapsed / (double)numberOfCalls;
- fprintf(file.GetHandle(), "%016llx,%lld,%lld,%f\n", codeHash, totalElapsed, numberOfCalls, elapsedPerCall);
+ fprintf(file.GetHandle(), "%016" PRIx64 ",%" PRId64 ",%" PRId64 ",%f\n", codeHash, totalElapsed, numberOfCalls, elapsedPerCall);
}
}
};
- std::auto_ptr<JitILProfilerFinalizer> finalizer;
+ std::unique_ptr<JitILProfilerFinalizer> finalizer;
static void Init()
{
- finalizer = std::auto_ptr<JitILProfilerFinalizer>(new JitILProfilerFinalizer);
+ finalizer = std::unique_ptr<JitILProfilerFinalizer>(new JitILProfilerFinalizer);
}
static void Shutdown()
{
@@ -385,22 +387,22 @@ void JitIL::WriteExit(u32 destination, int exit_num)
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bJITILTimeProfiling) {
ABI_CallFunction((void *)JitILProfiler::End);
}
- SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
+ SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
//If nobody has taken care of this yet (this can be removed when all branches are done)
JitBlock *b = js.curBlock;
b->exitAddress[exit_num] = destination;
b->exitPtrs[exit_num] = GetWritableCodePtr();
-
+
// Link opportunity!
int block = blocks.GetBlockNumberFromStartAddress(destination);
- if (block >= 0 && jo.enableBlocklink)
+ if (block >= 0 && jo.enableBlocklink)
{
// It exists! Joy of joy!
JMP(blocks.GetBlock(block)->checkedEntry, true);
b->linkStatus[exit_num] = true;
}
- else
+ else
{
MOV(32, M(&PC), Imm32(destination));
JMP(asm_routines.dispatcher, true);
@@ -414,7 +416,7 @@ void JitIL::WriteExitDestInOpArg(const Gen::OpArg& arg)
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bJITILTimeProfiling) {
ABI_CallFunction((void *)JitILProfiler::End);
}
- SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
+ SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
JMP(asm_routines.dispatcher, true);
}
@@ -425,7 +427,7 @@ void JitIL::WriteRfiExitDestInOpArg(const Gen::OpArg& arg)
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bJITILTimeProfiling) {
ABI_CallFunction((void *)JitILProfiler::End);
}
- SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
+ SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
JMP(asm_routines.testExceptions, true);
}
@@ -435,7 +437,7 @@ void JitIL::WriteExceptionExit()
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bJITILTimeProfiling) {
ABI_CallFunction((void *)JitILProfiler::End);
}
- SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
+ SUB(32, M(&CoreTiming::downcount), js.downcountAmount > 127 ? Imm32(js.downcountAmount) : Imm8(js.downcountAmount));
JMP(asm_routines.testExceptions, true);
}
@@ -473,11 +475,11 @@ void JitIL::Trace()
sprintf(reg, "f%02d: %016x ", i, riPS0(i));
strncat(fregs, reg, 750);
}
-#endif
+#endif
- DEBUG_LOG(DYNA_REC, "JITIL PC: %08x SRR0: %08x SRR1: %08x CRfast: %02x%02x%02x%02x%02x%02x%02x%02x FPSCR: %08x MSR: %08x LR: %08x %s %s",
- PC, SRR0, SRR1, PowerPC::ppcState.cr_fast[0], PowerPC::ppcState.cr_fast[1], PowerPC::ppcState.cr_fast[2], PowerPC::ppcState.cr_fast[3],
- PowerPC::ppcState.cr_fast[4], PowerPC::ppcState.cr_fast[5], PowerPC::ppcState.cr_fast[6], PowerPC::ppcState.cr_fast[7], PowerPC::ppcState.fpscr,
+ DEBUG_LOG(DYNA_REC, "JITIL PC: %08x SRR0: %08x SRR1: %08x CRfast: %02x%02x%02x%02x%02x%02x%02x%02x FPSCR: %08x MSR: %08x LR: %08x %s %s",
+ PC, SRR0, SRR1, PowerPC::ppcState.cr_fast[0], PowerPC::ppcState.cr_fast[1], PowerPC::ppcState.cr_fast[2], PowerPC::ppcState.cr_fast[3],
+ PowerPC::ppcState.cr_fast[4], PowerPC::ppcState.cr_fast[5], PowerPC::ppcState.cr_fast[6], PowerPC::ppcState.cr_fast[7], PowerPC::ppcState.fpscr,
PowerPC::ppcState.msr, PowerPC::ppcState.spr[8], regs, fregs);
}
@@ -562,7 +564,7 @@ const u8* JitIL::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitBloc
const u8 *normalEntry = GetCodePtr();
b->normalEntry = normalEntry;
-
+
if (ImHereDebug)
ABI_CallFunction((void *)&ImHere); // Used to get a trace of the last few blocks before a crash, sometimes VERY useful
diff --git a/Source/Core/Core/Src/PowerPC/Jit64IL/JitIL.h b/Source/Core/Core/Src/PowerPC/Jit64IL/JitIL.h
index b7ee6f4651..e56a56c815 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64IL/JitIL.h
+++ b/Source/Core/Core/Src/PowerPC/Jit64IL/JitIL.h
@@ -56,47 +56,41 @@ class JitIL : public JitILBase, public EmuCodeBlock
{
private:
JitBlockCache blocks;
- TrampolineCache trampolines;
-
- // The default code buffer. We keep it around to not have to alloc/dealloc a
- // large chunk of memory for each recompiled block.
- PPCAnalyst::CodeBuffer code_buffer;
+ TrampolineCache trampolines;
public:
JitILAsmRoutineManager asm_routines;
- JitIL() : code_buffer(32000) {}
+ JitIL() {}
~JitIL() {}
- IREmitter::IRBuilder ibuild;
-
// Initialization, etc
- void Init();
- void Shutdown();
+ void Init() override;
+ void Shutdown() override;
// Jit!
- void Jit(u32 em_address);
+ void Jit(u32 em_address) override;
const u8* DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buffer, JitBlock *b);
void Trace();
- JitBlockCache *GetBlockCache() { return &blocks; }
-
- const u8 *BackPatch(u8 *codePtr, u32 em_address, void *ctx) { return NULL; };
+ JitBlockCache *GetBlockCache() override { return &blocks; }
+
+ const u8 *BackPatch(u8 *codePtr, u32 em_address, void *ctx) override { return NULL; };
- bool IsInCodeSpace(u8 *ptr) { return IsInSpace(ptr); }
+ bool IsInCodeSpace(u8 *ptr) override { return IsInSpace(ptr); }
- void ClearCache();
+ void ClearCache() override;
const u8 *GetDispatcher() {
return asm_routines.dispatcher; // asm_routines.dispatcher
}
- const CommonAsmRoutines *GetAsmRoutines() {
+ const CommonAsmRoutines *GetAsmRoutines() override {
return &asm_routines;
}
- const char *GetName() {
+ const char *GetName() override {
#ifdef _M_X64
return "JIT64IL";
#else
@@ -106,8 +100,8 @@ public:
// Run!
- void Run();
- void SingleStep();
+ void Run() override;
+ void SingleStep() override;
// Utilities for use by opcodes
@@ -117,7 +111,7 @@ public:
void WriteRfiExitDestInOpArg(const Gen::OpArg& arg);
void WriteCallInterpreter(UGeckoInstruction _inst);
void Cleanup();
-
+
void WriteToConstRamAddress(int accessSize, const Gen::OpArg& arg, u32 address);
void WriteFloatToConstRamAddress(const Gen::X64Reg& xmm_reg, u32 address);
void GenerateCarry(Gen::X64Reg temp_reg);
@@ -130,18 +124,16 @@ public:
void WriteCode();
// OPCODES
- void unknown_instruction(UGeckoInstruction _inst);
- void Default(UGeckoInstruction _inst);
- void DoNothing(UGeckoInstruction _inst);
- void HLEFunction(UGeckoInstruction _inst);
-
- void DynaRunTable4(UGeckoInstruction _inst);
- void DynaRunTable19(UGeckoInstruction _inst);
- void DynaRunTable31(UGeckoInstruction _inst);
- void DynaRunTable59(UGeckoInstruction _inst);
- void DynaRunTable63(UGeckoInstruction _inst);
+ void unknown_instruction(UGeckoInstruction _inst) override;
+ void Default(UGeckoInstruction _inst) override;
+ void DoNothing(UGeckoInstruction _inst) override;
+ void HLEFunction(UGeckoInstruction _inst) override;
+
+ void DynaRunTable4(UGeckoInstruction _inst) override;
+ void DynaRunTable19(UGeckoInstruction _inst) override;
+ void DynaRunTable31(UGeckoInstruction _inst) override;
+ void DynaRunTable59(UGeckoInstruction _inst) override;
+ void DynaRunTable63(UGeckoInstruction _inst) override;
};
-void Jit(u32 em_address);
-
#endif // _JITIL_H
diff --git a/Source/Core/Core/Src/PowerPC/Jit64IL/JitILAsm.cpp b/Source/Core/Core/Src/PowerPC/Jit64IL/JitILAsm.cpp
index 6587af6782..a909d32725 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64IL/JitILAsm.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64IL/JitILAsm.cpp
@@ -14,9 +14,9 @@ using namespace Gen;
//TODO - make an option
//#if _DEBUG
-static bool enableDebug = false;
+static bool enableDebug = false;
//#else
-// bool enableDebug = false;
+// bool enableDebug = false;
//#endif
//static bool enableStatistics = false; // unused?
@@ -27,7 +27,7 @@ static bool enableDebug = false;
//GLOBAL STATIC ALLOCATIONS x64
//EAX - ubiquitous scratch register - EVERYBODY scratches this
//RBX - Base pointer of memory
-//R15 - Pointer to array of block pointers
+//R15 - Pointer to array of block pointers
JitILAsmRoutineManager jitil_asm_routines;
@@ -49,7 +49,7 @@ void JitILAsmRoutineManager::Generate()
const u8 *outer_loop = GetCodePtr();
ABI_CallFunction(reinterpret_cast<void *>(&CoreTiming::Advance));
FixupBranch skipToRealDispatch = J(); //skip the sync and compare first time
-
+
dispatcher = GetCodePtr();
//This is the place for CPUCompare!
@@ -161,7 +161,7 @@ void JitILAsmRoutineManager::Generate()
JMP(dispatcherNoCheck); // no point in special casing this
//FP blocks test for FPU available, jump here if false
- fpException = AlignCode4();
+ fpException = AlignCode4();
MOV(32, R(EAX), M(&PC));
MOV(32, M(&NPC), R(EAX));
LOCK();
@@ -175,14 +175,14 @@ void JitILAsmRoutineManager::Generate()
doTiming = GetCodePtr();
ABI_CallFunction(reinterpret_cast<void *>(&CoreTiming::Advance));
-
+
testExceptions = GetCodePtr();
MOV(32, R(EAX), M(&PC));
MOV(32, M(&NPC), R(EAX));
ABI_CallFunction(reinterpret_cast<void *>(&PowerPC::CheckExceptions));
MOV(32, R(EAX), M(&NPC));
MOV(32, M(&PC), R(EAX));
-
+
TEST(32, M((void*)PowerPC::GetStatePtr()), Imm32(0xFFFFFFFF));
J_CC(CC_Z, outer_loop, true);
//Landing pad for drec space
@@ -214,7 +214,7 @@ void JitILAsmRoutineManager::GenerateCommon()
GenQuantizedStores();
GenQuantizedSingleStores();
- //CMPSD(R(XMM0), M(&zero),
+ //CMPSD(R(XMM0), M(&zero),
// TODO
// Fast write routines - special case the most common hardware write
diff --git a/Source/Core/Core/Src/PowerPC/Jit64IL/JitILAsm.h b/Source/Core/Core/Src/PowerPC/Jit64IL/JitILAsm.h
index cf4dd6e155..f2c30a78e8 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64IL/JitILAsm.h
+++ b/Source/Core/Core/Src/PowerPC/Jit64IL/JitILAsm.h
@@ -18,7 +18,7 @@
// 3) Can optimize code at runtime for the specific CPU model.
// There aren't really any disadvantages other than having to maintain a x86 emitter,
// which we have to do anyway :)
-//
+//
// To add a new asm routine, just add another const here, and add the code to Generate.
// Also, possibly increase the size of the code buffer.
diff --git a/Source/Core/Core/Src/PowerPC/Jit64IL/JitIL_Tables.cpp b/Source/Core/Core/Src/PowerPC/Jit64IL/JitIL_Tables.cpp
index 7ca1ad5a53..a9ed852452 100644
--- a/Source/Core/Core/Src/PowerPC/Jit64IL/JitIL_Tables.cpp
+++ b/Source/Core/Core/Src/PowerPC/Jit64IL/JitIL_Tables.cpp
@@ -29,7 +29,7 @@ struct GekkoOPTemplate
//GekkoOPInfo opinfo; // Doesn't need opinfo, Interpreter fills it out
};
-static GekkoOPTemplate primarytable[] =
+static GekkoOPTemplate primarytable[] =
{
{4, &JitIL::DynaRunTable4}, //"RunTable4", OPTYPE_SUBTABLE | (4<<24), 0}},
{19, &JitIL::DynaRunTable19}, //"RunTable19", OPTYPE_SUBTABLE | (19<<24), 0}},
@@ -110,7 +110,7 @@ static GekkoOPTemplate primarytable[] =
{58, &JitIL::Default}, //"unknown_instruction", OPTYPE_UNKNOWN, 0}},
};
-static GekkoOPTemplate table4[] =
+static GekkoOPTemplate table4[] =
{ //SUBOP10
{0, &JitIL::Default}, //"ps_cmpu0", OPTYPE_PS, FL_SET_CRn}},
{32, &JitIL::Default}, //"ps_cmpo0", OPTYPE_PS, FL_SET_CRn}},
@@ -126,9 +126,9 @@ static GekkoOPTemplate table4[] =
{624, &JitIL::ps_mergeXX}, //"ps_merge11", OPTYPE_PS, FL_RC_BIT}},
{1014, &JitIL::Default}, //"dcbz_l", OPTYPE_SYSTEM, 0}},
-};
+};
-static GekkoOPTemplate table4_2[] =
+static GekkoOPTemplate table4_2[] =
{
{10, &JitIL::ps_sum}, //"ps_sum0", OPTYPE_PS, 0}},
{11, &JitIL::ps_sum}, //"ps_sum1", OPTYPE_PS, 0}},
@@ -150,15 +150,15 @@ static GekkoOPTemplate table4_2[] =
};
-static GekkoOPTemplate table4_3[] =
+static GekkoOPTemplate table4_3[] =
{
{6, &JitIL::Default}, //"psq_lx", OPTYPE_PS, 0}},
{7, &JitIL::Default}, //"psq_stx", OPTYPE_PS, 0}},
{38, &JitIL::Default}, //"psq_lux", OPTYPE_PS, 0}},
- {39, &JitIL::Default}, //"psq_stux", OPTYPE_PS, 0}},
+ {39, &JitIL::Default}, //"psq_stux", OPTYPE_PS, 0}},
};
-static GekkoOPTemplate table19[] =
+static GekkoOPTemplate table19[] =
{
{528, &JitIL::bcctrx}, //"bcctrx", OPTYPE_BRANCH, FL_ENDBLOCK}},
{16, &JitIL::bclrx}, //"bclrx", OPTYPE_BRANCH, FL_ENDBLOCK}},
@@ -170,16 +170,16 @@ static GekkoOPTemplate table19[] =
{449, &JitIL::crXX}, //"cror", OPTYPE_CR, FL_EVIL}},
{417, &JitIL::crXX}, //"crorc", OPTYPE_CR, FL_EVIL}},
{193, &JitIL::crXX}, //"crxor", OPTYPE_CR, FL_EVIL}},
-
+
{150, &JitIL::DoNothing}, //"isync", OPTYPE_ICACHE, FL_EVIL}},
{0, &JitIL::mcrf}, //"mcrf", OPTYPE_SYSTEM, FL_EVIL}},
-
+
{50, &JitIL::rfi}, //"rfi", OPTYPE_SYSTEM, FL_ENDBLOCK | FL_CHECKEXCEPTIONS, 1}},
{18, &JitIL::Default}, //"rfid", OPTYPE_SYSTEM, FL_ENDBLOCK | FL_CHECKEXCEPTIONS}}
};
-static GekkoOPTemplate table31[] =
+static GekkoOPTemplate table31[] =
{
{28, &JitIL::boolX}, //"andx", OPTYPE_INTEGER, FL_OUT_A | FL_IN_SB | FL_RC_BIT}},
{60, &JitIL::boolX}, //"andcx", OPTYPE_INTEGER, FL_OUT_A | FL_IN_SB | FL_RC_BIT}},
@@ -253,7 +253,7 @@ static GekkoOPTemplate table31[] =
{661, &JitIL::Default}, //"stswx", OPTYPE_STORE, FL_EVIL}},
{725, &JitIL::Default}, //"stswi", OPTYPE_STORE, FL_EVIL}},
- // fp load/store
+ // fp load/store
{535, &JitIL::lfsx}, //"lfsx", OPTYPE_LOADFP, FL_IN_A0 | FL_IN_B}},
{567, &JitIL::Default}, //"lfsux", OPTYPE_LOADFP, FL_IN_A | FL_IN_B}},
{599, &JitIL::Default}, //"lfdx", OPTYPE_LOADFP, FL_IN_A0 | FL_IN_B}},
@@ -291,8 +291,8 @@ static GekkoOPTemplate table31[] =
{566, &JitIL::Default}, //"tlbsync", OPTYPE_SYSTEM, 0}},
};
-static GekkoOPTemplate table31_2[] =
-{
+static GekkoOPTemplate table31_2[] =
+{
{266, &JitIL::addx}, //"addx", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_RC_BIT}},
{778, &JitIL::addx}, //"addx", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_RC_BIT}},
{10, &JitIL::Default}, //"addcx", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_SET_CA | FL_RC_BIT}},
@@ -319,21 +319,21 @@ static GekkoOPTemplate table31_2[] =
{200, &JitIL::Default}, //"subfzex", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_READ_CA | FL_SET_CA | FL_RC_BIT}},
};
-static GekkoOPTemplate table59[] =
+static GekkoOPTemplate table59[] =
{
- {18, &JitIL::Default}, //{"fdivsx", OPTYPE_FPU, FL_RC_BIT_F, 16}},
- {20, &JitIL::fp_arith_s}, //"fsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {21, &JitIL::fp_arith_s}, //"faddsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {18, &JitIL::Default}, //{"fdivsx", OPTYPE_FPU, FL_RC_BIT_F, 16}},
+ {20, &JitIL::fp_arith_s}, //"fsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {21, &JitIL::fp_arith_s}, //"faddsx", OPTYPE_FPU, FL_RC_BIT_F}},
// {22, &JitIL::Default}, //"fsqrtsx", OPTYPE_FPU, FL_RC_BIT_F}}, // Not implemented on gekko
- {24, &JitIL::Default}, //"fresx", OPTYPE_FPU, FL_RC_BIT_F}},
- {25, &JitIL::fp_arith_s}, //"fmulsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {28, &JitIL::fmaddXX}, //"fmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {29, &JitIL::fmaddXX}, //"fmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {30, &JitIL::fmaddXX}, //"fnmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {31, &JitIL::fmaddXX}, //"fnmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
-};
-
-static GekkoOPTemplate table63[] =
+ {24, &JitIL::Default}, //"fresx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {25, &JitIL::fp_arith_s}, //"fmulsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {28, &JitIL::fmaddXX}, //"fmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {29, &JitIL::fmaddXX}, //"fmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {30, &JitIL::fmaddXX}, //"fnmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {31, &JitIL::fmaddXX}, //"fnmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
+};
+
+static GekkoOPTemplate table63[] =
{
{264, &JitIL::fsign}, //"fabsx", OPTYPE_FPU, FL_RC_BIT_F}},
{32, &JitIL::fcmpx}, //"fcmpo", OPTYPE_FPU, FL_RC_BIT_F}},
@@ -353,7 +353,7 @@ static GekkoOPTemplate table63[] =
{711, &JitIL::Default}, //"mtfsfx", OPTYPE_SYSTEMFP, 0, 2}},
};
-static GekkoOPTemplate table63_2[] =
+static GekkoOPTemplate table63_2[] =
{
{18, &JitIL::Default}, //"fdivx", OPTYPE_FPU, FL_RC_BIT_F, 30}},
{20, &JitIL::Default}, //"fsubx", OPTYPE_FPU, FL_RC_BIT_F}},
@@ -397,9 +397,9 @@ void InitTables()
return;
//clear
- for (int i = 0; i < 32; i++)
+ for (auto& tpl : dynaOpTable59)
{
- dynaOpTable59[i] = &JitIL::unknown_instruction;
+ tpl = &JitIL::unknown_instruction;
}
for (int i = 0; i < 1024; i++)
@@ -407,81 +407,81 @@ void InitTables()
dynaOpTable4 [i] = &JitIL::unknown_instruction;
dynaOpTable19[i] = &JitIL::unknown_instruction;
dynaOpTable31[i] = &JitIL::unknown_instruction;
- dynaOpTable63[i] = &JitIL::unknown_instruction;
+ dynaOpTable63[i] = &JitIL::unknown_instruction;
}
- for (int i = 0; i < (int)(sizeof(primarytable) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : primarytable)
{
- dynaOpTable[primarytable[i].opcode] = primarytable[i].Inst;
+ dynaOpTable[tpl.opcode] = tpl.Inst;
}
for (int i = 0; i < 32; i++)
{
int fill = i << 5;
- for (int j = 0; j < (int)(sizeof(table4_2) / sizeof(GekkoOPTemplate)); j++)
+ for (auto& tpl : table4_2)
{
- int op = fill+table4_2[j].opcode;
- dynaOpTable4[op] = table4_2[j].Inst;
+ int op = fill+tpl.opcode;
+ dynaOpTable4[op] = tpl.Inst;
}
}
for (int i = 0; i < 16; i++)
{
int fill = i << 6;
- for (int j = 0; j < (int)(sizeof(table4_3) / sizeof(GekkoOPTemplate)); j++)
+ for (auto& tpl : table4_3)
{
- int op = fill+table4_3[j].opcode;
- dynaOpTable4[op] = table4_3[j].Inst;
+ int op = fill+tpl.opcode;
+ dynaOpTable4[op] = tpl.Inst;
}
}
- for (int i = 0; i < (int)(sizeof(table4) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table4)
{
- int op = table4[i].opcode;
- dynaOpTable4[op] = table4[i].Inst;
+ int op = tpl.opcode;
+ dynaOpTable4[op] = tpl.Inst;
}
- for (int i = 0; i < (int)(sizeof(table31) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table31)
{
- int op = table31[i].opcode;
- dynaOpTable31[op] = table31[i].Inst;
+ int op = tpl.opcode;
+ dynaOpTable31[op] = tpl.Inst;
}
for (int i = 0; i < 1; i++)
{
int fill = i << 9;
- for (int j = 0; j < (int)(sizeof(table31_2) / sizeof(GekkoOPTemplate)); j++)
+ for (auto& tpl : table31_2)
{
- int op = fill + table31_2[j].opcode;
- dynaOpTable31[op] = table31_2[j].Inst;
+ int op = fill + tpl.opcode;
+ dynaOpTable31[op] = tpl.Inst;
}
}
- for (int i = 0; i < (int)(sizeof(table19) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table19)
{
- int op = table19[i].opcode;
- dynaOpTable19[op] = table19[i].Inst;
+ int op = tpl.opcode;
+ dynaOpTable19[op] = tpl.Inst;
}
- for (int i = 0; i < (int)(sizeof(table59) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table59)
{
- int op = table59[i].opcode;
- dynaOpTable59[op] = table59[i].Inst;
+ int op = tpl.opcode;
+ dynaOpTable59[op] = tpl.Inst;
}
- for (int i = 0; i < (int)(sizeof(table63) / sizeof(GekkoOPTemplate)); i++)
+ for (auto& tpl : table63)
{
- int op = table63[i].opcode;
- dynaOpTable63[op] = table63[i].Inst;
+ int op = tpl.opcode;
+ dynaOpTable63[op] = tpl.Inst;
}
for (int i = 0; i < 32; i++)
{
int fill = i << 5;
- for (int j = 0; j < (int)(sizeof(table63_2) / sizeof(GekkoOPTemplate)); j++)
+ for (auto& tpl : table63_2)
{
- int op = fill + table63_2[j].opcode;
- dynaOpTable63[op] = table63_2[j].Inst;
+ int op = fill + tpl.opcode;
+ dynaOpTable63[op] = tpl.Inst;
}
}
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/Jit.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/Jit.cpp
index c7cdb81d21..4083a383e9 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/Jit.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/Jit.cpp
@@ -54,7 +54,7 @@ void JitArm::Init()
jo.optimizeGatherPipe = true;
}
-void JitArm::ClearCache()
+void JitArm::ClearCache()
{
ClearCodeSpace();
blocks.Clear();
@@ -93,7 +93,7 @@ void JitArm::HLEFunction(UGeckoInstruction _inst)
fpr.Flush();
MOVI2R(R0, js.compilerPC);
MOVI2R(R1, _inst.hex);
- QuickCallFunction(R14, (void*)&HLE::Execute);
+ QuickCallFunction(R14, (void*)&HLE::Execute);
ARMReg rA = gpr.GetReg();
LDR(rA, R9, PPCSTATE_OFF(npc));
WriteExitDestInR(rA);
@@ -158,7 +158,7 @@ void JitArm::DoDownCount()
}
gpr.Unlock(rA, rB);
}
-void JitArm::WriteExitDestInR(ARMReg Reg)
+void JitArm::WriteExitDestInR(ARMReg Reg)
{
STR(Reg, R9, PPCSTATE_OFF(pc));
Cleanup();
@@ -167,7 +167,7 @@ void JitArm::WriteExitDestInR(ARMReg Reg)
B(Reg);
gpr.Unlock(Reg);
}
-void JitArm::WriteRfiExitDestInR(ARMReg Reg)
+void JitArm::WriteRfiExitDestInR(ARMReg Reg)
{
STR(Reg, R9, PPCSTATE_OFF(pc));
Cleanup();
@@ -190,27 +190,27 @@ void JitArm::WriteExit(u32 destination, int exit_num)
{
Cleanup();
- DoDownCount();
+ DoDownCount();
//If nobody has taken care of this yet (this can be removed when all branches are done)
JitBlock *b = js.curBlock;
b->exitAddress[exit_num] = destination;
b->exitPtrs[exit_num] = GetWritableCodePtr();
-
+
// Link opportunity!
int block = blocks.GetBlockNumberFromStartAddress(destination);
- if (block >= 0 && jo.enableBlocklink)
+ if (block >= 0 && jo.enableBlocklink)
{
// It exists! Joy of joy!
B(blocks.GetBlock(block)->checkedEntry);
b->linkStatus[exit_num] = true;
}
- else
+ else
{
ARMReg A = gpr.GetReg(false);
MOVI2R(A, destination);
STR(A, R9, PPCSTATE_OFF(pc));
MOVI2R(A, (u32)asm_routines.dispatcher);
- B(A);
+ B(A);
}
}
@@ -247,11 +247,11 @@ void JitArm::Trace()
sprintf(reg, "f%02d: %016x ", i, riPS0(i));
strncat(fregs, reg, 750);
}
-#endif
+#endif
- DEBUG_LOG(DYNA_REC, "JITARM PC: %08x SRR0: %08x SRR1: %08x CRfast: %02x%02x%02x%02x%02x%02x%02x%02x FPSCR: %08x MSR: %08x LR: %08x %s %s",
- PC, SRR0, SRR1, PowerPC::ppcState.cr_fast[0], PowerPC::ppcState.cr_fast[1], PowerPC::ppcState.cr_fast[2], PowerPC::ppcState.cr_fast[3],
- PowerPC::ppcState.cr_fast[4], PowerPC::ppcState.cr_fast[5], PowerPC::ppcState.cr_fast[6], PowerPC::ppcState.cr_fast[7], PowerPC::ppcState.fpscr,
+ DEBUG_LOG(DYNA_REC, "JITARM PC: %08x SRR0: %08x SRR1: %08x CRfast: %02x%02x%02x%02x%02x%02x%02x%02x FPSCR: %08x MSR: %08x LR: %08x %s %s",
+ PC, SRR0, SRR1, PowerPC::ppcState.cr_fast[0], PowerPC::ppcState.cr_fast[1], PowerPC::ppcState.cr_fast[2], PowerPC::ppcState.cr_fast[3],
+ PowerPC::ppcState.cr_fast[4], PowerPC::ppcState.cr_fast[5], PowerPC::ppcState.cr_fast[6], PowerPC::ppcState.cr_fast[7], PowerPC::ppcState.fpscr,
PowerPC::ppcState.msr, PowerPC::ppcState.spr[8], regs, fregs);
}
@@ -354,7 +354,7 @@ const u8* JitArm::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitBlo
}
PPCAnalyst::CodeOp *ops = code_buf->codebuffer;
- const u8 *start = GetCodePtr();
+ const u8 *start = GetCodePtr();
b->checkedEntry = start;
b->runCount = 0;
@@ -389,7 +389,7 @@ const u8* JitArm::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitBlo
MOVI2R(A, (u32)asm_routines.fpException);
B(A);
SetCC();
- gpr.Unlock(A, C);
+ gpr.Unlock(A, C);
}
// Conditionally add profiling code.
if (Profiler::g_ProfileBlocks) {
@@ -398,7 +398,7 @@ const u8* JitArm::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitBlo
MOVI2R(rA, (u32)&b->runCount); // Load in to register
LDR(rB, rA); // Load the actual value in to R11.
ADD(rB, rB, 1); // Add one to the value
- STR(rB, rA); // Now store it back in the memory location
+ STR(rB, rA); // Now store it back in the memory location
// get start tic
PROFILER_QUERY_PERFORMANCE_COUNTER(&b->ticStart);
gpr.Unlock(rA, rB);
@@ -498,7 +498,7 @@ const u8* JitArm::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitBlo
printf("Broken Block going to 0x%08x\n", nextPC);
WriteExit(nextPC, 0);
}
-
+
b->flags = js.block_flags;
b->codeSize = (u32)(GetCodePtr() - normalEntry);
b->originalSize = size;
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/Jit.h b/Source/Core/Core/Src/PowerPC/JitArm32/Jit.h
index 06ebccd85c..fc1911c5bf 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/Jit.h
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/Jit.h
@@ -47,8 +47,8 @@
if (Core::g_CoreStartupParameter.bJITOff || \
Core::g_CoreStartupParameter.setting) \
{Default(inst); return;}
-#define PPCSTATE_OFF(elem) ((s32)STRUCT_OFF(PowerPC::ppcState, elem) - (s32)STRUCT_OFF(PowerPC::ppcState, spr[0]))
-class JitArm : public JitBase, public ArmGen::ARMXCodeBlock
+#define PPCSTATE_OFF(elem) ((s32)STRUCT_OFF(PowerPC::ppcState, elem) - (s32)STRUCT_OFF(PowerPC::ppcState, spr[0]))
+class JitArm : public JitBase, public ArmGen::ARMXCodeBlock
{
private:
JitArmBlockCache blocks;
@@ -67,7 +67,7 @@ private:
void PrintDebug(UGeckoInstruction inst, u32 level);
- void Helper_UpdateCR1(ARMReg fpscr, ARMReg temp);
+ void Helper_UpdateCR1(ARMReg fpscr, ARMReg temp);
void SetFPException(ARMReg Reg, u32 Exception);
public:
@@ -81,7 +81,7 @@ public:
void Jit(u32 em_address);
const u8* DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitBlock *b);
-
+
JitBaseBlockCache *GetBlockCache() { return &blocks; }
const u8 *BackPatch(u8 *codePtr, u32 em_address, void *ctx);
@@ -93,10 +93,10 @@ public:
void ClearCache();
const u8 *GetDispatcher() {
- return asm_routines.dispatcher;
+ return asm_routines.dispatcher;
}
CommonAsmRoutinesBase *GetAsmRoutines() {
- return &asm_routines;
+ return &asm_routines;
}
const char *GetName() {
@@ -154,7 +154,7 @@ public:
void sc(UGeckoInstruction _inst);
void rfi(UGeckoInstruction _inst);
void bcctrx(UGeckoInstruction _inst);
-
+
// Integer
void arith(UGeckoInstruction _inst);
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_BackPatch.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_BackPatch.cpp
index 34eb69a540..bb085e96a8 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_BackPatch.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_BackPatch.cpp
@@ -26,7 +26,7 @@
// This generates some fairly heavy trampolines, but:
// 1) It's really necessary. We don't know anything about the context.
-// 2) It doesn't really hurt. Only instructions that access I/O will get these, and there won't be
+// 2) It doesn't really hurt. Only instructions that access I/O will get these, and there won't be
// that many of them in a typical program/game.
bool DisamLoadStore(const u32 inst, ARMReg &rD, u8 &accessSize, bool &Store)
{
@@ -81,7 +81,7 @@ const u8 *JitArm::BackPatch(u8 *codePtr, u32, void *ctx_void)
{
// TODO: This ctx needs to be filled with our information
SContext *ctx = (SContext *)ctx_void;
-
+
// We need to get the destination register before we start
u32 Value = *(u32*)codePtr;
ARMReg rD;
@@ -114,7 +114,7 @@ const u8 *JitArm::BackPatch(u8 *codePtr, u32, void *ctx_void)
}
emitter.PUSH(4, R0, R1, R2, R3); // 3
emitter.MOV(R0, rD); // Value - 4
- emitter.MOV(R1, R10); // Addr- 5
+ emitter.MOV(R1, R10); // Addr- 5
emitter.BL(R14); // 6
emitter.POP(4, R0, R1, R2, R3); // 7
u32 newPC = ctx->CTX_PC - (ARMREGOFFSET + 4 * 4);
@@ -129,13 +129,13 @@ const u8 *JitArm::BackPatch(u8 *codePtr, u32, void *ctx_void)
switch (accessSize)
{
case 8: // 8bit
- emitter.MOVI2R(R14, (u32)&Memory::Read_U8, false); // 2
+ emitter.MOVI2R(R14, (u32)&Memory::Read_U8, false); // 2
break;
case 16: // 16bit
- emitter.MOVI2R(R14, (u32)&Memory::Read_U16, false); // 2
+ emitter.MOVI2R(R14, (u32)&Memory::Read_U16, false); // 2
break;
case 32: // 32bit
- emitter.MOVI2R(R14, (u32)&Memory::Read_U32, false); // 2
+ emitter.MOVI2R(R14, (u32)&Memory::Read_U32, false); // 2
break;
}
emitter.PUSH(4, R0, R1, R2, R3); // 3
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Branch.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Branch.cpp
index dc24366df7..1879e4af85 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Branch.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Branch.cpp
@@ -30,12 +30,12 @@
// No need for a disable-mechanism.
// If defined, clears CR0 at blr and bl-s. If the assumption that
-// flags never carry over between functions holds, then the task for
+// flags never carry over between functions holds, then the task for
// an optimizer becomes much easier.
// #define ACID_TEST
-// Zelda and many more games seem to pass the Acid Test.
+// Zelda and many more games seem to pass the Acid Test.
using namespace ArmGen;
@@ -65,7 +65,7 @@ void JitArm::rfi(UGeckoInstruction inst)
gpr.Flush();
fpr.Flush();
-
+
// See Interpreter rfi for details
const u32 mask = 0x87C0FFFF;
const u32 clearMSR13 = 0xFFFBFFFF; // Mask used to clear the bit MSR[13]
@@ -93,7 +93,7 @@ void JitArm::rfi(UGeckoInstruction inst)
STR(rB, R9, PPCSTATE_OFF(msr)); // STR rB in to rA
LDR(rA, R9, PPCSTATE_OFF(spr[SPR_SRR0]));
-
+
gpr.Unlock(rB, rC, rD);
WriteRfiExitDestInR(rA); // rA gets unlocked here
//AND(32, M(&MSR), Imm32((~mask) & clearMSR13));
@@ -145,7 +145,12 @@ void JitArm::bx(UGeckoInstruction inst)
// CALL(ProtectFunction(&CoreTiming::Idle, 0));
// JMP(Asm::testExceptions, true);
// make idle loops go faster
- js.downcountAmount += 8;
+ MOVI2R(R14, (u32)&CoreTiming::Idle);
+ BL(R14);
+ MOVI2R(R14, js.compilerPC);
+ STR(R14, R9, PPCSTATE_OFF(pc));
+ MOVI2R(R14, (u32)asm_routines.testExceptions);
+ B(R14);
}
WriteExit(destination, 0);
}
@@ -168,7 +173,7 @@ void JitArm::bcx(UGeckoInstruction inst)
LDR(rB, R9, PPCSTATE_OFF(spr[SPR_CTR]));
SUBS(rB, rB, 1);
STR(rB, R9, PPCSTATE_OFF(spr[SPR_CTR]));
-
+
//SUB(32, M(&CTR), Imm8(1));
if (inst.BO & BO_BRANCH_IF_CTR_0)
pCTRDontBranch = B_CC(CC_NEQ);
@@ -183,7 +188,7 @@ void JitArm::bcx(UGeckoInstruction inst)
TST(rA, 8 >> (inst.BI & 3));
//TEST(8, M(&PowerPC::ppcState.cr_fast[inst.BI >> 2]), Imm8(8 >> (inst.BI & 3)));
- if (inst.BO & BO_BRANCH_IF_TRUE) // Conditional branch
+ if (inst.BO & BO_BRANCH_IF_TRUE) // Conditional branch
pConditionDontBranch = B_CC(CC_EQ); // Zero
else
pConditionDontBranch = B_CC(CC_NEQ); // Not Zero
@@ -248,7 +253,7 @@ void JitArm::bcctrx(UGeckoInstruction inst)
// BO_2 == 011zy -> b if true
ARMReg rA = gpr.GetReg();
ARMReg rB = gpr.GetReg();
-
+
LDRB(rA, R9, PPCSTATE_OFF(cr_fast) + (inst.BI >> 2));
TST(rA, 8 >> (inst.BI & 3));
CCFlags branch;
@@ -301,7 +306,7 @@ void JitArm::bclrx(UGeckoInstruction inst)
LDR(rB, R9, PPCSTATE_OFF(spr[SPR_CTR]));
SUBS(rB, rB, 1);
STR(rB, R9, PPCSTATE_OFF(spr[SPR_CTR]));
-
+
//SUB(32, M(&CTR), Imm8(1));
if (inst.BO & BO_BRANCH_IF_CTR_0)
pCTRDontBranch = B_CC(CC_NEQ);
@@ -315,7 +320,7 @@ void JitArm::bclrx(UGeckoInstruction inst)
LDRB(rA, R9, PPCSTATE_OFF(cr_fast) + (inst.BI >> 2));
TST(rA, 8 >> (inst.BI & 3));
//TEST(8, M(&PowerPC::ppcState.cr_fast[inst.BI >> 2]), Imm8(8 >> (inst.BI & 3)));
- if (inst.BO & BO_BRANCH_IF_TRUE) // Conditional branch
+ if (inst.BO & BO_BRANCH_IF_TRUE) // Conditional branch
pConditionDontBranch = B_CC(CC_EQ); // Zero
else
pConditionDontBranch = B_CC(CC_NEQ); // Not Zero
@@ -328,7 +333,7 @@ void JitArm::bclrx(UGeckoInstruction inst)
// AND(32, M(&PowerPC::ppcState.cr), Imm32(~(0xFF000000)));
#endif
- //MOV(32, R(EAX), M(&LR));
+ //MOV(32, R(EAX), M(&LR));
//AND(32, R(EAX), Imm32(0xFFFFFFFC));
LDR(rA, R9, PPCSTATE_OFF(spr[SPR_LR]));
BIC(rA, rA, 0x3);
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FPUtils.h b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FPUtils.h
index c186ae9696..52815f571b 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FPUtils.h
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FPUtils.h
@@ -19,7 +19,7 @@ static Operand2 FXMask(2, 1); // 0x80000000
static Operand2 VEMask(0x40, 0); // 0x40
static Operand2 XXException(2, 4); // 0x2000000
-static Operand2 CVIException(1, 0xC); // 0x100
+static Operand2 CVIException(1, 0xC); // 0x100
static Operand2 NANException(1, 4); // 0x1000000
static Operand2 VXVCException(8, 8); // 0x80000
static Operand2 ZXException(1, 3); // 0x4000000
@@ -58,7 +58,7 @@ inline void JitArm::SetFPException(ARMReg Reg, u32 Exception)
ORR(Reg, Reg, *ExceptionMask);
CMP(rB, Reg);
SetCC(CC_NEQ);
- ORR(Reg, Reg, FXMask); // If exception is set, set exception bit
+ ORR(Reg, Reg, FXMask); // If exception is set, set exception bit
SetCC();
BIC(Reg, Reg, FRFIMask);
gpr.Unlock(rB);
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FloatingPoint.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FloatingPoint.cpp
index e27bb90e69..28e9723333 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FloatingPoint.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FloatingPoint.cpp
@@ -49,7 +49,7 @@ void JitArm::fctiwx(UGeckoInstruction inst)
ARMReg V0 = fpr.GetReg();
ARMReg V1 = fpr.GetReg();
ARMReg V2 = fpr.GetReg();
-
+
ARMReg rA = gpr.GetReg();
ARMReg fpscrReg = gpr.GetReg();
@@ -82,7 +82,7 @@ void JitArm::fctiwx(UGeckoInstruction inst)
// Within ranges, convert to integer
// Set rounding mode first
// PPC <-> ARM rounding modes
- // 0, 1, 2, 3 <-> 0, 3, 1, 2
+ // 0, 1, 2, 3 <-> 0, 3, 1, 2
ARMReg rB = gpr.GetReg();
VMRS(rA);
// Bits 22-23
@@ -91,7 +91,7 @@ void JitArm::fctiwx(UGeckoInstruction inst)
LDR(rB, R9, PPCSTATE_OFF(fpscr));
AND(rB, rB, 0x3); // Get the FPSCR rounding bits
CMP(rB, 1);
- SetCC(CC_EQ); // zero
+ SetCC(CC_EQ); // zero
ORR(rA, rA, Operand2(3, 5));
SetCC(CC_NEQ);
CMP(rB, 2); // +inf
@@ -101,10 +101,10 @@ void JitArm::fctiwx(UGeckoInstruction inst)
CMP(rB, 3); // -inf
SetCC(CC_EQ);
ORR(rA, rA, Operand2(2, 5));
- SetCC();
+ SetCC();
VMSR(rA);
ORR(rA, rA, Operand2(3, 5));
- VCVT(vD, vB, TO_INT | IS_SIGNED);
+ VCVT(vD, vB, TO_INT | IS_SIGNED);
VMSR(rA);
gpr.Unlock(rB);
VCMPE(vD, vB);
@@ -114,7 +114,7 @@ void JitArm::fctiwx(UGeckoInstruction inst)
BIC(fpscrReg, fpscrReg, FRFIMask);
FixupBranch DoneEqual = B();
SetCC();
- SetFPException(fpscrReg, FPSCR_XX);
+ SetFPException(fpscrReg, FPSCR_XX);
ORR(fpscrReg, fpscrReg, FIMask);
VABS(V1, vB);
VABS(V2, vD);
@@ -156,7 +156,7 @@ void JitArm::fctiwzx(UGeckoInstruction inst)
ARMReg V0 = fpr.GetReg();
ARMReg V1 = fpr.GetReg();
ARMReg V2 = fpr.GetReg();
-
+
ARMReg rA = gpr.GetReg();
ARMReg fpscrReg = gpr.GetReg();
@@ -187,7 +187,7 @@ void JitArm::fctiwzx(UGeckoInstruction inst)
SetJumpTarget(noException);
}
// Within ranges, convert to integer
- VCVT(vD, vB, TO_INT | IS_SIGNED | ROUND_TO_ZERO);
+ VCVT(vD, vB, TO_INT | IS_SIGNED | ROUND_TO_ZERO);
VCMPE(vD, vB);
VMRS(_PC);
@@ -195,7 +195,7 @@ void JitArm::fctiwzx(UGeckoInstruction inst)
BIC(fpscrReg, fpscrReg, FRFIMask);
FixupBranch DoneEqual = B();
SetCC();
- SetFPException(fpscrReg, FPSCR_XX);
+ SetFPException(fpscrReg, FPSCR_XX);
ORR(fpscrReg, fpscrReg, FIMask);
VABS(V1, vB);
VABS(V2, vD);
@@ -247,29 +247,29 @@ void JitArm::fcmpo(UGeckoInstruction inst)
VCMPE(vA, vB);
VMRS(_PC);
SetCC(CC_LT);
- ORR(fpscrReg, fpscrReg, LessThan);
+ ORR(fpscrReg, fpscrReg, LessThan);
MOV(crReg, 8);
Done1 = B();
SetCC(CC_GT);
- ORR(fpscrReg, fpscrReg, GreaterThan);
+ ORR(fpscrReg, fpscrReg, GreaterThan);
MOV(crReg, 4);
Done2 = B();
SetCC(CC_EQ);
- ORR(fpscrReg, fpscrReg, EqualTo);
+ ORR(fpscrReg, fpscrReg, EqualTo);
MOV(crReg, 2);
Done3 = B();
SetCC();
-
- ORR(fpscrReg, fpscrReg, NANRes);
+
+ ORR(fpscrReg, fpscrReg, NANRes);
MOV(crReg, 1);
-
+
VCMPE(vA, vA);
VMRS(_PC);
- FixupBranch NanA = B_CC(CC_NEQ);
+ FixupBranch NanA = B_CC(CC_NEQ);
VCMPE(vB, vB);
VMRS(_PC);
FixupBranch NanB = B_CC(CC_NEQ);
-
+
SetFPException(fpscrReg, FPSCR_VXVC);
FixupBranch Done4 = B();
@@ -277,9 +277,9 @@ void JitArm::fcmpo(UGeckoInstruction inst)
SetJumpTarget(NanB);
SetFPException(fpscrReg, FPSCR_VXSNAN);
-
+
TST(fpscrReg, VEMask);
-
+
FixupBranch noVXVC = B_CC(CC_NEQ);
SetFPException(fpscrReg, FPSCR_VXVC);
@@ -316,25 +316,25 @@ void JitArm::fcmpu(UGeckoInstruction inst)
VCMPE(vA, vB);
VMRS(_PC);
SetCC(CC_LT);
- ORR(fpscrReg, fpscrReg, LessThan);
+ ORR(fpscrReg, fpscrReg, LessThan);
MOV(crReg, 8);
Done1 = B();
SetCC(CC_GT);
- ORR(fpscrReg, fpscrReg, GreaterThan);
+ ORR(fpscrReg, fpscrReg, GreaterThan);
MOV(crReg, 4);
Done2 = B();
SetCC(CC_EQ);
- ORR(fpscrReg, fpscrReg, EqualTo);
+ ORR(fpscrReg, fpscrReg, EqualTo);
MOV(crReg, 2);
Done3 = B();
SetCC();
-
- ORR(fpscrReg, fpscrReg, NANRes);
+
+ ORR(fpscrReg, fpscrReg, NANRes);
MOV(crReg, 1);
-
+
VCMPE(vA, vA);
VMRS(_PC);
- FixupBranch NanA = B_CC(CC_NEQ);
+ FixupBranch NanA = B_CC(CC_NEQ);
VCMPE(vB, vB);
VMRS(_PC);
FixupBranch NanB = B_CC(CC_NEQ);
@@ -344,7 +344,7 @@ void JitArm::fcmpu(UGeckoInstruction inst)
SetJumpTarget(NanB);
SetFPException(fpscrReg, FPSCR_VXSNAN);
-
+
SetJumpTarget(Done1);
SetJumpTarget(Done2);
SetJumpTarget(Done3);
@@ -546,7 +546,7 @@ void JitArm::fmaddsx(UGeckoInstruction inst)
ARMReg V0 = fpr.GetReg();
VMOV(V0, vB0);
-
+
VMLA(V0, vA0, vC0);
VMOV(vD0, V0);
@@ -575,7 +575,7 @@ void JitArm::fmaddx(UGeckoInstruction inst)
ARMReg V0 = fpr.GetReg();
VMOV(V0, vB0);
-
+
VMLA(V0, vA0, vC0);
VMOV(vD0, V0);
@@ -603,7 +603,7 @@ void JitArm::fnmaddx(UGeckoInstruction inst)
ARMReg V0 = fpr.GetReg();
VMOV(V0, vB0);
-
+
VMLA(V0, vA0, vC0);
VNEG(vD0, V0);
@@ -631,7 +631,7 @@ void JitArm::fnmaddsx(UGeckoInstruction inst)
ARMReg V0 = fpr.GetReg();
VMOV(V0, vB0);
-
+
VMLA(V0, vA0, vC0);
VNEG(vD0, V0);
@@ -661,7 +661,7 @@ void JitArm::fresx(UGeckoInstruction inst)
ARMReg V0 = fpr.GetReg();
MOVI2R(V0, 1.0, INVALID_REG); // temp reg isn't needed for 1.0
-
+
VDIV(vD1, V0, vB0);
VDIV(vD0, V0, vB0);
fpr.Unlock(V0);
@@ -671,7 +671,7 @@ void JitArm::fselx(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(bJITPairedOff)
-
+
u32 a = inst.FA, b = inst.FB, c = inst.FC, d = inst.FD;
if (inst.Rc) {
@@ -681,7 +681,7 @@ void JitArm::fselx(UGeckoInstruction inst)
ARMReg vB0 = fpr.R0(b);
ARMReg vC0 = fpr.R0(c);
ARMReg vD0 = fpr.R0(d, false);
-
+
VCMP(vA0);
VMRS(_PC);
@@ -715,7 +715,7 @@ void JitArm::frsqrtex(UGeckoInstruction inst)
VCMP(vB0);
VMRS(_PC);
FixupBranch Less0 = B_CC(CC_LT);
- VMOV(vD0, V0);
+ VMOV(vD0, V0);
SetFPException(fpscrReg, FPSCR_VXSQRT);
FixupBranch SkipOrr0 = B();
SetJumpTarget(Less0);
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Integer.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Integer.cpp
index 0df1cd965e..4d79dc037e 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Integer.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Integer.cpp
@@ -212,7 +212,7 @@ void JitArm::arith(UGeckoInstruction inst)
bool carry = false;
bool isUnsigned = false;
bool shiftedImm = false;
-
+
switch (inst.OPCD)
{
case 7: // mulli
@@ -237,7 +237,7 @@ void JitArm::arith(UGeckoInstruction inst)
carry = true;
break;
case 15: // addis
- shiftedImm = true;
+ shiftedImm = true;
case 14: // addi
if (a)
{
@@ -253,7 +253,7 @@ void JitArm::arith(UGeckoInstruction inst)
Imm[0] = 0;
}
isImm[1] = true;
- Imm[1] = inst.SIMM_16 << (shiftedImm ? 16 : 0);
+ Imm[1] = inst.SIMM_16 << (shiftedImm ? 16 : 0);
break;
case 25: // oris
shiftedImm = true;
@@ -264,7 +264,7 @@ void JitArm::arith(UGeckoInstruction inst)
Imm[0] = gpr.GetImm(s);
}
isImm[1] = true;
- Imm[1] = inst.UIMM << (shiftedImm ? 16 : 0);
+ Imm[1] = inst.UIMM << (shiftedImm ? 16 : 0);
break;
case 27: // xoris
shiftedImm = true;
@@ -275,7 +275,7 @@ void JitArm::arith(UGeckoInstruction inst)
Imm[0] = gpr.GetImm(s);
}
isImm[1] = true;
- Imm[1] = inst.UIMM << (shiftedImm ? 16 : 0);
+ Imm[1] = inst.UIMM << (shiftedImm ? 16 : 0);
break;
case 29: // andis_rc
shiftedImm = true;
@@ -286,7 +286,7 @@ void JitArm::arith(UGeckoInstruction inst)
Imm[0] = gpr.GetImm(s);
}
isImm[1] = true;
- Imm[1] = inst.UIMM << (shiftedImm ? 16 : 0);
+ Imm[1] = inst.UIMM << (shiftedImm ? 16 : 0);
Rc = true;
break;
@@ -296,13 +296,13 @@ void JitArm::arith(UGeckoInstruction inst)
case 24: // slwx
case 28: // andx
case 60: // andcx
- case 124: // norx
+ case 124: // norx
case 284: // eqvx
case 316: // xorx
- case 412: // orcx
+ case 412: // orcx
case 444: // orx
case 476: // nandx
- case 536: // srwx
+ case 536: // srwx
case 792: // srawx
if (gpr.IsImm(s))
{
@@ -441,7 +441,7 @@ void JitArm::arith(UGeckoInstruction inst)
}
break;
}
- if (carry) ComputeCarry(hasCarry);
+ if (carry) ComputeCarry(hasCarry);
if (Rc) ComputeRC(gpr.GetImm(dest), 0);
return;
}
@@ -517,7 +517,7 @@ void JitArm::arith(UGeckoInstruction inst)
gpr.Unlock(rA);
}
break;
- case 31:
+ case 31:
switch(inst.SUBOP10)
{
case 24:
@@ -599,13 +599,13 @@ void JitArm::arith(UGeckoInstruction inst)
RA = gpr.R(a);
RS = gpr.R(s);
RB = gpr.R(b);
- LSRS(RA, RS, RB);
+ LSRS(RA, RS, RB);
break;
case 792:
RA = gpr.R(a);
RS = gpr.R(s);
RB = gpr.R(b);
- ASRS(RA, RS, RB);
+ ASRS(RA, RS, RB);
break;
case 10: // addcx
case 266:
@@ -644,7 +644,7 @@ void JitArm::cntlzwx(UGeckoInstruction inst)
INSTRUCTION_START
JITDISABLE(bJITIntegerOff)
u32 a = inst.RA, s = inst.RS;
-
+
ARMReg RA = gpr.R(a);
ARMReg RS = gpr.R(s);
CLZ(RA, RS);
@@ -679,7 +679,7 @@ void JitArm::extshx(UGeckoInstruction inst)
if (gpr.IsImm(s))
{
gpr.SetImmediate(a, (u32)(s32)(s16)gpr.GetImm(s));
- if (inst.Rc) ComputeRC(gpr.GetImm(a), 0);
+ if (inst.Rc) ComputeRC(gpr.GetImm(a), 0);
return;
}
ARMReg rA = gpr.R(a);
@@ -699,7 +699,7 @@ void JitArm::extsbx(UGeckoInstruction inst)
if (gpr.IsImm(s))
{
gpr.SetImmediate(a, (u32)(s32)(s8)gpr.GetImm(s));
- if (inst.Rc) ComputeRC(gpr.GetImm(a), 0);
+ if (inst.Rc) ComputeRC(gpr.GetImm(a), 0);
return;
}
ARMReg rA = gpr.R(a);
@@ -720,7 +720,7 @@ void JitArm::cmp (UGeckoInstruction inst)
if (gpr.IsImm(a) && gpr.IsImm(b))
{
- ComputeRC((s32)gpr.GetImm(a) - (s32)gpr.GetImm(b), crf);
+ ComputeRC((s32)gpr.GetImm(a) - (s32)gpr.GetImm(b), crf);
return;
}
@@ -765,7 +765,7 @@ void JitArm::cmpl(UGeckoInstruction inst)
CMP(RA, RB);
// Unsigned GenerateRC()
-
+
MOV(rA, 0x2); // Result == 0
SetCC(CC_LO); MOV(rA, 0x8); // Result < 0
SetCC(CC_HI); MOV(rA, 0x4); // Result > 0
@@ -794,7 +794,7 @@ void JitArm::cmpli(UGeckoInstruction inst)
CMP(RA, rA);
}
// Unsigned GenerateRC()
-
+
MOV(rA, 0x2); // Result == 0
SetCC(CC_LO); MOV(rA, 0x8); // Result < 0
SetCC(CC_HI); MOV(rA, 0x4); // Result > 0
@@ -842,7 +842,7 @@ void JitArm::rlwimix(UGeckoInstruction inst)
BIC (rB, RA, rA); // RA & ~mask
AND (rA, rA, Shift);
ORRS(RA, rB, rA);
- GenerateRC();
+ GenerateRC();
}
else
{
@@ -868,7 +868,7 @@ void JitArm::rlwinmx(UGeckoInstruction inst)
if (inst.Rc)
{
ANDS(RA, rA, Shift);
- GenerateRC();
+ GenerateRC();
}
else
AND (RA, rA, Shift);
@@ -893,11 +893,11 @@ void JitArm::rlwnmx(UGeckoInstruction inst)
MOV(rB, 32);
SUB(rB, rB, RB);
- Operand2 Shift(RS, ST_ROR, rB); // Register shifted register
+ Operand2 Shift(RS, ST_ROR, rB); // Register shifted register
if (inst.Rc)
{
ANDS(RA, rA, Shift);
- GenerateRC();
+ GenerateRC();
}
else
AND (RA, rA, Shift);
@@ -918,7 +918,7 @@ void JitArm::srawix(UGeckoInstruction inst)
ARMReg RS = gpr.R(s);
ARMReg tmp = gpr.GetReg();
Operand2 mask = Operand2(2, 2); // XER_CA_MASK
-
+
MOV(tmp, RS);
ASRS(RA, RS, amount);
if (inst.Rc)
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStore.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStore.cpp
index 1c5c55a369..f04c88d6c3 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStore.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStore.cpp
@@ -106,13 +106,13 @@ void JitArm::SafeStoreFromReg(bool fastmem, s32 dest, u32 value, s32 regOffset,
switch(accessSize)
{
case 32:
- MOVI2R(rA, (u32)&Memory::Write_U32);
+ MOVI2R(rA, (u32)&Memory::Write_U32);
break;
case 16:
- MOVI2R(rA, (u32)&Memory::Write_U16);
+ MOVI2R(rA, (u32)&Memory::Write_U16);
break;
case 8:
- MOVI2R(rA, (u32)&Memory::Write_U8);
+ MOVI2R(rA, (u32)&Memory::Write_U8);
break;
}
MOV(rB, RS);
@@ -189,7 +189,7 @@ void JitArm::stX(UGeckoInstruction inst)
accessSize = 8;
break;
}
- SafeStoreFromReg(fastmem, zeroA ? a ? a : -1 : a, s, regOffset, accessSize, offset);
+ SafeStoreFromReg(fastmem, zeroA ? a ? a : -1 : a, s, regOffset, accessSize, offset);
if (update)
{
ARMReg rA = gpr.GetReg();
@@ -268,8 +268,8 @@ void JitArm::SafeLoadToReg(bool fastmem, u32 dest, s32 addr, s32 offsetReg, int
MOV(R10, gpr.R(addr));
else
MOV(R10, 0);
-
- UnsafeLoadToReg(RD, R10, accessSize, offset);
+
+ UnsafeLoadToReg(RD, R10, accessSize, offset);
return;
}
ARMReg rA = gpr.GetReg();
@@ -282,17 +282,17 @@ void JitArm::SafeLoadToReg(bool fastmem, u32 dest, s32 addr, s32 offsetReg, int
if (addr != -1)
ADD(rA, rA, gpr.R(addr));
-
+
switch (accessSize)
{
case 8:
- MOVI2R(rB, (u32)&Memory::Read_U8);
+ MOVI2R(rB, (u32)&Memory::Read_U8);
break;
case 16:
- MOVI2R(rB, (u32)&Memory::Read_U16);
+ MOVI2R(rB, (u32)&Memory::Read_U16);
break;
case 32:
- MOVI2R(rB, (u32)&Memory::Read_U32);
+ MOVI2R(rB, (u32)&Memory::Read_U32);
break;
}
PUSH(4, R0, R1, R2, R3);
@@ -323,7 +323,7 @@ void JitArm::lXX(UGeckoInstruction inst)
u32 accessSize = 0;
s32 offsetReg = -1;
bool zeroA = true;
- bool update = false;
+ bool update = false;
bool signExtend = false;
bool reverse = false;
bool fastmem = false;
@@ -338,7 +338,7 @@ void JitArm::lXX(UGeckoInstruction inst)
update = true;
case 23: // lwzx
accessSize = 32;
- offsetReg = b;
+ offsetReg = b;
break;
case 119: //lbzux
zeroA = false;
@@ -401,7 +401,7 @@ void JitArm::lXX(UGeckoInstruction inst)
accessSize = 16;
break;
}
-
+
// Check for exception before loading
ARMReg rA = gpr.GetReg(false);
@@ -410,20 +410,20 @@ void JitArm::lXX(UGeckoInstruction inst)
FixupBranch DoNotLoad = B_CC(CC_EQ);
SafeLoadToReg(fastmem, d, zeroA ? a ? a : -1 : a, offsetReg, accessSize, offset, signExtend, reverse);
-
+
if (update)
{
rA = gpr.GetReg(false);
ARMReg RA = gpr.R(a);
if (offsetReg == -1)
- MOVI2R(rA, offset);
+ MOVI2R(rA, offset);
else
MOV(RA, gpr.R(offsetReg));
ADD(RA, RA, rA);
}
SetJumpTarget(DoNotLoad);
-
+
// LWZ idle skipping
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bSkipIdle &&
inst.OPCD == 32 &&
@@ -435,14 +435,14 @@ void JitArm::lXX(UGeckoInstruction inst)
ARMReg RD = gpr.R(d);
gpr.Flush();
fpr.Flush();
-
+
// if it's still 0, we can wait until the next event
TST(RD, RD);
FixupBranch noIdle = B_CC(CC_NEQ);
- rA = gpr.GetReg();
-
+ rA = gpr.GetReg();
+
MOVI2R(rA, (u32)&PowerPC::OnIdle);
- MOVI2R(R0, PowerPC::ppcState.gpr[a] + (s32)(s16)inst.SIMM_16);
+ MOVI2R(R0, PowerPC::ppcState.gpr[a] + (s32)(s16)inst.SIMM_16);
BL(rA);
gpr.Unlock(rA);
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStoreFloating.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStoreFloating.cpp
index c2f2f626ac..70998ced47 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStoreFloating.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStoreFloating.cpp
@@ -100,7 +100,7 @@ void JitArm::lfXX(UGeckoInstruction inst)
if (offsetReg == -1) // uses SIMM_16
{
MOVI2R(rB, offset);
- ADD(rB, rB, RA);
+ ADD(rB, rB, RA);
}
else
ADD(rB, gpr.R(offsetReg), RA);
@@ -137,7 +137,7 @@ void JitArm::lfXX(UGeckoInstruction inst)
LDR(rA, R9, PPCSTATE_OFF(Exceptions));
CMP(rA, EXCEPTION_DSI);
FixupBranch DoNotLoad = B_CC(CC_EQ);
-
+
if (update)
MOV(RA, rB);
@@ -161,24 +161,24 @@ void JitArm::lfXX(UGeckoInstruction inst)
VLDR(v0, rB, 0);
nemit.VREV64(I_8, v0, v0); // Byte swap to result
}
- }
+ }
else
{
PUSH(4, R0, R1, R2, R3);
MOV(R0, rB);
if (single)
{
- MOVI2R(rA, (u32)&Memory::Read_U32);
+ MOVI2R(rA, (u32)&Memory::Read_U32);
BL(rA);
- VMOV(S0, R0);
+ VMOV(S0, R0);
VCVT(v0, S0, 0);
VCVT(v1, S0, 0);
}
else
{
- MOVI2R(rA, (u32)&Memory::Read_F64);
+ MOVI2R(rA, (u32)&Memory::Read_F64);
BL(rA);
#if !defined(__ARM_PCS_VFP) // SoftFP returns in R0 and R1
@@ -251,7 +251,7 @@ void JitArm::stfXX(UGeckoInstruction inst)
}
ARMReg v0 = fpr.R0(inst.FS);
-
+
if (update)
{
RA = gpr.R(a);
@@ -259,7 +259,7 @@ void JitArm::stfXX(UGeckoInstruction inst)
if (offsetReg == -1) // uses SIMM_16
{
MOVI2R(rB, offset);
- ADD(rB, rB, RA);
+ ADD(rB, rB, RA);
}
else
ADD(rB, gpr.R(offsetReg), RA);
@@ -298,7 +298,7 @@ void JitArm::stfXX(UGeckoInstruction inst)
{
LDR(rA, R9, PPCSTATE_OFF(Exceptions));
CMP(rA, EXCEPTION_DSI);
-
+
SetCC(CC_NEQ);
MOV(RA, rB);
SetCC();
@@ -328,7 +328,7 @@ void JitArm::stfXX(UGeckoInstruction inst)
PUSH(4, R0, R1, R2, R3);
if (single)
{
- MOVI2R(rA, (u32)&Memory::Write_U32);
+ MOVI2R(rA, (u32)&Memory::Write_U32);
VMOV(R0, S0);
MOV(R1, rB);
@@ -337,7 +337,7 @@ void JitArm::stfXX(UGeckoInstruction inst)
}
else
{
- MOVI2R(rA, (u32)&Memory::Write_F64);
+ MOVI2R(rA, (u32)&Memory::Write_F64);
#if !defined(__ARM_PCS_VFP) // SoftFP returns in R0 and R1
VMOV(R0, v0);
MOV(R2, rB);
@@ -366,7 +366,7 @@ void JitArm::stfs(UGeckoInstruction inst)
ARMReg rB = gpr.GetReg();
ARMReg v0 = fpr.R0(inst.FS);
VCVT(S0, v0, 0);
-
+
if (inst.RA)
{
MOVI2R(rB, inst.SIMM_16);
@@ -376,8 +376,8 @@ void JitArm::stfs(UGeckoInstruction inst)
else
MOVI2R(rB, (u32)inst.SIMM_16);
-
- MOVI2R(rA, (u32)&Memory::Write_U32);
+
+ MOVI2R(rA, (u32)&Memory::Write_U32);
PUSH(4, R0, R1, R2, R3);
VMOV(R0, S0);
MOV(R1, rB);
@@ -385,7 +385,7 @@ void JitArm::stfs(UGeckoInstruction inst)
BL(rA);
POP(4, R0, R1, R2, R3);
-
+
gpr.Unlock(rA, rB);
}
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStorePaired.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStorePaired.cpp
index d694fbd79b..244ae1db22 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStorePaired.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_LoadStorePaired.cpp
@@ -25,7 +25,7 @@ void JitArm::psq_l(UGeckoInstruction inst)
// R11 contains type
// R10 is the ADDR
if (js.memcheck || !Core::g_CoreStartupParameter.bFastmem) { Default(inst); return; }
-
+
LDR(R11, R9, PPCSTATE_OFF(spr[SPR_GQR0 + inst.I]));
UBFX(R12, R11, 16, 3); // Type
LSL(R12, R12, 2);
@@ -63,7 +63,7 @@ void JitArm::psq_lx(UGeckoInstruction inst)
// R11 contains type
// R10 is the ADDR
if (js.memcheck || !Core::g_CoreStartupParameter.bFastmem) { Default(inst); return; }
-
+
LDR(R11, R9, PPCSTATE_OFF(spr[SPR_GQR0 + inst.Ix]));
UBFX(R12, R11, 16, 3); // Type
LSL(R12, R12, 2);
@@ -91,7 +91,7 @@ void JitArm::psq_lx(UGeckoInstruction inst)
ARMReg vD1 = fpr.R1(inst.RS, false);
LDR(R14, R9, PPCSTATE_OFF(Exceptions));
CMP(R14, EXCEPTION_DSI);
- SetCC(CC_NEQ);
+ SetCC(CC_NEQ);
VCVT(vD0, S0, 0);
if (!inst.Wx)
@@ -108,7 +108,7 @@ void JitArm::psq_st(UGeckoInstruction inst)
bool update = inst.OPCD == 61;
s32 offset = inst.SIMM_12;
-
+
// R12 contains scale
// R11 contains type
// R10 is the ADDR
@@ -152,7 +152,7 @@ void JitArm::psq_stx(UGeckoInstruction inst)
JITDISABLE(bJITLoadStorePairedOff)
bool update = inst.SUBOP10 == 39;
-
+
// R12 contains scale
// R11 contains type
// R10 is the ADDR
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Paired.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Paired.cpp
index 744fbc1940..53d5e7bd8d 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Paired.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Paired.cpp
@@ -51,7 +51,7 @@ void JitArm::ps_rsqrte(UGeckoInstruction inst)
VCMP(vB0);
VMRS(_PC);
FixupBranch Less0 = B_CC(CC_LT);
- VMOV(vD0, V0);
+ VMOV(vD0, V0);
SetFPException(fpscrReg, FPSCR_VXSQRT);
FixupBranch SkipOrr0 = B();
SetJumpTarget(Less0);
@@ -76,7 +76,7 @@ void JitArm::ps_rsqrte(UGeckoInstruction inst)
FixupBranch noException = B_CC(CC_EQ);
SetFPException(fpscrReg, FPSCR_ZX);
SetJumpTarget(noException);
-
+
VCVT(S0, vB0, 0);
VCVT(S1, vB1, 0);
@@ -93,7 +93,7 @@ void JitArm::ps_sel(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(bJITPairedOff)
-
+
u32 a = inst.FA, b = inst.FB, c = inst.FC, d = inst.FD;
if (inst.Rc) {
@@ -107,7 +107,7 @@ void JitArm::ps_sel(UGeckoInstruction inst)
ARMReg vC1 = fpr.R1(c);
ARMReg vD0 = fpr.R0(d, false);
ARMReg vD1 = fpr.R1(d, false);
-
+
VCMP(vA0);
VMRS(_PC);
@@ -143,7 +143,7 @@ void JitArm::ps_add(UGeckoInstruction inst)
ARMReg vB1 = fpr.R1(b);
ARMReg vD0 = fpr.R0(d, false);
ARMReg vD1 = fpr.R1(d, false);
-
+
VADD(vD0, vA0, vB0);
VADD(vD1, vA1, vB1);
}
@@ -163,7 +163,7 @@ void JitArm::ps_div(UGeckoInstruction inst)
ARMReg vB1 = fpr.R1(b);
ARMReg vD0 = fpr.R0(d, false);
ARMReg vD1 = fpr.R1(d, false);
-
+
VDIV(vD0, vA0, vB0);
VDIV(vD1, vA1, vB1);
}
@@ -183,7 +183,7 @@ void JitArm::ps_res(UGeckoInstruction inst)
ARMReg vD1 = fpr.R1(d, false);
ARMReg V0 = fpr.GetReg();
MOVI2R(V0, 1.0, INVALID_REG); // temp reg not needed for 1.0
-
+
VDIV(vD0, V0, vB0);
VDIV(vD1, V0, vB1);
fpr.Unlock(V0);
@@ -193,7 +193,7 @@ void JitArm::ps_nmadd(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(bJITPairedOff)
-
+
u32 a = inst.FA, b = inst.FB, c = inst.FC, d = inst.FD;
if (inst.Rc) {
@@ -226,7 +226,7 @@ void JitArm::ps_madd(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(bJITPairedOff)
-
+
u32 a = inst.FA, b = inst.FB, c = inst.FC, d = inst.FD;
if (inst.Rc) {
@@ -257,7 +257,7 @@ void JitArm::ps_nmsub(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(bJITPairedOff)
-
+
u32 a = inst.FA, b = inst.FB, c = inst.FC, d = inst.FD;
if (inst.Rc) {
@@ -290,7 +290,7 @@ void JitArm::ps_msub(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(bJITPairedOff)
-
+
u32 a = inst.FA, b = inst.FB, c = inst.FC, d = inst.FD;
if (inst.Rc) {
@@ -312,7 +312,7 @@ void JitArm::ps_msub(UGeckoInstruction inst)
VMUL(V1, vA1, vC1);
VSUB(vD0, V0, vB0);
VSUB(vD1, V1, vB1);
-
+
fpr.Unlock(V0);
fpr.Unlock(V1);
}
@@ -321,7 +321,7 @@ void JitArm::ps_madds0(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(bJITPairedOff)
-
+
u32 a = inst.FA, b = inst.FB, c = inst.FC, d = inst.FD;
if (inst.Rc) {
@@ -337,7 +337,7 @@ void JitArm::ps_madds0(UGeckoInstruction inst)
ARMReg V0 = fpr.GetReg();
ARMReg V1 = fpr.GetReg();
-
+
VMUL(V0, vA0, vC0);
VMUL(V1, vA1, vC0);
@@ -352,7 +352,7 @@ void JitArm::ps_madds1(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(bJITPairedOff)
-
+
u32 a = inst.FA, b = inst.FB, c = inst.FC, d = inst.FD;
if (inst.Rc) {
@@ -392,10 +392,10 @@ void JitArm::ps_sum0(UGeckoInstruction inst)
ARMReg vC1 = fpr.R1(c);
ARMReg vD0 = fpr.R0(d, false);
ARMReg vD1 = fpr.R1(d, false);
-
+
VADD(vD0, vA0, vB1);
VMOV(vD1, vC1);
-
+
}
void JitArm::ps_sum1(UGeckoInstruction inst)
@@ -413,7 +413,7 @@ void JitArm::ps_sum1(UGeckoInstruction inst)
ARMReg vC0 = fpr.R0(c);
ARMReg vD0 = fpr.R0(d, false);
ARMReg vD1 = fpr.R1(d, false);
-
+
VMOV(vD0, vC0);
VADD(vD1, vA0, vB1);
}
@@ -562,7 +562,7 @@ void JitArm::ps_merge10(UGeckoInstruction inst)
ARMReg vD0 = fpr.R0(d, false);
ARMReg vD1 = fpr.R1(d, false);
ARMReg V0 = fpr.GetReg();
-
+
VMOV(V0, vB0);
VMOV(vD0, vA1);
VMOV(vD1, V0);
@@ -651,7 +651,7 @@ void JitArm::ps_nabs(UGeckoInstruction inst)
ARMReg vB1 = fpr.R1(b);
ARMReg vD0 = fpr.R0(d, false);
ARMReg vD1 = fpr.R1(d, false);
-
+
VABS(vD0, vB0);
VNEG(vD0, vD0);
VABS(vD1, vB1);
@@ -680,25 +680,25 @@ void JitArm::ps_cmpu0(UGeckoInstruction inst)
VCMPE(vA, vB);
VMRS(_PC);
SetCC(CC_LT);
- ORR(fpscrReg, fpscrReg, LessThan);
+ ORR(fpscrReg, fpscrReg, LessThan);
MOV(crReg, 8);
Done1 = B();
SetCC(CC_GT);
- ORR(fpscrReg, fpscrReg, GreaterThan);
+ ORR(fpscrReg, fpscrReg, GreaterThan);
MOV(crReg, 4);
Done2 = B();
SetCC(CC_EQ);
- ORR(fpscrReg, fpscrReg, EqualTo);
+ ORR(fpscrReg, fpscrReg, EqualTo);
MOV(crReg, 2);
Done3 = B();
SetCC();
-
- ORR(fpscrReg, fpscrReg, NANRes);
+
+ ORR(fpscrReg, fpscrReg, NANRes);
MOV(crReg, 1);
-
+
VCMPE(vA, vA);
VMRS(_PC);
- FixupBranch NanA = B_CC(CC_NEQ);
+ FixupBranch NanA = B_CC(CC_NEQ);
VCMPE(vB, vB);
VMRS(_PC);
FixupBranch NanB = B_CC(CC_NEQ);
@@ -708,7 +708,7 @@ void JitArm::ps_cmpu0(UGeckoInstruction inst)
SetJumpTarget(NanB);
SetFPException(fpscrReg, FPSCR_VXSNAN);
-
+
SetJumpTarget(Done1);
SetJumpTarget(Done2);
SetJumpTarget(Done3);
@@ -741,25 +741,25 @@ void JitArm::ps_cmpu1(UGeckoInstruction inst)
VCMPE(vA, vB);
VMRS(_PC);
SetCC(CC_LT);
- ORR(fpscrReg, fpscrReg, LessThan);
+ ORR(fpscrReg, fpscrReg, LessThan);
MOV(crReg, 8);
Done1 = B();
SetCC(CC_GT);
- ORR(fpscrReg, fpscrReg, GreaterThan);
+ ORR(fpscrReg, fpscrReg, GreaterThan);
MOV(crReg, 4);
Done2 = B();
SetCC(CC_EQ);
- ORR(fpscrReg, fpscrReg, EqualTo);
+ ORR(fpscrReg, fpscrReg, EqualTo);
MOV(crReg, 2);
Done3 = B();
SetCC();
-
- ORR(fpscrReg, fpscrReg, NANRes);
+
+ ORR(fpscrReg, fpscrReg, NANRes);
MOV(crReg, 1);
-
+
VCMPE(vA, vA);
VMRS(_PC);
- FixupBranch NanA = B_CC(CC_NEQ);
+ FixupBranch NanA = B_CC(CC_NEQ);
VCMPE(vB, vB);
VMRS(_PC);
FixupBranch NanB = B_CC(CC_NEQ);
@@ -769,7 +769,7 @@ void JitArm::ps_cmpu1(UGeckoInstruction inst)
SetJumpTarget(NanB);
SetFPException(fpscrReg, FPSCR_VXSNAN);
-
+
SetJumpTarget(Done1);
SetJumpTarget(Done2);
SetJumpTarget(Done3);
@@ -802,29 +802,29 @@ void JitArm::ps_cmpo0(UGeckoInstruction inst)
VCMPE(vA, vB);
VMRS(_PC);
SetCC(CC_LT);
- ORR(fpscrReg, fpscrReg, LessThan);
+ ORR(fpscrReg, fpscrReg, LessThan);
MOV(crReg, 8);
Done1 = B();
SetCC(CC_GT);
- ORR(fpscrReg, fpscrReg, GreaterThan);
+ ORR(fpscrReg, fpscrReg, GreaterThan);
MOV(crReg, 4);
Done2 = B();
SetCC(CC_EQ);
- ORR(fpscrReg, fpscrReg, EqualTo);
+ ORR(fpscrReg, fpscrReg, EqualTo);
MOV(crReg, 2);
Done3 = B();
SetCC();
-
- ORR(fpscrReg, fpscrReg, NANRes);
+
+ ORR(fpscrReg, fpscrReg, NANRes);
MOV(crReg, 1);
-
+
VCMPE(vA, vA);
VMRS(_PC);
- FixupBranch NanA = B_CC(CC_NEQ);
+ FixupBranch NanA = B_CC(CC_NEQ);
VCMPE(vB, vB);
VMRS(_PC);
FixupBranch NanB = B_CC(CC_NEQ);
-
+
SetFPException(fpscrReg, FPSCR_VXVC);
FixupBranch Done4 = B();
@@ -832,9 +832,9 @@ void JitArm::ps_cmpo0(UGeckoInstruction inst)
SetJumpTarget(NanB);
SetFPException(fpscrReg, FPSCR_VXSNAN);
-
+
TST(fpscrReg, VEMask);
-
+
FixupBranch noVXVC = B_CC(CC_NEQ);
SetFPException(fpscrReg, FPSCR_VXVC);
@@ -871,29 +871,29 @@ void JitArm::ps_cmpo1(UGeckoInstruction inst)
VCMPE(vA, vB);
VMRS(_PC);
SetCC(CC_LT);
- ORR(fpscrReg, fpscrReg, LessThan);
+ ORR(fpscrReg, fpscrReg, LessThan);
MOV(crReg, 8);
Done1 = B();
SetCC(CC_GT);
- ORR(fpscrReg, fpscrReg, GreaterThan);
+ ORR(fpscrReg, fpscrReg, GreaterThan);
MOV(crReg, 4);
Done2 = B();
SetCC(CC_EQ);
- ORR(fpscrReg, fpscrReg, EqualTo);
+ ORR(fpscrReg, fpscrReg, EqualTo);
MOV(crReg, 2);
Done3 = B();
SetCC();
-
- ORR(fpscrReg, fpscrReg, NANRes);
+
+ ORR(fpscrReg, fpscrReg, NANRes);
MOV(crReg, 1);
-
+
VCMPE(vA, vA);
VMRS(_PC);
- FixupBranch NanA = B_CC(CC_NEQ);
+ FixupBranch NanA = B_CC(CC_NEQ);
VCMPE(vB, vB);
VMRS(_PC);
FixupBranch NanB = B_CC(CC_NEQ);
-
+
SetFPException(fpscrReg, FPSCR_VXVC);
FixupBranch Done4 = B();
@@ -901,9 +901,9 @@ void JitArm::ps_cmpo1(UGeckoInstruction inst)
SetJumpTarget(NanB);
SetFPException(fpscrReg, FPSCR_VXSNAN);
-
+
TST(fpscrReg, VEMask);
-
+
FixupBranch noVXVC = B_CC(CC_NEQ);
SetFPException(fpscrReg, FPSCR_VXVC);
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_SystemRegisters.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_SystemRegisters.cpp
index 13f90fb684..e4ab630fce 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_SystemRegisters.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_SystemRegisters.cpp
@@ -149,7 +149,7 @@ void JitArm::mtcrf(UGeckoInstruction inst)
{
if ((crm & (0x80 >> i)) != 0)
{
- UBFX(rB, rA, 28 - (i * 4), 4);
+ UBFX(rB, rA, 28 - (i * 4), 4);
STRB(rB, R9, PPCSTATE_OFF(cr_fast[i]));
}
}
@@ -178,7 +178,7 @@ void JitArm::mcrxr(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(bJITSystemRegistersOff)
-
+
ARMReg rA = gpr.GetReg();
ARMReg rB = gpr.GetReg();
// Copy XER[0-3] into CR[inst.CRFD]
@@ -199,9 +199,9 @@ void JitArm::mtmsr(UGeckoInstruction inst)
INSTRUCTION_START
// Don't interpret this, if we do we get thrown out
//JITDISABLE(bJITSystemRegistersOff)
-
+
STR(gpr.R(inst.RS), R9, PPCSTATE_OFF(msr));
-
+
gpr.Flush();
fpr.Flush();
@@ -212,7 +212,7 @@ void JitArm::mfmsr(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(bJITSystemRegistersOff)
-
+
LDR(gpr.R(inst.RD), R9, PPCSTATE_OFF(msr));
}
@@ -234,7 +234,7 @@ void JitArm::crXXX(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(bJITSystemRegistersOff)
-
+
ARMReg rA = gpr.GetReg();
ARMReg rB = gpr.GetReg();
// Get bit CRBA aligned with bit CRBD
@@ -244,7 +244,7 @@ void JitArm::crXXX(UGeckoInstruction inst)
LSL(rA, rA, -shiftA);
else if (shiftA > 0)
LSR(rA, rA, shiftA);
-
+
// Get bit CRBB aligned with bit CRBD
int shiftB = (inst.CRBD & 3) - (inst.CRBB & 3);
LDRB(rB, R9, PPCSTATE_OFF(cr_fast[inst.CRBB >> 2]));
@@ -252,7 +252,7 @@ void JitArm::crXXX(UGeckoInstruction inst)
LSL(rB, rB, -shiftB);
else if (shiftB > 0)
LSR(rB, rB, shiftB);
-
+
// Compute combined bit
switch(inst.SUBOP10)
{
@@ -296,7 +296,7 @@ void JitArm::crXXX(UGeckoInstruction inst)
// Store result bit in CRBD
AND(rA, rA, 0x8 >> (inst.CRBD & 3));
LDRB(rB, R9, PPCSTATE_OFF(cr_fast[inst.CRBD >> 2]));
- BIC(rB, rB, 0x8 >> (inst.CRBD & 3));
+ BIC(rB, rB, 0x8 >> (inst.CRBD & 3));
ORR(rB, rB, rA);
STRB(rB, R9, PPCSTATE_OFF(cr_fast[inst.CRBD >> 2]));
gpr.Unlock(rA, rB);
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Tables.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Tables.cpp
index 9eea997317..20c2dffc9c 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Tables.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Tables.cpp
@@ -42,7 +42,7 @@ struct GekkoOPTemplate
//GekkoOPInfo opinfo; // Doesn't need opinfo, Interpreter fills it out
};
-static GekkoOPTemplate primarytable[] =
+static GekkoOPTemplate primarytable[] =
{
{4, &JitArm::DynaRunTable4}, //"RunTable4", OPTYPE_SUBTABLE | (4<<24), 0}},
{19, &JitArm::DynaRunTable19}, //"RunTable19", OPTYPE_SUBTABLE | (19<<24), 0}},
@@ -123,7 +123,7 @@ static GekkoOPTemplate primarytable[] =
{58, &JitArm::Default}, //"unknown_instruction", OPTYPE_UNKNOWN, 0}},
};
-static GekkoOPTemplate table4[] =
+static GekkoOPTemplate table4[] =
{ //SUBOP10
{0, &JitArm::ps_cmpu0}, //"ps_cmpu0", OPTYPE_PS, FL_SET_CRn}},
{32, &JitArm::ps_cmpo0}, //"ps_cmpo0", OPTYPE_PS, FL_SET_CRn}},
@@ -139,9 +139,9 @@ static GekkoOPTemplate table4[] =
{624, &JitArm::ps_merge11}, //"ps_merge11", OPTYPE_PS, FL_RC_BIT}},
{1014, &JitArm::Default}, //"dcbz_l", OPTYPE_SYSTEM, 0}},
-};
+};
-static GekkoOPTemplate table4_2[] =
+static GekkoOPTemplate table4_2[] =
{
{10, &JitArm::ps_sum0}, //"ps_sum0", OPTYPE_PS, 0}},
{11, &JitArm::ps_sum1}, //"ps_sum1", OPTYPE_PS, 0}},
@@ -163,15 +163,15 @@ static GekkoOPTemplate table4_2[] =
};
-static GekkoOPTemplate table4_3[] =
+static GekkoOPTemplate table4_3[] =
{
{6, &JitArm::psq_lx}, //"psq_lx", OPTYPE_PS, 0}},
{7, &JitArm::psq_stx}, //"psq_stx", OPTYPE_PS, 0}},
{38, &JitArm::psq_lx}, //"psq_lux", OPTYPE_PS, 0}},
- {39, &JitArm::psq_stx}, //"psq_stux", OPTYPE_PS, 0}},
+ {39, &JitArm::psq_stx}, //"psq_stux", OPTYPE_PS, 0}},
};
-static GekkoOPTemplate table19[] =
+static GekkoOPTemplate table19[] =
{
{528, &JitArm::bcctrx}, //"bcctrx", OPTYPE_BRANCH, FL_ENDBLOCK}},
{16, &JitArm::bclrx}, //"bclrx", OPTYPE_BRANCH, FL_ENDBLOCK}},
@@ -183,16 +183,16 @@ static GekkoOPTemplate table19[] =
{449, &JitArm::crXXX}, //"cror", OPTYPE_CR, FL_EVIL}},
{417, &JitArm::crXXX}, //"crorc", OPTYPE_CR, FL_EVIL}},
{193, &JitArm::crXXX}, //"crxor", OPTYPE_CR, FL_EVIL}},
-
+
{150, &JitArm::DoNothing}, //"isync", OPTYPE_ICACHE, FL_EVIL}},
{0, &JitArm::mcrf}, //"mcrf", OPTYPE_SYSTEM, FL_EVIL}},
-
+
{50, &JitArm::rfi}, //"rfi", OPTYPE_SYSTEM, FL_ENDBLOCK | FL_CHECKEXCEPTIONS, 1}},
{18, &JitArm::Break}, //"rfid", OPTYPE_SYSTEM, FL_ENDBLOCK | FL_CHECKEXCEPTIONS}}
};
-static GekkoOPTemplate table31[] =
+static GekkoOPTemplate table31[] =
{
{28, &JitArm::arith}, //"andx", OPTYPE_INTEGER, FL_OUT_A | FL_IN_SB | FL_RC_BIT}},
{60, &JitArm::arith}, //"andcx", OPTYPE_INTEGER, FL_OUT_A | FL_IN_SB | FL_RC_BIT}},
@@ -267,7 +267,7 @@ static GekkoOPTemplate table31[] =
{661, &JitArm::Default}, //"stswx", OPTYPE_STORE, FL_EVIL}},
{725, &JitArm::Default}, //"stswi", OPTYPE_STORE, FL_EVIL}},
- // fp load/store
+ // fp load/store
{535, &JitArm::lfXX}, //"lfsx", OPTYPE_LOADFP, FL_IN_A0 | FL_IN_B}},
{567, &JitArm::lfXX}, //"lfsux", OPTYPE_LOADFP, FL_IN_A | FL_IN_B}},
{599, &JitArm::lfXX}, //"lfdx", OPTYPE_LOADFP, FL_IN_A0 | FL_IN_B}},
@@ -305,8 +305,8 @@ static GekkoOPTemplate table31[] =
{566, &JitArm::Default}, //"tlbsync", OPTYPE_SYSTEM, 0}},
};
-static GekkoOPTemplate table31_2[] =
-{
+static GekkoOPTemplate table31_2[] =
+{
{266, &JitArm::arith}, //"addx", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_RC_BIT}},
{778, &JitArm::arith}, //"addx", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_RC_BIT}},
{10, &JitArm::arith}, //"addcx", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_SET_CA | FL_RC_BIT}},
@@ -330,21 +330,21 @@ static GekkoOPTemplate table31_2[] =
{200, &JitArm::Default}, //"subfzex", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_READ_CA | FL_SET_CA | FL_RC_BIT}},
};
-static GekkoOPTemplate table59[] =
+static GekkoOPTemplate table59[] =
{
- {18, &JitArm::Default}, //{"fdivsx", OPTYPE_FPU, FL_RC_BIT_F, 16}},
- {20, &JitArm::fsubsx}, //"fsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {21, &JitArm::faddsx}, //"faddsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {18, &JitArm::Default}, //{"fdivsx", OPTYPE_FPU, FL_RC_BIT_F, 16}},
+ {20, &JitArm::fsubsx}, //"fsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {21, &JitArm::faddsx}, //"faddsx", OPTYPE_FPU, FL_RC_BIT_F}},
// {22, &JitArm::Default}, //"fsqrtsx", OPTYPE_FPU, FL_RC_BIT_F}}, // Not implemented on gekko
- {24, &JitArm::fresx}, //"fresx", OPTYPE_FPU, FL_RC_BIT_F}},
- {25, &JitArm::fmulsx}, //"fmulsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {28, &JitArm::Default}, //"fmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {29, &JitArm::fmaddsx}, //"fmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {30, &JitArm::Default}, //"fnmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {31, &JitArm::fnmaddsx}, //"fnmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
-};
-
-static GekkoOPTemplate table63[] =
+ {24, &JitArm::fresx}, //"fresx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {25, &JitArm::fmulsx}, //"fmulsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {28, &JitArm::Default}, //"fmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {29, &JitArm::fmaddsx}, //"fmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {30, &JitArm::Default}, //"fnmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {31, &JitArm::fnmaddsx}, //"fnmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
+};
+
+static GekkoOPTemplate table63[] =
{
{264, &JitArm::fabsx}, //"fabsx", OPTYPE_FPU, FL_RC_BIT_F}},
{32, &JitArm::fcmpo}, //"fcmpo", OPTYPE_FPU, FL_RC_BIT_F}},
@@ -364,7 +364,7 @@ static GekkoOPTemplate table63[] =
{711, &JitArm::Default}, //"mtfsfx", OPTYPE_SYSTEMFP, 0, 2}},
};
-static GekkoOPTemplate table63_2[] =
+static GekkoOPTemplate table63_2[] =
{
{18, &JitArm::Default}, //"fdivx", OPTYPE_FPU, FL_RC_BIT_F, 30}},
{20, &JitArm::fsubx}, //"fsubx", OPTYPE_FPU, FL_RC_BIT_F}},
@@ -407,7 +407,7 @@ void InitTables()
return;
//clear
- for (int i = 0; i < 32; i++)
+ for (int i = 0; i < 32; i++)
{
dynaOpTable59[i] = &JitArm::unknown_instruction;
}
@@ -417,7 +417,7 @@ void InitTables()
dynaOpTable4 [i] = &JitArm::unknown_instruction;
dynaOpTable19[i] = &JitArm::unknown_instruction;
dynaOpTable31[i] = &JitArm::unknown_instruction;
- dynaOpTable63[i] = &JitArm::unknown_instruction;
+ dynaOpTable63[i] = &JitArm::unknown_instruction;
}
for (int i = 0; i < (int)(sizeof(primarytable) / sizeof(GekkoOPTemplate)); i++)
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.cpp
index e065342c9f..2d619ceea3 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.cpp
@@ -34,9 +34,9 @@ using namespace ArmGen;
//TODO - make an option
//#if _DEBUG
-// bool enableDebug = false;
+// bool enableDebug = false;
//#else
-// bool enableDebug = false;
+// bool enableDebug = false;
//#endif
JitArmAsmRoutineManager asm_routines;
@@ -59,7 +59,7 @@ static const float GC_ALIGNED16(m_quantizeTableS[]) =
1.0 / (1 << 12), 1.0 / (1 << 11), 1.0 / (1 << 10), 1.0 / (1 << 9),
1.0 / (1 << 8), 1.0 / (1 << 7), 1.0 / (1 << 6), 1.0 / (1 << 5),
1.0 / (1 << 4), 1.0 / (1 << 3), 1.0 / (1 << 2), 1.0 / (1 << 1),
-};
+};
static const float GC_ALIGNED16(m_dequantizeTableS[]) =
{
@@ -79,7 +79,7 @@ static const float GC_ALIGNED16(m_dequantizeTableS[]) =
(1 << 12), (1 << 11), (1 << 10), (1 << 9),
(1 << 8), (1 << 7), (1 << 6), (1 << 5),
(1 << 4), (1 << 3), (1 << 2), (1 << 1),
-};
+};
static void WriteDual32(u32 value1, u32 value2, u32 address)
{
@@ -113,15 +113,15 @@ void JitArmAsmRoutineManager::Generate()
MOVI2R(R9, (u32)&PowerPC::ppcState.spr[0]);
FixupBranch skipToRealDispatcher = B();
- dispatcher = GetCodePtr();
+ dispatcher = GetCodePtr();
printf("Dispatcher is %p\n", dispatcher);
- // Downcount Check
+ // Downcount Check
// The result of slice decrementation should be in flags if somebody jumped here
// IMPORTANT - We jump on negative, not carry!!!
FixupBranch bail = B_CC(CC_MI);
- SetJumpTarget(skipToRealDispatcher);
+ SetJumpTarget(skipToRealDispatcher);
dispatcherNoCheck = GetCodePtr();
// This block of code gets the address of the compiled block of code
@@ -141,8 +141,8 @@ void JitArmAsmRoutineManager::Generate()
// Success, it is our Jitblock.
MOVI2R(R14, (u32)jit->GetBlockCache()->GetCodePointers());
// LDR R14 right here to get CodePointers()[0] pointer.
- LSL(R12, R12, 2); // Multiply by four because address locations are u32 in size
- LDR(R14, R14, R12); // Load the block address in to R14
+ LSL(R12, R12, 2); // Multiply by four because address locations are u32 in size
+ LDR(R14, R14, R12); // Load the block address in to R14
B(R14);
// No need to jump anywhere after here, the block will go back to dispatcher start
@@ -150,9 +150,9 @@ void JitArmAsmRoutineManager::Generate()
// If we get to this point, that means that we don't have the block cached to execute
// So call ArmJit to compile the block and then execute it.
- MOVI2R(R14, (u32)&Jit);
+ MOVI2R(R14, (u32)&Jit);
BL(R14);
-
+
B(dispatcherNoCheck);
// fpException()
@@ -167,12 +167,12 @@ void JitArmAsmRoutineManager::Generate()
B(dispatcher);
SetJumpTarget(bail);
- doTiming = GetCodePtr();
+ doTiming = GetCodePtr();
// XXX: In JIT64, Advance() gets called /after/ the exception checking
- // once it jumps back to the start of outerLoop
+ // once it jumps back to the start of outerLoop
QuickCallFunction(R14, (void*)&CoreTiming::Advance);
- // Does exception checking
+ // Does exception checking
testExceptions = GetCodePtr();
LDR(R0, R9, PPCSTATE_OFF(pc));
STR(R0, R9, PPCSTATE_OFF(npc));
@@ -188,13 +188,13 @@ void JitArmAsmRoutineManager::Generate()
FixupBranch Exit = B_CC(CC_NEQ);
B(dispatcher);
-
+
SetJumpTarget(Exit);
ADD(_SP, _SP, 4);
POP(9, R4, R5, R6, R7, R8, R9, R10, R11, _PC); // Returns
-
+
GenerateCommon();
FlushIcache();
@@ -207,7 +207,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
// R11 is scale
// R10 is the address
Operand2 mask(3, 1); // ~(Memory::MEMVIEW32_MASK)
- Operand2 arghmask(3, 3); // 0x0C000000
+ Operand2 arghmask(3, 3); // 0x0C000000
NEONXEmitter nemit(this);
const u8* loadPairedIllegal = GetCodePtr();
@@ -221,7 +221,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
nemit.VLD1(I_32, D0, R10);
nemit.VREV32(I_8, D0, D0);
-
+
MOV(_PC, _LR);
}
const u8* loadPairedFloatOne = GetCodePtr();
@@ -232,7 +232,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
nemit.VLD1(I_32, D0, R10);
nemit.VREV32(I_8, D0, D0);
-
+
MOV(_PC, _LR);
}
const u8* loadPairedU8Two = GetCodePtr();
@@ -248,17 +248,17 @@ void JitArmAsmRoutineManager::GenerateCommon()
LDRH(R12, R10, 2);
SXTB(R12, R12);
VMOV(S1, R12);
-
+
MOVI2R(R10, (u32)&m_dequantizeTableS);
ADD(R10, R10, R11);
VLDR(S2, R10, 0);
-
+
VCVT(S0, S0, TO_FLOAT);
VCVT(S1, S1, TO_FLOAT);
VMUL(S0, S0, S2);
VMUL(S1, S1, S2);
-
+
MOV(_PC, _LR);
}
const u8* loadPairedU8One = GetCodePtr();
@@ -266,7 +266,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
BIC(R10, R10, mask);
MOVI2R(R12, (u32)Memory::base);
ADD(R10, R10, R12);
-
+
LDRB(R12, R10);
SXTB(R12, R12);
VMOV(S0, R12);
@@ -274,7 +274,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
MOVI2R(R10, (u32)&m_dequantizeTableS);
ADD(R10, R10, R11);
VLDR(S2, R10, 0);
-
+
VCVT(S0, S0, TO_FLOAT);
VMUL(S0, S0, S2);
@@ -286,7 +286,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
BIC(R10, R10, mask);
MOVI2R(R12, (u32)Memory::base);
ADD(R10, R10, R12);
-
+
LDRH(R12, R10);
SXTB(R12, R12);
VMOV(S0, R12);
@@ -298,13 +298,13 @@ void JitArmAsmRoutineManager::GenerateCommon()
MOVI2R(R10, (u32)&m_dequantizeTableS);
ADD(R10, R10, R11);
VLDR(S2, R10, 0);
-
+
VCVT(S0, S0, TO_FLOAT | IS_SIGNED);
VCVT(S1, S1, TO_FLOAT | IS_SIGNED);
VMUL(S0, S0, S2);
VMUL(S1, S1, S2);
-
+
MOV(_PC, _LR);
}
const u8* loadPairedS8One = GetCodePtr();
@@ -312,7 +312,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
BIC(R10, R10, mask);
MOVI2R(R12, (u32)Memory::base);
ADD(R10, R10, R12);
-
+
LDRB(R12, R10);
SXTB(R12, R12);
VMOV(S0, R12);
@@ -320,7 +320,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
MOVI2R(R10, (u32)&m_dequantizeTableS);
ADD(R10, R10, R11);
VLDR(S2, R10, 0);
-
+
VCVT(S0, S0, TO_FLOAT | IS_SIGNED);
VMUL(S0, S0, S2);
@@ -332,7 +332,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
BIC(R10, R10, mask);
MOVI2R(R12, (u32)Memory::base);
ADD(R10, R10, R12);
-
+
LDRH(R12, R10);
REV16(R12, R12);
SXTH(R12, R12);
@@ -346,7 +346,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
MOVI2R(R10, (u32)&m_dequantizeTableS);
ADD(R10, R10, R11);
VLDR(S2, R10, 0);
-
+
VCVT(S0, S0, TO_FLOAT);
VCVT(S1, S1, TO_FLOAT);
@@ -360,7 +360,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
BIC(R10, R10, mask);
MOVI2R(R12, (u32)Memory::base);
ADD(R10, R10, R12);
-
+
LDRH(R12, R10);
REV16(R12, R12);
VMOV(S0, R12);
@@ -368,7 +368,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
MOVI2R(R10, (u32)&m_dequantizeTableS);
ADD(R10, R10, R11);
VLDR(S2, R10, 0);
-
+
VCVT(S0, S0, TO_FLOAT);
VMUL(S0, S0, S2);
@@ -379,7 +379,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
BIC(R10, R10, mask);
MOVI2R(R12, (u32)Memory::base);
ADD(R10, R10, R12);
-
+
LDRH(R12, R10);
REV16(R12, R12);
SXTH(R12, R12);
@@ -393,7 +393,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
MOVI2R(R10, (u32)&m_dequantizeTableS);
ADD(R10, R10, R11);
VLDR(S2, R10, 0);
-
+
VCVT(S0, S0, TO_FLOAT | IS_SIGNED);
VCVT(S1, S1, TO_FLOAT | IS_SIGNED);
@@ -409,11 +409,11 @@ void JitArmAsmRoutineManager::GenerateCommon()
ADD(R10, R10, R12);
LDRH(R12, R10);
-
+
MOVI2R(R10, (u32)&m_dequantizeTableS);
ADD(R10, R10, R11);
VLDR(S2, R10, 0);
-
+
REV16(R12, R12);
SXTH(R12, R12);
VMOV(S0, R12);
@@ -477,22 +477,22 @@ void JitArmAsmRoutineManager::GenerateCommon()
// R12 is scratch
// S0, S1 is the values
PUSH(5, R0, R1, R2, R3, _LR);
-
+
MOVI2R(R12, (u32)&m_quantizeTableS);
- ADD(R12, R12, R11);
+ ADD(R12, R12, R11);
VLDR(S2, R12, 0);
VMUL(S0, S0, S2);
VMUL(S1, S1, S2);
- VCVT(S0, S0, TO_INT | ROUND_TO_ZERO);
- VCVT(S1, S1, TO_INT | ROUND_TO_ZERO);
-
+ VCVT(S0, S0, TO_INT | ROUND_TO_ZERO);
+ VCVT(S1, S1, TO_INT | ROUND_TO_ZERO);
+
VMOV(R0, S0);
VMOV(R1, S1);
MOV(R2, R10);
MOVI2R(R12, (u32)&WriteDual8);
BL(R12);
-
+
POP(5, R0, R1, R2, R3, _PC);
}
const u8* storePairedU16 = GetCodePtr();
@@ -501,20 +501,20 @@ void JitArmAsmRoutineManager::GenerateCommon()
PUSH(5, R0, R1, R2, R3, _LR);
MOVI2R(R12, (u32)&m_quantizeTableS);
- ADD(R12, R12, R11);
+ ADD(R12, R12, R11);
VLDR(S2, R12, 0);
VMUL(S0, S0, S2);
VMUL(S1, S1, S2);
- VCVT(S0, S0, TO_INT | ROUND_TO_ZERO);
- VCVT(S1, S1, TO_INT | ROUND_TO_ZERO);
-
+ VCVT(S0, S0, TO_INT | ROUND_TO_ZERO);
+ VCVT(S1, S1, TO_INT | ROUND_TO_ZERO);
+
VMOV(R0, S0);
VMOV(R1, S1);
MOV(R2, R10);
MOVI2R(R12, (u32)&WriteDual16);
BL(R12);
-
+
POP(5, R0, R1, R2, R3, _PC);
}
const u8* storeSingleIllegal = GetCodePtr();
@@ -526,10 +526,10 @@ void JitArmAsmRoutineManager::GenerateCommon()
BIC(R10, R10, mask);
MOVI2R(R12, (u32)Memory::base);
ADD(R10, R10, R12);
-
+
VMOV(R12, S0);
REV(R12, R12);
- STR(R12, R10);
+ STR(R12, R10);
MOV(_PC, _LR);
SetJumpTarget(argh);
@@ -546,7 +546,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
const u8* storeSingleS8 = GetCodePtr();
{
MOVI2R(R12, (u32)&m_quantizeTableS);
- ADD(R12, R12, R11);
+ ADD(R12, R12, R11);
VLDR(S2, R12, 0);
VMUL(S0, S0, S2);
@@ -555,10 +555,10 @@ void JitArmAsmRoutineManager::GenerateCommon()
BIC(R10, R10, mask);
MOVI2R(R12, (u32)Memory::base);
ADD(R10, R10, R12);
-
+
VCVT(S0, S0, TO_INT | ROUND_TO_ZERO);
VMOV(R12, S0);
- STRB(R12, R10);
+ STRB(R12, R10);
MOV(_PC, _LR);
SetJumpTarget(argh);
@@ -574,7 +574,7 @@ void JitArmAsmRoutineManager::GenerateCommon()
const u8* storeSingleS16 = GetCodePtr();
{
MOVI2R(R12, (u32)&m_quantizeTableS);
- ADD(R12, R12, R11);
+ ADD(R12, R12, R11);
VLDR(S2, R12, 0);
VMUL(S0, S0, S2);
@@ -583,11 +583,11 @@ void JitArmAsmRoutineManager::GenerateCommon()
BIC(R10, R10, mask);
MOVI2R(R12, (u32)Memory::base);
ADD(R10, R10, R12);
-
+
VCVT(S0, S0, TO_INT | ROUND_TO_ZERO);
VMOV(R12, S0);
REV16(R12, R12);
- STRH(R12, R10);
+ STRH(R12, R10);
MOV(_PC, _LR);
SetJumpTarget(argh);
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.h b/Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.h
index 9a61e9e653..9fcf49d4ec 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.h
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitAsm.h
@@ -20,7 +20,7 @@
#include "ArmEmitter.h"
#include "../JitCommon/JitAsmCommon.h"
using namespace ArmGen;
-class JitArmAsmRoutineManager : public CommonAsmRoutinesBase, public ARMXCodeBlock
+class JitArmAsmRoutineManager : public CommonAsmRoutinesBase, public ARMXCodeBlock
{
private:
void Generate();
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitFPRCache.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitFPRCache.cpp
index 27363112fc..7247ddbd1e 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitFPRCache.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitFPRCache.cpp
@@ -51,7 +51,7 @@ ARMReg *ArmFPRCache::GetPPCAllocationOrder(int &count)
{
// This will return us the allocation order of the registers we can use on
// the ppc side.
- static ARMReg allocationOrder[] =
+ static ARMReg allocationOrder[] =
{
D4, D5, D6, D7, D8, D9, D10, D11, D12, D13,
D14, D15, D16, D17, D18, D19, D20, D21, D22,
@@ -64,7 +64,7 @@ ARMReg *ArmFPRCache::GetAllocationOrder(int &count)
{
// This will return us the allocation order of the registers we can use on
// the host side.
- static ARMReg allocationOrder[] =
+ static ARMReg allocationOrder[] =
{
D0, D1, D2, D3
};
@@ -126,7 +126,7 @@ bool ArmFPRCache::FindFreeRegister(u32 &regindex)
ARMReg ArmFPRCache::GetPPCReg(u32 preg, bool PS1, bool preLoad)
{
u32 lastRegIndex = GetLeastUsedRegister(true);
-
+
if (_regs[preg][PS1].GetType() != REG_NOTLOADED)
{
u8 a = _regs[preg][PS1].GetRegIndex();
@@ -147,7 +147,7 @@ ARMReg ArmFPRCache::GetPPCReg(u32 preg, bool PS1, bool preLoad)
emit->VLDR(ArmCRegs[regindex].Reg, R9, offset);
return ArmCRegs[regindex].Reg;
}
-
+
// Alright, we couldn't get a free space, dump that least used register
s16 offsetOld = PPCSTATE_OFF(ps) + (ArmCRegs[lastRegIndex].PPCReg * 16) + (ArmCRegs[lastRegIndex].PS1 ? 8 : 0);
s16 offsetNew = PPCSTATE_OFF(ps) + (preg * 16) + (PS1 ? 8 : 0);
@@ -155,14 +155,14 @@ ARMReg ArmFPRCache::GetPPCReg(u32 preg, bool PS1, bool preLoad)
emit->VSTR(ArmCRegs[lastRegIndex].Reg, R9, offsetOld);
_regs[ArmCRegs[lastRegIndex].PPCReg][ArmCRegs[lastRegIndex].PS1].Flush();
-
+
ArmCRegs[lastRegIndex].PPCReg = preg;
ArmCRegs[lastRegIndex].LastLoad = 0;
ArmCRegs[lastRegIndex].PS1 = PS1;
_regs[preg][PS1].LoadToReg(lastRegIndex);
emit->VLDR(ArmCRegs[lastRegIndex].Reg, R9, offsetNew);
- return ArmCRegs[lastRegIndex].Reg;
+ return ArmCRegs[lastRegIndex].Reg;
}
ARMReg ArmFPRCache::R0(u32 preg, bool preLoad)
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitFPRCache.h b/Source/Core/Core/Src/PowerPC/JitArm32/JitFPRCache.h
index 10a3520d56..233b201b7c 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitFPRCache.h
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitFPRCache.h
@@ -31,8 +31,8 @@ class ArmFPRCache
private:
OpArg _regs[32][2]; // One for each FPR reg
JRCPPC ArmCRegs[ARMFPUREGS];
- JRCReg ArmRegs[ARMFPUREGS];
-
+ JRCReg ArmRegs[ARMFPUREGS];
+
int NUMPPCREG;
int NUMARMREG;
@@ -41,11 +41,11 @@ private:
ARMReg GetPPCReg(u32 preg, bool PS1, bool preLoad);
- u32 GetLeastUsedRegister(bool increment);
- bool FindFreeRegister(u32 &regindex);
+ u32 GetLeastUsedRegister(bool increment);
+ bool FindFreeRegister(u32 &regindex);
protected:
ARMXEmitter *emit;
-
+
public:
ArmFPRCache();
~ArmFPRCache() {}
@@ -54,7 +54,7 @@ public:
void Start(PPCAnalyst::BlockRegStats &stats);
void SetEmitter(ARMXEmitter *emitter) {emit = emitter;}
-
+
ARMReg GetReg(bool AutoLock = true); // Return a ARM register we can use.
void Unlock(ARMReg V0);
void Flush();
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitRegCache.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitRegCache.cpp
index 562770e367..f1e678e971 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitRegCache.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitRegCache.cpp
@@ -49,7 +49,7 @@ ARMReg *ArmRegCache::GetPPCAllocationOrder(int &count)
{
// This will return us the allocation order of the registers we can use on
// the ppc side.
- static ARMReg allocationOrder[] =
+ static ARMReg allocationOrder[] =
{
R0, R1, R2, R3, R4, R5, R6, R7, R8
};
@@ -60,7 +60,7 @@ ARMReg *ArmRegCache::GetAllocationOrder(int &count)
{
// This will return us the allocation order of the registers we can use on
// the host side.
- static ARMReg allocationOrder[] =
+ static ARMReg allocationOrder[] =
{
R14, R12, R11, R10
};
@@ -124,7 +124,7 @@ bool ArmRegCache::FindFreeRegister(u32 &regindex)
}
ARMReg ArmRegCache::R(u32 preg)
-{
+{
if (regs[preg].GetType() == REG_IMM)
return BindToRegister(preg);
@@ -137,7 +137,7 @@ ARMReg ArmRegCache::R(u32 preg)
ArmCRegs[a].LastLoad = 0;
return ArmCRegs[a].Reg;
}
-
+
// Check if we have a free register
u32 regindex;
if (FindFreeRegister(regindex))
@@ -158,10 +158,10 @@ ARMReg ArmRegCache::R(u32 preg)
ArmCRegs[lastRegIndex].PPCReg = preg;
ArmCRegs[lastRegIndex].LastLoad = 0;
-
+
regs[preg].LoadToReg(lastRegIndex);
- return ArmCRegs[lastRegIndex].Reg;
+ return ArmCRegs[lastRegIndex].Reg;
}
ARMReg ArmRegCache::BindToRegister(u32 preg)
@@ -209,7 +209,7 @@ void ArmRegCache::Flush()
for (u8 a = 0; a < 32; ++a)
{
if (regs[a].GetType() == REG_IMM)
- BindToRegister(a);
+ BindToRegister(a);
if (regs[a].GetType() == REG_REG)
{
u32 regindex = regs[a].GetRegIndex();
@@ -217,7 +217,7 @@ void ArmRegCache::Flush()
ArmCRegs[regindex].PPCReg = 33;
ArmCRegs[regindex].LastLoad = 0;
}
-
+
regs[a].Flush();
}
}
diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitRegCache.h b/Source/Core/Core/Src/PowerPC/JitArm32/JitRegCache.h
index d41af42d6e..e1ac5fe0b7 100644
--- a/Source/Core/Core/Src/PowerPC/JitArm32/JitRegCache.h
+++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitRegCache.h
@@ -43,7 +43,7 @@ enum RegType
REG_AWAY, // Bound to a register, but not preloaded
};
-class OpArg
+class OpArg
{
private:
RegType m_type; // store type
@@ -57,7 +57,7 @@ class OpArg
m_reg = 33;
m_value = 0;
}
-
+
RegType GetType()
{
return m_type;
@@ -116,19 +116,19 @@ private:
ARMReg *GetAllocationOrder(int &count);
ARMReg *GetPPCAllocationOrder(int &count);
-
+
u32 GetLeastUsedRegister(bool increment);
bool FindFreeRegister(u32 &regindex);
protected:
ARMXEmitter *emit;
-
+
public:
ArmRegCache();
~ArmRegCache() {}
void Init(ARMXEmitter *emitter);
void Start(PPCAnalyst::BlockRegStats &stats);
-
+
ARMReg GetReg(bool AutoLock = true); // Return a ARM register we can use.
void Unlock(ARMReg R0, ARMReg R1 = INVALID_REG, ARMReg R2 = INVALID_REG, ARMReg R3 =
INVALID_REG);
@@ -136,7 +136,7 @@ public:
ARMReg R(u32 preg); // Returns a cached register
bool IsImm(u32 preg) { return regs[preg].GetType() == REG_IMM; }
u32 GetImm(u32 preg) { return regs[preg].GetImm(); }
- void SetImmediate(u32 preg, u32 imm);
+ void SetImmediate(u32 preg, u32 imm);
ARMReg BindToRegister(u32 preg);
};
diff --git a/Source/Core/Core/Src/PowerPC/JitArmIL/IR_Arm.cpp b/Source/Core/Core/Src/PowerPC/JitArmIL/IR_Arm.cpp
index 5215f00fb3..10620d9183 100644
--- a/Source/Core/Core/Src/PowerPC/JitArmIL/IR_Arm.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArmIL/IR_Arm.cpp
@@ -135,11 +135,11 @@ static ARMReg regBinLHSReg(RegInfo& RI, InstLoc I) {
static ARMReg regBinReg(RegInfo& RI, InstLoc I) {
// FIXME: When regLocForInst() is extracted as a local variable,
// "Retrieving unknown spill slot?!" is shown.
- if (RI.IInfo[I - RI.FirstI] & 4)
+ if (RI.IInfo[I - RI.FirstI] & 4)
return regLocForInst(RI, getOp1(I));
else if (RI.IInfo[I - RI.FirstI] & 8)
return regLocForInst(RI, getOp2(I));
-
+
return regFindFreeReg(RI);
}
@@ -191,7 +191,7 @@ static void regStoreInstToPPCState(RegInfo& RI, unsigned width, InstLoc I, s32 o
// Could be extended to unprofiled addresses.
static void regMarkMemAddress(RegInfo& RI, InstLoc I, InstLoc AI, unsigned OpNum) {
if (isImm(*AI)) {
- unsigned addr = RI.Build->GetImmValue(AI);
+ unsigned addr = RI.Build->GetImmValue(AI);
if (Memory::IsRAMAddress(addr))
return;
}
@@ -311,7 +311,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitArmIL* Jit) {
case InterpreterFallback:
case SystemCall:
case RFIExit:
- case InterpreterBranch:
+ case InterpreterBranch:
case ShortIdleLoop:
case FPExceptionCheck:
case DSIExceptionCheck:
@@ -430,7 +430,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitArmIL* Jit) {
break;
case IdleBranch:
regMarkUse(RI, I, getOp1(getOp1(I)), 1);
- break;
+ break;
case BranchCond: {
if (isICmp(*getOp1(I)) &&
isImm(*getOp2(getOp1(I)))) {
@@ -638,7 +638,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitArmIL* Jit) {
Jit->STR(rB, R9, PPCSTATE_OFF(msr)); // STR rB in to rA
Jit->LDR(rA, R9, PPCSTATE_OFF(spr[SPR_SRR0]));
-
+
Jit->WriteRfiExitDestInR(rA); // rA gets unlocked here
break;
}
diff --git a/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL.cpp b/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL.cpp
index 788aad3f3a..0aac4d6722 100644
--- a/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL.cpp
@@ -36,7 +36,7 @@ void JitArmIL::Init()
asm_routines.Init();
}
-void JitArmIL::ClearCache()
+void JitArmIL::ClearCache()
{
ClearCodeSpace();
blocks.Clear();
@@ -95,7 +95,7 @@ void JitArmIL::DoDownCount()
}
}
-void JitArmIL::WriteExitDestInReg(ARMReg Reg)
+void JitArmIL::WriteExitDestInReg(ARMReg Reg)
{
STR(Reg, R9, PPCSTATE_OFF(pc));
DoDownCount();
@@ -103,7 +103,7 @@ void JitArmIL::WriteExitDestInReg(ARMReg Reg)
B(Reg);
}
-void JitArmIL::WriteRfiExitDestInR(ARMReg Reg)
+void JitArmIL::WriteRfiExitDestInR(ARMReg Reg)
{
STR(Reg, R9, PPCSTATE_OFF(pc));
DoDownCount();
@@ -124,21 +124,21 @@ void JitArmIL::WriteExit(u32 destination, int exit_num)
JitBlock *b = js.curBlock;
b->exitAddress[exit_num] = destination;
b->exitPtrs[exit_num] = GetWritableCodePtr();
-
+
// Link opportunity!
int block = blocks.GetBlockNumberFromStartAddress(destination);
- if (block >= 0 && jo.enableBlocklink)
+ if (block >= 0 && jo.enableBlocklink)
{
// It exists! Joy of joy!
B(blocks.GetBlock(block)->checkedEntry);
b->linkStatus[exit_num] = true;
}
- else
+ else
{
MOVI2R(R14, destination);
STR(R14, R9, PPCSTATE_OFF(pc));
MOVI2R(R14, (u32)asm_routines.dispatcher);
- B(R14);
+ B(R14);
}
}
void JitArmIL::PrintDebug(UGeckoInstruction inst, u32 level)
@@ -245,7 +245,7 @@ const u8* JitArmIL::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitB
}
PPCAnalyst::CodeOp *ops = code_buf->codebuffer;
- const u8 *start = GetCodePtr();
+ const u8 *start = GetCodePtr();
b->checkedEntry = start;
b->runCount = 0;
@@ -349,7 +349,7 @@ const u8* JitArmIL::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitB
printf("Broken Block going to 0x%08x\n", nextPC);
WriteExit(nextPC, 0);
}
-
+
// Perform actual code generation
WriteCode();
diff --git a/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL.h b/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL.h
index e0462cf852..4dec87ddeb 100644
--- a/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL.h
+++ b/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL.h
@@ -18,8 +18,8 @@
Core::g_CoreStartupParameter.setting) \
{Default(inst); return;}
-#define PPCSTATE_OFF(elem) ((s32)STRUCT_OFF(PowerPC::ppcState, elem) - (s32)STRUCT_OFF(PowerPC::ppcState, spr[0]))
-class JitArmIL : public JitILBase, public ArmGen::ARMXCodeBlock
+#define PPCSTATE_OFF(elem) ((s32)STRUCT_OFF(PowerPC::ppcState, elem) - (s32)STRUCT_OFF(PowerPC::ppcState, spr[0]))
+class JitArmIL : public JitILBase, public ArmGen::ARMXCodeBlock
{
private:
JitArmBlockCache blocks;
@@ -63,7 +63,7 @@ public:
void Run();
void SingleStep();
- //
+ //
void WriteCode();
void WriteExit(u32 destination, int exit_num);
void WriteExitDestInReg(ARMReg Reg);
@@ -82,7 +82,7 @@ public:
void DynaRunTable31(UGeckoInstruction inst);
void DynaRunTable59(UGeckoInstruction inst);
void DynaRunTable63(UGeckoInstruction inst);
-
+
// Binary ops
void BIN_AND(ARMReg reg, Operand2 op2);
void BIN_XOR(ARMReg reg, Operand2 op2);
diff --git a/Source/Core/Core/Src/PowerPC/JitArmIL/JitILAsm.cpp b/Source/Core/Core/Src/PowerPC/JitArmIL/JitILAsm.cpp
index f01c94a8f2..2cb9e298f2 100644
--- a/Source/Core/Core/Src/PowerPC/JitArmIL/JitILAsm.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArmIL/JitILAsm.cpp
@@ -31,15 +31,15 @@ void JitArmILAsmRoutineManager::Generate()
MOVI2R(R9, (u32)&PowerPC::ppcState.spr[0]);
FixupBranch skipToRealDispatcher = B();
- dispatcher = GetCodePtr();
+ dispatcher = GetCodePtr();
printf("ILDispatcher is %p\n", dispatcher);
- // Downcount Check
+ // Downcount Check
// The result of slice decrementation should be in flags if somebody jumped here
// IMPORTANT - We jump on negative, not carry!!!
FixupBranch bail = B_CC(CC_MI);
- SetJumpTarget(skipToRealDispatcher);
+ SetJumpTarget(skipToRealDispatcher);
dispatcherNoCheck = GetCodePtr();
// This block of code gets the address of the compiled block of code
@@ -59,8 +59,8 @@ void JitArmILAsmRoutineManager::Generate()
// Success, it is our Jitblock.
MOVI2R(R14, (u32)jit->GetBlockCache()->GetCodePointers());
// LDR R14 right here to get CodePointers()[0] pointer.
- LSL(R12, R12, 2); // Multiply by four because address locations are u32 in size
- LDR(R14, R14, R12); // Load the block address in to R14
+ LSL(R12, R12, 2); // Multiply by four because address locations are u32 in size
+ LDR(R14, R14, R12); // Load the block address in to R14
B(R14);
// No need to jump anywhere after here, the block will go back to dispatcher start
@@ -68,9 +68,9 @@ void JitArmILAsmRoutineManager::Generate()
// If we get to this point, that means that we don't have the block cached to execute
// So call ArmJit to compile the block and then execute it.
- MOVI2R(R14, (u32)&Jit);
+ MOVI2R(R14, (u32)&Jit);
BL(R14);
-
+
B(dispatcherNoCheck);
// fpException()
@@ -85,12 +85,12 @@ void JitArmILAsmRoutineManager::Generate()
B(dispatcher);
SetJumpTarget(bail);
- doTiming = GetCodePtr();
+ doTiming = GetCodePtr();
// XXX: In JIT64, Advance() gets called /after/ the exception checking
- // once it jumps back to the start of outerLoop
+ // once it jumps back to the start of outerLoop
QuickCallFunction(R14, (void*)&CoreTiming::Advance);
- // Does exception checking
+ // Does exception checking
testExceptions = GetCodePtr();
LDR(R0, R9, PPCSTATE_OFF(pc));
STR(R0, R9, PPCSTATE_OFF(npc));
@@ -106,13 +106,13 @@ void JitArmILAsmRoutineManager::Generate()
FixupBranch Exit = B_CC(CC_NEQ);
B(dispatcher);
-
+
SetJumpTarget(Exit);
ADD(_SP, _SP, 4);
POP(9, R4, R5, R6, R7, R8, R9, R10, R11, _PC); // Returns
-
+
GenerateCommon();
FlushIcache();
diff --git a/Source/Core/Core/Src/PowerPC/JitArmIL/JitILAsm.h b/Source/Core/Core/Src/PowerPC/JitArmIL/JitILAsm.h
index bd252f59f9..e8e401445a 100644
--- a/Source/Core/Core/Src/PowerPC/JitArmIL/JitILAsm.h
+++ b/Source/Core/Core/Src/PowerPC/JitArmIL/JitILAsm.h
@@ -7,10 +7,10 @@
#include "ArmEmitter.h"
#include "../JitCommon/JitAsmCommon.h"
using namespace ArmGen;
-class JitArmILAsmRoutineManager : public CommonAsmRoutinesBase, public ARMXCodeBlock
+class JitArmILAsmRoutineManager : public CommonAsmRoutinesBase, public ARMXCodeBlock
{
private:
- void Generate();
+ void Generate();
void GenerateCommon() {}
public:
@@ -27,6 +27,6 @@ public:
extern JitArmILAsmRoutineManager armil_asm_routines;
-#endif
+#endif
diff --git a/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL_Branch.cpp b/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL_Branch.cpp
index 6c4a6d2dcc..bad63dd5c6 100644
--- a/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL_Branch.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL_Branch.cpp
@@ -123,12 +123,12 @@ void JitArmIL::bcx(UGeckoInstruction inst)
destination = js.compilerPC + SignExt16(inst.BD << 2);
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bSkipIdle &&
- inst.hex == 0x4182fff8 &&
+ inst.hex == 0x4182fff8 &&
(Memory::ReadUnchecked_U32(js.compilerPC - 8) & 0xFFFF0000) == 0x800D0000 &&
(Memory::ReadUnchecked_U32(js.compilerPC - 4) == 0x28000000 ||
- (SConfig::GetInstance().m_LocalCoreStartupParameter.bWii && Memory::ReadUnchecked_U32(js.compilerPC - 4) == 0x2C000000))
+ (SConfig::GetInstance().m_LocalCoreStartupParameter.bWii && Memory::ReadUnchecked_U32(js.compilerPC - 4) == 0x2C000000))
)
- {
+ {
ibuild.EmitIdleBranch(Test, ibuild.EmitIntConst(destination));
}
else
diff --git a/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL_Tables.cpp b/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL_Tables.cpp
index 2f6677c952..eaa5951684 100644
--- a/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL_Tables.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitArmIL/JitIL_Tables.cpp
@@ -29,7 +29,7 @@ struct GekkoOPTemplate
//GekkoOPInfo opinfo; // Doesn't need opinfo, Interpreter fills it out
};
-static GekkoOPTemplate primarytable[] =
+static GekkoOPTemplate primarytable[] =
{
{4, &JitArmIL::DynaRunTable4}, //"RunTable4", OPTYPE_SUBTABLE | (4<<24), 0}},
{19, &JitArmIL::DynaRunTable19}, //"RunTable19", OPTYPE_SUBTABLE | (19<<24), 0}},
@@ -110,7 +110,7 @@ static GekkoOPTemplate primarytable[] =
{58, &JitArmIL::Default}, //"unknown_instruction", OPTYPE_UNKNOWN, 0}},
};
-static GekkoOPTemplate table4[] =
+static GekkoOPTemplate table4[] =
{ //SUBOP10
{0, &JitArmIL::Default}, //"ps_cmpu0", OPTYPE_PS, FL_SET_CRn}},
{32, &JitArmIL::Default}, //"ps_cmpo0", OPTYPE_PS, FL_SET_CRn}},
@@ -126,9 +126,9 @@ static GekkoOPTemplate table4[] =
{624, &JitArmIL::Default}, //"ps_merge11", OPTYPE_PS, FL_RC_BIT}},
{1014, &JitArmIL::Default}, //"dcbz_l", OPTYPE_SYSTEM, 0}},
-};
+};
-static GekkoOPTemplate table4_2[] =
+static GekkoOPTemplate table4_2[] =
{
{10, &JitArmIL::Default}, //"ps_sum0", OPTYPE_PS, 0}},
{11, &JitArmIL::Default}, //"ps_sum1", OPTYPE_PS, 0}},
@@ -150,15 +150,15 @@ static GekkoOPTemplate table4_2[] =
};
-static GekkoOPTemplate table4_3[] =
+static GekkoOPTemplate table4_3[] =
{
{6, &JitArmIL::Default}, //"psq_lx", OPTYPE_PS, 0}},
{7, &JitArmIL::Default}, //"psq_stx", OPTYPE_PS, 0}},
{38, &JitArmIL::Default}, //"psq_lux", OPTYPE_PS, 0}},
- {39, &JitArmIL::Default}, //"psq_stux", OPTYPE_PS, 0}},
+ {39, &JitArmIL::Default}, //"psq_stux", OPTYPE_PS, 0}},
};
-static GekkoOPTemplate table19[] =
+static GekkoOPTemplate table19[] =
{
{528, &JitArmIL::bcctrx}, //"bcctrx", OPTYPE_BRANCH, FL_ENDBLOCK}},
{16, &JitArmIL::bclrx}, //"bclrx", OPTYPE_BRANCH, FL_ENDBLOCK}},
@@ -170,16 +170,16 @@ static GekkoOPTemplate table19[] =
{449, &JitArmIL::crXX}, //"cror", OPTYPE_CR, FL_EVIL}},
{417, &JitArmIL::crXX}, //"crorc", OPTYPE_CR, FL_EVIL}},
{193, &JitArmIL::crXX}, //"crxor", OPTYPE_CR, FL_EVIL}},
-
+
{150, &JitArmIL::Default}, //"isync", OPTYPE_ICACHE, FL_EVIL}},
{0, &JitArmIL::Default}, //"mcrf", OPTYPE_SYSTEM, FL_EVIL}},
-
+
{50, &JitArmIL::rfi}, //"rfi", OPTYPE_SYSTEM, FL_ENDBLOCK | FL_CHECKEXCEPTIONS, 1}},
{18, &JitArmIL::Break}, //"rfid", OPTYPE_SYSTEM, FL_ENDBLOCK | FL_CHECKEXCEPTIONS}}
};
-static GekkoOPTemplate table31[] =
+static GekkoOPTemplate table31[] =
{
{28, &JitArmIL::boolX}, //"andx", OPTYPE_INTEGER, FL_OUT_A | FL_IN_SB | FL_RC_BIT}},
{60, &JitArmIL::boolX}, //"andcx", OPTYPE_INTEGER, FL_OUT_A | FL_IN_SB | FL_RC_BIT}},
@@ -254,7 +254,7 @@ static GekkoOPTemplate table31[] =
{661, &JitArmIL::Default}, //"stswx", OPTYPE_STORE, FL_EVIL}},
{725, &JitArmIL::Default}, //"stswi", OPTYPE_STORE, FL_EVIL}},
- // fp load/store
+ // fp load/store
{535, &JitArmIL::Default}, //"lfsx", OPTYPE_LOADFP, FL_IN_A0 | FL_IN_B}},
{567, &JitArmIL::Default}, //"lfsux", OPTYPE_LOADFP, FL_IN_A | FL_IN_B}},
{599, &JitArmIL::Default}, //"lfdx", OPTYPE_LOADFP, FL_IN_A0 | FL_IN_B}},
@@ -292,8 +292,8 @@ static GekkoOPTemplate table31[] =
{566, &JitArmIL::Default}, //"tlbsync", OPTYPE_SYSTEM, 0}},
};
-static GekkoOPTemplate table31_2[] =
-{
+static GekkoOPTemplate table31_2[] =
+{
{266, &JitArmIL::Default}, //"addx", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_RC_BIT}},
{778, &JitArmIL::Default}, //"addx", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_RC_BIT}},
{10, &JitArmIL::Default}, //"addcx", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_SET_CA | FL_RC_BIT}},
@@ -317,21 +317,21 @@ static GekkoOPTemplate table31_2[] =
{200, &JitArmIL::Default}, //"subfzex", OPTYPE_INTEGER, FL_OUT_D | FL_IN_AB | FL_READ_CA | FL_SET_CA | FL_RC_BIT}},
};
-static GekkoOPTemplate table59[] =
+static GekkoOPTemplate table59[] =
{
- {18, &JitArmIL::Default}, //{"fdivsx", OPTYPE_FPU, FL_RC_BIT_F, 16}},
- {20, &JitArmIL::Default}, //"fsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {21, &JitArmIL::Default}, //"faddsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {18, &JitArmIL::Default}, //{"fdivsx", OPTYPE_FPU, FL_RC_BIT_F, 16}},
+ {20, &JitArmIL::Default}, //"fsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {21, &JitArmIL::Default}, //"faddsx", OPTYPE_FPU, FL_RC_BIT_F}},
// {22, &JitArmIL::Default}, //"fsqrtsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {24, &JitArmIL::Default}, //"fresx", OPTYPE_FPU, FL_RC_BIT_F}},
- {25, &JitArmIL::Default}, //"fmulsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {28, &JitArmIL::Default}, //"fmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {29, &JitArmIL::Default}, //"fmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {30, &JitArmIL::Default}, //"fnmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
- {31, &JitArmIL::Default}, //"fnmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
-};
-
-static GekkoOPTemplate table63[] =
+ {24, &JitArmIL::Default}, //"fresx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {25, &JitArmIL::Default}, //"fmulsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {28, &JitArmIL::Default}, //"fmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {29, &JitArmIL::Default}, //"fmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {30, &JitArmIL::Default}, //"fnmsubsx", OPTYPE_FPU, FL_RC_BIT_F}},
+ {31, &JitArmIL::Default}, //"fnmaddsx", OPTYPE_FPU, FL_RC_BIT_F}},
+};
+
+static GekkoOPTemplate table63[] =
{
{264, &JitArmIL::Default}, //"fabsx", OPTYPE_FPU, FL_RC_BIT_F}},
{32, &JitArmIL::Default}, //"fcmpo", OPTYPE_FPU, FL_RC_BIT_F}},
@@ -351,7 +351,7 @@ static GekkoOPTemplate table63[] =
{711, &JitArmIL::Default}, //"mtfsfx", OPTYPE_SYSTEMFP, 0, 2}},
};
-static GekkoOPTemplate table63_2[] =
+static GekkoOPTemplate table63_2[] =
{
{18, &JitArmIL::Default}, //"fdivx", OPTYPE_FPU, FL_RC_BIT_F, 30}},
{20, &JitArmIL::Default}, //"fsubx", OPTYPE_FPU, FL_RC_BIT_F}},
@@ -394,7 +394,7 @@ void InitTables()
return;
//clear
- for (int i = 0; i < 32; i++)
+ for (int i = 0; i < 32; i++)
{
dynaOpTable59[i] = &JitArmIL::unknown_instruction;
}
@@ -404,7 +404,7 @@ void InitTables()
dynaOpTable4 [i] = &JitArmIL::unknown_instruction;
dynaOpTable19[i] = &JitArmIL::unknown_instruction;
dynaOpTable31[i] = &JitArmIL::unknown_instruction;
- dynaOpTable63[i] = &JitArmIL::unknown_instruction;
+ dynaOpTable63[i] = &JitArmIL::unknown_instruction;
}
for (int i = 0; i < (int)(sizeof(primarytable) / sizeof(GekkoOPTemplate)); i++)
diff --git a/Source/Core/Core/Src/PowerPC/JitCommon/JitAsmCommon.cpp b/Source/Core/Core/Src/PowerPC/JitCommon/JitAsmCommon.cpp
index 269828f03d..bc8272f48c 100644
--- a/Source/Core/Core/Src/PowerPC/JitCommon/JitAsmCommon.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitCommon/JitAsmCommon.cpp
@@ -16,7 +16,7 @@ using namespace Gen;
static int temp32;
-void CommonAsmRoutines::GenFifoWrite(int size)
+void CommonAsmRoutines::GenFifoWrite(int size)
{
// Assume value in ABI_PARAM1
PUSH(ESI);
@@ -39,7 +39,7 @@ void CommonAsmRoutines::GenFifoWrite(int size)
RET();
}
-void CommonAsmRoutines::GenFifoFloatWrite()
+void CommonAsmRoutines::GenFifoFloatWrite()
{
// Assume value in XMM0
PUSH(ESI);
@@ -57,7 +57,7 @@ void CommonAsmRoutines::GenFifoFloatWrite()
RET();
}
-void CommonAsmRoutines::GenFifoXmm64Write()
+void CommonAsmRoutines::GenFifoXmm64Write()
{
// Assume value in XMM0. Assume pre-byteswapped (unlike the others here!)
PUSH(ESI);
@@ -93,7 +93,7 @@ static const float GC_ALIGNED16(m_quantizeTableS[]) =
1.0 / (1 << 12), 1.0 / (1 << 11), 1.0 / (1 << 10), 1.0 / (1 << 9),
1.0 / (1 << 8), 1.0 / (1 << 7), 1.0 / (1 << 6), 1.0 / (1 << 5),
1.0 / (1 << 4), 1.0 / (1 << 3), 1.0 / (1 << 2), 1.0 / (1 << 1),
-};
+};
static const float GC_ALIGNED16(m_dequantizeTableS[]) =
{
@@ -113,7 +113,7 @@ static const float GC_ALIGNED16(m_dequantizeTableS[]) =
(1 << 12), (1 << 11), (1 << 10), (1 << 9),
(1 << 8), (1 << 7), (1 << 6), (1 << 5),
(1 << 4), (1 << 3), (1 << 2), (1 << 1),
-};
+};
static float GC_ALIGNED16(psTemp[4]);
@@ -196,7 +196,7 @@ void CommonAsmRoutines::GenQuantizedStores()
PACKSSDW(XMM0, R(XMM0));
PACKUSWB(XMM0, R(XMM0));
MOVD_xmm(R(EAX), XMM0);
- SafeWriteRegToReg(AX, ECX, 16, 0, QUANTIZED_REGS_TO_SAVE, SAFE_WRITE_NO_SWAP | SAFE_WRITE_NO_PROLOG | SAFE_WRITE_NO_FASTMEM);
+ SafeWriteRegToReg(AX, ECX, 16, 0, QUANTIZED_REGS_TO_SAVE, SAFE_LOADSTORE_NO_SWAP | SAFE_LOADSTORE_NO_PROLOG | SAFE_LOADSTORE_NO_FASTMEM);
RET();
@@ -205,7 +205,7 @@ void CommonAsmRoutines::GenQuantizedStores()
MOVSS(XMM1, MDisp(EAX, (u32)(u64)m_quantizeTableS));
PUNPCKLDQ(XMM1, R(XMM1));
MULPS(XMM0, R(XMM1));
-#ifdef QUANTIZE_OVERFLOW_SAFE
+#ifdef QUANTIZE_OVERFLOW_SAFE
MOVSS(XMM1, M((void *)&m_65535));
PUNPCKLDQ(XMM1, R(XMM1));
MINPS(XMM0, R(XMM1));
@@ -215,7 +215,7 @@ void CommonAsmRoutines::GenQuantizedStores()
PACKSSWB(XMM0, R(XMM0));
MOVD_xmm(R(EAX), XMM0);
- SafeWriteRegToReg(AX, ECX, 16, 0, QUANTIZED_REGS_TO_SAVE, SAFE_WRITE_NO_SWAP | SAFE_WRITE_NO_PROLOG | SAFE_WRITE_NO_FASTMEM);
+ SafeWriteRegToReg(AX, ECX, 16, 0, QUANTIZED_REGS_TO_SAVE, SAFE_LOADSTORE_NO_SWAP | SAFE_LOADSTORE_NO_PROLOG | SAFE_LOADSTORE_NO_FASTMEM);
RET();
@@ -225,7 +225,7 @@ void CommonAsmRoutines::GenQuantizedStores()
PUNPCKLDQ(XMM1, R(XMM1));
MULPS(XMM0, R(XMM1));
- // PACKUSDW is available only in SSE4
+ // PACKUSDW is available only in SSE4
PXOR(XMM1, R(XMM1));
MAXPS(XMM0, R(XMM1));
MOVSS(XMM1, M((void *)&m_65535));
@@ -241,7 +241,7 @@ void CommonAsmRoutines::GenQuantizedStores()
MOV(16, R(AX), M((char*)psTemp + 4));
BSWAP(32, EAX);
- SafeWriteRegToReg(EAX, ECX, 32, 0, QUANTIZED_REGS_TO_SAVE, SAFE_WRITE_NO_SWAP | SAFE_WRITE_NO_PROLOG | SAFE_WRITE_NO_FASTMEM);
+ SafeWriteRegToReg(EAX, ECX, 32, 0, QUANTIZED_REGS_TO_SAVE, SAFE_LOADSTORE_NO_SWAP | SAFE_LOADSTORE_NO_PROLOG | SAFE_LOADSTORE_NO_FASTMEM);
RET();
@@ -251,7 +251,7 @@ void CommonAsmRoutines::GenQuantizedStores()
// SHUFPS or UNPCKLPS might be a better choice here. The last one might just be an alias though.
PUNPCKLDQ(XMM1, R(XMM1));
MULPS(XMM0, R(XMM1));
-#ifdef QUANTIZE_OVERFLOW_SAFE
+#ifdef QUANTIZE_OVERFLOW_SAFE
MOVSS(XMM1, M((void *)&m_65535));
PUNPCKLDQ(XMM1, R(XMM1));
MINPS(XMM0, R(XMM1));
@@ -261,7 +261,7 @@ void CommonAsmRoutines::GenQuantizedStores()
MOVD_xmm(R(EAX), XMM0);
BSWAP(32, EAX);
ROL(32, R(EAX), Imm8(16));
- SafeWriteRegToReg(EAX, ECX, 32, 0, QUANTIZED_REGS_TO_SAVE, SAFE_WRITE_NO_SWAP | SAFE_WRITE_NO_PROLOG | SAFE_WRITE_NO_FASTMEM);
+ SafeWriteRegToReg(EAX, ECX, 32, 0, QUANTIZED_REGS_TO_SAVE, SAFE_LOADSTORE_NO_SWAP | SAFE_LOADSTORE_NO_PROLOG | SAFE_LOADSTORE_NO_FASTMEM);
RET();
@@ -286,7 +286,7 @@ void CommonAsmRoutines::GenQuantizedSingleStores()
// Easy!
const u8* storeSingleFloat = AlignCode4();
- SafeWriteFloatToReg(XMM0, ECX, QUANTIZED_REGS_TO_SAVE, SAFE_WRITE_NO_PROLOG | SAFE_WRITE_NO_FASTMEM);
+ SafeWriteFloatToReg(XMM0, ECX, QUANTIZED_REGS_TO_SAVE, SAFE_LOADSTORE_NO_PROLOG | SAFE_LOADSTORE_NO_FASTMEM);
RET();
/*
if (cpu_info.bSSSE3) {
@@ -294,11 +294,11 @@ void CommonAsmRoutines::GenQuantizedSingleStores()
// TODO: SafeWriteFloat
MOVSS(M(&psTemp[0]), XMM0);
MOV(32, R(EAX), M(&psTemp[0]));
- SafeWriteRegToReg(EAX, ECX, 32, 0, SAFE_WRITE_NO_SWAP | SAFE_WRITE_NO_PROLOG | SAFE_WRITE_NO_FASTMEM);
+ SafeWriteRegToReg(EAX, ECX, 32, 0, SAFE_LOADSTORE_NO_SWAP | SAFE_LOADSTORE_NO_PROLOG | SAFE_LOADSTORE_NO_FASTMEM);
} else {
MOVSS(M(&psTemp[0]), XMM0);
MOV(32, R(EAX), M(&psTemp[0]));
- SafeWriteRegToReg(EAX, ECX, 32, 0, SAFE_WRITE_NO_PROLOG | SAFE_WRITE_NO_FASTMEM);
+ SafeWriteRegToReg(EAX, ECX, 32, 0, SAFE_LOADSTORE_NO_PROLOG | SAFE_LOADSTORE_NO_FASTMEM);
}*/
const u8* storeSingleU8 = AlignCode4(); // Used by MKWii
@@ -309,7 +309,7 @@ void CommonAsmRoutines::GenQuantizedSingleStores()
MAXSS(XMM0, R(XMM1));
MINSS(XMM0, M((void *)&m_255));
CVTTSS2SI(EAX, R(XMM0));
- SafeWriteRegToReg(AL, ECX, 8, 0, QUANTIZED_REGS_TO_SAVE, SAFE_WRITE_NO_PROLOG | SAFE_WRITE_NO_FASTMEM);
+ SafeWriteRegToReg(AL, ECX, 8, 0, QUANTIZED_REGS_TO_SAVE, SAFE_LOADSTORE_NO_PROLOG | SAFE_LOADSTORE_NO_FASTMEM);
RET();
const u8* storeSingleS8 = AlignCode4();
@@ -319,7 +319,7 @@ void CommonAsmRoutines::GenQuantizedSingleStores()
MAXSS(XMM0, M((void *)&m_m128));
MINSS(XMM0, M((void *)&m_127));
CVTTSS2SI(EAX, R(XMM0));
- SafeWriteRegToReg(AL, ECX, 8, 0, QUANTIZED_REGS_TO_SAVE, SAFE_WRITE_NO_PROLOG | SAFE_WRITE_NO_FASTMEM);
+ SafeWriteRegToReg(AL, ECX, 8, 0, QUANTIZED_REGS_TO_SAVE, SAFE_LOADSTORE_NO_PROLOG | SAFE_LOADSTORE_NO_FASTMEM);
RET();
const u8* storeSingleU16 = AlignCode4(); // Used by MKWii
@@ -330,7 +330,7 @@ void CommonAsmRoutines::GenQuantizedSingleStores()
MAXSS(XMM0, R(XMM1));
MINSS(XMM0, M((void *)&m_65535));
CVTTSS2SI(EAX, R(XMM0));
- SafeWriteRegToReg(EAX, ECX, 16, 0, QUANTIZED_REGS_TO_SAVE, SAFE_WRITE_NO_PROLOG | SAFE_WRITE_NO_FASTMEM);
+ SafeWriteRegToReg(EAX, ECX, 16, 0, QUANTIZED_REGS_TO_SAVE, SAFE_LOADSTORE_NO_PROLOG | SAFE_LOADSTORE_NO_FASTMEM);
RET();
const u8* storeSingleS16 = AlignCode4();
@@ -340,7 +340,7 @@ void CommonAsmRoutines::GenQuantizedSingleStores()
MAXSS(XMM0, M((void *)&m_m32768));
MINSS(XMM0, M((void *)&m_32767));
CVTTSS2SI(EAX, R(XMM0));
- SafeWriteRegToReg(EAX, ECX, 16, 0, QUANTIZED_REGS_TO_SAVE, SAFE_WRITE_NO_PROLOG | SAFE_WRITE_NO_FASTMEM);
+ SafeWriteRegToReg(EAX, ECX, 16, 0, QUANTIZED_REGS_TO_SAVE, SAFE_LOADSTORE_NO_PROLOG | SAFE_LOADSTORE_NO_FASTMEM);
RET();
singleStoreQuantized = reinterpret_cast<const u8**>(const_cast<u8*>(AlignCode16()));
diff --git a/Source/Core/Core/Src/PowerPC/JitCommon/JitBackpatch.cpp b/Source/Core/Core/Src/PowerPC/JitCommon/JitBackpatch.cpp
index 696ca457ee..dd481da9bc 100644
--- a/Source/Core/Core/Src/PowerPC/JitCommon/JitBackpatch.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitCommon/JitBackpatch.cpp
@@ -3,6 +3,7 @@
// Refer to the license.txt file included.
#include <string>
+#include <cinttypes>
#include "Common.h"
#include "disasm.h"
@@ -32,7 +33,7 @@ static void BackPatchError(const std::string &text, u8 *codePtr, u32 emAddress)
#endif
PanicAlert("%s\n\n"
"Error encountered accessing emulated address %08x.\n"
- "Culprit instruction: \n%s\nat %#llx",
+ "Culprit instruction: \n%s\nat %#" PRIx64,
text.c_str(), emAddress, disbuf, code_addr);
return;
}
@@ -107,7 +108,7 @@ const u8 *TrampolineCache::GetWriteTrampoline(const InstructionInfo &info, u32 r
X64Reg dataReg = (X64Reg)info.regOperandReg;
X64Reg addrReg = (X64Reg)info.scaledReg;
- // It's a write. Yay. Remember that we don't have to be super efficient since it's "just" a
+ // It's a write. Yay. Remember that we don't have to be super efficient since it's "just" a
// hardware access - we can take shortcuts.
// Don't treat FIFO writes specially for now because they require a burst
// check anyway.
@@ -157,7 +158,7 @@ const u8 *TrampolineCache::GetWriteTrampoline(const InstructionInfo &info, u32 r
// This generates some fairly heavy trampolines, but:
// 1) It's really necessary. We don't know anything about the context.
-// 2) It doesn't really hurt. Only instructions that access I/O will get these, and there won't be
+// 2) It doesn't really hurt. Only instructions that access I/O will get these, and there won't be
// that many of them in a typical program/game.
const u8 *Jitx86Base::BackPatch(u8 *codePtr, u32 emAddress, void *ctx_void)
{
@@ -166,7 +167,7 @@ const u8 *Jitx86Base::BackPatch(u8 *codePtr, u32 emAddress, void *ctx_void)
if (!jit->IsInCodeSpace(codePtr))
return 0; // this will become a regular crash real soon after this
-
+
InstructionInfo info;
if (!DisassembleMov(codePtr, &info)) {
BackPatchError("BackPatch - failed to disassemble MOV instruction", codePtr, emAddress);
diff --git a/Source/Core/Core/Src/PowerPC/JitCommon/JitBase.cpp b/Source/Core/Core/Src/PowerPC/JitCommon/JitBase.cpp
index 46644f2fc9..d135e9864c 100644
--- a/Source/Core/Core/Src/PowerPC/JitCommon/JitBase.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitCommon/JitBase.cpp
@@ -35,7 +35,7 @@ void LogGeneratedX86(int size, PPCAnalyst::CodeBuffer *code_buffer, const u8 *no
DisassembleGekko(op.inst.hex, op.address, temp, 256);
sprintf(pDis, "%08x %s", op.address, temp);
DEBUG_LOG(DYNA_REC,"IR_X86 PPC: %s\n", pDis);
- }
+ }
disassembler x64disasm;
x64disasm.set_syntax_intel();
diff --git a/Source/Core/Core/Src/PowerPC/JitCommon/JitBase.h b/Source/Core/Core/Src/PowerPC/JitCommon/JitBase.h
index 5ca630621f..b133da0fdd 100644
--- a/Source/Core/Core/Src/PowerPC/JitCommon/JitBase.h
+++ b/Source/Core/Core/Src/PowerPC/JitCommon/JitBase.h
@@ -25,7 +25,7 @@
#include "../../HW/GPFifo.h"
#include "../../HW/Memmap.h"
-#include <set>
+#include <unordered_set>
class JitBase : public CPUCoreBase
{
@@ -70,14 +70,14 @@ protected:
JitBlock *curBlock;
- std::set<u32> fifoWriteAddresses;
+ std::unordered_set<u32> fifoWriteAddresses;
};
public:
// This should probably be removed from public:
JitOptions jo;
JitState js;
-
+
virtual JitBaseBlockCache *GetBlockCache() = 0;
virtual void Jit(u32 em_address) = 0;
@@ -93,13 +93,13 @@ class Jitx86Base : public JitBase, public EmuCodeBlock
{
protected:
JitBlockCache blocks;
- TrampolineCache trampolines;
+ TrampolineCache trampolines;
public:
- JitBlockCache *GetBlockCache() { return &blocks; }
-
- const u8 *BackPatch(u8 *codePtr, u32 em_address, void *ctx);
+ JitBlockCache *GetBlockCache() override { return &blocks; }
+
+ const u8 *BackPatch(u8 *codePtr, u32 em_address, void *ctx) override;
- bool IsInCodeSpace(u8 *ptr) { return IsInSpace(ptr); }
+ bool IsInCodeSpace(u8 *ptr) override { return IsInSpace(ptr); }
};
extern JitBase *jit;
diff --git a/Source/Core/Core/Src/PowerPC/JitCommon/JitCache.cpp b/Source/Core/Core/Src/PowerPC/JitCommon/JitCache.cpp
index 793702bed9..d7c78d9d17 100644
--- a/Source/Core/Core/Src/PowerPC/JitCommon/JitCache.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitCommon/JitCache.cpp
@@ -37,7 +37,7 @@ using namespace Gen;
#define INVALID_EXIT 0xFFFFFFFF
- bool JitBaseBlockCache::IsFull() const
+ bool JitBaseBlockCache::IsFull() const
{
return GetNumBlocks() >= MAX_NUM_BLOCKS - 1;
}
@@ -93,7 +93,7 @@ using namespace Gen;
iJIT_NotifyEvent(iJVM_EVENT_TYPE_SHUTDOWN, NULL);
#endif
}
-
+
// This clears the JIT cache. It's called from JitCache.cpp when the JIT cache
// is full and when saving and loading states.
void JitBaseBlockCache::Clear()
@@ -156,7 +156,7 @@ using namespace Gen;
if ((s1 >= s2 && s1 <= e2) ||
(e1 >= s2 && e1 <= e2) ||
(s2 >= s1 && s2 <= e1) ||
- (e2 >= s1 && e2 <= e1))
+ (e2 >= s1 && e2 <= e1))
return true;
else
return false;
@@ -195,10 +195,10 @@ using namespace Gen;
{
for (int i = 0; i < 2; i++)
{
- if (b.exitAddress[i] != INVALID_EXIT)
+ if (b.exitAddress[i] != INVALID_EXIT)
links_to.insert(std::pair<u32, int>(b.exitAddress[i], block_num));
}
-
+
LinkBlock(block_num);
LinkBlockExits(block_num);
}
@@ -244,7 +244,7 @@ using namespace Gen;
int JitBaseBlockCache::GetBlockNumberFromStartAddress(u32 addr)
{
if (!blocks)
- return -1;
+ return -1;
u32 inst;
inst = *GetICachePtr(addr);
if (inst & 0xfc000000) // definitely not a JIT block
@@ -252,12 +252,12 @@ using namespace Gen;
if ((int)inst >= num_blocks)
return -1;
if (blocks[inst].originalAddress != addr)
- return -1;
+ return -1;
return inst;
}
CompiledCode JitBaseBlockCache::GetCompiledCodeFromBlock(int block_num)
- {
+ {
return (CompiledCode)blockCodePointers[block_num];
}
diff --git a/Source/Core/Core/Src/PowerPC/JitCommon/JitCache.h b/Source/Core/Core/Src/PowerPC/JitCommon/JitCache.h
index 7b84ce0fc5..b81c5d837a 100644
--- a/Source/Core/Core/Src/PowerPC/JitCommon/JitCache.h
+++ b/Source/Core/Core/Src/PowerPC/JitCommon/JitCache.h
@@ -39,7 +39,7 @@ struct JitBlock
u32 exitAddress[2]; // 0xFFFFFFFF == unknown
u32 originalAddress;
- u32 codeSize;
+ u32 codeSize;
u32 originalSize;
int runCount; // for profiling.
int flags;
@@ -80,7 +80,7 @@ class JitBaseBlockCache
void LinkBlockExits(int i);
void LinkBlock(int i);
void UnlinkBlock(int i);
-
+
// Virtual for overloaded
virtual void WriteLinkBlock(u8* location, const u8* address) = 0;
virtual void WriteDestroyBlock(const u8* location, u32 address) = 0;
@@ -128,7 +128,7 @@ public:
class JitBlockCache : public JitBaseBlockCache
{
private:
- void WriteLinkBlock(u8* location, const u8* address);
- void WriteDestroyBlock(const u8* location, u32 address);
+ void WriteLinkBlock(u8* location, const u8* address) override;
+ void WriteDestroyBlock(const u8* location, u32 address) override;
};
#endif
diff --git a/Source/Core/Core/Src/PowerPC/JitCommon/Jit_Util.cpp b/Source/Core/Core/Src/PowerPC/JitCommon/Jit_Util.cpp
index 8205c2fea7..00e24e7a20 100644
--- a/Source/Core/Core/Src/PowerPC/JitCommon/Jit_Util.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitCommon/Jit_Util.cpp
@@ -117,15 +117,20 @@ u8 *EmuCodeBlock::UnsafeLoadToReg(X64Reg reg_value, Gen::OpArg opAddress, int ac
return result;
}
-void EmuCodeBlock::SafeLoadToReg(X64Reg reg_value, const Gen::OpArg & opAddress, int accessSize, s32 offset, u32 registersInUse, bool signExtend)
+void EmuCodeBlock::SafeLoadToReg(X64Reg reg_value, const Gen::OpArg & opAddress, int accessSize, s32 offset, u32 registersInUse, bool signExtend, int flags)
{
- registersInUse &= ~(1 << RAX | 1 << reg_value);
+ if (!jit->js.memcheck)
+ {
+ registersInUse &= ~(1 << RAX | 1 << reg_value);
+ }
#if defined(_M_X64)
+ if (!Core::g_CoreStartupParameter.bMMU &&
+ Core::g_CoreStartupParameter.bFastmem &&
+ !(flags & (SAFE_LOADSTORE_NO_SWAP | SAFE_LOADSTORE_NO_FASTMEM))
#ifdef ENABLE_MEM_CHECK
- if (!Core::g_CoreStartupParameter.bMMU && !Core::g_CoreStartupParameter.bEnableDebugging && Core::g_CoreStartupParameter.bFastmem)
-#else
- if (!Core::g_CoreStartupParameter.bMMU && Core::g_CoreStartupParameter.bFastmem)
+ && !Core::g_CoreStartupParameter.bEnableDebugging
#endif
+ )
{
u8 *mov = UnsafeLoadToReg(reg_value, opAddress, accessSize, offset, signExtend);
@@ -164,6 +169,9 @@ void EmuCodeBlock::SafeLoadToReg(X64Reg reg_value, const Gen::OpArg & opAddress,
case 8: ABI_CallFunctionC((void *)&Memory::Read_U8_ZX, address); break;
}
ABI_PopRegistersAndAdjustStack(registersInUse, false);
+
+ MEMCHECK_START
+
if (signExtend && accessSize < 32)
{
// Need to sign extend values coming from the Read_U* functions.
@@ -173,6 +181,8 @@ void EmuCodeBlock::SafeLoadToReg(X64Reg reg_value, const Gen::OpArg & opAddress,
{
MOVZX(32, accessSize, reg_value, R(EAX));
}
+
+ MEMCHECK_END
}
}
else
@@ -192,6 +202,9 @@ void EmuCodeBlock::SafeLoadToReg(X64Reg reg_value, const Gen::OpArg & opAddress,
case 8: ABI_CallFunctionR((void *)&Memory::Read_U8_ZX, EAX); break;
}
ABI_PopRegistersAndAdjustStack(registersInUse, false);
+
+ MEMCHECK_START
+
if (signExtend && accessSize < 32)
{
// Need to sign extend values coming from the Read_U* functions.
@@ -202,6 +215,8 @@ void EmuCodeBlock::SafeLoadToReg(X64Reg reg_value, const Gen::OpArg & opAddress,
MOVZX(32, accessSize, reg_value, R(EAX));
}
+ MEMCHECK_END
+
FixupBranch exit = J();
SetJumpTarget(fast);
UnsafeLoadToReg(reg_value, R(EAX), accessSize, 0, signExtend);
@@ -220,6 +235,9 @@ void EmuCodeBlock::SafeLoadToReg(X64Reg reg_value, const Gen::OpArg & opAddress,
case 8: ABI_CallFunctionA((void *)&Memory::Read_U8_ZX, opAddress); break;
}
ABI_PopRegistersAndAdjustStack(registersInUse, false);
+
+ MEMCHECK_START
+
if (signExtend && accessSize < 32)
{
// Need to sign extend values coming from the Read_U* functions.
@@ -230,6 +248,8 @@ void EmuCodeBlock::SafeLoadToReg(X64Reg reg_value, const Gen::OpArg & opAddress,
MOVZX(32, accessSize, reg_value, R(EAX));
}
+ MEMCHECK_END
+
FixupBranch exit = J();
SetJumpTarget(fast);
UnsafeLoadToReg(reg_value, opAddress, accessSize, offset, signExtend);
@@ -264,14 +284,14 @@ void EmuCodeBlock::SafeWriteRegToReg(X64Reg reg_value, X64Reg reg_addr, int acce
#if defined(_M_X64)
if (!Core::g_CoreStartupParameter.bMMU &&
Core::g_CoreStartupParameter.bFastmem &&
- !(flags & (SAFE_WRITE_NO_SWAP | SAFE_WRITE_NO_FASTMEM))
+ !(flags & (SAFE_LOADSTORE_NO_SWAP | SAFE_LOADSTORE_NO_FASTMEM))
#ifdef ENABLE_MEM_CHECK
&& !Core::g_CoreStartupParameter.bEnableDebugging
#endif
)
{
MOV(32, M(&PC), Imm32(jit->js.compilerPC)); // Helps external systems know which instruction triggered the write
- u8 *mov = UnsafeWriteRegToReg(reg_value, reg_addr, accessSize, offset, !(flags & SAFE_WRITE_NO_SWAP));
+ u8 *mov = UnsafeWriteRegToReg(reg_value, reg_addr, accessSize, offset, !(flags & SAFE_LOADSTORE_NO_SWAP));
if (accessSize == 8)
{
NOP(1);
@@ -303,8 +323,8 @@ void EmuCodeBlock::SafeWriteRegToReg(X64Reg reg_value, X64Reg reg_addr, int acce
MOV(32, M(&PC), Imm32(jit->js.compilerPC)); // Helps external systems know which instruction triggered the write
TEST(32, R(reg_addr), Imm32(mem_mask));
FixupBranch fast = J_CC(CC_Z, true);
- bool noProlog = flags & SAFE_WRITE_NO_PROLOG;
- bool swap = !(flags & SAFE_WRITE_NO_SWAP);
+ bool noProlog = flags & SAFE_LOADSTORE_NO_PROLOG;
+ bool swap = !(flags & SAFE_LOADSTORE_NO_SWAP);
ABI_PushRegistersAndAdjustStack(registersInUse, noProlog);
switch (accessSize)
{
diff --git a/Source/Core/Core/Src/PowerPC/JitCommon/Jit_Util.h b/Source/Core/Core/Src/PowerPC/JitCommon/Jit_Util.h
index 4a51073d5a..a321ddd117 100644
--- a/Source/Core/Core/Src/PowerPC/JitCommon/Jit_Util.h
+++ b/Source/Core/Core/Src/PowerPC/JitCommon/Jit_Util.h
@@ -8,6 +8,17 @@
#include "x64Emitter.h"
#include <unordered_map>
+#define MEMCHECK_START \
+ FixupBranch memException; \
+ if (jit->js.memcheck) \
+ { TEST(32, M((void *)&PowerPC::ppcState.Exceptions), Imm32(EXCEPTION_DSI)); \
+ memException = J_CC(CC_NZ, true); }
+
+#define MEMCHECK_END \
+ if (jit->js.memcheck) \
+ SetJumpTarget(memException);
+
+
// Like XCodeBlock but has some utilities for memory access.
class EmuCodeBlock : public Gen::XCodeBlock
{
@@ -17,13 +28,13 @@ public:
// these return the address of the MOV, for backpatching
u8 *UnsafeWriteRegToReg(Gen::X64Reg reg_value, Gen::X64Reg reg_addr, int accessSize, s32 offset = 0, bool swap = true);
u8 *UnsafeLoadToReg(Gen::X64Reg reg_value, Gen::OpArg opAddress, int accessSize, s32 offset, bool signExtend);
- void SafeLoadToReg(Gen::X64Reg reg_value, const Gen::OpArg & opAddress, int accessSize, s32 offset, u32 registersInUse, bool signExtend);
- enum SafeWriteFlags
+ enum SafeLoadStoreFlags
{
- SAFE_WRITE_NO_SWAP = 1,
- SAFE_WRITE_NO_PROLOG = 2,
- SAFE_WRITE_NO_FASTMEM = 4
+ SAFE_LOADSTORE_NO_SWAP = 1,
+ SAFE_LOADSTORE_NO_PROLOG = 2,
+ SAFE_LOADSTORE_NO_FASTMEM = 4
};
+ void SafeLoadToReg(Gen::X64Reg reg_value, const Gen::OpArg & opAddress, int accessSize, s32 offset, u32 registersInUse, bool signExtend, int flags = 0);
void SafeWriteRegToReg(Gen::X64Reg reg_value, Gen::X64Reg reg_addr, int accessSize, s32 offset, u32 registersInUse, int flags = 0);
// Trashes both inputs and EAX.
diff --git a/Source/Core/Core/Src/PowerPC/JitILCommon/IR.cpp b/Source/Core/Core/Src/PowerPC/JitILCommon/IR.cpp
index 50cba22a89..3a4866f2f8 100644
--- a/Source/Core/Core/Src/PowerPC/JitILCommon/IR.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitILCommon/IR.cpp
@@ -49,7 +49,7 @@ I've implemented one additional trick: fast memory for 32-bit machines.
This works off of the observation that loads and stores can be classified
at runtime: any particular load instruction will always load similar addresses,
and any store will store to similar addresses. Using this observation, every
-block is JIT-ed twice: the first time, the block includes extra code to
+block is JIT-ed twice: the first time, the block includes extra code to
instrument the loads. Then, at the end of the block, it jumps back into the JIT
to recompile itself. The second recompilation looks at the address of each load
and store, and bakes the information into the generated code. This allows removing
@@ -66,7 +66,7 @@ use any floating-point), it's roughly 25% faster than the current JIT, with the
edge over the current JIT mostly due to the fast memory optimization.
Update on perf:
-I've been doing a bit more tweaking for a small perf improvement (in the
+I've been doing a bit more tweaking for a small perf improvement (in the
range of 5-10%). That said, it's getting to the point where I'm simply
not seeing potential for improvements to codegen, at least for long,
straightforward blocks. For one long block that's at the top of my samples,
@@ -118,6 +118,7 @@ Fix profiled loads/stores to work safely. On 32-bit, one solution is to
#include <algorithm>
#include <memory>
+#include <cinttypes>
#include <ctime>
#include <set>
#include "IR.h"
@@ -131,14 +132,14 @@ using namespace Gen;
namespace IREmitter {
InstLoc IRBuilder::EmitZeroOp(unsigned Opcode, unsigned extra = 0) {
- InstLoc curIndex = &InstList[InstList.size()];
+ InstLoc curIndex = InstList.data() + InstList.size();
InstList.push_back(Opcode | (extra << 8));
MarkUsed.push_back(false);
return curIndex;
}
InstLoc IRBuilder::EmitUOp(unsigned Opcode, InstLoc Op1, unsigned extra) {
- InstLoc curIndex = &InstList[InstList.size()];
+ InstLoc curIndex = InstList.data() + InstList.size();
unsigned backOp1 = (s32)(curIndex - 1 - Op1);
if (backOp1 >= 256) {
InstList.push_back(Tramp | backOp1 << 8);
@@ -152,7 +153,7 @@ InstLoc IRBuilder::EmitUOp(unsigned Opcode, InstLoc Op1, unsigned extra) {
}
InstLoc IRBuilder::EmitBiOp(unsigned Opcode, InstLoc Op1, InstLoc Op2, unsigned extra) {
- InstLoc curIndex = &InstList[InstList.size()];
+ InstLoc curIndex = InstList.data() + InstList.size();
unsigned backOp1 = (s32)(curIndex - 1 - Op1);
if (backOp1 >= 255) {
InstList.push_back(Tramp | backOp1 << 8);
@@ -175,7 +176,7 @@ InstLoc IRBuilder::EmitBiOp(unsigned Opcode, InstLoc Op1, InstLoc Op2, unsigned
#if 0
InstLoc IRBuilder::EmitTriOp(unsigned Opcode, InstLoc Op1, InstLoc Op2, InstLoc Op3) {
- InstLoc curIndex = &InstList[InstList.size()];
+ InstLoc curIndex = InstList.data() + InstList.size();
unsigned backOp1 = curIndex - 1 - Op1;
if (backOp1 >= 254) {
InstList.push_back(Tramp | backOp1 << 8);
@@ -570,7 +571,7 @@ InstLoc IRBuilder::FoldMul(InstLoc Op1, InstLoc Op2) {
if (imm == -1U) {
return FoldSub(EmitIntConst(0), Op1);
}
-
+
for (unsigned i0 = 0; i0 < 30; ++i0) {
// x * (1 << i0) => x << i0
// One "shl" is faster than one "imul".
@@ -862,7 +863,7 @@ InstLoc IRBuilder::FoldBranchCond(InstLoc Op1, InstLoc Op2) {
if (getOpcode(*XOp1) == And &&
isImm(*getOp2(XOp1)) &&
getOpcode(*getOp1(XOp1)) == ICmpCRSigned) {
- unsigned innerBranchValue =
+ unsigned innerBranchValue =
GetImmValue(getOp2(XOp1));
if (branchValue == innerBranchValue) {
if (branchValue == 2)
@@ -1006,7 +1007,7 @@ InstLoc IRBuilder::FoldInterpreterFallback(InstLoc Op1, InstLoc Op2) {
CRCacheStore[i] = 0;
}
CTRCache = 0;
- CTRCacheStore = 0;
+ CTRCacheStore = 0;
return EmitBiOp(InterpreterFallback, Op1, Op2);
}
@@ -1049,7 +1050,7 @@ InstLoc IRBuilder::FoldBiOp(unsigned Opcode, InstLoc Op1, InstLoc Op2, unsigned
}
InstLoc IRBuilder::EmitIntConst(unsigned value) {
- InstLoc curIndex = &InstList[InstList.size()];
+ InstLoc curIndex = InstList.data() + InstList.size();
InstList.push_back(CInt32 | ((unsigned int)ConstList.size() << 8));
MarkUsed.push_back(false);
ConstList.push_back(value);
@@ -1061,12 +1062,12 @@ unsigned IRBuilder::GetImmValue(InstLoc I) const {
}
void IRBuilder::SetMarkUsed(InstLoc I) {
- const unsigned i = (unsigned)(I - &InstList[0]);
+ const unsigned i = (unsigned)(I - InstList.data());
MarkUsed[i] = true;
}
bool IRBuilder::IsMarkUsed(InstLoc I) const {
- const unsigned i = (unsigned)(I - &InstList[0]);
+ const unsigned i = (unsigned)(I - InstList.data());
return MarkUsed[i];
}
@@ -1124,14 +1125,14 @@ unsigned IRBuilder::getNumberOfOperands(InstLoc I) const {
static unsigned ZeroOp[] = {LoadCR, LoadLink, LoadMSR, LoadGReg, LoadCTR, InterpreterBranch, LoadCarry, RFIExit, LoadFReg, LoadFRegDENToZero, LoadGQR, Int3, };
static unsigned UOp[] = {StoreLink, BranchUncond, StoreCR, StoreMSR, StoreFPRF, StoreGReg, StoreCTR, Load8, Load16, Load32, SExt16, SExt8, Cntlzw, Not, StoreCarry, SystemCall, ShortIdleLoop, LoadSingle, LoadDouble, LoadPaired, StoreFReg, DupSingleToMReg, DupSingleToPacked, ExpandPackedToMReg, CompactMRegToPacked, FSNeg, FSRSqrt, FDNeg, FPDup0, FPDup1, FPNeg, DoubleToSingle, StoreGQR, StoreSRR, };
static unsigned BiOp[] = {BranchCond, IdleBranch, And, Xor, Sub, Or, Add, Mul, Rol, Shl, Shrl, Sarl, ICmpEq, ICmpNe, ICmpUgt, ICmpUlt, ICmpSgt, ICmpSlt, ICmpSge, ICmpSle, Store8, Store16, Store32, ICmpCRSigned, ICmpCRUnsigned, InterpreterFallback, StoreSingle, StoreDouble, StorePaired, InsertDoubleInMReg, FSMul, FSAdd, FSSub, FDMul, FDAdd, FDSub, FPAdd, FPMul, FPSub, FPMerge00, FPMerge01, FPMerge10, FPMerge11, FDCmpCR, };
- for (size_t i = 0; i < sizeof(ZeroOp) / sizeof(ZeroOp[0]); ++i) {
- numberOfOperands[ZeroOp[i]] = 0;
+ for (auto& op : ZeroOp) {
+ numberOfOperands[op] = 0;
}
- for (size_t i = 0; i < sizeof(UOp) / sizeof(UOp[0]); ++i) {
- numberOfOperands[UOp[i]] = 1;
+ for (auto& op : UOp) {
+ numberOfOperands[op] = 1;
}
- for (size_t i = 0; i < sizeof(BiOp) / sizeof(BiOp[0]); ++i) {
- numberOfOperands[BiOp[i]] = 2;
+ for (auto& op : BiOp) {
+ numberOfOperands[op] = 2;
}
}
@@ -1223,27 +1224,27 @@ struct Writer
virtual ~Writer() {}
};
-static std::auto_ptr<Writer> writer;
+static std::unique_ptr<Writer> writer;
static const std::string opcodeNames[] = {
- "Nop", "LoadGReg", "LoadLink", "LoadCR", "LoadCarry", "LoadCTR",
- "LoadMSR", "LoadGQR", "SExt8", "SExt16", "BSwap32", "BSwap16", "Cntlzw",
- "Not", "Load8", "Load16", "Load32", "BranchUncond", "StoreGReg",
- "StoreCR", "StoreLink", "StoreCarry", "StoreCTR", "StoreMSR", "StoreFPRF",
- "StoreGQR", "StoreSRR", "InterpreterFallback", "Add", "Mul", "And", "Or",
- "Xor", "MulHighUnsigned", "Sub", "Shl", "Shrl", "Sarl", "Rol",
- "ICmpCRSigned", "ICmpCRUnsigned", "ICmpEq", "ICmpNe", "ICmpUgt",
- "ICmpUlt", "ICmpUge", "ICmpUle", "ICmpSgt", "ICmpSlt", "ICmpSge",
- "ICmpSle", "Store8", "Store16", "Store32", "BranchCond", "FResult_Start",
- "LoadSingle", "LoadDouble", "LoadPaired", "DoubleToSingle",
- "DupSingleToMReg", "DupSingleToPacked", "InsertDoubleInMReg",
- "ExpandPackedToMReg", "CompactMRegToPacked", "LoadFReg",
- "LoadFRegDENToZero", "FSMul", "FSAdd", "FSSub", "FSNeg", "FSRSqrt",
- "FPAdd", "FPMul", "FPSub", "FPNeg", "FDMul", "FDAdd", "FDSub", "FDNeg",
- "FPMerge00", "FPMerge01", "FPMerge10", "FPMerge11", "FPDup0", "FPDup1",
- "FResult_End", "StorePaired", "StoreSingle", "StoreDouble", "StoreFReg",
- "FDCmpCR", "CInt16", "CInt32", "SystemCall", "RFIExit",
- "InterpreterBranch", "IdleBranch", "ShortIdleLoop",
+ "Nop", "LoadGReg", "LoadLink", "LoadCR", "LoadCarry", "LoadCTR",
+ "LoadMSR", "LoadGQR", "SExt8", "SExt16", "BSwap32", "BSwap16", "Cntlzw",
+ "Not", "Load8", "Load16", "Load32", "BranchUncond", "StoreGReg",
+ "StoreCR", "StoreLink", "StoreCarry", "StoreCTR", "StoreMSR", "StoreFPRF",
+ "StoreGQR", "StoreSRR", "InterpreterFallback", "Add", "Mul", "And", "Or",
+ "Xor", "MulHighUnsigned", "Sub", "Shl", "Shrl", "Sarl", "Rol",
+ "ICmpCRSigned", "ICmpCRUnsigned", "ICmpEq", "ICmpNe", "ICmpUgt",
+ "ICmpUlt", "ICmpUge", "ICmpUle", "ICmpSgt", "ICmpSlt", "ICmpSge",
+ "ICmpSle", "Store8", "Store16", "Store32", "BranchCond", "FResult_Start",
+ "LoadSingle", "LoadDouble", "LoadPaired", "DoubleToSingle",
+ "DupSingleToMReg", "DupSingleToPacked", "InsertDoubleInMReg",
+ "ExpandPackedToMReg", "CompactMRegToPacked", "LoadFReg",
+ "LoadFRegDENToZero", "FSMul", "FSAdd", "FSSub", "FSNeg", "FSRSqrt",
+ "FPAdd", "FPMul", "FPSub", "FPNeg", "FDMul", "FDAdd", "FDSub", "FDNeg",
+ "FPMerge00", "FPMerge01", "FPMerge10", "FPMerge11", "FPDup0", "FPDup1",
+ "FResult_End", "StorePaired", "StoreSingle", "StoreDouble", "StoreFReg",
+ "FDCmpCR", "CInt16", "CInt32", "SystemCall", "RFIExit",
+ "InterpreterBranch", "IdleBranch", "ShortIdleLoop",
"FPExceptionCheckStart", "FPExceptionCheckEnd", "ISIException", "ExtExceptionCheck",
"Tramp", "BlockStart", "BlockEnd", "Int3",
};
@@ -1275,11 +1276,11 @@ void IRBuilder::WriteToFile(u64 codeHash) {
_assert_(sizeof(opcodeNames) / sizeof(opcodeNames[0]) == Int3 + 1);
if (!writer.get()) {
- writer = std::auto_ptr<Writer>(new Writer);
+ writer = std::unique_ptr<Writer>(new Writer);
}
FILE* const file = writer->file.GetHandle();
- fprintf(file, "\ncode hash:%016llx\n", codeHash);
+ fprintf(file, "\ncode hash:%016" PRIx64 "\n", codeHash);
const InstLoc lastCurReadPtr = curReadPtr;
StartForwardPass();
diff --git a/Source/Core/Core/Src/PowerPC/JitILCommon/IR.h b/Source/Core/Core/Src/PowerPC/JitILCommon/IR.h
index cce9c3ae3c..f3246e77b0 100644
--- a/Source/Core/Core/Src/PowerPC/JitILCommon/IR.h
+++ b/Source/Core/Core/Src/PowerPC/JitILCommon/IR.h
@@ -182,7 +182,7 @@ unsigned inline isICmp(Inst i) {
}
unsigned inline isFResult(Inst i) {
- return getOpcode(i) > FResult_Start &&
+ return getOpcode(i) > FResult_Start &&
getOpcode(i) < FResult_End;
}
@@ -406,7 +406,7 @@ public:
}
InstLoc EmitRFIExit() {
return FoldZeroOp(RFIExit, 0);
- }
+ }
InstLoc EmitShortIdleLoop(InstLoc pc) {
return FoldUOp(ShortIdleLoop, pc);
}
@@ -529,11 +529,11 @@ public:
return FoldZeroOp(Int3, 0);
}
- void StartBackPass() { curReadPtr = &InstList[InstList.size()]; }
- void StartForwardPass() { curReadPtr = &InstList[0]; }
+ void StartBackPass() { curReadPtr = InstList.data() + InstList.size(); }
+ void StartForwardPass() { curReadPtr = InstList.data(); }
InstLoc ReadForward() { return curReadPtr++; }
InstLoc ReadBackward() { return --curReadPtr; }
- InstLoc getFirstInst() { return &InstList[0]; }
+ InstLoc getFirstInst() { return InstList.data(); }
unsigned int getNumInsts() { return (unsigned int)InstList.size(); }
unsigned int ReadInst(InstLoc I) { return *I; }
unsigned int GetImmValue(InstLoc I) const;
diff --git a/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase.h b/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase.h
index bce0c69eea..ee5d08a4fd 100644
--- a/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase.h
+++ b/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase.h
@@ -44,7 +44,7 @@ public:
virtual const CommonAsmRoutinesBase *GetAsmRoutines() = 0;
virtual bool IsInCodeSpace(u8 *ptr) = 0;
-
+
// OPCODES
virtual void unknown_instruction(UGeckoInstruction inst) = 0;
virtual void Default(UGeckoInstruction inst) = 0;
@@ -104,7 +104,7 @@ public:
void extsbx(UGeckoInstruction inst);
void extshx(UGeckoInstruction inst);
-
+
void reg_imm(UGeckoInstruction inst);
void ps_sel(UGeckoInstruction inst);
@@ -147,7 +147,7 @@ public:
void subfic(UGeckoInstruction inst);
void subfcx(UGeckoInstruction inst);
void subfx(UGeckoInstruction inst);
- void subfex(UGeckoInstruction inst);
+ void subfex(UGeckoInstruction inst);
};
#endif
diff --git a/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Branch.cpp b/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Branch.cpp
index a806c3a82d..6d6c594126 100644
--- a/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Branch.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Branch.cpp
@@ -10,12 +10,12 @@
// No need for a disable-mechanism.
// If defined, clears CR0 at blr and bl-s. If the assumption that
-// flags never carry over between functions holds, then the task for
+// flags never carry over between functions holds, then the task for
// an optimizer becomes much easier.
// #define ACID_TEST
-// Zelda and many more games seem to pass the Acid Test.
+// Zelda and many more games seem to pass the Acid Test.
//#define NORMALBRANCH_START Default(inst); ibuild.EmitInterpreterBranch(); return;
#define NORMALBRANCH_START
@@ -114,12 +114,12 @@ void JitILBase::bcx(UGeckoInstruction inst)
destination = js.compilerPC + SignExt16(inst.BD << 2);
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bSkipIdle &&
- inst.hex == 0x4182fff8 &&
+ inst.hex == 0x4182fff8 &&
(Memory::ReadUnchecked_U32(js.compilerPC - 8) & 0xFFFF0000) == 0x800D0000 &&
(Memory::ReadUnchecked_U32(js.compilerPC - 4) == 0x28000000 ||
- (SConfig::GetInstance().m_LocalCoreStartupParameter.bWii && Memory::ReadUnchecked_U32(js.compilerPC - 4) == 0x2C000000))
+ (SConfig::GetInstance().m_LocalCoreStartupParameter.bWii && Memory::ReadUnchecked_U32(js.compilerPC - 4) == 0x2C000000))
)
- {
+ {
ibuild.EmitIdleBranch(Test, ibuild.EmitIntConst(destination));
}
else
diff --git a/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Integer.cpp b/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Integer.cpp
index f3a3da818e..836cc9d45e 100644
--- a/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Integer.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Integer.cpp
@@ -114,7 +114,7 @@ void JitILBase::cmpXX(UGeckoInstruction inst)
}
js.downcountAmount++; //TODO: should this be somewhere else?
-
+
ibuild.EmitStoreCR(res, inst.CRFD);
}
@@ -217,7 +217,7 @@ void JitILBase::subfic(UGeckoInstruction inst)
ibuild.EmitStoreCarry(test);
}
-void JitILBase::subfcx(UGeckoInstruction inst)
+void JitILBase::subfcx(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(bJITIntegerOff)
@@ -234,7 +234,7 @@ void JitILBase::subfcx(UGeckoInstruction inst)
ComputeRC(ibuild, val);
}
-void JitILBase::subfex(UGeckoInstruction inst)
+void JitILBase::subfex(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(bJITIntegerOff)
@@ -492,7 +492,7 @@ void JitILBase::srawx(UGeckoInstruction inst)
test = ibuild.EmitOr(val, mask2);
test = ibuild.EmitICmpUgt(test, mask);
ibuild.EmitStoreCarry(test);
-
+
if (inst.Rc)
ComputeRC(ibuild, val);
}
@@ -507,7 +507,7 @@ void JitILBase::srawix(UGeckoInstruction inst)
unsigned int mask = -1u << inst.SH;
test = ibuild.EmitOr(val, ibuild.EmitIntConst(mask & 0x7FFFFFFF));
test = ibuild.EmitICmpUgt(test, ibuild.EmitIntConst(mask));
-
+
ibuild.EmitStoreCarry(test);
if (inst.Rc)
ComputeRC(ibuild, val);
diff --git a/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_LoadStore.cpp b/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_LoadStore.cpp
index 495a6bb4e6..adbf31439a 100644
--- a/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_LoadStore.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_LoadStore.cpp
@@ -31,7 +31,7 @@ void JitILBase::lXz(UGeckoInstruction inst)
IREmitter::InstLoc val;
switch (inst.OPCD & ~0x1)
{
- case 32: val = ibuild.EmitLoad32(addr); break; //lwz
+ case 32: val = ibuild.EmitLoad32(addr); break; //lwz
case 40: val = ibuild.EmitLoad16(addr); break; //lhz
case 34: val = ibuild.EmitLoad8(addr); break; //lbz
default: PanicAlert("lXz: invalid access size"); val = 0; break;
@@ -111,7 +111,7 @@ void JitILBase::dcbz(UGeckoInstruction inst)
// TODO!
#if 0
if(Core::g_CoreStartupParameter.bJITOff || Core::g_CoreStartupParameter.bJITLoadStoreOff)
- {Default(inst); return;} // turn off from debugger
+ {Default(inst); return;} // turn off from debugger
INSTRUCTION_START;
MOV(32, R(EAX), gpr.R(inst.RB));
if (inst.RA)
diff --git a/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Paired.cpp b/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Paired.cpp
index 74f070809f..7ed65497c7 100644
--- a/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Paired.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_Paired.cpp
@@ -38,7 +38,7 @@ void JitILBase::ps_arith(UGeckoInstruction inst)
else
rhs = ibuild.EmitCompactMRegToPacked(ibuild.EmitLoadFReg(inst.FB));
val = ibuild.EmitCompactMRegToPacked(val);
-
+
switch (inst.SUBOP5)
{
case 20:
@@ -58,7 +58,7 @@ void JitILBase::ps_sum(UGeckoInstruction inst)
{
// TODO: This operation strikes me as a bit strange...
// perhaps we can optimize it depending on the users?
- // TODO: ps_sum breaks Sonic Colours (black screen)
+ // TODO: ps_sum breaks Sonic Colours (black screen)
Default(inst); return;
INSTRUCTION_START
JITDISABLE(bJITPairedOff)
@@ -115,7 +115,7 @@ void JitILBase::ps_mergeXX(UGeckoInstruction inst)
switch (inst.SUBOP10)
{
- case 528:
+ case 528:
val = ibuild.EmitFPMerge00(val, rhs);
break; //00
case 560:
@@ -142,7 +142,7 @@ void JitILBase::ps_maddXX(UGeckoInstruction inst)
if (inst.Rc) {
Default(inst); return;
}
-
+
IREmitter::InstLoc val = ibuild.EmitLoadFReg(inst.FA), op2, op3;
val = ibuild.EmitCompactMRegToPacked(val);
switch (inst.SUBOP5)
diff --git a/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_SystemRegisters.cpp b/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_SystemRegisters.cpp
index 3d567d85a8..93c635839c 100644
--- a/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_SystemRegisters.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitILCommon/JitILBase_SystemRegisters.cpp
@@ -171,12 +171,12 @@ void JitILBase::crXX(UGeckoInstruction inst)
switch (subop) {
case 257:
// crand
- eax = ibuild.EmitAnd(eax, ecx);
+ eax = ibuild.EmitAnd(eax, ecx);
break;
case 129:
// crandc
ecx = ibuild.EmitNot(ecx);
- eax = ibuild.EmitAnd(eax, ecx);
+ eax = ibuild.EmitAnd(eax, ecx);
break;
case 289:
// creqv
diff --git a/Source/Core/Core/Src/PowerPC/JitInterface.cpp b/Source/Core/Core/Src/PowerPC/JitInterface.cpp
index 568de59a6f..91d43a7792 100644
--- a/Source/Core/Core/Src/PowerPC/JitInterface.cpp
+++ b/Source/Core/Core/Src/PowerPC/JitInterface.cpp
@@ -3,6 +3,7 @@
// Refer to the license.txt file included.
#include <algorithm>
+#include <cinttypes>
#ifdef _WIN32
#include <windows.h>
@@ -44,7 +45,7 @@ namespace JitInterface
{
bFakeVMEM = SConfig::GetInstance().m_LocalCoreStartupParameter.bTLBHack == true;
bMMU = SConfig::GetInstance().m_LocalCoreStartupParameter.bMMU;
-
+
CPUCoreBase *ptr = NULL;
switch(core)
{
@@ -128,7 +129,7 @@ namespace JitInterface
{
// Can't really do this with no jit core available
#ifndef _M_GENERIC
-
+
std::vector<BlockStat> stats;
stats.reserve(jit->GetBlockCache()->GetNumBlocks());
u64 cost_sum = 0;
@@ -162,22 +163,22 @@ namespace JitInterface
return;
}
fprintf(f.GetHandle(), "origAddr\tblkName\tcost\ttimeCost\tpercent\ttimePercent\tOvAllinBlkTime(ms)\tblkCodeSize\n");
- for (unsigned int i = 0; i < stats.size(); i++)
+ for (auto& stat : stats)
{
- const JitBlock *block = jit->GetBlockCache()->GetBlock(stats[i].blockNum);
+ const JitBlock *block = jit->GetBlockCache()->GetBlock(stat.blockNum);
if (block)
{
std::string name = g_symbolDB.GetDescription(block->originalAddress);
- double percent = 100.0 * (double)stats[i].cost / (double)cost_sum;
- #ifdef _WIN32
+ double percent = 100.0 * (double)stat.cost / (double)cost_sum;
+ #ifdef _WIN32
double timePercent = 100.0 * (double)block->ticCounter / (double)timecost_sum;
- fprintf(f.GetHandle(), "%08x\t%s\t%llu\t%llu\t%.2lf\t%llf\t%lf\t%i\n",
- block->originalAddress, name.c_str(), stats[i].cost,
+ fprintf(f.GetHandle(), "%08x\t%s\t%" PRIu64 "\t%" PRIu64 "\t%.2lf\t%llf\t%lf\t%i\n",
+ block->originalAddress, name.c_str(), stat.cost,
block->ticCounter, percent, timePercent,
(double)block->ticCounter*1000.0/(double)countsPerSec, block->codeSize);
#else
- fprintf(f.GetHandle(), "%08x\t%s\t%llu\t???\t%.2lf\t???\t???\t%i\n",
- block->originalAddress, name.c_str(), stats[i].cost, percent, block->codeSize);
+ fprintf(f.GetHandle(), "%08x\t%s\t%" PRIu64 "\t???\t%.2lf\t???\t???\t%i\n",
+ block->originalAddress, name.c_str(), stat.cost, percent, block->codeSize);
#endif
}
}
@@ -211,7 +212,7 @@ namespace JitInterface
u32 Read_Opcode_JIT(u32 _Address)
{
- #ifdef FAST_ICACHE
+ #ifdef FAST_ICACHE
if (bMMU && !bFakeVMEM && (_Address & Memory::ADDR_MASK_MEM1))
{
_Address = Memory::TranslateAddress(_Address, Memory::FLAG_OPCODE);
@@ -233,7 +234,7 @@ namespace JitInterface
#endif
return inst;
}
-
+
void Shutdown()
{
if (jit)
diff --git a/Source/Core/Core/Src/PowerPC/JitInterface.h b/Source/Core/Core/Src/PowerPC/JitInterface.h
index 81764b3182..288330c707 100644
--- a/Source/Core/Core/Src/PowerPC/JitInterface.h
+++ b/Source/Core/Core/Src/PowerPC/JitInterface.h
@@ -8,7 +8,7 @@
namespace JitInterface
{
void DoState(PointerWrap &p);
-
+
CPUCoreBase *InitJitCore(int core);
void InitTables(int core);
CPUCoreBase *GetCore();
@@ -25,11 +25,11 @@ namespace JitInterface
// Clearing CodeCache
void ClearCache();
-
+
void ClearSafe();
void InvalidateICache(u32 address, u32 size);
-
+
void Shutdown();
}
extern bool bFakeVMEM;
diff --git a/Source/Core/Core/Src/PowerPC/PPCAnalyst.cpp b/Source/Core/Core/Src/PowerPC/PPCAnalyst.cpp
index 8299bc0b82..eb398539d9 100644
--- a/Source/Core/Core/Src/PowerPC/PPCAnalyst.cpp
+++ b/Source/Core/Core/Src/PowerPC/PPCAnalyst.cpp
@@ -86,8 +86,8 @@ bool AnalyzeFunction(u32 startAddr, Symbol &func, int max_size)
func.callers.clear();
func.size = 0;
func.flags = FFLAG_LEAF;
- u32 addr = startAddr;
-
+ u32 addr = startAddr;
+
u32 farthestInternalBranchTarget = startAddr;
int numInternalBranches = 0;
while (true)
@@ -95,7 +95,7 @@ bool AnalyzeFunction(u32 startAddr, Symbol &func, int max_size)
func.size += 4;
if (func.size >= CODEBUFFER_SIZE * 4) //weird
return false;
-
+
UGeckoInstruction instr = (UGeckoInstruction)Memory::ReadUnchecked_U32(addr);
if (max_size && func.size > max_size)
{
@@ -153,12 +153,12 @@ bool AnalyzeFunction(u32 startAddr, Symbol &func, int max_size)
func.flags &= ~FFLAG_LEAF;
func.flags |= FFLAG_RFI;
}
- else
+ else
{
if (instr.OPCD == 16)
{
u32 target = SignExt16(instr.BD << 2);
-
+
if (!instr.AA)
target += addr;
@@ -196,9 +196,8 @@ void AnalyzeFunction2(Symbol *func)
u32 flags = func->flags;
bool nonleafcall = false;
- for (size_t i = 0; i < func->calls.size(); i++)
+ for (auto c : func->calls)
{
- SCall c = func->calls[i];
Symbol *called_func = g_symbolDB.GetSymbolFromAddr(c.function);
if (called_func && (called_func->flags & FFLAG_LEAF) == 0)
{
@@ -250,7 +249,7 @@ bool CanSwapAdjacentOps(const CodeOp &a, const CodeOp &b)
{
int regInA = a.regsIn[j];
int regInB = b.regsIn[j];
- if (regInA >= 0 &&
+ if (regInA >= 0 &&
(b.regsOut[0] == regInA ||
b.regsOut[1] == regInA))
{
@@ -284,7 +283,7 @@ u32 Flatten(u32 address, int *realsize, BlockStats *st, BlockRegStats *gpa,
size_of_merged_addresses = 1;
memset(st, 0, sizeof(*st));
-
+
// Disabled the following optimization in preference of FAST_ICACHE
//UGeckoInstruction previnst = Memory::Read_Opcode_JIT_LC(address - 4);
//if (previnst.hex == 0x4e800020)
@@ -292,7 +291,7 @@ u32 Flatten(u32 address, int *realsize, BlockStats *st, BlockRegStats *gpa,
gpa->any = true;
fpa->any = false;
-
+
for (int i = 0; i < 32; i++)
{
gpa->firstRead[i] = -1;
@@ -345,10 +344,9 @@ u32 Flatten(u32 address, int *realsize, BlockStats *st, BlockRegStats *gpa,
if (it != inserted_asm_codes.end())
{
const std::vector<u32>& codes = it->second;
- for (std::vector<u32>::const_iterator itCur = codes.begin(),
- itEnd = codes.end(); itCur != itEnd; ++itCur)
+ for (u32 c : codes)
{
- cst1_instructions.push(*itCur);
+ cst1_instructions.push(c);
}
inst = UGeckoInstruction(cst1_instructions.front());
cst1_instructions.pop();
@@ -359,7 +357,7 @@ u32 Flatten(u32 address, int *realsize, BlockStats *st, BlockRegStats *gpa,
inst = JitInterface::Read_Opcode_JIT(address);
}
}
-
+
if (inst.hex != 0)
{
num_inst++;
@@ -449,7 +447,7 @@ u32 Flatten(u32 address, int *realsize, BlockStats *st, BlockRegStats *gpa,
code[i].fregsIn[j] = -1;
code[i].fregOut = -1;
- switch (opinfo->type)
+ switch (opinfo->type)
{
case OPTYPE_INTEGER:
case OPTYPE_LOAD:
@@ -578,7 +576,7 @@ u32 Flatten(u32 address, int *realsize, BlockStats *st, BlockRegStats *gpa,
// A broken block is a block that does not end in a branch
broken_block = true;
}
-
+
// Scan for CR0 dependency
// assume next block wants CR0 to be safe
bool wantsCR0 = true;
@@ -607,9 +605,9 @@ u32 Flatten(u32 address, int *realsize, BlockStats *st, BlockRegStats *gpa,
// Most functions that are relevant to analyze should be
-// called by another function. Therefore, let's scan the
+// called by another function. Therefore, let's scan the
// entire space for bl operations and find what functions
-// get called.
+// get called.
void FindFunctionsFromBranches(u32 startAddr, u32 endAddr, SymbolDB *func_db)
{
for (u32 addr = startAddr; addr < endAddr; addr+=4)
@@ -648,14 +646,13 @@ void FindFunctionsAfterBLR(PPCSymbolDB *func_db)
for (PPCSymbolDB::XFuncMap::iterator iter = func_db->GetIterator(); iter != func_db->End(); ++iter)
funcAddrs.push_back(iter->second.address + iter->second.size);
- for (vector<u32>::iterator iter = funcAddrs.begin(); iter != funcAddrs.end(); ++iter)
+ for (auto location : funcAddrs)
{
- u32 location = *iter;
while (true)
{
if (PPCTables::IsValidInstruction(Memory::Read_Instruction(location)))
{
- //check if this function is already mapped
+ //check if this function is already mapped
Symbol *f = func_db->AddFunction(location);
if (!f)
break;
@@ -674,7 +671,7 @@ void FindFunctions(u32 startAddr, u32 endAddr, PPCSymbolDB *func_db)
FindFunctionsFromBranches(startAddr, endAddr, func_db);
FindFunctionsAfterBLR(func_db);
- //Step 2:
+ //Step 2:
func_db->FillInCallers();
int numLeafs = 0, numNice = 0, numUnNice = 0;
@@ -719,7 +716,7 @@ void FindFunctions(u32 startAddr, u32 endAddr, PPCSymbolDB *func_db)
if ((f.flags & FFLAG_STRAIGHT) && (f.flags & FFLAG_LEAF))
numStraightLeaf++;
}
- if (numLeafs == 0)
+ if (numLeafs == 0)
leafSize = 0;
else
leafSize /= numLeafs;
diff --git a/Source/Core/Core/Src/PowerPC/PPCAnalyst.h b/Source/Core/Core/Src/PowerPC/PPCAnalyst.h
index 2497e00494..db7a52c812 100644
--- a/Source/Core/Core/Src/PowerPC/PPCAnalyst.h
+++ b/Source/Core/Core/Src/PowerPC/PPCAnalyst.h
@@ -5,6 +5,7 @@
#ifndef _PPCANALYST_H
#define _PPCANALYST_H
+#include <algorithm>
#include <vector>
#include <map>
@@ -62,7 +63,7 @@ struct BlockRegStats
int GetTotalNumAccesses(int reg) {return numReads[reg] + numWrites[reg];}
int GetUseRange(int reg) {
- return std::max(lastRead[reg], lastWrite[reg]) -
+ return std::max(lastRead[reg], lastWrite[reg]) -
std::min(firstRead[reg], firstWrite[reg]);}
inline void SetInputRegister(int reg, short opindex) {
diff --git a/Source/Core/Core/Src/PowerPC/PPCCache.cpp b/Source/Core/Core/Src/PowerPC/PPCCache.cpp
index 4ead232b18..0785e37943 100644
--- a/Source/Core/Core/Src/PowerPC/PPCCache.cpp
+++ b/Source/Core/Core/Src/PowerPC/PPCCache.cpp
@@ -73,7 +73,7 @@ namespace PowerPC
memset(tags, 0, sizeof(tags));
memset(way_from_valid, 0, sizeof(way_from_valid));
memset(way_from_plru, 0, sizeof(way_from_plru));
-
+
Reset();
}
@@ -100,7 +100,7 @@ namespace PowerPC
}
u32 InstructionCache::ReadInstruction(u32 addr)
- {
+ {
if (!HID0.ICE) // instruction cache is disabled
return Memory::ReadUnchecked_U32(addr);
u32 set = (addr >> 5) & 0x7f;
diff --git a/Source/Core/Core/Src/PowerPC/PPCSymbolDB.cpp b/Source/Core/Core/Src/PowerPC/PPCSymbolDB.cpp
index e9f821eeed..37621388fe 100644
--- a/Source/Core/Core/Src/PowerPC/PPCSymbolDB.cpp
+++ b/Source/Core/Core/Src/PowerPC/PPCSymbolDB.cpp
@@ -94,10 +94,10 @@ Symbol *PPCSymbolDB::GetSymbolFromAddr(u32 addr)
}
else
{
- for (XFuncMap::iterator iter = functions.begin(); iter != functions.end(); ++iter)
+ for (auto& p : functions)
{
- if (addr >= iter->second.address && addr < iter->second.address + iter->second.size)
- return &iter->second;
+ if (addr >= p.second.address && addr < p.second.address + p.second.size)
+ return &p.second;
}
}
return 0;
@@ -114,18 +114,18 @@ const char *PPCSymbolDB::GetDescription(u32 addr)
void PPCSymbolDB::FillInCallers()
{
- for (XFuncMap::iterator iter = functions.begin(); iter != functions.end(); ++iter)
+ for (auto& p : functions)
{
- iter->second.callers.clear();
+ p.second.callers.clear();
}
for (XFuncMap::iterator iter = functions.begin(); iter != functions.end(); ++iter)
{
Symbol &f = iter->second;
- for (size_t i = 0; i < f.calls.size(); i++)
+ for (auto& call : f.calls)
{
- SCall NewCall(iter->first, f.calls[i].callAddress);
- u32 FunctionAddress = f.calls[i].function;
+ SCall NewCall(iter->first, call.callAddress);
+ u32 FunctionAddress = call.function;
XFuncMap::iterator FuncIterator = functions.find(FunctionAddress);
if (FuncIterator != functions.end())
@@ -306,7 +306,7 @@ bool PPCSymbolDB::SaveMap(const char *filename, bool WithCodes) const
{
// Get the current and next address
LastAddress = rSymbol.address;
- LastSymbolName = rSymbol.name;
+ LastSymbolName = rSymbol.name;
++itr;
/* To make nice straight lines we fill out the name with spaces, we also cut off
@@ -326,7 +326,7 @@ bool PPCSymbolDB::SaveMap(const char *filename, bool WithCodes) const
space = itr->second.address - LastAddress;
else
space = 0;
-
+
for (int i = 0; i < space; i += 4)
{
int Address = LastAddress + i;
diff --git a/Source/Core/Core/Src/PowerPC/PPCSymbolDB.h b/Source/Core/Core/Src/PowerPC/PPCSymbolDB.h
index d77dac9a1e..27b80eb683 100644
--- a/Source/Core/Core/Src/PowerPC/PPCSymbolDB.h
+++ b/Source/Core/Core/Src/PowerPC/PPCSymbolDB.h
@@ -19,14 +19,14 @@ private:
public:
typedef void (*functionGetterCallback)(Symbol *f);
-
+
PPCSymbolDB();
~PPCSymbolDB();
- Symbol *AddFunction(u32 startAddr);
+ Symbol *AddFunction(u32 startAddr) override;
void AddKnownSymbol(u32 startAddr, u32 size, const char *name, int type = Symbol::SYMBOL_FUNCTION);
- Symbol *GetSymbolFromAddr(u32 addr);
+ Symbol *GetSymbolFromAddr(u32 addr) override;
const char *GetDescription(u32 addr);
diff --git a/Source/Core/Core/Src/PowerPC/PPCTables.cpp b/Source/Core/Core/Src/PowerPC/PPCTables.cpp
index 6599a58d4f..d901f639e5 100644
--- a/Source/Core/Core/Src/PowerPC/PPCTables.cpp
+++ b/Source/Core/Core/Src/PowerPC/PPCTables.cpp
@@ -4,6 +4,7 @@
#include <algorithm>
#include <vector>
+#include <cinttypes>
#include "Common.h"
#include "PPCTables.h"
@@ -38,7 +39,7 @@ GekkoOPInfo *GetOpInfo(UGeckoInstruction _inst)
if ((info->type & 0xFFFFFF) == OPTYPE_SUBTABLE)
{
int table = info->type>>24;
- switch(table)
+ switch(table)
{
case 4: return m_infoTable4[_inst.SUBOP10];
case 19: return m_infoTable19[_inst.SUBOP10];
@@ -67,7 +68,7 @@ Interpreter::_interpreterInstruction GetInterpreterOp(UGeckoInstruction _inst)
if ((info->type & 0xFFFFFF) == OPTYPE_SUBTABLE)
{
int table = info->type>>24;
- switch(table)
+ switch(table)
{
case 4: return Interpreter::m_opTable4[_inst.SUBOP10];
case 19: return Interpreter::m_opTable19[_inst.SUBOP10];
@@ -197,7 +198,7 @@ void PrintInstructionRunCounts()
std::sort(temp.begin(), temp.end());
for (int i = 0; i < m_numInstructions; i++)
{
- if (temp[i].count == 0)
+ if (temp[i].count == 0)
break;
DEBUG_LOG(POWERPC, "%s : %i", temp[i].name,temp[i].count);
//PanicAlert("%s : %i", temp[i].name,temp[i].count);
@@ -213,7 +214,7 @@ void LogCompiledInstructions()
{
if (m_allInstructions[i]->compileCount > 0)
{
- fprintf(f.GetHandle(), "%s\t%i\t%lld\t%08x\n", m_allInstructions[i]->opname,
+ fprintf(f.GetHandle(), "%s\t%i\t%" PRId64 "\t%08x\n", m_allInstructions[i]->opname,
m_allInstructions[i]->compileCount, m_allInstructions[i]->runCount, m_allInstructions[i]->lastUse);
}
}
@@ -223,16 +224,16 @@ void LogCompiledInstructions()
{
if (m_allInstructions[i]->compileCount == 0)
{
- fprintf(f.GetHandle(), "%s\t%i\t%lld\n", m_allInstructions[i]->opname,
+ fprintf(f.GetHandle(), "%s\t%i\t%" PRId64 "\n", m_allInstructions[i]->opname,
m_allInstructions[i]->compileCount, m_allInstructions[i]->runCount);
}
}
#ifdef OPLOG
f.Open(StringFromFormat("%s" OP_TO_LOG "_at.txt", File::GetUserPath(D_LOGS_IDX).c_str(), time), "w");
- for (size_t i = 0; i < rsplocations.size(); i++)
+ for (auto& rsplocation : rsplocations)
{
- fprintf(f.GetHandle(), OP_TO_LOG ": %08x\n", rsplocations[i]);
+ fprintf(f.GetHandle(), OP_TO_LOG ": %08x\n", rsplocation);
}
#endif
diff --git a/Source/Core/Core/Src/PowerPC/PPCTables.h b/Source/Core/Core/Src/PowerPC/PPCTables.h
index 4a32f5515c..6da82a953e 100644
--- a/Source/Core/Core/Src/PowerPC/PPCTables.h
+++ b/Source/Core/Core/Src/PowerPC/PPCTables.h
@@ -10,7 +10,7 @@
enum
{
- FL_SET_CR0 = (1<<0), //
+ FL_SET_CR0 = (1<<0), //
FL_SET_CR1 = (1<<1), //
FL_SET_CRn = (1<<2), //
FL_SET_CRx = FL_SET_CR0 | FL_SET_CR1 | FL_SET_CRn, //
diff --git a/Source/Core/Core/Src/PowerPC/PowerPC.cpp b/Source/Core/Core/Src/PowerPC/PowerPC.cpp
index 39bbf37d90..2401f0bb65 100644
--- a/Source/Core/Core/Src/PowerPC/PowerPC.cpp
+++ b/Source/Core/Core/Src/PowerPC/PowerPC.cpp
@@ -199,7 +199,7 @@ void SetMode(CoreMode new_mode)
}
}
-void SingleStep()
+void SingleStep()
{
cpu_core_base->SingleStep();
}
@@ -342,7 +342,7 @@ void CheckExceptions()
INFO_LOG(POWERPC, "EXCEPTION_PROGRAM");
Common::AtomicAnd(ppcState.Exceptions, ~EXCEPTION_PROGRAM);
- }
+ }
else if (exceptions & EXCEPTION_SYSCALL)
{
SRR0 = NPC;
@@ -355,7 +355,7 @@ void CheckExceptions()
Common::AtomicAnd(ppcState.Exceptions, ~EXCEPTION_SYSCALL);
}
else if (exceptions & EXCEPTION_FPU_UNAVAILABLE)
- {
+ {
//This happens a lot - Gamecube OS uses deferred FPU context switching
SRR0 = PC; // re-execute the instruction
SRR1 = MSR & 0x87C0FFFF;
@@ -377,7 +377,7 @@ void CheckExceptions()
INFO_LOG(POWERPC, "EXCEPTION_DSI");
Common::AtomicAnd(ppcState.Exceptions, ~EXCEPTION_DSI);
- }
+ }
else if (exceptions & EXCEPTION_ALIGNMENT)
{
//This never happens ATM
diff --git a/Source/Core/Core/Src/PowerPC/PowerPC.h b/Source/Core/Core/Src/PowerPC/PowerPC.h
index 82c912d213..a5c2bac0d5 100644
--- a/Source/Core/Core/Src/PowerPC/PowerPC.h
+++ b/Source/Core/Core/Src/PowerPC/PowerPC.h
@@ -51,7 +51,7 @@ struct GC_ALIGNED64(PowerPCState)
u32 sr[16]; // Segment registers.
u32 DebugCount;
-
+
// special purpose registers - controls quantizers, DMA, and lots of other misc extensions.
// also for power management, but we don't care about that.
u32 spr[1024];
@@ -90,7 +90,7 @@ void DoState(PointerWrap &p);
CoreMode GetMode();
void SetMode(CoreMode _coreType);
-void SingleStep();
+void SingleStep();
void CheckExceptions();
void CheckExternalExceptions();
void CheckBreakPoints();
@@ -130,7 +130,7 @@ void UpdatePerformanceMonitor(u32 cycles, u32 num_load_stores, u32 num_fp_inst);
#define rDEC PowerPC::ppcState.spr[SPR_DEC]
#define SRR0 PowerPC::ppcState.spr[SPR_SRR0]
#define SRR1 PowerPC::ppcState.spr[SPR_SRR1]
-#define SPRG0 PowerPC::ppcState.spr[SPR_SPRG0]
+#define SPRG0 PowerPC::ppcState.spr[SPR_SPRG0]
#define SPRG1 PowerPC::ppcState.spr[SPR_SPRG1]
#define SPRG2 PowerPC::ppcState.spr[SPR_SPRG2]
#define SPRG3 PowerPC::ppcState.spr[SPR_SPRG3]
diff --git a/Source/Core/Core/Src/PowerPC/Profiler.h b/Source/Core/Core/Src/PowerPC/Profiler.h
index b15d911a97..d70483b2de 100644
--- a/Source/Core/Core/Src/PowerPC/Profiler.h
+++ b/Source/Core/Core/Src/PowerPC/Profiler.h
@@ -13,7 +13,7 @@
LEA(32, EAX, M(pt)); PUSH(EAX); \
CALL(QueryPerformanceCounter)
// TODO: r64 way
-// asm write : (u64) dt += t1-t0
+// asm write : (u64) dt += t1-t0
#define PROFILER_ADD_DIFF_LARGE_INTEGER(pdt, pt1, pt0) \
MOV(32, R(EAX), M(pt1)); \
SUB(32, R(EAX), M(pt0)); \
@@ -30,16 +30,16 @@
#else
-#define PROFILER_QUERY_PERFORMANCE_COUNTER(pt)
-#define PROFILER_ADD_DIFF_LARGE_INTEGER(pdt, pt1, pt0)
+#define PROFILER_QUERY_PERFORMANCE_COUNTER(pt)
+#define PROFILER_ADD_DIFF_LARGE_INTEGER(pdt, pt1, pt0)
#define PROFILER_VPUSH
#define PROFILER_VPOP
#endif
#else
// TODO
-#define PROFILER_QUERY_PERFORMANCE_COUNTER(pt)
-#define PROFILER_ADD_DIFF_LARGE_INTEGER(pdt, pt1, pt0)
+#define PROFILER_QUERY_PERFORMANCE_COUNTER(pt)
+#define PROFILER_ADD_DIFF_LARGE_INTEGER(pdt, pt1, pt0)
#define PROFILER_VPUSH
#define PROFILER_VPOP
#endif
diff --git a/Source/Core/Core/Src/PowerPC/SignatureDB.cpp b/Source/Core/Core/Src/PowerPC/SignatureDB.cpp
index 1292f1e6c3..4e91499306 100644
--- a/Source/Core/Core/Src/PowerPC/SignatureDB.cpp
+++ b/Source/Core/Core/Src/PowerPC/SignatureDB.cpp
@@ -114,7 +114,7 @@ void SignatureDB::Apply(PPCSymbolDB *symbol_db)
function->name = iter->second.name;
INFO_LOG(OSHLE, "Found %s at %08x (size: %08x)!", iter->second.name.c_str(), function->address, function->size);
}
- else
+ else
{
function->name = iter->second.name;
ERROR_LOG(OSHLE, "Wrong size! Found %s at %08x (size: %08x instead of %08x)!", iter->second.name.c_str(), function->address, function->size, iter->second.size);
@@ -142,18 +142,18 @@ void SignatureDB::Initialize(PPCSymbolDB *symbol_db, const char *prefix)
/*static*/ u32 SignatureDB::ComputeCodeChecksum(u32 offsetStart, u32 offsetEnd)
{
u32 sum = 0;
- for (u32 offset = offsetStart; offset <= offsetEnd; offset += 4)
+ for (u32 offset = offsetStart; offset <= offsetEnd; offset += 4)
{
u32 opcode = Memory::Read_Instruction(offset);
- u32 op = opcode & 0xFC000000;
+ u32 op = opcode & 0xFC000000;
u32 op2 = 0;
u32 op3 = 0;
u32 auxop = op >> 26;
- switch (auxop)
+ switch (auxop)
{
case 4: //PS instructions
op2 = opcode & 0x0000003F;
- switch ( op2 )
+ switch ( op2 )
{
case 0:
case 8:
@@ -174,7 +174,7 @@ void SignatureDB::Initialize(PPCSymbolDB *symbol_db, const char *prefix)
case 15:
op2 = opcode & 0x03FF0000;
break;
-
+
case 19: // MCRF??
case 31: //integer
case 63: //fpu
@@ -190,7 +190,7 @@ void SignatureDB::Initialize(PPCSymbolDB *symbol_db, const char *prefix)
op2 = opcode & 0x03FF0000;
break;
}
- // Checksum only uses opcode, not opcode data, because opcode data changes
+ // Checksum only uses opcode, not opcode data, because opcode data changes
// in all compilations, but opcodes don't!
sum = ( ( (sum << 17 ) & 0xFFFE0000 ) | ( (sum >> 15) & 0x0001FFFF ) );
sum = sum ^ (op | op2 | op3);
diff --git a/Source/Core/Core/Src/PowerPC/SignatureDB.h b/Source/Core/Core/Src/PowerPC/SignatureDB.h
index 937dc3d540..c2e83dca83 100644
--- a/Source/Core/Core/Src/PowerPC/SignatureDB.h
+++ b/Source/Core/Core/Src/PowerPC/SignatureDB.h
@@ -36,7 +36,7 @@ public:
void Clean(const char *prefix);
void Clear();
void List();
-
+
void Initialize(PPCSymbolDB *func_db, const char *prefix = "");
void Apply(PPCSymbolDB *func_db);
diff --git a/Source/Core/Core/Src/State.cpp b/Source/Core/Core/Src/State.cpp
index 24647c143a..99a1236123 100644
--- a/Source/Core/Core/Src/State.cpp
+++ b/Source/Core/Core/Src/State.cpp
@@ -135,7 +135,7 @@ void SaveToBuffer(std::vector<u8>& buffer)
DoState(p);
const size_t buffer_size = reinterpret_cast<size_t>(ptr);
buffer.resize(buffer_size);
-
+
ptr = &buffer[0];
p.SetMode(PointerWrap::MODE_WRITE);
DoState(p);
@@ -160,9 +160,9 @@ int GetEmptySlot(std::map<double, int> m)
for (int i = 1; i <= (int)NUM_STATES; i++)
{
bool found = false;
- for (std::map<double, int>::iterator it = m.begin(); it != m.end(); it++)
+ for (auto& p : m)
{
- if (it->second == i)
+ if (p.second == i)
{
found = true;
break;
@@ -227,7 +227,7 @@ void CompressAndDumpState(CompressAndDumpState_args save_args)
if (!File::Rename(filename, File::GetUserPath(D_STATESAVES_IDX) + "lastState.sav"))
Core::DisplayMessage("Failed to move previous state to state undo backup", 1000);
- else
+ else
File::Rename(filename + ".dtm", File::GetUserPath(D_STATESAVES_IDX) + "lastState.sav.dtm");
}
@@ -360,8 +360,8 @@ void LoadFileStateData(const std::string& filename, std::vector<u8>& ret_data)
StateHeader header;
f.ReadArray(&header, 1);
-
- if (memcmp(SConfig::GetInstance().m_LocalCoreStartupParameter.GetUniqueID().c_str(), header.gameID, 6))
+
+ if (memcmp(SConfig::GetInstance().m_LocalCoreStartupParameter.GetUniqueID().c_str(), header.gameID, 6))
{
Core::DisplayMessage(StringFromFormat("State belongs to a different game (ID %.*s)",
6, header.gameID), 2000);
@@ -394,7 +394,7 @@ void LoadFileStateData(const std::string& filename, std::vector<u8>& ret_data)
"Try loading the state again", res, i, new_len);
return;
}
-
+
i += new_len;
}
}
@@ -437,9 +437,9 @@ void LoadAs(const std::string& filename)
std::lock_guard<std::mutex> lk(g_cs_undo_load_buffer);
SaveToBuffer(g_undo_load_buffer);
if (Movie::IsRecordingInput() || Movie::IsPlayingInput())
- Movie::SaveRecording("undo.dtm");
- else if (File::Exists("undo.dtm"))
- File::Delete("undo.dtm");
+ Movie::SaveRecording((File::GetUserPath(D_STATESAVES_IDX) + "undo.dtm").c_str());
+ else if (File::Exists(File::GetUserPath(D_STATESAVES_IDX) +"undo.dtm"))
+ File::Delete(File::GetUserPath(D_STATESAVES_IDX) + "undo.dtm");
}
bool loaded = false;
@@ -612,11 +612,11 @@ void UndoLoadState()
std::lock_guard<std::mutex> lk(g_cs_undo_load_buffer);
if (!g_undo_load_buffer.empty())
{
- if (File::Exists("undo.dtm") || (!Movie::IsRecordingInput() && !Movie::IsPlayingInput()))
+ if (File::Exists(File::GetUserPath(D_STATESAVES_IDX) + "undo.dtm") || (!Movie::IsRecordingInput() && !Movie::IsPlayingInput()))
{
LoadFromBuffer(g_undo_load_buffer);
if (Movie::IsRecordingInput() || Movie::IsPlayingInput())
- Movie::LoadInput("undo.dtm");
+ Movie::LoadInput((File::GetUserPath(D_STATESAVES_IDX) + "undo.dtm").c_str());
}
else
{
diff --git a/Source/Core/Core/Src/VolumeHandler.cpp b/Source/Core/Core/Src/VolumeHandler.cpp
index 19058cd354..5ceba836e5 100644
--- a/Source/Core/Core/Src/VolumeHandler.cpp
+++ b/Source/Core/Core/Src/VolumeHandler.cpp
@@ -15,7 +15,7 @@ DiscIO::IVolume *GetVolume()
return g_pVolume;
}
-void EjectVolume()
+void EjectVolume()
{
if (g_pVolume)
{
diff --git a/Source/Core/Core/Src/stdafx.h b/Source/Core/Core/Src/stdafx.h
index ef9e560412..bc5046304d 100644
--- a/Source/Core/Core/Src/stdafx.h
+++ b/Source/Core/Core/Src/stdafx.h
@@ -10,3 +10,5 @@
#endif
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+
+#include <algorithm>
diff --git a/Source/Core/DiscIO/DiscIO.vcxproj b/Source/Core/DiscIO/DiscIO.vcxproj
index 4830666296..44d3cdf4e6 100644
--- a/Source/Core/DiscIO/DiscIO.vcxproj
+++ b/Source/Core/DiscIO/DiscIO.vcxproj
@@ -1,14 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="DebugFast|Win32">
- <Configuration>DebugFast</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="DebugFast|x64">
- <Configuration>DebugFast</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
@@ -27,155 +19,62 @@
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
- <ProjectGuid>{B6398059-EBB6-4C34-B547-95F365B71FF4}</ProjectGuid>
- <RootNamespace>DiscIO</RootNamespace>
+ <ProjectGuid>{160BDC25-5626-4B0D-BDD8-2953D9777FB5}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <UseDebugLibraries>true</UseDebugLibraries>
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <CharacterSet>MultiByte</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <UseDebugLibraries>true</UseDebugLibraries>
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <CharacterSet>MultiByte</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <UseDebugLibraries>false</UseDebugLibraries>
+ <PropertyGroup Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
+ <PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>MultiByte</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <UseDebugLibraries>false</UseDebugLibraries>
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
+ <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
+ <UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
+ <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Release.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_DebugFast.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Release.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="PropertySheets">
+ <ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_DebugFast.props" />
<Import Project="..\..\VSProps\PrecompiledHeader.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\..\..\Externals\zlib;..\..\..\Externals\polarssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\..\..\Externals\zlib;..\..\..\Externals\polarssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\..\..\Externals\zlib;..\..\..\Externals\polarssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\..\..\Externals\zlib;..\..\..\Externals\polarssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\..\..\Externals\zlib;..\..\..\Externals\polarssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\..\..\Externals\zlib;..\..\..\Externals\polarssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <ItemGroup>
+ <ClCompile Include="Src\BannerLoader.cpp" />
+ <ClCompile Include="Src\BannerLoaderGC.cpp" />
+ <ClCompile Include="Src\BannerLoaderWii.cpp" />
+ <ClCompile Include="Src\Blob.cpp" />
+ <ClCompile Include="Src\CISOBlob.cpp" />
+ <ClCompile Include="Src\CompressedBlob.cpp" />
+ <ClCompile Include="Src\DiscScrubber.cpp" />
+ <ClCompile Include="Src\DriveBlob.cpp" />
+ <ClCompile Include="Src\FileBlob.cpp" />
+ <ClCompile Include="Src\FileHandlerARC.cpp" />
+ <ClCompile Include="Src\FileMonitor.cpp" />
+ <ClCompile Include="Src\Filesystem.cpp" />
+ <ClCompile Include="Src\FileSystemGCWii.cpp" />
+ <ClCompile Include="Src\NANDContentLoader.cpp" />
+ <ClCompile Include="Src\stdafx.cpp">
+ <PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- </ItemDefinitionGroup>
+ <ClCompile Include="Src\VolumeCommon.cpp" />
+ <ClCompile Include="Src\VolumeCreator.cpp" />
+ <ClCompile Include="Src\VolumeDirectory.cpp" />
+ <ClCompile Include="Src\VolumeGC.cpp" />
+ <ClCompile Include="Src\VolumeWad.cpp" />
+ <ClCompile Include="Src\VolumeWiiCrypted.cpp" />
+ <ClCompile Include="Src\WbfsBlob.cpp" />
+ <ClCompile Include="Src\WiiWad.cpp" />
+ </ItemGroup>
<ItemGroup>
<ClInclude Include="Src\BannerLoader.h" />
<ClInclude Include="Src\BannerLoaderGC.h" />
<ClInclude Include="Src\BannerLoaderWii.h" />
<ClInclude Include="Src\Blob.h" />
<ClInclude Include="Src\CISOBlob.h" />
- <ClInclude Include="Src\WbfsBlob.h" />
<ClInclude Include="Src\CompressedBlob.h" />
<ClInclude Include="Src\DiscScrubber.h" />
<ClInclude Include="Src\DriveBlob.h" />
@@ -192,42 +91,22 @@
<ClInclude Include="Src\VolumeGC.h" />
<ClInclude Include="Src\VolumeWad.h" />
<ClInclude Include="Src\VolumeWiiCrypted.h" />
+ <ClInclude Include="Src\WbfsBlob.h" />
<ClInclude Include="Src\WiiWad.h" />
</ItemGroup>
<ItemGroup>
- <ClCompile Include="Src\BannerLoader.cpp" />
- <ClCompile Include="Src\BannerLoaderGC.cpp" />
- <ClCompile Include="Src\BannerLoaderWii.cpp" />
- <ClCompile Include="Src\Blob.cpp" />
- <ClCompile Include="Src\CISOBlob.cpp" />
- <ClCompile Include="Src\WbfsBlob.cpp" />
- <ClCompile Include="Src\CompressedBlob.cpp" />
- <ClCompile Include="Src\DiscScrubber.cpp" />
- <ClCompile Include="Src\DriveBlob.cpp" />
- <ClCompile Include="Src\FileBlob.cpp" />
- <ClCompile Include="Src\FileHandlerARC.cpp" />
- <ClCompile Include="Src\FileMonitor.cpp" />
- <ClCompile Include="Src\Filesystem.cpp" />
- <ClCompile Include="Src\FileSystemGCWii.cpp" />
- <ClCompile Include="Src\NANDContentLoader.cpp" />
- <ClCompile Include="Src\stdafx.cpp">
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">Create</PrecompiledHeader>
- </ClCompile>
- <ClCompile Include="Src\VolumeCommon.cpp" />
- <ClCompile Include="Src\VolumeCreator.cpp" />
- <ClCompile Include="Src\VolumeDirectory.cpp" />
- <ClCompile Include="Src\VolumeGC.cpp" />
- <ClCompile Include="Src\VolumeWad.cpp" />
- <ClCompile Include="Src\VolumeWiiCrypted.cpp" />
- <ClCompile Include="Src\WiiWad.cpp" />
+ <Text Include="CMakeLists.txt" />
</ItemGroup>
<ItemGroup>
- <None Include="CMakeLists.txt" />
+ <ProjectReference Include="..\..\..\Externals\polarssl\visualc\PolarSSL.vcxproj">
+ <Project>{bdb6578b-0691-4e80-a46c-df21639fd3b8}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Externals\zlib\zlib.vcxproj">
+ <Project>{ff213b23-2c26-4214-9f88-85271e557e87}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\Common\Common.vcxproj">
+ <Project>{2e6c348c-c75c-4d94-8d1e-9c1fcbf3efe4}</Project>
+ </ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
diff --git a/Source/Core/DiscIO/DiscIO.vcxproj.filters b/Source/Core/DiscIO/DiscIO.vcxproj.filters
index 105d3ffc47..de47864e76 100644
--- a/Source/Core/DiscIO/DiscIO.vcxproj.filters
+++ b/Source/Core/DiscIO/DiscIO.vcxproj.filters
@@ -1,16 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
- <ClCompile Include="Src\stdafx.cpp" />
+ <Filter Include="DiscScrubber">
+ <UniqueIdentifier>{3873659a-9a30-4a58-af9e-8dad7d7eb627}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="FileHandler">
+ <UniqueIdentifier>{324d4b72-d25b-4c83-bd61-6c9e85e59895}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="FileSystem">
+ <UniqueIdentifier>{bd7dbc22-b233-4f82-a369-034f04133b73}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="NAND">
+ <UniqueIdentifier>{0a2c0bb1-2948-4dfb-9216-77410c39a42c}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Volume">
+ <UniqueIdentifier>{cbce645c-943c-4a94-8be0-8ad529b5c825}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Volume\Blob">
+ <UniqueIdentifier>{3d2fc224-a486-4975-a617-d19f4439702b}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="Src\DiscScrubber.cpp">
+ <Filter>DiscScrubber</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\BannerLoader.cpp">
+ <Filter>FileHandler</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\BannerLoaderGC.cpp">
+ <Filter>FileHandler</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\BannerLoaderWii.cpp">
+ <Filter>FileHandler</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\FileHandlerARC.cpp">
+ <Filter>FileHandler</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Filesystem.cpp">
+ <Filter>FileSystem</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\FileSystemGCWii.cpp">
+ <Filter>FileSystem</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\WiiWad.cpp">
+ <Filter>NAND</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\NANDContentLoader.cpp">
+ <Filter>NAND</Filter>
+ </ClCompile>
<ClCompile Include="Src\Blob.cpp">
<Filter>Volume\Blob</Filter>
</ClCompile>
<ClCompile Include="Src\CISOBlob.cpp">
<Filter>Volume\Blob</Filter>
</ClCompile>
- <ClCompile Include="Src\WbfsBlob.cpp">
- <Filter>Volume\Blob</Filter>
- </ClCompile>
<ClCompile Include="Src\CompressedBlob.cpp">
<Filter>Volume\Blob</Filter>
</ClCompile>
@@ -20,6 +63,9 @@
<ClCompile Include="Src\FileBlob.cpp">
<Filter>Volume\Blob</Filter>
</ClCompile>
+ <ClCompile Include="Src\WbfsBlob.cpp">
+ <Filter>Volume\Blob</Filter>
+ </ClCompile>
<ClCompile Include="Src\FileMonitor.cpp">
<Filter>Volume</Filter>
</ClCompile>
@@ -41,45 +87,42 @@
<ClCompile Include="Src\VolumeWiiCrypted.cpp">
<Filter>Volume</Filter>
</ClCompile>
- <ClCompile Include="Src\WiiWad.cpp">
- <Filter>NAND</Filter>
- </ClCompile>
- <ClCompile Include="Src\NANDContentLoader.cpp">
- <Filter>NAND</Filter>
- </ClCompile>
- <ClCompile Include="Src\Filesystem.cpp">
- <Filter>FileSystem</Filter>
- </ClCompile>
- <ClCompile Include="Src\FileSystemGCWii.cpp">
- <Filter>FileSystem</Filter>
- </ClCompile>
- <ClCompile Include="Src\BannerLoader.cpp">
+ <ClCompile Include="Src\stdafx.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="Src\DiscScrubber.h">
+ <Filter>DiscScrubber</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\BannerLoaderWii.h">
<Filter>FileHandler</Filter>
- </ClCompile>
- <ClCompile Include="Src\BannerLoaderGC.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\BannerLoader.h">
<Filter>FileHandler</Filter>
- </ClCompile>
- <ClCompile Include="Src\BannerLoaderWii.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\BannerLoaderGC.h">
<Filter>FileHandler</Filter>
- </ClCompile>
- <ClCompile Include="Src\FileHandlerARC.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\FileHandlerARC.h">
<Filter>FileHandler</Filter>
- </ClCompile>
- <ClCompile Include="Src\DiscScrubber.cpp">
- <Filter>DiscScrubber</Filter>
- </ClCompile>
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="Src\stdafx.h" />
- <ClInclude Include="Src\CISOBlob.h">
- <Filter>Volume\Blob</Filter>
</ClInclude>
- <ClInclude Include="Src\WbfsBlob.h">
- <Filter>Volume\Blob</Filter>
+ <ClInclude Include="Src\Filesystem.h">
+ <Filter>FileSystem</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\FileSystemGCWii.h">
+ <Filter>FileSystem</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\WiiWad.h">
+ <Filter>NAND</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\NANDContentLoader.h">
+ <Filter>NAND</Filter>
</ClInclude>
<ClInclude Include="Src\Blob.h">
<Filter>Volume\Blob</Filter>
</ClInclude>
+ <ClInclude Include="Src\CISOBlob.h">
+ <Filter>Volume\Blob</Filter>
+ </ClInclude>
<ClInclude Include="Src\CompressedBlob.h">
<Filter>Volume\Blob</Filter>
</ClInclude>
@@ -89,15 +132,15 @@
<ClInclude Include="Src\FileBlob.h">
<Filter>Volume\Blob</Filter>
</ClInclude>
+ <ClInclude Include="Src\WbfsBlob.h">
+ <Filter>Volume\Blob</Filter>
+ </ClInclude>
<ClInclude Include="Src\FileMonitor.h">
<Filter>Volume</Filter>
</ClInclude>
<ClInclude Include="Src\Volume.h">
<Filter>Volume</Filter>
</ClInclude>
- <ClInclude Include="Src\VolumeWiiCrypted.h">
- <Filter>Volume</Filter>
- </ClInclude>
<ClInclude Include="Src\VolumeCreator.h">
<Filter>Volume</Filter>
</ClInclude>
@@ -110,55 +153,12 @@
<ClInclude Include="Src\VolumeWad.h">
<Filter>Volume</Filter>
</ClInclude>
- <ClInclude Include="Src\WiiWad.h">
- <Filter>NAND</Filter>
- </ClInclude>
- <ClInclude Include="Src\NANDContentLoader.h">
- <Filter>NAND</Filter>
- </ClInclude>
- <ClInclude Include="Src\FileSystemGCWii.h">
- <Filter>FileSystem</Filter>
- </ClInclude>
- <ClInclude Include="Src\Filesystem.h">
- <Filter>FileSystem</Filter>
- </ClInclude>
- <ClInclude Include="Src\BannerLoaderWii.h">
- <Filter>FileHandler</Filter>
- </ClInclude>
- <ClInclude Include="Src\BannerLoader.h">
- <Filter>FileHandler</Filter>
- </ClInclude>
- <ClInclude Include="Src\BannerLoaderGC.h">
- <Filter>FileHandler</Filter>
- </ClInclude>
- <ClInclude Include="Src\FileHandlerARC.h">
- <Filter>FileHandler</Filter>
- </ClInclude>
- <ClInclude Include="Src\DiscScrubber.h">
- <Filter>DiscScrubber</Filter>
+ <ClInclude Include="Src\VolumeWiiCrypted.h">
+ <Filter>Volume</Filter>
</ClInclude>
+ <ClInclude Include="Src\stdafx.h" />
</ItemGroup>
<ItemGroup>
- <None Include="CMakeLists.txt" />
- </ItemGroup>
- <ItemGroup>
- <Filter Include="DiscScrubber">
- <UniqueIdentifier>{46b8b594-1da4-4941-9d3e-3057ac8c251f}</UniqueIdentifier>
- </Filter>
- <Filter Include="FileHandler">
- <UniqueIdentifier>{96aa6fd2-a1d1-40c4-9235-50f342f32bf1}</UniqueIdentifier>
- </Filter>
- <Filter Include="FileSystem">
- <UniqueIdentifier>{62cd3276-4116-4e3c-93ea-a170676fd84f}</UniqueIdentifier>
- </Filter>
- <Filter Include="NAND">
- <UniqueIdentifier>{60157ced-f762-4521-be00-79a26744a11a}</UniqueIdentifier>
- </Filter>
- <Filter Include="Volume">
- <UniqueIdentifier>{45ea663e-bcf3-4ff8-9c97-0f7cfc6ab60e}</UniqueIdentifier>
- </Filter>
- <Filter Include="Volume\Blob">
- <UniqueIdentifier>{7bbe1cf7-ab2c-4f01-9e60-a9c8767b4dce}</UniqueIdentifier>
- </Filter>
+ <Text Include="CMakeLists.txt" />
</ItemGroup>
</Project> \ No newline at end of file
diff --git a/Source/Core/DiscIO/Src/BannerLoaderGC.cpp b/Source/Core/DiscIO/Src/BannerLoaderGC.cpp
index e253de488e..ce35258148 100644
--- a/Source/Core/DiscIO/Src/BannerLoaderGC.cpp
+++ b/Source/Core/DiscIO/Src/BannerLoaderGC.cpp
@@ -103,7 +103,7 @@ std::vector<std::string> CBannerLoaderGC::GetNames()
names.push_back(GetDecodedString(data));
}
}
-
+
return names;
}
diff --git a/Source/Core/DiscIO/Src/BannerLoaderGC.h b/Source/Core/DiscIO/Src/BannerLoaderGC.h
index 133ee91978..7ad6d2122c 100644
--- a/Source/Core/DiscIO/Src/BannerLoaderGC.h
+++ b/Source/Core/DiscIO/Src/BannerLoaderGC.h
@@ -66,7 +66,7 @@ class CBannerLoaderGC
std::string GetDecodedString(const char (&data)[N])
{
auto const string_decoder = CVolumeGC::GetStringDecoder(m_country);
-
+
// strnlen to trim NULLs
return string_decoder(std::string(data, strnlen(data, sizeof(data))));
}
diff --git a/Source/Core/DiscIO/Src/BannerLoaderWii.cpp b/Source/Core/DiscIO/Src/BannerLoaderWii.cpp
index 2d63184023..15c4325748 100644
--- a/Source/Core/DiscIO/Src/BannerLoaderWii.cpp
+++ b/Source/Core/DiscIO/Src/BannerLoaderWii.cpp
@@ -15,7 +15,7 @@
namespace DiscIO
{
-CBannerLoaderWii::CBannerLoaderWii(DiscIO::IVolume *pVolume)
+CBannerLoaderWii::CBannerLoaderWii(DiscIO::IVolume *pVolume)
: m_pBannerFile(NULL)
, m_IsValid(false)
{
@@ -42,7 +42,7 @@ CBannerLoaderWii::CBannerLoaderWii(DiscIO::IVolume *pVolume)
File::GetUserPath(D_WIIUSER_IDX).c_str(), (u32)(TitleID>>32), (u32)TitleID);
if(!File::Exists(titleFolder))
File::CreateFullPath(titleFolder);
-
+
// Extracting banner.bin from opening.bnr
sprintf(bnrFilename, "%stitle/%08x/%08x/data/opening.bnr",
File::GetUserPath(D_WIIUSER_IDX).c_str(), (u32)(TitleID>>32), (u32)TitleID);
@@ -61,7 +61,7 @@ CBannerLoaderWii::CBannerLoaderWii(DiscIO::IVolume *pVolume)
// Now we have an LZ77-compressed file with a short IMD5 header
// TODO: Finish the job
-
+
File::Delete(bnrFilename);
#else
m_IsValid = false;
@@ -115,15 +115,15 @@ bool CBannerLoaderWii::GetStringFromComments(const CommentIndex index, std::stri
{
auto const banner = reinterpret_cast<const SWiiBanner*>(m_pBannerFile);
auto const src_ptr = banner->m_Comment[index];
-
+
// Trim at first NULL
auto const length = std::find(src_ptr, src_ptr + COMMENT_SIZE, 0x0) - src_ptr;
-
+
std::wstring src;
src.resize(length);
std::transform(src_ptr, src_ptr + src.size(), src.begin(), (u16(&)(u16))Common::swap16);
result = UTF16ToUTF8(src);
-
+
return true;
}
@@ -133,7 +133,7 @@ bool CBannerLoaderWii::GetStringFromComments(const CommentIndex index, std::stri
std::vector<std::string> CBannerLoaderWii::GetNames()
{
std::vector<std::string> ret(1);
-
+
if (!GetStringFromComments(NAME_IDX, ret[0]))
ret.clear();
diff --git a/Source/Core/DiscIO/Src/BannerLoaderWii.h b/Source/Core/DiscIO/Src/BannerLoaderWii.h
index 84e106d1ba..2d7d0e6e90 100644
--- a/Source/Core/DiscIO/Src/BannerLoaderWii.h
+++ b/Source/Core/DiscIO/Src/BannerLoaderWii.h
@@ -27,7 +27,7 @@ class CBannerLoaderWii
virtual std::vector<std::string> GetDescriptions();
private:
-
+
enum
{
TEXTURE_SIZE = 192 * 64 * 2,
diff --git a/Source/Core/DiscIO/Src/Blob.cpp b/Source/Core/DiscIO/Src/Blob.cpp
index 82a3c027fb..600b9e0a4b 100644
--- a/Source/Core/DiscIO/Src/Blob.cpp
+++ b/Source/Core/DiscIO/Src/Blob.cpp
@@ -39,7 +39,7 @@ const u8 *SectorReader::GetBlockData(u64 block_num)
{
return cache[0];
}
- else
+ else
{
GetBlock(block_num, cache[0]);
cache_tags[0] = block_num;
diff --git a/Source/Core/DiscIO/Src/CISOBlob.cpp b/Source/Core/DiscIO/Src/CISOBlob.cpp
index c4b3c60143..9f01e40c48 100644
--- a/Source/Core/DiscIO/Src/CISOBlob.cpp
+++ b/Source/Core/DiscIO/Src/CISOBlob.cpp
@@ -17,10 +17,10 @@ CISOFileReader::CISOFileReader(std::FILE* file)
: m_file(file)
{
m_size = m_file.GetSize();
-
+
CISOHeader header;
m_file.ReadArray(&header, 1);
-
+
m_block_size = header.block_size;
MapType count = 0;
@@ -55,7 +55,7 @@ bool CISOFileReader::Read(u64 offset, u64 nbytes, u8* out_ptr)
{
auto const block = offset / m_block_size;
auto const data_offset = offset % m_block_size;
-
+
auto const bytes_to_read = std::min(m_block_size - data_offset, nbytes);
if (block < CISO_MAP_SIZE && UNUSED_BLOCK_ID != m_ciso_map[block])
{
@@ -77,7 +77,7 @@ bool CISOFileReader::Read(u64 offset, u64 nbytes, u8* out_ptr)
nbytes -= bytes_to_read;
}
}
-
+
return true;
}
diff --git a/Source/Core/DiscIO/Src/CISOBlob.h b/Source/Core/DiscIO/Src/CISOBlob.h
index 8c580b0ce1..0039fe4f43 100644
--- a/Source/Core/DiscIO/Src/CISOBlob.h
+++ b/Source/Core/DiscIO/Src/CISOBlob.h
@@ -20,10 +20,10 @@ struct CISOHeader
{
// "CISO"
char magic[4];
-
+
// little endian
u32 block_size;
-
+
// 0=unused, 1=used, others=invalid
u8 map[CISO_MAP_SIZE];
};
@@ -39,10 +39,10 @@ public:
private:
CISOFileReader(std::FILE* file);
-
+
typedef u16 MapType;
static const MapType UNUSED_BLOCK_ID = -1;
-
+
File::IOFile m_file;
u64 m_size;
u32 m_block_size;
diff --git a/Source/Core/DiscIO/Src/CompressedBlob.cpp b/Source/Core/DiscIO/Src/CompressedBlob.cpp
index 9ee59fa28e..c801ea3698 100644
--- a/Source/Core/DiscIO/Src/CompressedBlob.cpp
+++ b/Source/Core/DiscIO/Src/CompressedBlob.cpp
@@ -9,6 +9,8 @@
#include <unistd.h>
#endif
+#include <cinttypes>
+
#include "CompressedBlob.h"
#include "DiscScrubber.h"
#include "FileUtil.h"
@@ -89,7 +91,7 @@ void CompressedBlobReader::GetBlock(u64 block_num, u8 *out_ptr)
// clear unused part of zlib buffer. maybe this can be deleted when it works fully.
memset(zlib_buffer + comp_block_size, 0, zlib_buffer_size - comp_block_size);
-
+
m_file.Seek(offset, SEEK_SET);
m_file.ReadBytes(zlib_buffer, comp_block_size);
@@ -99,7 +101,7 @@ void CompressedBlobReader::GetBlock(u64 block_num, u8 *out_ptr)
// First, check hash.
u32 block_hash = HashAdler32(source, comp_block_size);
if (block_hash != hashes[block_num])
- PanicAlert("Hash of block %lli is %08x instead of %08x.\n"
+ PanicAlert("Hash of block %" PRIu64 " is %08x instead of %08x.\n"
"Your ISO, %s, is corrupt.",
block_num, block_hash, hashes[block_num],
file_name.c_str());
@@ -127,7 +129,7 @@ void CompressedBlobReader::GetBlock(u64 block_num, u8 *out_ptr)
{
// this seem to fire wrongly from time to time
// to be sure, don't use compressed isos :P
- PanicAlert("Failure reading block %lli - out of data and not at end.", block_num);
+ PanicAlert("Failure reading block %" PRIu64 " - out of data and not at end.", block_num);
}
inflateEnd(&z);
if (uncomp_size != header.block_size)
diff --git a/Source/Core/DiscIO/Src/DiscScrubber.cpp b/Source/Core/DiscIO/Src/DiscScrubber.cpp
index 3724ad2e9f..928383579e 100644
--- a/Source/Core/DiscIO/Src/DiscScrubber.cpp
+++ b/Source/Core/DiscIO/Src/DiscScrubber.cpp
@@ -7,6 +7,8 @@
#include "FileUtil.h"
#include "DiscScrubber.h"
+#include <cinttypes>
+
namespace DiscIO
{
@@ -32,7 +34,7 @@ struct SPartitionHeader
u64 TMDOffset;
u32 CertChainSize;
u64 CertChainOffset;
- // H3Size is always 0x18000
+ // H3Size is always 0x18000
u64 H3Offset;
u64 DataOffset;
u64 DataSize;
@@ -121,13 +123,13 @@ void GetNextBlock(File::IOFile& in, u8* buffer)
if (m_isScrubbing && m_FreeTable[i])
{
- DEBUG_LOG(DISCIO, "Freeing 0x%016llx", CurrentOffset);
+ DEBUG_LOG(DISCIO, "Freeing 0x%016" PRIx64, CurrentOffset);
std::fill(buffer, buffer + m_BlockSize, 0xFF);
in.Seek(m_BlockSize, SEEK_CUR);
}
else
{
- DEBUG_LOG(DISCIO, "Used 0x%016llx", CurrentOffset);
+ DEBUG_LOG(DISCIO, "Used 0x%016" PRIx64, CurrentOffset);
in.ReadBytes(buffer, m_BlockSize);
}
@@ -150,7 +152,7 @@ void MarkAsUsed(u64 _Offset, u64 _Size)
u64 CurrentOffset = _Offset;
u64 EndOffset = CurrentOffset + _Size;
- DEBUG_LOG(DISCIO, "Marking 0x%016llx - 0x%016llx as used", _Offset, EndOffset);
+ DEBUG_LOG(DISCIO, "Marking 0x%016" PRIx64 " - 0x%016" PRIx64 " as used", _Offset, EndOffset);
while ((CurrentOffset < EndOffset) && (CurrentOffset < m_FileSize))
{
@@ -234,10 +236,9 @@ bool ParseDisc()
PartitionGroup[x].PartitionsVec.push_back(Partition);
}
- for (size_t i = 0; i < PartitionGroup[x].PartitionsVec.size(); i++)
+ for (auto& rPartition : PartitionGroup[x].PartitionsVec)
{
- SPartition& rPartition = PartitionGroup[x].PartitionsVec.at(i);
- const SPartitionHeader& rHeader = PartitionGroup[x].PartitionsVec.at(i).Header;
+ const SPartitionHeader& rHeader = rPartition.Header;
MarkAsUsed(rPartition.Offset, 0x2c0);
diff --git a/Source/Core/DiscIO/Src/DriveBlob.cpp b/Source/Core/DiscIO/Src/DriveBlob.cpp
index e7b0c70bfd..017cd702bc 100644
--- a/Source/Core/DiscIO/Src/DriveBlob.cpp
+++ b/Source/Core/DiscIO/Src/DriveBlob.cpp
@@ -30,7 +30,7 @@ DriveReader::DriveReader(const char *drive)
return;
}
delete [] buffer;
-
+
#ifdef _LOCKDRIVE // Do we want to lock the drive?
// Lock the compact disc in the CD-ROM drive to prevent accidental
// removal while reading from it.
diff --git a/Source/Core/DiscIO/Src/FileHandlerARC.cpp b/Source/Core/DiscIO/Src/FileHandlerARC.cpp
index 06e6767638..26ec6ec9ec 100644
--- a/Source/Core/DiscIO/Src/FileHandlerARC.cpp
+++ b/Source/Core/DiscIO/Src/FileHandlerARC.cpp
@@ -232,11 +232,11 @@ CARCFile::BuildFilenames(const size_t _FirstIndex, const size_t _LastIndex, cons
const SFileInfo*
CARCFile::FindFileInfo(std::string _rFullPath) const
{
- for (size_t i = 0; i < m_FileInfoVector.size(); i++)
+ for (auto& fileInfo : m_FileInfoVector)
{
- if (!strcasecmp(m_FileInfoVector[i].m_FullPath, _rFullPath.c_str()))
+ if (!strcasecmp(fileInfo.m_FullPath, _rFullPath.c_str()))
{
- return(&m_FileInfoVector[i]);
+ return(&fileInfo);
}
}
diff --git a/Source/Core/DiscIO/Src/FileMonitor.cpp b/Source/Core/DiscIO/Src/FileMonitor.cpp
index 26a24046b5..4b64f61914 100644
--- a/Source/Core/DiscIO/Src/FileMonitor.cpp
+++ b/Source/Core/DiscIO/Src/FileMonitor.cpp
@@ -134,7 +134,7 @@ void FindFilename(u64 offset)
// There's something wrong with the paths
if (!fname || (strlen(fname) == 512))
return;
-
+
CheckFile(fname, pFileSystem->GetFileSize(fname));
}
diff --git a/Source/Core/DiscIO/Src/FileSystemGCWii.cpp b/Source/Core/DiscIO/Src/FileSystemGCWii.cpp
index 69d250e523..cc09138f3e 100644
--- a/Source/Core/DiscIO/Src/FileSystemGCWii.cpp
+++ b/Source/Core/DiscIO/Src/FileSystemGCWii.cpp
@@ -8,6 +8,7 @@
#include <string>
#include <vector>
#include <algorithm>
+#include <cinttypes>
#include "FileSystemGCWii.h"
#include "StringUtil.h"
@@ -46,12 +47,12 @@ const char* CFileSystemGCWii::GetFileName(u64 _Address)
if (!m_Initialized)
InitFileSystem();
- for (size_t i = 0; i < m_FileInfoVector.size(); i++)
+ for (auto& fileInfo : m_FileInfoVector)
{
- if ((m_FileInfoVector[i].m_Offset <= _Address) &&
- ((m_FileInfoVector[i].m_Offset + m_FileInfoVector[i].m_FileSize) > _Address))
+ if ((fileInfo.m_Offset <= _Address) &&
+ ((fileInfo.m_Offset + fileInfo.m_FileSize) > _Address))
{
- return m_FileInfoVector[i].m_FullPath;
+ return fileInfo.m_FullPath;
}
}
@@ -70,7 +71,7 @@ u64 CFileSystemGCWii::ReadFile(const char* _rFullPath, u8* _pBuffer, size_t _Max
if (pFileInfo->m_FileSize > _MaxBufferSize)
return 0;
- DEBUG_LOG(DISCIO, "Filename: %s. Offset: %llx. Size: %llx",_rFullPath,
+ DEBUG_LOG(DISCIO, "Filename: %s. Offset: %" PRIx64 ". Size: %" PRIx64, _rFullPath,
pFileInfo->m_Offset, pFileInfo->m_FileSize);
m_rVolume->Read(pFileInfo->m_Offset, pFileInfo->m_FileSize, _pBuffer);
@@ -190,7 +191,7 @@ bool CFileSystemGCWii::ExportDOL(const char* _rExportFolder) const
return true;
}
}
-
+
return false;
}
@@ -207,14 +208,14 @@ std::string CFileSystemGCWii::GetStringFromOffset(u64 _Offset) const
data.resize(255);
m_rVolume->Read(_Offset, data.size(), (u8*)&data[0]);
data.erase(std::find(data.begin(), data.end(), 0x00), data.end());
-
+
// TODO: Should we really always use SHIFT-JIS?
// It makes some filenames in Pikmin (NTSC-U) sane, but is it correct?
return SHIFTJISToUTF8(data);
}
size_t CFileSystemGCWii::GetFileList(std::vector<const SFileInfo *> &_rFilenames)
-{
+{
if (!m_Initialized)
InitFileSystem();
@@ -222,8 +223,8 @@ size_t CFileSystemGCWii::GetFileList(std::vector<const SFileInfo *> &_rFilenames
PanicAlert("GetFileList : input list has contents?");
_rFilenames.clear();
_rFilenames.reserve(m_FileInfoVector.size());
- for (size_t i = 0; i < m_FileInfoVector.size(); i++)
- _rFilenames.push_back(&m_FileInfoVector[i]);
+ for (auto& fileInfo : m_FileInfoVector)
+ _rFilenames.push_back(&fileInfo);
return m_FileInfoVector.size();
}
@@ -232,10 +233,10 @@ const SFileInfo* CFileSystemGCWii::FindFileInfo(const char* _rFullPath)
if (!m_Initialized)
InitFileSystem();
- for (size_t i = 0; i < m_FileInfoVector.size(); i++)
+ for (auto& fileInfo : m_FileInfoVector)
{
- if (!strcasecmp(m_FileInfoVector[i].m_FullPath, _rFullPath))
- return &m_FileInfoVector[i];
+ if (!strcasecmp(fileInfo.m_FullPath, _rFullPath))
+ return &fileInfo;
}
return NULL;
diff --git a/Source/Core/DiscIO/Src/FileSystemGCWii.h b/Source/Core/DiscIO/Src/FileSystemGCWii.h
index 8817e44153..5240c2d3fb 100644
--- a/Source/Core/DiscIO/Src/FileSystemGCWii.h
+++ b/Source/Core/DiscIO/Src/FileSystemGCWii.h
@@ -32,7 +32,7 @@ private:
bool m_Initialized;
bool m_Valid;
u32 m_OffsetShift; // WII offsets are all shifted
-
+
std::vector <SFileInfo> m_FileInfoVector;
u32 Read32(u64 _Offset) const;
std::string GetStringFromOffset(u64 _Offset) const;
diff --git a/Source/Core/DiscIO/Src/Filesystem.h b/Source/Core/DiscIO/Src/Filesystem.h
index 6995eec5fa..0fcaa88453 100644
--- a/Source/Core/DiscIO/Src/Filesystem.h
+++ b/Source/Core/DiscIO/Src/Filesystem.h
@@ -24,7 +24,7 @@ struct SFileInfo
memset(m_FullPath, 0, sizeof(m_FullPath));
}
- SFileInfo(const SFileInfo &rhs) : m_NameOffset(rhs.m_NameOffset),
+ SFileInfo(const SFileInfo &rhs) : m_NameOffset(rhs.m_NameOffset),
m_Offset(rhs.m_Offset), m_FileSize(rhs.m_FileSize) {
memcpy(m_FullPath, rhs.m_FullPath, strlen(rhs.m_FullPath) + 1);
}
diff --git a/Source/Core/DiscIO/Src/NANDContentLoader.cpp b/Source/Core/DiscIO/Src/NANDContentLoader.cpp
index 974f8a9945..e5b36c54d5 100644
--- a/Source/Core/DiscIO/Src/NANDContentLoader.cpp
+++ b/Source/Core/DiscIO/Src/NANDContentLoader.cpp
@@ -6,7 +6,7 @@
#include <algorithm>
#include <cctype>
-#include "Crypto/aes.h"
+#include <polarssl/aes.h>
#include "MathUtil.h"
#include "FileUtil.h"
#include "Log.h"
@@ -44,14 +44,14 @@ CSharedContent::~CSharedContent()
std::string CSharedContent::GetFilenameFromSHA1(const u8* _pHash)
{
- for (size_t i=0; i<m_Elements.size(); i++)
+ for (auto& Element : m_Elements)
{
- if (memcmp(_pHash, m_Elements[i].SHA1Hash, 20) == 0)
+ if (memcmp(_pHash, Element.SHA1Hash, 20) == 0)
{
char szFilename[1024];
sprintf(szFilename, "%sshared1/%c%c%c%c%c%c%c%c.app", File::GetUserPath(D_WIIUSER_IDX).c_str(),
- m_Elements[i].FileName[0], m_Elements[i].FileName[1], m_Elements[i].FileName[2], m_Elements[i].FileName[3],
- m_Elements[i].FileName[4], m_Elements[i].FileName[5], m_Elements[i].FileName[6], m_Elements[i].FileName[7]);
+ Element.FileName[0], Element.FileName[1], Element.FileName[2], Element.FileName[3],
+ Element.FileName[4], Element.FileName[5], Element.FileName[6], Element.FileName[7]);
return szFilename;
}
}
@@ -92,24 +92,24 @@ public:
virtual ~CNANDContentLoader();
- bool IsValid() const { return m_Valid; }
- void RemoveTitle(void) const;
- u64 GetTitleID() const { return m_TitleID; }
- u16 GetIosVersion() const { return m_IosVersion; }
- u32 GetBootIndex() const { return m_BootIndex; }
- size_t GetContentSize() const { return m_Content.size(); }
- const SNANDContent* GetContentByIndex(int _Index) const;
- const u8* GetTMDView() const { return m_TMDView; }
- const u8* GetTMDHeader() const { return m_TMDHeader; }
- u32 GetTIKSize() const { return m_TIKSize; }
- const u8* GetTIK() const { return m_TIK; }
-
- const std::vector<SNANDContent>& GetContent() const { return m_Content; }
-
- u16 GetTitleVersion() const {return m_TitleVersion;}
- u16 GetNumEntries() const {return m_numEntries;}
- DiscIO::IVolume::ECountry GetCountry() const;
- u8 GetCountryChar() const {return m_Country; }
+ bool IsValid() const override { return m_Valid; }
+ void RemoveTitle(void) const override;
+ u64 GetTitleID() const override { return m_TitleID; }
+ u16 GetIosVersion() const override { return m_IosVersion; }
+ u32 GetBootIndex() const override { return m_BootIndex; }
+ size_t GetContentSize() const override { return m_Content.size(); }
+ const SNANDContent* GetContentByIndex(int _Index) const override;
+ const u8* GetTMDView() const override { return m_TMDView; }
+ const u8* GetTMDHeader() const override { return m_TMDHeader; }
+ u32 GetTIKSize() const override { return m_TIKSize; }
+ const u8* GetTIK() const override { return m_TIK; }
+
+ const std::vector<SNANDContent>& GetContent() const override { return m_Content; }
+
+ u16 GetTitleVersion() const override {return m_TitleVersion;}
+ u16 GetNumEntries() const override {return m_numEntries;}
+ DiscIO::IVolume::ECountry GetCountry() const override;
+ u8 GetCountryChar() const override {return m_Country; }
private:
@@ -154,9 +154,9 @@ CNANDContentLoader::CNANDContentLoader(const std::string& _rName)
CNANDContentLoader::~CNANDContentLoader()
{
- for (size_t i=0; i<m_Content.size(); i++)
+ for (auto& content : m_Content)
{
- delete [] m_Content[i].m_pData;
+ delete [] content.m_pData;
}
m_Content.clear();
if (m_TIK)
@@ -168,12 +168,11 @@ CNANDContentLoader::~CNANDContentLoader()
const SNANDContent* CNANDContentLoader::GetContentByIndex(int _Index) const
{
- for (size_t i=0; i<m_Content.size(); i++)
+ for (auto& Content : m_Content)
{
- const SNANDContent* pContent = &m_Content[i];
- if (pContent->m_Index == _Index)
+ if (Content.m_Index == _Index)
{
- return pContent;
+ return &Content;
}
}
return NULL;
@@ -239,10 +238,10 @@ bool CNANDContentLoader::Initialize(const std::string& _rName)
m_Content.resize(m_numEntries);
- for (u32 i=0; i<m_numEntries; i++)
+ for (u32 i=0; i<m_numEntries; i++)
{
SNANDContent& rContent = m_Content[i];
-
+
rContent.m_ContentID = Common::swap32(pTMD + 0x01e4 + 0x24*i);
rContent.m_Index = Common::swap16(pTMD + 0x01e8 + 0x24*i);
rContent.m_Type = Common::swap16(pTMD + 0x01ea + 0x24*i);
@@ -254,7 +253,7 @@ bool CNANDContentLoader::Initialize(const std::string& _rName)
{
u32 RoundedSize = ROUND_UP(rContent.m_Size, 0x40);
rContent.m_pData = new u8[RoundedSize];
-
+
memset(IV, 0, sizeof IV);
memcpy(IV, pTMD + 0x01e8 + 0x24*i, 2);
AESDecode(DecryptTitleKey, IV, pDataApp, RoundedSize, rContent.m_pData);
@@ -286,15 +285,15 @@ bool CNANDContentLoader::Initialize(const std::string& _rName)
}
void CNANDContentLoader::AESDecode(u8* _pKey, u8* _IV, u8* _pSrc, u32 _Size, u8* _pDest)
{
- AES_KEY AESKey;
+ aes_context AES_ctx;
- AES_set_decrypt_key(_pKey, 128, &AESKey);
- AES_cbc_encrypt(_pSrc, _pDest, _Size, &AESKey, _IV, AES_DECRYPT);
+ aes_setkey_dec(&AES_ctx, _pKey, 128);
+ aes_crypt_cbc(&AES_ctx, AES_DECRYPT, _Size, _IV, _pSrc, _pDest);
}
void CNANDContentLoader::GetKeyFromTicket(u8* pTicket, u8* pTicketKey)
{
- u8 CommonKey[16] = {0xeb,0xe4,0x2a,0x22,0x5e,0x85,0x93,0xe4,0x48,0xd9,0xc5,0x45,0x73,0x81,0xaa,0xf7};
+ u8 CommonKey[16] = {0xeb,0xe4,0x2a,0x22,0x5e,0x85,0x93,0xe4,0x48,0xd9,0xc5,0x45,0x73,0x81,0xaa,0xf7};
u8 IV[16];
memset(IV, 0, sizeof IV);
memcpy(IV, pTicket + 0x01dc, 8);
@@ -386,7 +385,7 @@ void cUIDsys::UpdateLocation()
m_Elements.clear();
lastUID = 0x00001000;
sprintf(uidSys, "%ssys/uid.sys", File::GetUserPath(D_WIIUSER_IDX).c_str());
-
+
File::IOFile pFile(uidSys, "rb");
SElement Element;
while (pFile.ReadArray(&Element, 1))
@@ -413,11 +412,11 @@ cUIDsys::~cUIDsys()
u32 cUIDsys::GetUIDFromTitle(u64 _Title)
{
- for (size_t i=0; i<m_Elements.size(); i++)
+ for (auto& Element : m_Elements)
{
- if (Common::swap64(_Title) == *(u64*)&(m_Elements[i].titleID))
+ if (Common::swap64(_Title) == *(u64*)&(Element.titleID))
{
- return Common::swap32(m_Elements[i].UID);
+ return Common::swap32(Element.UID);
}
}
return 0;
@@ -445,11 +444,11 @@ void cUIDsys::AddTitle(u64 _TitleID)
void cUIDsys::GetTitleIDs(std::vector<u64>& _TitleIDs, bool _owned)
{
- for (size_t i = 0; i < m_Elements.size(); i++)
+ for (auto& Element : m_Elements)
{
- if ((_owned && Common::CheckTitleTIK(Common::swap64(m_Elements[i].titleID))) ||
- (!_owned && Common::CheckTitleTMD(Common::swap64(m_Elements[i].titleID))))
- _TitleIDs.push_back(Common::swap64(m_Elements[i].titleID));
+ if ((_owned && Common::CheckTitleTIK(Common::swap64(Element.titleID))) ||
+ (!_owned && Common::CheckTitleTMD(Common::swap64(Element.titleID))))
+ _TitleIDs.push_back(Common::swap64(Element.titleID));
}
}
@@ -477,7 +476,7 @@ u64 CNANDContentManager::Install_WiiWAD(std::string &fileName)
}
pTMDFile.WriteBytes(ContentLoader.GetTMDHeader(), INANDContentLoader::TMD_HEADER_SIZE);
-
+
for (u32 i = 0; i < ContentLoader.GetContentSize(); i++)
{
const SNANDContent& Content = ContentLoader.GetContent()[i];
@@ -487,7 +486,7 @@ u64 CNANDContentManager::Install_WiiWAD(std::string &fileName)
char APPFileName[1024];
if (Content.m_Type & 0x8000) //shared
{
- sprintf(APPFileName, "%s",
+ sprintf(APPFileName, "%s",
CSharedContent::AccessInstance().AddSharedContent(Content.m_SHA1Hash).c_str());
}
else
@@ -504,7 +503,7 @@ u64 CNANDContentManager::Install_WiiWAD(std::string &fileName)
PanicAlertT("WAD installation failed: error creating %s", APPFileName);
return 0;
}
-
+
pAPPFile.WriteBytes(Content.m_pData, Content.m_Size);
}
else
@@ -514,7 +513,7 @@ u64 CNANDContentManager::Install_WiiWAD(std::string &fileName)
}
pTMDFile.Close();
-
+
diff --git a/Source/Core/DiscIO/Src/Volume.h b/Source/Core/DiscIO/Src/Volume.h
index a39816f8c1..65a9167654 100644
--- a/Source/Core/DiscIO/Src/Volume.h
+++ b/Source/Core/DiscIO/Src/Volume.h
@@ -55,7 +55,7 @@ public:
virtual ECountry GetCountry() const = 0;
virtual u64 GetSize() const = 0;
-
+
// Size on disc (compressed size)
virtual u64 GetRawSize() const = 0;
};
diff --git a/Source/Core/DiscIO/Src/VolumeCommon.cpp b/Source/Core/DiscIO/Src/VolumeCommon.cpp
index 07a514a2ea..53eb9948dd 100644
--- a/Source/Core/DiscIO/Src/VolumeCommon.cpp
+++ b/Source/Core/DiscIO/Src/VolumeCommon.cpp
@@ -8,12 +8,12 @@ namespace DiscIO
{
IVolume::ECountry CountrySwitch(u8 CountryCode)
{
- switch (CountryCode)
+ switch (CountryCode)
{
// Region free - fall through to European defaults for now
case 'A':
-
+
// PAL
case 'D': // German
return IVolume::COUNTRY_GERMANY;
@@ -26,18 +26,18 @@ IVolume::ECountry CountrySwitch(u8 CountryCode)
case 'M': // Japanese import to PAL regions
case 'S': // Spanish-speaking regions
case 'P':
- case 'U': // Australia
+ case 'U': // Australia
return IVolume::COUNTRY_EUROPE;
break;
-
+
case 'F':
return IVolume::COUNTRY_FRANCE;
break;
-
+
case 'I':
return IVolume::COUNTRY_ITALY;
break;
-
+
case 'R':
return IVolume::COUNTRY_RUSSIA;
break;
diff --git a/Source/Core/DiscIO/Src/VolumeCreator.cpp b/Source/Core/DiscIO/Src/VolumeCreator.cpp
index 6cf5ea836e..4dd24f9b4b 100644
--- a/Source/Core/DiscIO/Src/VolumeCreator.cpp
+++ b/Source/Core/DiscIO/Src/VolumeCreator.cpp
@@ -4,7 +4,7 @@
#include <vector>
-#include "Crypto/aes.h"
+#include <polarssl/aes.h>
#include "VolumeCreator.h"
@@ -108,7 +108,7 @@ IVolume* CreateVolumeFromDirectory(const std::string& _rDirectory, bool _bIsWii,
{
if (CVolumeDirectory::IsValidDirectory(_rDirectory))
return new CVolumeDirectory(_rDirectory, _bIsWii, _rApploader, _rDOL);
-
+
return NULL;
}
@@ -154,7 +154,7 @@ static IVolume* CreateVolumeFromCryptedWiiImage(IBlobReader& _rReader, u32 _Part
std::vector<SPartition> PartitionsVec;
};
SPartitionGroup PartitionGroup[4];
-
+
// read all partitions
for (u32 x = 0; x < 4; x++)
{
@@ -183,11 +183,21 @@ static IVolume* CreateVolumeFromCryptedWiiImage(IBlobReader& _rReader, u32 _Part
memset(IV, 0, 16);
_rReader.Read(rPartition.Offset + 0x44c, 8, IV);
- AES_KEY AES_KEY;
- AES_set_decrypt_key((Korean ? g_MasterKeyK : g_MasterKey), 128, &AES_KEY);
+ bool usingKoreanKey = false;
+ // Issue: 6813
+ // Magic value is at 0x501f1 (1byte)
+ // If encrypted with the Korean key, the magic value would be 1
+ // Otherwise it is zero
+ if (Korean && Reader.Read32(0x501ee) != 0)
+ {
+ usingKoreanKey = true;
+ }
+
+ aes_context AES_ctx;
+ aes_setkey_dec(&AES_ctx, (usingKoreanKey ? g_MasterKeyK : g_MasterKey), 128);
u8 VolumeKey[16];
- AES_cbc_encrypt(SubKey, VolumeKey, 16, &AES_KEY, IV, AES_DECRYPT);
+ aes_crypt_cbc(&AES_ctx, AES_DECRYPT, 16, IV, SubKey, VolumeKey);
// -1 means the caller just wanted the partition with matching type
if ((int)_VolumeNum == -1 || i == _VolumeNum)
diff --git a/Source/Core/DiscIO/Src/VolumeDirectory.cpp b/Source/Core/DiscIO/Src/VolumeDirectory.cpp
index 120e8c8018..f9f8f00ea8 100644
--- a/Source/Core/DiscIO/Src/VolumeDirectory.cpp
+++ b/Source/Core/DiscIO/Src/VolumeDirectory.cpp
@@ -23,12 +23,12 @@ CVolumeDirectory::CVolumeDirectory(const std::string& _rDirectory, bool _bIsWii,
, FST_ADDRESS(0)
, DOL_ADDRESS(0)
{
- m_rootDirectory = ExtractDirectoryName(_rDirectory);
+ m_rootDirectory = ExtractDirectoryName(_rDirectory);
// create the default disk header
m_diskHeader = new u8[DISKHEADERINFO_ADDRESS];
memset(m_diskHeader, 0, (size_t)DISKHEADERINFO_ADDRESS);
- SetUniqueID("AGBJ01");
+ SetUniqueID("AGBJ01");
SetName("Default name");
if(_bIsWii)
@@ -105,7 +105,7 @@ bool CVolumeDirectory::Read(u64 _Offset, u64 _Length, u8* _pBuffer) const
{
WriteToBuffer(FST_ADDRESS, m_fstSize, m_FSTData, _Offset, _Length, _pBuffer);
}
-
+
if(m_virtualDisk.size() == 0)
return true;
@@ -118,16 +118,16 @@ bool CVolumeDirectory::Read(u64 _Offset, u64 _Length, u8* _pBuffer) const
PadToAddress(fileIter->first, _Offset, _Length, _pBuffer);
while(fileIter != m_virtualDisk.end() && _Length > 0)
- {
+ {
_dbg_assert_(DVDINTERFACE, fileIter->first <= _Offset);
u64 fileOffset = _Offset - fileIter->first;
- PlainFileReader* reader = PlainFileReader::Create(fileIter->second.c_str());
+ PlainFileReader* reader = PlainFileReader::Create(fileIter->second.c_str());
if(reader == NULL)
return false;
u64 fileSize = reader->GetDataSize();
-
+
if(fileOffset < fileSize)
{
u64 fileBytes = fileSize - fileOffset;
@@ -152,14 +152,14 @@ bool CVolumeDirectory::Read(u64 _Offset, u64 _Length, u8* _pBuffer) const
delete reader;
}
-
+
return true;
}
std::string CVolumeDirectory::GetUniqueID() const
{
_dbg_assert_(DVDINTERFACE, m_diskHeader);
-
+
char buffer[7];
memcpy(buffer, m_diskHeader, 6);
buffer[6] = 0;
@@ -182,7 +182,7 @@ void CVolumeDirectory::SetUniqueID(std::string _ID)
IVolume::ECountry CVolumeDirectory::GetCountry() const
{
_dbg_assert_(DVDINTERFACE, m_diskHeader);
-
+
u8 CountryCode = m_diskHeader[3];
return CountrySwitch(CountryCode);
@@ -263,7 +263,7 @@ void CVolumeDirectory::SetDiskTypeWii()
m_diskHeader[0x18] = 0x5d;
m_diskHeader[0x19] = 0x1c;
m_diskHeader[0x1a] = 0x9e;
- m_diskHeader[0x1b] = 0xa3;
+ m_diskHeader[0x1b] = 0xa3;
memset(m_diskHeader + 0x1c, 0, 4);
m_addressShift = 2;
@@ -287,7 +287,7 @@ bool CVolumeDirectory::SetApploader(const std::string& _rApploader)
if (!_rApploader.empty())
{
std::string data;
- if (!File::ReadFileToString(false, _rApploader.c_str(), data))
+ if (!File::ReadFileToString(_rApploader.c_str(), data))
{
PanicAlertT("Apploader unable to load from file");
return false;
@@ -320,7 +320,7 @@ void CVolumeDirectory::SetDOL(const std::string& _rDOL)
if (!_rDOL.empty())
{
std::string data;
- File::ReadFileToString(false, _rDOL.c_str(), data);
+ File::ReadFileToString(_rDOL.c_str(), data);
m_DOLSize = data.size();
m_DOL = new u8[m_DOLSize];
copy(data.begin(), data.end(), m_DOL);
@@ -363,9 +363,9 @@ void CVolumeDirectory::BuildFST()
// write root entry
WriteEntryData(fstOffset, DIRECTORY_ENTRY, 0, 0, totalEntries);
- for(std::vector<File::FSTEntry>::iterator iter = rootEntry.children.begin(); iter != rootEntry.children.end(); ++iter)
+ for(auto& entry : rootEntry.children)
{
- WriteEntry(*iter, fstOffset, nameOffset, curDataAddress, rootOffset);
+ WriteEntry(entry, fstOffset, nameOffset, curDataAddress, rootOffset);
}
// overflow check
@@ -399,7 +399,7 @@ void CVolumeDirectory::WriteToBuffer(u64 _SrcStartAddress, u64 _SrcLength, u8* _
_Length -= srcBytes;
_pBuffer += srcBytes;
_Address += srcBytes;
- }
+ }
}
void CVolumeDirectory::PadToAddress(u64 _StartAddress, u64& _Address, u64& _Length, u8*& _pBuffer) const
@@ -446,12 +446,12 @@ void CVolumeDirectory::WriteEntryData(u32& entryOffset, u8 type, u32 nameOffset,
void CVolumeDirectory::WriteEntryName(u32& nameOffset, const std::string& name)
{
strncpy((char*)(m_FSTData + nameOffset + m_fstNameOffset), name.c_str(), name.length() + 1);
-
+
nameOffset += (u32)(name.length() + 1);
}
void CVolumeDirectory::WriteEntry(const File::FSTEntry& entry, u32& fstOffset, u32& nameOffset, u64& dataOffset, u32 parentEntryNum)
-{
+{
if(entry.isDirectory)
{
u32 myOffset = fstOffset;
@@ -459,9 +459,9 @@ void CVolumeDirectory::WriteEntry(const File::FSTEntry& entry, u32& fstOffset, u
WriteEntryData(fstOffset, DIRECTORY_ENTRY, nameOffset, parentEntryNum, (u32)(myEntryNum + entry.size + 1));
WriteEntryName(nameOffset, entry.virtualName);
- for(std::vector<File::FSTEntry>::const_iterator iter = entry.children.begin(); iter != entry.children.end(); ++iter)
+ for(const auto& child : entry.children)
{
- WriteEntry(*iter, fstOffset, nameOffset, dataOffset, myEntryNum);
+ WriteEntry(child, fstOffset, nameOffset, dataOffset, myEntryNum);
}
}
else
diff --git a/Source/Core/DiscIO/Src/VolumeDirectory.h b/Source/Core/DiscIO/Src/VolumeDirectory.h
index 31f7d9b255..fbab0f18b3 100644
--- a/Source/Core/DiscIO/Src/VolumeDirectory.h
+++ b/Source/Core/DiscIO/Src/VolumeDirectory.h
@@ -96,7 +96,7 @@ private:
u8* m_diskHeader;
#pragma pack(push, 1)
- struct SDiskHeaderInfo
+ struct SDiskHeaderInfo
{
u32 debug_mntr_size;
u32 simulated_mem_size;
diff --git a/Source/Core/DiscIO/Src/VolumeGC.cpp b/Source/Core/DiscIO/Src/VolumeGC.cpp
index a172229684..325e200a34 100644
--- a/Source/Core/DiscIO/Src/VolumeGC.cpp
+++ b/Source/Core/DiscIO/Src/VolumeGC.cpp
@@ -98,7 +98,7 @@ int CVolumeGC::GetRevision() const
std::vector<std::string> CVolumeGC::GetNames() const
{
std::vector<std::string> names;
-
+
auto const string_decoder = GetStringDecoder(GetCountry());
char name[0x60 + 1] = {};
diff --git a/Source/Core/DiscIO/Src/VolumeGC.h b/Source/Core/DiscIO/Src/VolumeGC.h
index 55f84c1c0c..5fc7cf892d 100644
--- a/Source/Core/DiscIO/Src/VolumeGC.h
+++ b/Source/Core/DiscIO/Src/VolumeGC.h
@@ -30,9 +30,9 @@ public:
u64 GetSize() const;
u64 GetRawSize() const;
bool IsDiscTwo() const;
-
+
typedef std::string(*StringDecoder)(const std::string&);
-
+
static StringDecoder GetStringDecoder(ECountry country);
private:
diff --git a/Source/Core/DiscIO/Src/VolumeWad.cpp b/Source/Core/DiscIO/Src/VolumeWad.cpp
index e3356ad5b4..cc50ec8c66 100644
--- a/Source/Core/DiscIO/Src/VolumeWad.cpp
+++ b/Source/Core/DiscIO/Src/VolumeWad.cpp
@@ -104,15 +104,15 @@ std::vector<std::string> CVolumeWAD::GetNames() const
{
return names;
}
-
+
footer_size = Common::swap32(footer_size);
-
+
//Japanese, English, German, French, Spanish, Italian, Dutch, unknown, unknown, Korean
for (int i = 0; i != 10; ++i)
{
static const u32 string_length = 42;
static const u32 bytes_length = string_length * sizeof(u16);
-
+
u16 temp[string_length];
if (footer_size < 0xF1 || !Read(0x9C + (i * bytes_length) + OpeningBnrOffset, bytes_length, (u8*)&temp))
@@ -125,7 +125,7 @@ std::vector<std::string> CVolumeWAD::GetNames() const
out_temp.resize(string_length);
std::transform(temp, temp + out_temp.size(), out_temp.begin(), (u16(&)(u16))Common::swap16);
out_temp.erase(std::find(out_temp.begin(), out_temp.end(), 0x00), out_temp.end());
-
+
names.push_back(UTF16ToUTF8(out_temp));
}
}
diff --git a/Source/Core/DiscIO/Src/VolumeWad.h b/Source/Core/DiscIO/Src/VolumeWad.h
index 59edf79cd4..62c4d23762 100644
--- a/Source/Core/DiscIO/Src/VolumeWad.h
+++ b/Source/Core/DiscIO/Src/VolumeWad.h
@@ -11,7 +11,7 @@
// --- this volume type is used for Wad files ---
// Some of this code might look redundant with the CNANDContentLoader class, however,
-// We do not do any decryption here, we do raw read, so things are -Faster-
+// We do not do any decryption here, we do raw read, so things are -Faster-
namespace DiscIO
{
@@ -27,7 +27,7 @@ public:
std::string GetMakerID() const;
std::vector<std::string> GetNames() const;
u32 GetFSTSize() const { return 0; }
- std::string GetApploaderDate() const { return "0"; }
+ std::string GetApploaderDate() const { return "0"; }
ECountry GetCountry() const;
u64 GetSize() const;
u64 GetRawSize() const;
diff --git a/Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp b/Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp
index 51ee3d575a..8d2e46a0f6 100644
--- a/Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp
+++ b/Source/Core/DiscIO/Src/VolumeWiiCrypted.cpp
@@ -18,7 +18,8 @@ CVolumeWiiCrypted::CVolumeWiiCrypted(IBlobReader* _pReader, u64 _VolumeOffset,
dataOffset(0x20000),
m_LastDecryptedBlockOffset(-1)
{
- AES_set_decrypt_key(_pVolumeKey, 128, &m_AES_KEY);
+ m_AES_ctx = new aes_context;
+ aes_setkey_dec(m_AES_ctx, _pVolumeKey, 128);
m_pBuffer = new u8[0x8000];
}
@@ -29,6 +30,8 @@ CVolumeWiiCrypted::~CVolumeWiiCrypted()
m_pReader = NULL;
delete[] m_pBuffer;
m_pBuffer = NULL;
+ delete m_AES_ctx;
+ m_AES_ctx = NULL;
}
bool CVolumeWiiCrypted::RAWRead( u64 _Offset, u64 _Length, u8* _pBuffer ) const
@@ -67,7 +70,7 @@ bool CVolumeWiiCrypted::Read(u64 _ReadOffset, u64 _Length, u8* _pBuffer) const
if (m_LastDecryptedBlockOffset != Block)
{
memcpy(IV, m_pBuffer + 0x3d0, 16);
- AES_cbc_encrypt(m_pBuffer + 0x400, m_LastDecryptedBlock, 0x7C00, &m_AES_KEY, IV, AES_DECRYPT);
+ aes_crypt_cbc(m_AES_ctx, AES_DECRYPT, 0x7C00, IV, m_pBuffer + 0x400, m_LastDecryptedBlock);
m_LastDecryptedBlockOffset = Block;
}
@@ -105,7 +108,7 @@ void CVolumeWiiCrypted::GetTMD(u8* _pBuffer, u32 * _sz) const
RAWRead(m_VolumeOffset + tmdAddr, tmdSz, _pBuffer);
*_sz = tmdSz;
}
-
+
std::string CVolumeWiiCrypted::GetUniqueID() const
{
if (m_pReader == NULL)
@@ -150,7 +153,7 @@ std::string CVolumeWiiCrypted::GetMakerID() const
{
return std::string();
}
-
+
makerID[2] = '\0';
return makerID;
@@ -159,7 +162,7 @@ std::string CVolumeWiiCrypted::GetMakerID() const
std::vector<std::string> CVolumeWiiCrypted::GetNames() const
{
std::vector<std::string> names;
-
+
auto const string_decoder = CVolumeGC::GetStringDecoder(GetCountry());
char name[0xFF] = {};
@@ -199,7 +202,7 @@ std::string CVolumeWiiCrypted::GetApploaderDate() const
{
return std::string();
}
-
+
date[10] = '\0';
return date;
@@ -250,7 +253,8 @@ bool CVolumeWiiCrypted::CheckIntegrity() const
NOTICE_LOG(DISCIO, "Integrity Check: fail at cluster %d: could not read metadata", clusterID);
return false;
}
- AES_cbc_encrypt(clusterMDCrypted, clusterMD, 0x400, &m_AES_KEY, IV, AES_DECRYPT);
+ aes_crypt_cbc(m_AES_ctx, AES_DECRYPT, 0x400, IV, clusterMDCrypted, clusterMD);
+
// Some clusters have invalid data and metadata because they aren't
// meant to be read by the game (for example, holes between files). To
diff --git a/Source/Core/DiscIO/Src/VolumeWiiCrypted.h b/Source/Core/DiscIO/Src/VolumeWiiCrypted.h
index 457774628e..4756a8842a 100644
--- a/Source/Core/DiscIO/Src/VolumeWiiCrypted.h
+++ b/Source/Core/DiscIO/Src/VolumeWiiCrypted.h
@@ -7,7 +7,7 @@
#include "Volume.h"
#include "Blob.h"
-#include "Crypto/aes.h"
+#include <polarssl/aes.h>
// --- this volume type is used for encrypted Wii images ---
@@ -38,7 +38,7 @@ private:
IBlobReader* m_pReader;
u8* m_pBuffer;
- AES_KEY m_AES_KEY;
+ aes_context* m_AES_ctx;
u64 m_VolumeOffset;
u64 dataOffset;
diff --git a/Source/Core/DiscIO/Src/WbfsBlob.cpp b/Source/Core/DiscIO/Src/WbfsBlob.cpp
index f1d5a2b76a..7a4d8d99d6 100644
--- a/Source/Core/DiscIO/Src/WbfsBlob.cpp
+++ b/Source/Core/DiscIO/Src/WbfsBlob.cpp
@@ -138,13 +138,13 @@ File::IOFile& WbfsFileReader::SeekToCluster(u64 offset, u64* available)
{
u64 base_cluster = offset >> wbfs_sector_shift;
if(base_cluster < m_blocks_per_disc)
- {
+ {
u64 cluster_address = wbfs_sector_size * Common::swap16(m_wlba_table[base_cluster]);
u64 cluster_offset = offset & (wbfs_sector_size - 1);
u64 final_address = cluster_address + cluster_offset;
for(u32 i = 0; i != m_total_files; i ++)
- {
+ {
if(final_address < (m_files[i]->base_address + m_files[i]->size))
{
m_files[i]->file.Seek(final_address - m_files[i]->base_address, SEEK_SET);
@@ -187,7 +187,7 @@ bool IsWbfsBlob(const char* filename)
u8 magic[4] = {0, 0, 0, 0};
f.ReadBytes(&magic, 4);
- return (magic[0] == 'W') &&
+ return (magic[0] == 'W') &&
(magic[1] == 'B') &&
(magic[2] == 'F') &&
(magic[3] == 'S');
diff --git a/Source/Core/DiscIO/Src/WbfsBlob.h b/Source/Core/DiscIO/Src/WbfsBlob.h
index c59eb84173..b703d59931 100644
--- a/Source/Core/DiscIO/Src/WbfsBlob.h
+++ b/Source/Core/DiscIO/Src/WbfsBlob.h
@@ -18,7 +18,7 @@ class WbfsFileReader : public IBlobReader
WbfsFileReader(const char* filename);
~WbfsFileReader();
- bool OpenFiles(const char* filename);
+ bool OpenFiles(const char* filename);
bool ReadHeader();
File::IOFile& SeekToCluster(u64 offset, u64* available);
diff --git a/Source/Core/DiscIO/Src/WiiWad.cpp b/Source/Core/DiscIO/Src/WiiWad.cpp
index ed58977670..783ede511d 100644
--- a/Source/Core/DiscIO/Src/WiiWad.cpp
+++ b/Source/Core/DiscIO/Src/WiiWad.cpp
@@ -5,7 +5,7 @@
#include "NANDContentLoader.h"
#include <algorithm>
-#include <cctype>
+#include <cctype>
#include "MathUtil.h"
#include "FileUtil.h"
#include "Log.h"
@@ -78,15 +78,15 @@ bool WiiWAD::ParseWAD(DiscIO::IBlobReader& _rReader)
{
CBlobBigEndianReader ReaderBig(_rReader);
- // get header size
+ // get header size
u32 HeaderSize = ReaderBig.Read32(0);
- if (HeaderSize != 0x20)
+ if (HeaderSize != 0x20)
{
_dbg_assert_msg_(BOOT, (HeaderSize==0x20), "WiiWAD: Header size != 0x20");
return false;
}
- // get header
+ // get header
u8 Header[0x20];
_rReader.Read(0, HeaderSize, Header);
u32 HeaderType = ReaderBig.Read32(0x4);
diff --git a/Source/Core/DiscIO/Src/WiiWad.h b/Source/Core/DiscIO/Src/WiiWad.h
index 6483c10f52..0711c82cb0 100644
--- a/Source/Core/DiscIO/Src/WiiWad.h
+++ b/Source/Core/DiscIO/Src/WiiWad.h
@@ -30,13 +30,13 @@ public:
u32 GetTMDSize() const { return m_TMDSize; }
u32 GetDataAppSize() const { return m_DataAppSize; }
u32 GetFooterSize() const { return m_FooterSize; }
-
+
u8* GetCertificateChain() const { return m_pCertificateChain; }
u8* GetTicket() const { return m_pTicket; }
u8* GetTMD() const { return m_pTMD; }
u8* GetDataApp() const { return m_pDataApp; }
u8* GetFooter() const { return m_pFooter; }
-
+
static bool IsWiiWAD(const std::string& _rName);
private:
diff --git a/Source/Core/DiscIO/Src/stdafx.h b/Source/Core/DiscIO/Src/stdafx.h
index 5d6c2c1c42..03a92c3b49 100644
--- a/Source/Core/DiscIO/Src/stdafx.h
+++ b/Source/Core/DiscIO/Src/stdafx.h
@@ -15,3 +15,5 @@
#endif
// TODO: reference additional headers your program requires here
+
+#include <algorithm>
diff --git a/Source/Core/DolphinWX/CMakeLists.txt b/Source/Core/DolphinWX/CMakeLists.txt
index ce68934486..23fb8d64f7 100644
--- a/Source/Core/DolphinWX/CMakeLists.txt
+++ b/Source/Core/DolphinWX/CMakeLists.txt
@@ -191,23 +191,11 @@ if(ANDROID)
${LIBS}
"-Wl,--no-whole-archive"
)
- if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "mips")
- set (SO_TARGET "mips")
- endif()
- if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "armv7-a")
- set (SO_TARGET "armeabi-v7a")
- endif()
- if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "armv5te")
- set (SO_TARGET "armeabi")
- endif()
- if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "i686")
- set (SO_TARGET "x86")
- endif()
add_custom_command(TARGET ${DOLPHIN_EXE} POST_BUILD
- COMMAND mkdir ARGS -p ${CMAKE_SOURCE_DIR}/Source/Android/libs/${SO_TARGET}
+ COMMAND mkdir ARGS -p ${CMAKE_SOURCE_DIR}/Source/Android/libs/${ANDROID_NDK_ABI_NAME}
)
add_custom_command(TARGET ${DOLPHIN_EXE} POST_BUILD
- COMMAND cp ARGS ${CMAKE_SOURCE_DIR}/libs/${SO_TARGET}/lib${DOLPHIN_EXE}.so ${CMAKE_SOURCE_DIR}/Source/Android/libs/${SO_TARGET}/
+ COMMAND cp ARGS ${LIBRARY_OUTPUT_PATH_ROOT}/libs/${ANDROID_NDK_ABI_NAME}/lib${DOLPHIN_EXE}.so ${CMAKE_SOURCE_DIR}/Source/Android/libs/${ANDROID_NDK_ABI_NAME}/
)
add_custom_command(TARGET ${DOLPHIN_EXE} POST_BUILD
COMMAND cp ARGS ${CMAKE_SOURCE_DIR}/Data/Sys/GC/* ${CMAKE_SOURCE_DIR}/Source/Android/assets/
diff --git a/Source/Core/DolphinWX/Dolphin.vcxproj b/Source/Core/DolphinWX/Dolphin.vcxproj
deleted file mode 100644
index e81455e9a1..0000000000
--- a/Source/Core/DolphinWX/Dolphin.vcxproj
+++ /dev/null
@@ -1,408 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="DebugFast|Win32">
- <Configuration>DebugFast</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="DebugFast|x64">
- <Configuration>DebugFast</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Debug|x64">
- <Configuration>Debug</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|x64">
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{1B099EF8-6F87-47A2-A3E7-898A24584F49}</ProjectGuid>
- <RootNamespace>Dolphin</RootNamespace>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>false</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\VSProps\CodeGen_Debug.props" />
- <Import Project="..\..\VSProps\Dolphin.Win32.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\VSProps\Dolphin.x64.props" />
- <Import Project="..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Release.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\VSProps\Dolphin.Win32.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_DebugFast.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\VSProps\Dolphin.Win32.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Release.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\VSProps\Dolphin.x64.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_DebugFast.props" />
- <Import Project="..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\VSProps\Dolphin.x64.props" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <TargetName>$(ProjectName)D</TargetName>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <TargetName>$(ProjectName)D</TargetName>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <TargetName>$(ProjectName)DF</TargetName>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <TargetName>$(ProjectName)DF</TargetName>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\..\Externals\GLew\include;..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets3;..\..\..\Externals\wxWidgets3\include;..\..\..\Externals\CLRun\include;..\..\..\Externals\miniupnpc\src;..\..\..\Externals\polarssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link />
- <PostBuildEvent>
- <Command>xcopy "$(SolutionDir)..\Data" "$(TargetDir)" /e /s /y /d
-echo Copying External .dlls
-xcopy "$(SolutionDir)..\Externals\OpenAL\Win32\*.dll" "$(TargetDir)" /e /s /y /q /d
-xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /s /y /q /d
-xcopy "$(SolutionDir)..\Externals\msvcrt\$(PlatformName)\*.dll" "$(TargetDir)" /e /s /y /q /d
-</Command>
- <Message>Copying Data\* to $(TargetDir)</Message>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\..\Externals\GLew\include;..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets3;..\..\..\Externals\wxWidgets3\include;..\..\..\Externals\CLRun\include;..\..\..\Externals\miniupnpc\src;..\..\..\Externals\polarssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link />
- <PostBuildEvent>
- <Command>xcopy "$(SolutionDir)..\Data" "$(TargetDir)" /e /s /y /d
-echo Copying External .dlls
-xcopy "$(SolutionDir)..\Externals\OpenAL\Win64\*.dll" "$(TargetDir)" /e /s /y /q /d
-xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /s /y /q /d
-xcopy "$(SolutionDir)..\Externals\msvcrt\$(PlatformName)\*.dll" "$(TargetDir)" /e /s /y /q /d
-</Command>
- <Message>Copying Data\* to $(TargetDir)</Message>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\..\Externals\GLew\include;..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets3;..\..\..\Externals\wxWidgets3\include;..\..\..\Externals\CLRun\include;..\..\..\Externals\miniupnpc\src;..\..\..\Externals\polarssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <OpenMPSupport>
- </OpenMPSupport>
- </ClCompile>
- <Link />
- <PostBuildEvent>
- <Command>xcopy "$(SolutionDir)..\Data" "$(TargetDir)" /e /s /y /d
-echo Copying External .dlls
-xcopy "$(SolutionDir)..\Externals\OpenAL\Win32\*.dll" "$(TargetDir)" /e /s /y /q /d
-xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /s /y /q /d
-xcopy "$(SolutionDir)..\Externals\msvcrt\$(PlatformName)\*.dll" "$(TargetDir)" /e /s /y /q /d
-</Command>
- <Message>Copying Data\* to $(TargetDir)</Message>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\..\Externals\GLew\include;..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets3;..\..\..\Externals\wxWidgets3\include;..\..\..\Externals\CLRun\include;..\..\..\Externals\miniupnpc\src;..\..\..\Externals\polarssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link />
- <PostBuildEvent>
- <Command>xcopy "$(SolutionDir)..\Data" "$(TargetDir)" /e /s /y /d
-echo Copying External .dlls
-xcopy "$(SolutionDir)..\Externals\OpenAL\Win32\*.dll" "$(TargetDir)" /e /s /y /q /d
-xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /s /y /q /d
-xcopy "$(SolutionDir)..\Externals\msvcrt\$(PlatformName)\*.dll" "$(TargetDir)" /e /s /y /q /d
-</Command>
- <Message>Copying Data\* to $(TargetDir)</Message>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\..\Externals\GLew\include;..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets3;..\..\..\Externals\wxWidgets3\include;..\..\..\Externals\CLRun\include;..\..\..\Externals\miniupnpc\src;..\..\..\Externals\polarssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <OpenMPSupport>
- </OpenMPSupport>
- </ClCompile>
- <Link />
- <PostBuildEvent>
- <Command>xcopy "$(SolutionDir)..\Data" "$(TargetDir)" /e /s /y /d
-echo Copying External .dlls
-xcopy "$(SolutionDir)..\Externals\OpenAL\Win64\*.dll" "$(TargetDir)" /e /s /y /q /d
-xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /s /y /q /d
-xcopy "$(SolutionDir)..\Externals\msvcrt\$(PlatformName)\*.dll" "$(TargetDir)" /e /s /y /q /d
-</Command>
- <Message>Copying Data\* to $(TargetDir)</Message>
- </PostBuildEvent>
- <ResourceCompile>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\..\Externals\GLew\include;..\Common\Src;..\VideoCommon\Src;..\AudioCommon\Src;..\Core\Src;..\Core\Src\PowerPC\JitCommon;..\DebuggerWX\Src;..\..\..\Externals\Bochs_disasm;..\InputCommon\Src;..\DiscIO\Src;..\..\..\Externals\SFML\include;..\..\..\Externals\wxWidgets3;..\..\..\Externals\wxWidgets3\include;..\..\..\Externals\CLRun\include;..\..\..\Externals\miniupnpc\src;..\..\..\Externals\polarssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link />
- <PostBuildEvent>
- <Command>xcopy "$(SolutionDir)..\Data" "$(TargetDir)" /e /s /y /d
-echo Copying External .dlls
-xcopy "$(SolutionDir)..\Externals\OpenAL\Win64\*.dll" "$(TargetDir)" /e /s /y /q /d
-xcopy "$(SolutionDir)..\Externals\SDL\$(PlatformName)\*.dll" "$(TargetDir)" /e /s /y /q /d
-xcopy "$(SolutionDir)..\Externals\msvcrt\$(PlatformName)\*.dll" "$(TargetDir)" /e /s /y /q /d
-</Command>
- <Message>Copying Data\* to $(TargetDir)</Message>
- </PostBuildEvent>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="Src\AboutDolphin.cpp" />
- <ClCompile Include="Src\ARCodeAddEdit.cpp" />
- <ClCompile Include="Src\Debugger\BreakpointDlg.cpp" />
- <ClCompile Include="Src\Debugger\BreakpointView.cpp" />
- <ClCompile Include="Src\Debugger\BreakpointWindow.cpp" />
- <ClCompile Include="Src\CheatsWindow.cpp" />
- <ClCompile Include="Src\Debugger\CodeView.cpp" />
- <ClCompile Include="Src\Debugger\CodeWindow.cpp" />
- <ClCompile Include="Src\Debugger\CodeWindowFunctions.cpp" />
- <ClCompile Include="Src\ConfigMain.cpp" />
- <ClCompile Include="Src\Debugger\DebuggerPanel.cpp" />
- <ClCompile Include="Src\Debugger\DebuggerUIUtil.cpp" />
- <ClCompile Include="Src\Debugger\DSPDebugWindow.cpp" />
- <ClCompile Include="Src\Debugger\DSPRegisterView.cpp" />
- <ClCompile Include="Src\FifoPlayerDlg.cpp" />
- <ClCompile Include="Src\Frame.cpp" />
- <ClCompile Include="Src\FrameAui.cpp" />
- <ClCompile Include="Src\FrameTools.cpp" />
- <ClCompile Include="Src\GameListCtrl.cpp" />
- <ClCompile Include="Src\GeckoCodeDiag.cpp" />
- <ClCompile Include="Src\HotkeyDlg.cpp" />
- <ClCompile Include="Src\InputConfigDiag.cpp" />
- <ClCompile Include="Src\InputConfigDiagBitmaps.cpp" />
- <ClCompile Include="Src\ISOFile.cpp" />
- <ClCompile Include="Src\ISOProperties.cpp" />
- <ClCompile Include="Src\Debugger\JitWindow.cpp" />
- <ClCompile Include="Src\LogConfigWindow.cpp" />
- <ClCompile Include="Src\LogWindow.cpp" />
- <ClCompile Include="Src\Main.cpp" />
- <ClCompile Include="Src\MainNoGUI.cpp">
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
- <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">true</ExcludedFromBuild>
- </ClCompile>
- <ClCompile Include="Src\MemcardManager.cpp" />
- <ClCompile Include="Src\MemoryCards\WiiSaveCrypted.cpp" />
- <ClCompile Include="Src\Debugger\MemoryCheckDlg.cpp" />
- <ClCompile Include="Src\Debugger\MemoryView.cpp" />
- <ClCompile Include="Src\Debugger\MemoryWindow.cpp" />
- <ClCompile Include="Src\NetWindow.cpp" />
- <ClCompile Include="Src\PatchAddEdit.cpp" />
- <ClCompile Include="Src\PHackSettings.cpp" />
- <ClCompile Include="Src\Debugger\RegisterView.cpp" />
- <ClCompile Include="Src\Debugger\RegisterWindow.cpp" />
- <ClCompile Include="Src\GLInterface\WGL.cpp" />
- <ClCompile Include="Src\stdafx.cpp">
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
- </ClCompile>
- <ClCompile Include="Src\TASInputDlg.cpp" />
- <ClCompile Include="Src\UDPConfigDiag.cpp" />
- <ClCompile Include="Src\VideoConfigDiag.cpp" />
- <ClCompile Include="Src\WiimoteConfigDiag.cpp" />
- <ClCompile Include="Src\WXInputBase.cpp" />
- <ClCompile Include="Src\WxUtils.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="resource.h" />
- <ClInclude Include="Src\AboutDolphin.h" />
- <ClInclude Include="Src\ARCodeAddEdit.h" />
- <ClInclude Include="Src\Debugger\BreakpointDlg.h" />
- <ClInclude Include="Src\Debugger\BreakpointView.h" />
- <ClInclude Include="Src\Debugger\BreakpointWindow.h" />
- <ClInclude Include="Src\CheatsWindow.h" />
- <ClInclude Include="Src\Debugger\CodeView.h" />
- <ClInclude Include="Src\Debugger\CodeWindow.h" />
- <ClInclude Include="Src\ConfigMain.h" />
- <ClInclude Include="Src\Debugger\DebuggerPanel.h" />
- <ClInclude Include="Src\Debugger\DebuggerUIUtil.h" />
- <ClInclude Include="Src\Debugger\DSPDebugWindow.h" />
- <ClInclude Include="Src\Debugger\DSPRegisterView.h" />
- <ClInclude Include="Src\FifoPlayerDlg.h" />
- <ClInclude Include="Src\Frame.h" />
- <ClInclude Include="Src\GameListCtrl.h" />
- <ClInclude Include="Src\GeckoCodeDiag.h" />
- <ClInclude Include="Src\Globals.h" />
- <ClInclude Include="Src\HotkeyDlg.h" />
- <ClInclude Include="Src\InputConfigDiag.h" />
- <ClInclude Include="Src\ISOFile.h" />
- <ClInclude Include="Src\ISOProperties.h" />
- <ClInclude Include="Src\Debugger\JitWindow.h" />
- <ClInclude Include="Src\LogConfigWindow.h" />
- <ClInclude Include="Src\LogWindow.h" />
- <ClInclude Include="Src\Main.h" />
- <ClInclude Include="Src\MemcardManager.h" />
- <ClInclude Include="Src\MemoryCards\WiiSaveCrypted.h" />
- <ClInclude Include="Src\Debugger\MemoryCheckDlg.h" />
- <ClInclude Include="Src\Debugger\MemoryView.h" />
- <ClInclude Include="Src\Debugger\MemoryWindow.h" />
- <ClInclude Include="Src\NetWindow.h" />
- <ClInclude Include="Src\PatchAddEdit.h" />
- <ClInclude Include="Src\PHackSettings.h" />
- <ClInclude Include="Src\Debugger\RegisterView.h" />
- <ClInclude Include="Src\Debugger\RegisterWindow.h" />
- <ClInclude Include="Src\stdafx.h" />
- <ClInclude Include="Src\TASInputDlg.h" />
- <ClInclude Include="Src\UDPConfigDiag.h" />
- <ClInclude Include="Src\VideoConfigDiag.h" />
- <ClInclude Include="Src\WiimoteConfigDiag.h" />
- <ClInclude Include="Src\WXInputBase.h" />
- <ClInclude Include="Src\WxUtils.h" />
- <ClInclude Include="Src\GLInterface.h" />
- <ClInclude Include="Src\GLInterface\InterfaceBase.h" />
- <ClInclude Include="Src\GLInterface\WGL.h" />
- </ItemGroup>
- <ItemGroup>
- <None Include="..\..\..\Installer\Dolphin.ico" />
- <None Include="CMakeLists.txt" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\..\Externals\Bochs_disasm\Bochs_disasm.vcxproj">
- <Project>{cd3d4c3c-1027-4d33-b047-aec7b56d0bf6}</Project>
- </ProjectReference>
- <ProjectReference Include="..\..\..\Externals\libpng\png\png.vcxproj">
- <Project>{01573c36-ac6e-49f6-94ba-572517eb9740}</Project>
- </ProjectReference>
- <ProjectReference Include="..\..\..\Externals\libusbx\msvc\libusb_static_2010.vcxproj">
- <Project>{349ee8f9-7d25-4909-aaf5-ff3fade72187}</Project>
- </ProjectReference>
- <ProjectReference Include="..\..\..\Externals\LZO\LZO.vcxproj">
- <Project>{d8890b98-26f7-4cff-bbfb-b95f371b5f20}</Project>
- </ProjectReference>
- <ProjectReference Include="..\..\..\Externals\miniupnpc\miniupnpc.vcxproj">
- <Project>{a680190d-0764-485b-9cf3-a82c5edd5715}</Project>
- </ProjectReference>
- <ProjectReference Include="..\..\..\Externals\SFML\build\vc2010\SFML_Network.vcxproj">
- <Project>{93d73454-2512-424e-9cda-4bb357fe13dd}</Project>
- <Private>true</Private>
- <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
- <CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
- <LinkLibraryDependencies>true</LinkLibraryDependencies>
- <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
- </ProjectReference>
- <ProjectReference Include="..\..\..\Externals\wxWidgets3\build\msw\wx_base.vcxproj">
- <Project>{1c8436c9-dbaf-42be-83bc-cf3ec9175abe}</Project>
- </ProjectReference>
- <ProjectReference Include="..\..\..\Externals\zlib\zlib.vcxproj">
- <Project>{3e1339f5-9311-4122-9442-369702e8fcad}</Project>
- </ProjectReference>
- <ProjectReference Include="..\AudioCommon\AudioCommon.vcxproj">
- <Project>{37d007bd-d66c-4eaf-b56c-bd1aac340a05}</Project>
- </ProjectReference>
- <ProjectReference Include="..\Common\Common.vcxproj">
- <Project>{c87a4178-44f6-49b2-b7aa-c79af1b8c534}</Project>
- </ProjectReference>
- <ProjectReference Include="..\Core\Core.vcxproj">
- <Project>{8c60e805-0da5-4e25-8f84-038db504bb0d}</Project>
- </ProjectReference>
- <ProjectReference Include="..\DiscIO\DiscIO.vcxproj">
- <Project>{b6398059-ebb6-4c34-b547-95f365b71ff4}</Project>
- </ProjectReference>
- <ProjectReference Include="..\InputCommon\InputCommon.vcxproj">
- <Project>{b39ac394-5db5-4da9-9d98-09d46ca3701f}</Project>
- </ProjectReference>
- <ProjectReference Include="..\VideoBackends\D3D\D3D.vcxproj">
- <Project>{9a4c733c-bade-4ac6-b58a-6e274395e90e}</Project>
- </ProjectReference>
- <ProjectReference Include="..\VideoBackends\OGL\OGL.vcxproj">
- <Project>{1909cd2d-1707-456f-86ca-0df42a727c99}</Project>
- </ProjectReference>
- <ProjectReference Include="..\VideoBackends\Software\Software.vcxproj">
- <Project>{9e9da440-e9ad-413c-b648-91030e792211}</Project>
- </ProjectReference>
- <ProjectReference Include="..\VideoCommon\VideoCommon.vcxproj">
- <Project>{3e5c4e02-1ba9-4776-bdbe-e3f91ffa34cf}</Project>
- </ProjectReference>
- </ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="DolphinWX.rc" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project> \ No newline at end of file
diff --git a/Source/Core/DolphinWX/Dolphin.vcxproj.user b/Source/Core/DolphinWX/Dolphin.vcxproj.user
deleted file mode 100644
index ac67ec629b..0000000000
--- a/Source/Core/DolphinWX/Dolphin.vcxproj.user
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <LocalDebuggerWorkingDirectory>$(TargetDir)</LocalDebuggerWorkingDirectory>
- <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
- <LocalDebuggerCommandArguments>-d</LocalDebuggerCommandArguments>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <LocalDebuggerWorkingDirectory>$(TargetDir)</LocalDebuggerWorkingDirectory>
- <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <LocalDebuggerWorkingDirectory>$(TargetDir)</LocalDebuggerWorkingDirectory>
- <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <LocalDebuggerWorkingDirectory>$(TargetDir)</LocalDebuggerWorkingDirectory>
- <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
- <LocalDebuggerCommandArguments>-d</LocalDebuggerCommandArguments>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <LocalDebuggerWorkingDirectory>$(TargetDir)</LocalDebuggerWorkingDirectory>
- <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <LocalDebuggerWorkingDirectory>$(TargetDir)</LocalDebuggerWorkingDirectory>
- <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
- </PropertyGroup>
-</Project> \ No newline at end of file
diff --git a/Source/Core/DolphinWX/DolphinWX.vcxproj b/Source/Core/DolphinWX/DolphinWX.vcxproj
new file mode 100644
index 0000000000..14eacfd440
--- /dev/null
+++ b/Source/Core/DolphinWX/DolphinWX.vcxproj
@@ -0,0 +1,244 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Debug|x64">
+ <Configuration>Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <ProjectGuid>{47411FDB-1BF2-48D0-AB4E-C7C41160F898}</ProjectGuid>
+ <ProjectName>Dolphin</ProjectName>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <PlatformToolset>v120</PlatformToolset>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
+ <UseDebugLibraries>true</UseDebugLibraries>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
+ <UseDebugLibraries>false</UseDebugLibraries>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="..\..\VSProps\Base.props" />
+ <Import Project="..\..\VSProps\PrecompiledHeader.props" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <ItemDefinitionGroup>
+ <Link>
+ <BaseAddress>0x00400000</BaseAddress>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <FixedBaseAddress>true</FixedBaseAddress>
+ <AdditionalLibraryDirectories>..\..\..\Externals\SDL2-2.0.1\lib\$(PlatformName);..\..\..\Externals\OpenAL\$(PlatformName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>dsound.lib;iphlpapi.lib;winmm.lib;setupapi.lib;vfw32.lib;opengl32.lib;glu32.lib;rpcrt4.lib;comctl32.lib;OpenAL32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ <ResourceCompile>
+ <AdditionalIncludeDirectories>..\..\..\Externals\wxWidgets3\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ </ResourceCompile>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="Src\AboutDolphin.cpp" />
+ <ClCompile Include="Src\ARCodeAddEdit.cpp" />
+ <ClCompile Include="Src\CheatsWindow.cpp" />
+ <ClCompile Include="Src\ConfigMain.cpp" />
+ <ClCompile Include="Src\Debugger\BreakpointDlg.cpp" />
+ <ClCompile Include="Src\Debugger\BreakpointView.cpp" />
+ <ClCompile Include="Src\Debugger\BreakpointWindow.cpp" />
+ <ClCompile Include="Src\Debugger\CodeView.cpp" />
+ <ClCompile Include="Src\Debugger\CodeWindow.cpp" />
+ <ClCompile Include="Src\Debugger\CodeWindowFunctions.cpp" />
+ <ClCompile Include="Src\Debugger\DebuggerPanel.cpp" />
+ <ClCompile Include="Src\Debugger\DebuggerUIUtil.cpp" />
+ <ClCompile Include="Src\Debugger\DSPDebugWindow.cpp" />
+ <ClCompile Include="Src\Debugger\DSPRegisterView.cpp" />
+ <ClCompile Include="Src\Debugger\JitWindow.cpp" />
+ <ClCompile Include="Src\Debugger\MemoryCheckDlg.cpp" />
+ <ClCompile Include="Src\Debugger\MemoryView.cpp" />
+ <ClCompile Include="Src\Debugger\MemoryWindow.cpp" />
+ <ClCompile Include="Src\Debugger\RegisterView.cpp" />
+ <ClCompile Include="Src\Debugger\RegisterWindow.cpp" />
+ <ClCompile Include="Src\FifoPlayerDlg.cpp" />
+ <ClCompile Include="Src\Frame.cpp" />
+ <ClCompile Include="Src\FrameAui.cpp" />
+ <ClCompile Include="Src\FrameTools.cpp" />
+ <ClCompile Include="Src\GameListCtrl.cpp" />
+ <ClCompile Include="Src\GeckoCodeDiag.cpp" />
+ <ClCompile Include="Src\GLInterface\WGL.cpp" />
+ <ClCompile Include="Src\HotkeyDlg.cpp" />
+ <ClCompile Include="Src\InputConfigDiag.cpp" />
+ <ClCompile Include="Src\InputConfigDiagBitmaps.cpp" />
+ <ClCompile Include="Src\ISOFile.cpp" />
+ <ClCompile Include="Src\ISOProperties.cpp" />
+ <ClCompile Include="Src\LogConfigWindow.cpp" />
+ <ClCompile Include="Src\LogWindow.cpp" />
+ <ClCompile Include="Src\Main.cpp" />
+ <ClCompile Include="Src\MainNoGUI.cpp">
+ <ExcludedFromBuild>true</ExcludedFromBuild>
+ </ClCompile>
+ <ClCompile Include="Src\MemcardManager.cpp" />
+ <ClCompile Include="Src\MemoryCards\WiiSaveCrypted.cpp" />
+ <ClCompile Include="Src\NetWindow.cpp" />
+ <ClCompile Include="Src\PatchAddEdit.cpp" />
+ <ClCompile Include="Src\PHackSettings.cpp" />
+ <ClCompile Include="Src\stdafx.cpp">
+ <PrecompiledHeader>Create</PrecompiledHeader>
+ </ClCompile>
+ <ClCompile Include="Src\TASInputDlg.cpp" />
+ <ClCompile Include="Src\UDPConfigDiag.cpp" />
+ <ClCompile Include="Src\VideoConfigDiag.cpp" />
+ <ClCompile Include="Src\WiimoteConfigDiag.cpp" />
+ <ClCompile Include="Src\WXInputBase.cpp" />
+ <ClCompile Include="Src\WxUtils.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="resource.h" />
+ <ClInclude Include="Src\AboutDolphin.h" />
+ <ClInclude Include="Src\ARCodeAddEdit.h" />
+ <ClInclude Include="Src\CheatsWindow.h" />
+ <ClInclude Include="Src\ConfigMain.h" />
+ <ClInclude Include="Src\Debugger\BreakpointDlg.h" />
+ <ClInclude Include="Src\Debugger\BreakpointView.h" />
+ <ClInclude Include="Src\Debugger\BreakpointWindow.h" />
+ <ClInclude Include="Src\Debugger\CodeView.h" />
+ <ClInclude Include="Src\Debugger\CodeWindow.h" />
+ <ClInclude Include="Src\Debugger\DebuggerPanel.h" />
+ <ClInclude Include="Src\Debugger\DebuggerUIUtil.h" />
+ <ClInclude Include="Src\Debugger\DSPDebugWindow.h" />
+ <ClInclude Include="Src\Debugger\DSPRegisterView.h" />
+ <ClInclude Include="Src\Debugger\JitWindow.h" />
+ <ClInclude Include="Src\Debugger\MemoryCheckDlg.h" />
+ <ClInclude Include="Src\Debugger\MemoryView.h" />
+ <ClInclude Include="Src\Debugger\MemoryWindow.h" />
+ <ClInclude Include="Src\Debugger\RegisterView.h" />
+ <ClInclude Include="Src\Debugger\RegisterWindow.h" />
+ <ClInclude Include="Src\FifoPlayerDlg.h" />
+ <ClInclude Include="Src\Frame.h" />
+ <ClInclude Include="Src\GameListCtrl.h" />
+ <ClInclude Include="Src\GeckoCodeDiag.h" />
+ <ClInclude Include="Src\GLInterface.h" />
+ <ClInclude Include="Src\GLInterface\InterfaceBase.h" />
+ <ClInclude Include="Src\GLInterface\WGL.h" />
+ <ClInclude Include="Src\Globals.h" />
+ <ClInclude Include="Src\HotkeyDlg.h" />
+ <ClInclude Include="Src\InputConfigDiag.h" />
+ <ClInclude Include="Src\ISOFile.h" />
+ <ClInclude Include="Src\ISOProperties.h" />
+ <ClInclude Include="Src\LogConfigWindow.h" />
+ <ClInclude Include="Src\LogWindow.h" />
+ <ClInclude Include="Src\Main.h" />
+ <ClInclude Include="Src\MemcardManager.h" />
+ <ClInclude Include="Src\MemoryCards\WiiSaveCrypted.h" />
+ <ClInclude Include="Src\NetWindow.h" />
+ <ClInclude Include="Src\PatchAddEdit.h" />
+ <ClInclude Include="Src\PHackSettings.h" />
+ <ClInclude Include="Src\stdafx.h" />
+ <ClInclude Include="Src\TASInputDlg.h" />
+ <ClInclude Include="Src\UDPConfigDiag.h" />
+ <ClInclude Include="Src\VideoConfigDiag.h" />
+ <ClInclude Include="Src\WiimoteConfigDiag.h" />
+ <ClInclude Include="Src\WXInputBase.h" />
+ <ClInclude Include="Src\WxUtils.h" />
+ </ItemGroup>
+ <ItemGroup>
+ <Text Include="CMakeLists.txt" />
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="DolphinWX.rc" />
+ </ItemGroup>
+ <ItemGroup>
+ <Image Include="..\..\..\Installer\Dolphin.ico" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\..\..\Externals\Bochs_disasm\Bochs_disasm.vcxproj">
+ <Project>{8ada04d7-6db1-4da4-ab55-64fb12a0997b}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Externals\CLRun\clrun\CLRun.vcxproj">
+ <Project>{aa862e5e-a993-497a-b6a0-0e8e94b10050}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Externals\libpng\png\png.vcxproj">
+ <Project>{4c9f135b-a85e-430c-bad4-4c67ef5fc12c}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Externals\LZO\LZO.vcxproj">
+ <Project>{ab993f38-c31d-4897-b139-a620c42bc565}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Externals\miniupnpc\miniupnpc.vcxproj">
+ <Project>{31643fdb-1bb8-4965-9de7-000fc88d35ae}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Externals\SFML\build\vc2010\SFML_Network.vcxproj">
+ <Project>{93d73454-2512-424e-9cda-4bb357fe13dd}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Externals\wxWidgets3\build\msw\wx_base.vcxproj">
+ <Project>{1c8436c9-dbaf-42be-83bc-cf3ec9175abe}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Externals\zlib\zlib.vcxproj">
+ <Project>{ff213b23-2c26-4214-9f88-85271e557e87}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\AudioCommon\AudioCommon.vcxproj">
+ <Project>{54aa7840-5beb-4a0c-9452-74ba4cc7fd44}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\Common\Common.vcxproj">
+ <Project>{2e6c348c-c75c-4d94-8d1e-9c1fcbf3efe4}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\Common\SCMRevGen.vcxproj">
+ <Project>{41279555-f94f-4ebc-99de-af863c10c5c4}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\Core\Core.vcxproj">
+ <Project>{e54cf649-140e-4255-81a5-30a673c1fb36}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\DiscIO\DiscIO.vcxproj">
+ <Project>{160bdc25-5626-4b0d-bdd8-2953d9777fb5}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\InputCommon\InputCommon.vcxproj">
+ <Project>{6bbd47cf-91fd-4077-b676-8b76980178a9}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\VideoBackends\D3D\D3D.vcxproj">
+ <Project>{96020103-4ba5-4fd2-b4aa-5b6d24492d4e}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\VideoBackends\OGL\OGL.vcxproj">
+ <Project>{ec1a314c-5588-4506-9c1e-2e58e5817f75}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\VideoBackends\Software\Software.vcxproj">
+ <Project>{a4c423aa-f57c-46c7-a172-d1a777017d29}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\VideoCommon\VideoCommon.vcxproj">
+ <Project>{3de9ee35-3e91-4f27-a014-2866ad8c3fe3}</Project>
+ </ProjectReference>
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+ <!--Copy Exe, Data directory and DLLs which should be located in the executable directory-->
+ <ItemGroup>
+ <DataDirFiles Include="$(SolutionDir)..\Data\**\*.*" />
+ <ExternalDlls Include="$(ExternalsDir)OpenAL\$(PlatformName)\*.dll;$(ExternalsDir)SDL2-2.0.1\lib\$(PlatformName)\*.dll;$(ExternalsDir)msvcrt\$(PlatformName)\*.dll" />
+ <BinaryFiles Include="$(TargetPath)" />
+ <AllInputFiles Include="@(DataDirFiles);@(ExternalDlls);@(BinaryFiles)" />
+ </ItemGroup>
+ <Target Name="AfterBuild" Inputs="@(AllInputFiles)" Outputs="@(AllInputFiles -> '$(BinaryOutputDir)%(Filename)%(Extension)')">
+ <Message Text="Copying Data directory..." Importance="High" />
+ <Copy SourceFiles="@(DataDirFiles)" DestinationFolder="$(BinaryOutputDir)%(RecursiveDir)" />
+ <Message Text="Copying External .dlls" Importance="High" />
+ <Copy SourceFiles="@(ExternalDlls)" DestinationFolder="$(BinaryOutputDir)" />
+ <Message Text="Copy: @(BinaryFiles) -&gt; $(BinaryOutputDir)" Importance="High" />
+ <Copy SourceFiles="@(BinaryFiles)" DestinationFolder="$(BinaryOutputDir)" />
+ </Target>
+</Project> \ No newline at end of file
diff --git a/Source/Core/DolphinWX/Dolphin.vcxproj.filters b/Source/Core/DolphinWX/DolphinWX.vcxproj.filters
index 6c1f530015..94d3eab1ed 100644
--- a/Source/Core/DolphinWX/Dolphin.vcxproj.filters
+++ b/Source/Core/DolphinWX/DolphinWX.vcxproj.filters
@@ -1,16 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
+ <Filter Include="GUI">
+ <UniqueIdentifier>{0c0288ac-1168-4534-b3d3-051b9981f842}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="GUI\Debugger">
+ <UniqueIdentifier>{ef70fd67-8f30-467a-8af0-ea0d48837f04}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="GUI\InputConfig">
+ <UniqueIdentifier>{d0d9afb4-2b02-45c4-b6fc-91b9ae53a18c}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="GUI\NetPlay">
+ <UniqueIdentifier>{fb02111e-3fe2-4ded-a594-7a56048f97b5}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="GUI\Video">
+ <UniqueIdentifier>{80626e3b-e13b-41c3-bd63-4ef1faf92924}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="GUI\Saves">
+ <UniqueIdentifier>{7dc222d2-f1f0-44af-b4eb-76f6ca6cc29f}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Misc">
+ <UniqueIdentifier>{4352dc64-398e-4a96-ba4a-824dffa2004c}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Resources">
+ <UniqueIdentifier>{d6bc4dd6-06ed-46ad-b327-04afb26e10ec}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="Src\GLInterface\WGL.cpp" />
<ClCompile Include="Src\Main.cpp" />
<ClCompile Include="Src\MainNoGUI.cpp" />
- <ClCompile Include="Src\stdafx.cpp" />
<ClCompile Include="Src\WXInputBase.cpp" />
<ClCompile Include="Src\WxUtils.cpp" />
- <ClCompile Include="Src\MemoryCards\WiiSaveCrypted.cpp">
- <Filter>GUI\Saves</Filter>
+ <ClCompile Include="Src\Debugger\BreakpointDlg.cpp">
+ <Filter>GUI\Debugger</Filter>
</ClCompile>
- <ClCompile Include="Src\NetWindow.cpp">
- <Filter>GUI\NetPlay</Filter>
+ <ClCompile Include="Src\Debugger\BreakpointView.cpp">
+ <Filter>GUI\Debugger</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Debugger\BreakpointWindow.cpp">
+ <Filter>GUI\Debugger</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Debugger\CodeView.cpp">
+ <Filter>GUI\Debugger</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Debugger\CodeWindow.cpp">
+ <Filter>GUI\Debugger</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Debugger\CodeWindowFunctions.cpp">
+ <Filter>GUI\Debugger</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Debugger\DebuggerUIUtil.cpp">
+ <Filter>GUI\Debugger</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Debugger\MemoryView.cpp">
+ <Filter>GUI\Debugger</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Debugger\MemoryCheckDlg.cpp">
+ <Filter>GUI\Debugger</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Debugger\DSPDebugWindow.cpp">
+ <Filter>GUI\Debugger</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Debugger\DSPRegisterView.cpp">
+ <Filter>GUI\Debugger</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Debugger\JitWindow.cpp">
+ <Filter>GUI\Debugger</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Debugger\MemoryWindow.cpp">
+ <Filter>GUI\Debugger</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Debugger\RegisterView.cpp">
+ <Filter>GUI\Debugger</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Debugger\RegisterWindow.cpp">
+ <Filter>GUI\Debugger</Filter>
</ClCompile>
<ClCompile Include="Src\InputConfigDiag.cpp">
<Filter>GUI\InputConfig</Filter>
@@ -18,6 +83,21 @@
<ClCompile Include="Src\InputConfigDiagBitmaps.cpp">
<Filter>GUI\InputConfig</Filter>
</ClCompile>
+ <ClCompile Include="Src\NetWindow.cpp">
+ <Filter>GUI\NetPlay</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\MemoryCards\WiiSaveCrypted.cpp">
+ <Filter>GUI\Saves</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\Debugger\DebuggerPanel.cpp">
+ <Filter>GUI\Video</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\VideoConfigDiag.cpp">
+ <Filter>GUI\Video</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\ISOFile.cpp">
+ <Filter>Misc</Filter>
+ </ClCompile>
<ClCompile Include="Src\AboutDolphin.cpp">
<Filter>GUI</Filter>
</ClCompile>
@@ -30,6 +110,9 @@
<ClCompile Include="Src\ConfigMain.cpp">
<Filter>GUI</Filter>
</ClCompile>
+ <ClCompile Include="Src\FifoPlayerDlg.cpp">
+ <Filter>GUI</Filter>
+ </ClCompile>
<ClCompile Include="Src\Frame.cpp">
<Filter>GUI</Filter>
</ClCompile>
@@ -51,6 +134,9 @@
<ClCompile Include="Src\ISOProperties.cpp">
<Filter>GUI</Filter>
</ClCompile>
+ <ClCompile Include="Src\LogConfigWindow.cpp">
+ <Filter>GUI</Filter>
+ </ClCompile>
<ClCompile Include="Src\LogWindow.cpp">
<Filter>GUI</Filter>
</ClCompile>
@@ -60,107 +146,103 @@
<ClCompile Include="Src\PatchAddEdit.cpp">
<Filter>GUI</Filter>
</ClCompile>
- <ClCompile Include="Src\UDPConfigDiag.cpp">
+ <ClCompile Include="Src\PHackSettings.cpp">
<Filter>GUI</Filter>
</ClCompile>
- <ClCompile Include="Src\WiimoteConfigDiag.cpp">
+ <ClCompile Include="Src\TASInputDlg.cpp">
<Filter>GUI</Filter>
</ClCompile>
- <ClCompile Include="Src\ISOFile.cpp">
- <Filter>Misc</Filter>
- </ClCompile>
- <ClCompile Include="Src\PHackSettings.cpp">
+ <ClCompile Include="Src\UDPConfigDiag.cpp">
<Filter>GUI</Filter>
</ClCompile>
- <ClCompile Include="Src\Debugger\DebuggerUIUtil.cpp">
- <Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\VideoConfigDiag.cpp">
- <Filter>GUI\Video</Filter>
+ <ClCompile Include="Src\WiimoteConfigDiag.cpp">
+ <Filter>GUI</Filter>
</ClCompile>
- <ClCompile Include="Src\Debugger\CodeView.cpp">
+ <ClCompile Include="Src\stdafx.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="Src\GLInterface\InterfaceBase.h" />
+ <ClInclude Include="Src\GLInterface\WGL.h" />
+ <ClInclude Include="Src\GLInterface.h" />
+ <ClInclude Include="Src\Main.h" />
+ <ClInclude Include="Src\WXInputBase.h" />
+ <ClInclude Include="Src\WxUtils.h" />
+ <ClInclude Include="Src\Debugger\BreakpointDlg.h">
<Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\Debugger\MemoryView.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\Debugger\BreakpointView.h">
<Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\Debugger\DebuggerPanel.cpp">
- <Filter>GUI\Video</Filter>
- </ClCompile>
- <ClCompile Include="Src\Debugger\BreakpointDlg.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\Debugger\BreakpointWindow.h">
<Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\Debugger\BreakpointWindow.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\Debugger\CodeView.h">
<Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\Debugger\CodeWindow.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\Debugger\CodeWindow.h">
<Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\Debugger\CodeWindowFunctions.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\Debugger\DebuggerUIUtil.h">
<Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\Debugger\DSPDebugWindow.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\Debugger\MemoryView.h">
<Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\Debugger\JitWindow.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\Debugger\MemoryCheckDlg.h">
<Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\Debugger\MemoryCheckDlg.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\Debugger\DSPDebugWindow.h">
<Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\Debugger\MemoryWindow.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\Debugger\DSPRegisterView.h">
<Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\Debugger\RegisterWindow.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\Debugger\JitWindow.h">
<Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\Debugger\RegisterView.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\Debugger\MemoryWindow.h">
<Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\Debugger\DSPRegisterView.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\Debugger\RegisterView.h">
<Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\Debugger\BreakpointView.cpp">
+ </ClInclude>
+ <ClInclude Include="Src\Debugger\RegisterWindow.h">
<Filter>GUI\Debugger</Filter>
- </ClCompile>
- <ClCompile Include="Src\LogConfigWindow.cpp">
- <Filter>GUI</Filter>
- </ClCompile>
- <ClCompile Include="Src\FifoPlayerDlg.cpp">
- <Filter>GUI</Filter>
- </ClCompile>
- <ClCompile Include="Src\TASInputDlg.cpp">
- <Filter>GUI</Filter>
- </ClCompile>
- <ClCompile Include="Src\GLInterface\WGL.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="Src\Main.h" />
- <ClInclude Include="Src\stdafx.h" />
- <ClInclude Include="Src\WXInputBase.h" />
- <ClInclude Include="Src\WxUtils.h" />
- <ClInclude Include="Src\MemoryCards\WiiSaveCrypted.h">
- <Filter>GUI\Saves</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\InputConfigDiag.h">
+ <Filter>GUI\InputConfig</Filter>
</ClInclude>
<ClInclude Include="Src\NetWindow.h">
<Filter>GUI\NetPlay</Filter>
</ClInclude>
- <ClInclude Include="Src\InputConfigDiag.h">
- <Filter>GUI\InputConfig</Filter>
+ <ClInclude Include="Src\MemoryCards\WiiSaveCrypted.h">
+ <Filter>GUI\Saves</Filter>
</ClInclude>
- <ClInclude Include="Src\ARCodeAddEdit.h">
- <Filter>GUI</Filter>
+ <ClInclude Include="Src\Debugger\DebuggerPanel.h">
+ <Filter>GUI\Video</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\VideoConfigDiag.h">
+ <Filter>GUI\Video</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\ISOFile.h">
+ <Filter>Misc</Filter>
+ </ClInclude>
+ <ClInclude Include="resource.h">
+ <Filter>Resources</Filter>
</ClInclude>
<ClInclude Include="Src\AboutDolphin.h">
<Filter>GUI</Filter>
</ClInclude>
- <ClInclude Include="Src\ConfigMain.h">
+ <ClInclude Include="Src\ARCodeAddEdit.h">
<Filter>GUI</Filter>
</ClInclude>
<ClInclude Include="Src\CheatsWindow.h">
<Filter>GUI</Filter>
</ClInclude>
- <ClInclude Include="Src\GeckoCodeDiag.h">
+ <ClInclude Include="Src\ConfigMain.h">
+ <Filter>GUI</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\FifoPlayerDlg.h">
<Filter>GUI</Filter>
</ClInclude>
<ClInclude Include="Src\Frame.h">
@@ -169,6 +251,9 @@
<ClInclude Include="Src\GameListCtrl.h">
<Filter>GUI</Filter>
</ClInclude>
+ <ClInclude Include="Src\GeckoCodeDiag.h">
+ <Filter>GUI</Filter>
+ </ClInclude>
<ClInclude Include="Src\Globals.h">
<Filter>GUI</Filter>
</ClInclude>
@@ -178,6 +263,9 @@
<ClInclude Include="Src\ISOProperties.h">
<Filter>GUI</Filter>
</ClInclude>
+ <ClInclude Include="Src\LogConfigWindow.h">
+ <Filter>GUI</Filter>
+ </ClInclude>
<ClInclude Include="Src\LogWindow.h">
<Filter>GUI</Filter>
</ClInclude>
@@ -187,117 +275,31 @@
<ClInclude Include="Src\PatchAddEdit.h">
<Filter>GUI</Filter>
</ClInclude>
- <ClInclude Include="Src\UDPConfigDiag.h">
- <Filter>GUI</Filter>
- </ClInclude>
- <ClInclude Include="Src\WiimoteConfigDiag.h">
- <Filter>GUI</Filter>
- </ClInclude>
- <ClInclude Include="Src\ISOFile.h">
- <Filter>Misc</Filter>
- </ClInclude>
- <ClInclude Include="resource.h">
- <Filter>Resources</Filter>
- </ClInclude>
<ClInclude Include="Src\PHackSettings.h">
<Filter>GUI</Filter>
</ClInclude>
- <ClInclude Include="Src\Debugger\DebuggerUIUtil.h">
- <Filter>GUI\Debugger</Filter>
- </ClInclude>
- <ClInclude Include="Src\VideoConfigDiag.h">
- <Filter>GUI\Video</Filter>
- </ClInclude>
- <ClInclude Include="Src\Debugger\CodeView.h">
- <Filter>GUI\Debugger</Filter>
- </ClInclude>
- <ClInclude Include="Src\Debugger\MemoryView.h">
- <Filter>GUI\Debugger</Filter>
- </ClInclude>
- <ClInclude Include="Src\Debugger\DebuggerPanel.h">
- <Filter>GUI\Video</Filter>
- </ClInclude>
- <ClInclude Include="Src\Debugger\BreakpointDlg.h">
- <Filter>GUI\Debugger</Filter>
- </ClInclude>
- <ClInclude Include="Src\Debugger\BreakpointWindow.h">
- <Filter>GUI\Debugger</Filter>
- </ClInclude>
- <ClInclude Include="Src\Debugger\CodeWindow.h">
- <Filter>GUI\Debugger</Filter>
- </ClInclude>
- <ClInclude Include="Src\Debugger\DSPDebugWindow.h">
- <Filter>GUI\Debugger</Filter>
- </ClInclude>
- <ClInclude Include="Src\Debugger\JitWindow.h">
- <Filter>GUI\Debugger</Filter>
- </ClInclude>
- <ClInclude Include="Src\Debugger\MemoryCheckDlg.h">
- <Filter>GUI\Debugger</Filter>
- </ClInclude>
- <ClInclude Include="Src\Debugger\MemoryWindow.h">
- <Filter>GUI\Debugger</Filter>
- </ClInclude>
- <ClInclude Include="Src\Debugger\RegisterWindow.h">
- <Filter>GUI\Debugger</Filter>
- </ClInclude>
- <ClInclude Include="Src\Debugger\RegisterView.h">
- <Filter>GUI\Debugger</Filter>
- </ClInclude>
- <ClInclude Include="Src\Debugger\DSPRegisterView.h">
- <Filter>GUI\Debugger</Filter>
- </ClInclude>
- <ClInclude Include="Src\Debugger\BreakpointView.h">
- <Filter>GUI\Debugger</Filter>
- </ClInclude>
- <ClInclude Include="Src\LogConfigWindow.h">
+ <ClInclude Include="Src\TASInputDlg.h">
<Filter>GUI</Filter>
</ClInclude>
- <ClInclude Include="Src\FifoPlayerDlg.h">
+ <ClInclude Include="Src\UDPConfigDiag.h">
<Filter>GUI</Filter>
</ClInclude>
- <ClInclude Include="Src\TASInputDlg.h">
+ <ClInclude Include="Src\WiimoteConfigDiag.h">
<Filter>GUI</Filter>
</ClInclude>
- <ClInclude Include="Src\GLInterface.h" />
- <ClInclude Include="Src\GLInterface\InterfaceBase.h" />
- <ClInclude Include="Src\GLInterface\WGL.h" />
+ <ClInclude Include="Src\stdafx.h" />
</ItemGroup>
<ItemGroup>
- <None Include="CMakeLists.txt" />
- <None Include="..\..\..\Installer\Dolphin.ico">
- <Filter>Resources</Filter>
- </None>
- </ItemGroup>
- <ItemGroup>
- <Filter Include="GUI">
- <UniqueIdentifier>{2f20d058-1119-4738-bda8-90fe900e8d69}</UniqueIdentifier>
- </Filter>
- <Filter Include="GUI\InputConfig">
- <UniqueIdentifier>{70eb2f12-fab7-4953-8ad1-a981837c3a7e}</UniqueIdentifier>
- </Filter>
- <Filter Include="GUI\NetPlay">
- <UniqueIdentifier>{38fc863a-0392-4c5d-ab28-7fe1f70e8a70}</UniqueIdentifier>
- </Filter>
- <Filter Include="GUI\Saves">
- <UniqueIdentifier>{3727fb17-2efd-43ce-b71f-d110f0f40474}</UniqueIdentifier>
- </Filter>
- <Filter Include="Misc">
- <UniqueIdentifier>{0721c9ae-4d49-49d6-997b-3731f8ab64cc}</UniqueIdentifier>
- </Filter>
- <Filter Include="Resources">
- <UniqueIdentifier>{9dd3ef96-b03a-4c14-9d35-6a4850acd430}</UniqueIdentifier>
- </Filter>
- <Filter Include="GUI\Debugger">
- <UniqueIdentifier>{8ab1ce40-f5e7-47b8-9706-59c924af4eaa}</UniqueIdentifier>
- </Filter>
- <Filter Include="GUI\Video">
- <UniqueIdentifier>{ff5180be-244f-4c0e-8a35-bd4bffb6a343}</UniqueIdentifier>
- </Filter>
+ <Text Include="CMakeLists.txt" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="DolphinWX.rc">
<Filter>Resources</Filter>
</ResourceCompile>
</ItemGroup>
+ <ItemGroup>
+ <Image Include="..\..\..\Installer\Dolphin.ico">
+ <Filter>Resources</Filter>
+ </Image>
+ </ItemGroup>
</Project> \ No newline at end of file
diff --git a/Source/Core/DolphinWX/DolphinWX.vcxproj.user b/Source/Core/DolphinWX/DolphinWX.vcxproj.user
new file mode 100644
index 0000000000..ff24062772
--- /dev/null
+++ b/Source/Core/DolphinWX/DolphinWX.vcxproj.user
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <!--For some stupid reason this has to be in the .user file...-->
+ <LocalDebuggerCommand>$(BinaryOutputDir)$(TargetFileName)</LocalDebuggerCommand>
+ <LocalDebuggerWorkingDirectory>$(BinaryOutputDir)</LocalDebuggerWorkingDirectory>
+ <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
+ </PropertyGroup>
+</Project> \ No newline at end of file
diff --git a/Source/Core/DolphinWX/Src/ARCodeAddEdit.cpp b/Source/Core/DolphinWX/Src/ARCodeAddEdit.cpp
index 3e02c96272..d3dacf5fdf 100644
--- a/Source/Core/DolphinWX/Src/ARCodeAddEdit.cpp
+++ b/Source/Core/DolphinWX/Src/ARCodeAddEdit.cpp
@@ -38,7 +38,7 @@ CARCodeAddEdit::CARCodeAddEdit(int _selection, wxWindow* parent, wxWindowID id,
EditCheatName = new wxTextCtrl(this, ID_EDITCHEAT_NAME, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
EditCheatName->SetValue(currentName);
EntrySelection = new wxSpinButton(this, ID_ENTRY_SELECT, wxDefaultPosition, wxDefaultSize, wxVERTICAL);
- EntrySelection->SetRange(1, ((int)arCodes.size()) > 0 ? (int)arCodes.size() : 1);
+ EntrySelection->SetRange(1, ((int)arCodes.size()) > 0 ? (int)arCodes.size() : 1);
EntrySelection->SetValue((int)(arCodes.size() - selection));
EditCheatCode = new wxTextCtrl(this, ID_EDITCHEAT_CODE, wxEmptyString, wxDefaultPosition, wxSize(300, 100), wxTE_MULTILINE);
UpdateTextCtrl(tempEntries);
@@ -158,8 +158,8 @@ void CARCodeAddEdit::UpdateTextCtrl(ActionReplay::ARCode arCode)
if (arCode.name != "")
{
- for (u32 i = 0; i < arCode.ops.size(); i++)
- EditCheatCode->AppendText(wxString::Format(wxT("%08X %08X\n"), arCode.ops.at(i).cmd_addr, arCode.ops.at(i).value));
+ for (auto& op : arCode.ops)
+ EditCheatCode->AppendText(wxString::Format(wxT("%08X %08X\n"), op.cmd_addr, op.value));
}
else
{
diff --git a/Source/Core/DolphinWX/Src/Android/ButtonManager.cpp b/Source/Core/DolphinWX/Src/Android/ButtonManager.cpp
index a80e28f373..d7fa34e4e0 100644
--- a/Source/Core/DolphinWX/Src/Android/ButtonManager.cpp
+++ b/Source/Core/DolphinWX/Src/Android/ButtonManager.cpp
@@ -47,7 +47,7 @@ namespace ButtonManager
"InputL",
"InputR" };
const int configStringNum = 20;
-
+
void AddBind(std::string dev, sBind *bind)
{
auto it = m_controllers.find(dev);
@@ -93,9 +93,9 @@ namespace ButtonManager
{
hasbind = true;
type = BIND_AXIS;
- sscanf(value.c_str(), "Device '%[^\']'-Axis %d%c", dev, &bindnum, &modifier);
+ sscanf(value.c_str(), "Device '%[^\']'-Axis %d%c", dev, &bindnum, &modifier);
}
- else if (std::string::npos != value.find("Button"))
+ else if (std::string::npos != value.find("Button"))
{
hasbind = true;
type = BIND_BUTTON;
@@ -121,7 +121,7 @@ namespace ButtonManager
auto it = m_controllers.begin();
if (it == m_controllers.end())
return 0.0f;
- return it->second->AxisValue(axis);
+ return it->second->AxisValue(axis);
}
void TouchEvent(int button, int action)
{
@@ -168,7 +168,7 @@ namespace ButtonManager
{
// XXX: Make platform specific drawing
}
-
+
// InputDevice
void InputDevice::PressEvent(int button, int action)
{
@@ -195,8 +195,8 @@ namespace ButtonManager
return 0.0f;
if (it->second->m_bindtype == BIND_BUTTON)
return ButtonValue(axis);
- else
+ else
return m_axises[it->second->m_bind] * it->second->m_neg;
}
-
+
}
diff --git a/Source/Core/DolphinWX/Src/Android/ButtonManager.h b/Source/Core/DolphinWX/Src/Android/ButtonManager.h
index 4b284f83d0..2273b786f9 100644
--- a/Source/Core/DolphinWX/Src/Android/ButtonManager.h
+++ b/Source/Core/DolphinWX/Src/Android/ButtonManager.h
@@ -76,11 +76,11 @@ namespace ButtonManager
const BindType m_bindtype;
const int m_bind;
const float m_neg;
- sBind(ButtonType buttontype, BindType bindtype, int bind, float neg)
- : m_buttontype(buttontype), m_bindtype(bindtype), m_bind(bind), m_neg(neg)
+ sBind(ButtonType buttontype, BindType bindtype, int bind, float neg)
+ : m_buttontype(buttontype), m_bindtype(bindtype), m_bind(bind), m_neg(neg)
{}
};
-
+
class InputDevice
{
@@ -99,7 +99,7 @@ namespace ButtonManager
for (auto it = m_binds.begin(); it != m_binds.end(); ++it)
delete it->second;
}
- void AddBind(sBind *bind) { m_binds[bind->m_buttontype] = bind; }
+ void AddBind(sBind *bind) { m_binds[bind->m_buttontype] = bind; }
void PressEvent(int button, int action);
void AxisEvent(int axis, float value);
bool ButtonValue(ButtonType button);
diff --git a/Source/Core/DolphinWX/Src/Android/TextureLoader.cpp b/Source/Core/DolphinWX/Src/Android/TextureLoader.cpp
index 093370da78..de4c3ee093 100644
--- a/Source/Core/DolphinWX/Src/Android/TextureLoader.cpp
+++ b/Source/Core/DolphinWX/Src/Android/TextureLoader.cpp
@@ -40,7 +40,7 @@ char* LoadPNG(const char *filename, u32 &width, u32 &height)
/* Open the file. */
infile = fopen(filename, "rb");
- if (!infile)
+ if (!infile)
return NULL;
/*
@@ -55,8 +55,8 @@ char* LoadPNG(const char *filename, u32 &width, u32 &height)
return NULL;
}
- /*
- * Set up the PNG structs
+ /*
+ * Set up the PNG structs
*/
png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
if (!png_ptr) {
@@ -73,7 +73,7 @@ char* LoadPNG(const char *filename, u32 &width, u32 &height)
/*
- * block to handle libpng errors,
+ * block to handle libpng errors,
* then check whether the PNG file had a bKGD chunk
*/
if (setjmp(png_jmpbuf(png_ptr))) {
@@ -82,16 +82,16 @@ char* LoadPNG(const char *filename, u32 &width, u32 &height)
return NULL;
}
- /*
- * takes our file stream pointer (infile) and
+ /*
+ * takes our file stream pointer (infile) and
* stores it in the png_ptr struct for later use.
*/
/* png_ptr->io_ptr = (png_voidp)infile;*/
png_init_io(png_ptr, infile);
/*
- * lets libpng know that we already checked the 8
- * signature bytes, so it should not expect to find
+ * lets libpng know that we already checked the 8
+ * signature bytes, so it should not expect to find
* them at the current file pointer location
*/
png_set_sig_bytes(png_ptr, 8);
@@ -99,25 +99,25 @@ char* LoadPNG(const char *filename, u32 &width, u32 &height)
/* Read the image */
/*
- * reads and processes not only the PNG file's IHDR chunk
- * but also any other chunks up to the first IDAT
+ * reads and processes not only the PNG file's IHDR chunk
+ * but also any other chunks up to the first IDAT
* (i.e., everything before the image data).
*/
/* read all the info up to the image data */
png_read_info(png_ptr, info_ptr);
- png_get_IHDR(png_ptr, info_ptr, &_width, &_height, &bit_depth,
+ png_get_IHDR(png_ptr, info_ptr, &_width, &_height, &bit_depth,
&color_type, NULL, NULL, NULL);
/* Set up some transforms. */
- if (bit_depth > 8)
+ if (bit_depth > 8)
png_set_strip_16(png_ptr);
-
- if (color_type == PNG_COLOR_TYPE_GRAY || color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
+
+ if (color_type == PNG_COLOR_TYPE_GRAY || color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
png_set_gray_to_rgb(png_ptr);
- if (color_type == PNG_COLOR_TYPE_PALETTE)
+ if (color_type == PNG_COLOR_TYPE_PALETTE)
png_set_palette_to_rgb(png_ptr);
/* Update the png info struct.*/
diff --git a/Source/Core/DolphinWX/Src/CheatsWindow.cpp b/Source/Core/DolphinWX/Src/CheatsWindow.cpp
index 413713b4ae..8bea682734 100644
--- a/Source/Core/DolphinWX/Src/CheatsWindow.cpp
+++ b/Source/Core/DolphinWX/Src/CheatsWindow.cpp
@@ -73,7 +73,7 @@ void wxCheatsWindow::Init_ChildControls()
sizer_tab_cheats->Add(m_CheckListBox_CheatsList, 1, wxEXPAND | wxTOP | wxBOTTOM | wxLEFT, 10);
sizer_tab_cheats->Add(sGroupBoxInfo, 0, wxALIGN_LEFT | wxEXPAND | wxALL, 5);
- m_Tab_Cheats->SetSizerAndFit(sizer_tab_cheats);
+ m_Tab_Cheats->SetSizerAndFit(sizer_tab_cheats);
// $ Cheat Search Tab
wxPanel* const tab_cheat_search = new CheatSearchTab(m_Notebook_Main);
@@ -594,7 +594,7 @@ CreateCodeDialog::CreateCodeDialog(wxWindow* const parent, const u32 address)
sizer_main->Add(textctrl_code, 0, wxALL, 5);
sizer_main->Add(sizer_value_label, 0, wxALL, 5);
sizer_main->Add(textctrl_value, 0, wxALL, 5);
- sizer_main->Add(CreateButtonSizer(wxOK | wxCANCEL | wxNO_DEFAULT), 0, wxALL, 5);
+ sizer_main->Add(CreateButtonSizer(wxOK | wxCANCEL | wxNO_DEFAULT), 0, wxALL, 5);
Bind(wxEVT_COMMAND_BUTTON_CLICKED, &CreateCodeDialog::PressOK, this, wxID_OK);
Bind(wxEVT_COMMAND_BUTTON_CLICKED, &CreateCodeDialog::PressCancel, this, wxID_CANCEL);
diff --git a/Source/Core/DolphinWX/Src/ConfigMain.cpp b/Source/Core/DolphinWX/Src/ConfigMain.cpp
index a301534522..0dfa714318 100644
--- a/Source/Core/DolphinWX/Src/ConfigMain.cpp
+++ b/Source/Core/DolphinWX/Src/ConfigMain.cpp
@@ -103,7 +103,7 @@ static const wxLanguage langIds[] =
#define WXSTR_TRANS(a) wxString(wxGetTranslation(wxT(a)))
#ifdef WIN32
//only used with xgettext to be picked up as translatable string.
-//win32 does not have wx on its path, the provided wxALL_FILES
+//win32 does not have wx on its path, the provided wxALL_FILES
//translation does not work there.
#define unusedALL_FILES wxTRANSLATE("All files (*.*)|*.*");
#endif
@@ -185,9 +185,9 @@ CConfigMain::CConfigMain(wxWindow* parent, wxWindowID id, const wxString& title,
CreateGUIControls();
// Update selected ISO paths
- for(u32 i = 0; i < SConfig::GetInstance().m_ISOFolder.size(); i++)
+ for(auto& folder : SConfig::GetInstance().m_ISOFolder)
{
- ISOPaths->Append(StrToWxStr(SConfig::GetInstance().m_ISOFolder[i]));
+ ISOPaths->Append(StrToWxStr(folder));
}
}
@@ -216,7 +216,7 @@ void CConfigMain::UpdateGUI()
CPUThread->Disable();
SkipIdle->Disable();
EnableCheats->Disable();
-
+
CPUEngine->Disable();
_NTSCJ->Disable();
@@ -251,14 +251,14 @@ void CConfigMain::InitializeGUILists()
arrayStringFor_Framelimit.Add(wxString::Format(wxT("%i"), i));
// Emulator Engine
- for (unsigned int a = 0; a < (sizeof(CPUCores) / sizeof(CPUCore)); ++a)
- arrayStringFor_CPUEngine.Add(wxGetTranslation(CPUCores[a].name));
-
- // DSP Engine
+ for (auto& CPUCores_a : CPUCores)
+ arrayStringFor_CPUEngine.Add(wxGetTranslation(CPUCores_a.name));
+
+ // DSP Engine
arrayStringFor_DSPEngine.Add(_("DSP HLE emulation (fast)"));
arrayStringFor_DSPEngine.Add(_("DSP LLE recompiler"));
arrayStringFor_DSPEngine.Add(_("DSP LLE interpreter (slow)"));
-
+
// Gamecube page
// GC Language arrayStrings
arrayStringFor_GCSystemLang.Add(_("English"));
@@ -268,16 +268,16 @@ void CConfigMain::InitializeGUILists()
arrayStringFor_GCSystemLang.Add(_("Italian"));
arrayStringFor_GCSystemLang.Add(_("Dutch"));
-
+
// Wii page
// Sensorbar Position
arrayStringFor_WiiSensBarPos.Add(_("Bottom"));
arrayStringFor_WiiSensBarPos.Add(_("Top"));
-
+
// Aspect ratio
arrayStringFor_WiiAspectRatio.Add(wxT("4:3"));
arrayStringFor_WiiAspectRatio.Add(wxT("16:9"));
-
+
// Wii Language arrayStrings
arrayStringFor_WiiSystemLang = arrayStringFor_GCSystemLang;
arrayStringFor_WiiSystemLang.Insert(_("Japanese"), 0);
@@ -318,7 +318,7 @@ void CConfigMain::InitializeGUILists()
void CConfigMain::InitializeGUIValues()
{
const SCoreStartupParameter& startup_params = SConfig::GetInstance().m_LocalCoreStartupParameter;
-
+
// General - Basic
CPUThread->SetValue(startup_params.bCPUThread);
SkipIdle->SetValue(startup_params.bSkipIdle);
@@ -473,7 +473,7 @@ void CConfigMain::InitializeGUIValues()
WiiEuRGB60->SetValue(!!SConfig::GetInstance().m_SYSCONF->GetData<u8>("IPL.E60"));
WiiAspectRatio->SetSelection(SConfig::GetInstance().m_SYSCONF->GetData<u8>("IPL.AR"));
WiiSystemLang->SetSelection(SConfig::GetInstance().m_SYSCONF->GetData<u8>("IPL.LNG"));
-
+
// Wii - Devices
WiiSDCard->SetValue(SConfig::GetInstance().m_WiiSDCard);
WiiKeyboard->SetValue(SConfig::GetInstance().m_WiiKeyboard);
@@ -525,7 +525,7 @@ void CConfigMain::InitializeGUITooltips()
void CConfigMain::CreateGUIControls()
{
InitializeGUILists();
-
+
// Create the notebook and pages
Notebook = new wxNotebook(this, ID_NOTEBOOK, wxDefaultPosition, wxDefaultSize);
wxPanel* const GeneralPage = new wxPanel(Notebook, ID_GENERALPAGE, wxDefaultPosition, wxDefaultSize);
@@ -613,7 +613,7 @@ void CConfigMain::CreateGUIControls()
if (-1 == theme_selection->FindString(wxname))
theme_selection->Append(wxname);
});
-
+
theme_selection->SetStringSelection(StrToWxStr(SConfig::GetInstance().m_LocalCoreStartupParameter.theme_name));
// std::function = avoid error on msvc
@@ -639,7 +639,7 @@ void CConfigMain::CreateGUIControls()
sDisplayPage->Add(sbInterface, 0, wxEXPAND | wxALL, 5);
DisplayPage->SetSizer(sDisplayPage);
-
+
// Audio page
DSPEngine = new wxRadioBox(AudioPage, ID_DSPENGINE, _("DSP Emulator Engine"),
wxDefaultPosition, wxDefaultSize, arrayStringFor_DSPEngine, 0, wxRA_SPECIFY_ROWS);
@@ -796,7 +796,7 @@ void CConfigMain::CreateGUIControls()
sWiiPage->Add(sbWiiDeviceSettings, 0, wxEXPAND|wxALL, 5);
WiiPage->SetSizer(sWiiPage);
-
+
// Paths page
ISOPaths = new wxListBox(PathsPage, ID_ISOPATHS, wxDefaultPosition, wxDefaultSize, arrayStringFor_ISOPaths, wxLB_SINGLE, wxDefaultValidator);
RecursiveISOPath = new wxCheckBox(PathsPage, ID_RECURSIVEISOPATH, _("Search Subfolders"), wxDefaultPosition, wxDefaultSize, 0, wxDefaultValidator);
@@ -988,7 +988,7 @@ void CConfigMain::AddAudioBackends()
{
std::vector<std::string> backends = AudioCommon::GetSoundBackends();
// I'm sure Billiard will change this into an auto sometimes soon :P
- for (std::vector<std::string>::const_iterator iter = backends.begin();
+ for (std::vector<std::string>::const_iterator iter = backends.begin();
iter != backends.end(); ++iter)
{
BackendSelection->Append(wxGetTranslation(StrToWxStr(*iter)));
diff --git a/Source/Core/DolphinWX/Src/ConfigMain.h b/Source/Core/DolphinWX/Src/ConfigMain.h
index 094fb6df85..1624254003 100644
--- a/Source/Core/DolphinWX/Src/ConfigMain.h
+++ b/Source/Core/DolphinWX/Src/ConfigMain.h
@@ -124,7 +124,7 @@ private:
wxCheckBox* EnableCheats;
wxChoice* Framelimit;
wxCheckBox* UseFPSForLimiting;
-
+
// Advanced
wxCheckBox* EnableOpenCL;
wxRadioBox* CPUEngine;
diff --git a/Source/Core/DolphinWX/Src/Debugger/BreakpointDlg.h b/Source/Core/DolphinWX/Src/Debugger/BreakpointDlg.h
index b5d6248e6f..208f1038b9 100644
--- a/Source/Core/DolphinWX/Src/Debugger/BreakpointDlg.h
+++ b/Source/Core/DolphinWX/Src/Debugger/BreakpointDlg.h
@@ -14,7 +14,7 @@ class BreakPointDlg : public wxDialog
{
public:
BreakPointDlg(CBreakPointWindow *_Parent);
-
+
private:
CBreakPointWindow *Parent;
wxTextCtrl *m_pEditAddress;
diff --git a/Source/Core/DolphinWX/Src/Debugger/BreakpointView.cpp b/Source/Core/DolphinWX/Src/Debugger/BreakpointView.cpp
index c3d366c1dc..c23412e7ad 100644
--- a/Source/Core/DolphinWX/Src/Debugger/BreakpointView.cpp
+++ b/Source/Core/DolphinWX/Src/Debugger/BreakpointView.cpp
@@ -32,9 +32,8 @@ void CBreakPointView::Update()
char szBuffer[64];
const BreakPoints::TBreakPoints& rBreakPoints = PowerPC::breakpoints.GetBreakPoints();
- for (size_t i = 0; i < rBreakPoints.size(); i++)
+ for (const auto& rBP : rBreakPoints)
{
- const TBreakPoint& rBP = rBreakPoints[i];
if (!rBP.bTemporary)
{
wxString temp;
@@ -42,14 +41,14 @@ void CBreakPointView::Update()
int Item = InsertItem(0, temp);
temp = StrToWxStr("BP");
SetItem(Item, 1, temp);
-
+
Symbol *symbol = g_symbolDB.GetSymbolFromAddr(rBP.iAddress);
if (symbol)
{
temp = StrToWxStr(g_symbolDB.GetDescription(rBP.iAddress));
SetItem(Item, 2, temp);
}
-
+
sprintf(szBuffer, "%08x", rBP.iAddress);
temp = StrToWxStr(szBuffer);
SetItem(Item, 3, temp);
@@ -59,10 +58,8 @@ void CBreakPointView::Update()
}
const MemChecks::TMemChecks& rMemChecks = PowerPC::memchecks.GetMemChecks();
- for (size_t i = 0; i < rMemChecks.size(); i++)
+ for (const auto& rMemCheck : rMemChecks)
{
- const TMemCheck& rMemCheck = rMemChecks[i];
-
wxString temp;
temp = StrToWxStr((rMemCheck.Break || rMemCheck.Log) ? "on" : " ");
int Item = InsertItem(0, temp);
diff --git a/Source/Core/DolphinWX/Src/Debugger/BreakpointWindow.cpp b/Source/Core/DolphinWX/Src/Debugger/BreakpointWindow.cpp
index 0dfd614853..7a2f91ccf2 100644
--- a/Source/Core/DolphinWX/Src/Debugger/BreakpointWindow.cpp
+++ b/Source/Core/DolphinWX/Src/Debugger/BreakpointWindow.cpp
@@ -176,10 +176,10 @@ void CBreakPointWindow::LoadAll(wxCommandEvent& WXUNUSED(event))
IniFile ini;
BreakPoints::TBreakPointsStr newbps;
MemChecks::TMemChecksStr newmcs;
-
+
if (!ini.Load(File::GetUserPath(F_DEBUGGERCONFIG_IDX)))
return;
-
+
if (ini.GetLines("BreakPoints", newbps, false))
PowerPC::breakpoints.AddFromStrings(newbps);
if (ini.GetLines("MemoryChecks", newmcs, false))
diff --git a/Source/Core/DolphinWX/Src/Debugger/CodeView.cpp b/Source/Core/DolphinWX/Src/Debugger/CodeView.cpp
index bcfb1ab586..b4d6c4378d 100644
--- a/Source/Core/DolphinWX/Src/Debugger/CodeView.cpp
+++ b/Source/Core/DolphinWX/Src/Debugger/CodeView.cpp
@@ -269,7 +269,7 @@ void CCodeView::OnPopupMenu(wxCommandEvent& event)
case IDM_JITRESULTS:
debugger->showJitResults(selection);
break;
-
+
case IDM_FOLLOWBRANCH:
{
u32 dest = AddrToBranch(selection);
@@ -280,7 +280,7 @@ void CCodeView::OnPopupMenu(wxCommandEvent& event)
}
}
break;
-
+
case IDM_ADDFUNCTION:
symbol_db->AddFunction(selection);
Host_NotifyMapLoaded();
@@ -378,7 +378,7 @@ void CCodeView::OnPaint(wxPaintEvent& event)
// --------------------------------------------------------------------
// Colors and brushes
- // -------------------------
+ // -------------------------
dc.SetBackgroundMode(wxTRANSPARENT); // the text background
const wxChar* bgColor = _T("#ffffff");
wxPen nullPen(bgColor);
@@ -387,7 +387,7 @@ void CCodeView::OnPaint(wxPaintEvent& event)
nullPen.SetStyle(wxTRANSPARENT);
currentPen.SetStyle(wxSOLID);
wxBrush currentBrush(_T("#FFEfE8")); // light gray
- wxBrush pcBrush(_T("#70FF70")); // green
+ wxBrush pcBrush(_T("#70FF70")); // green
wxBrush bpBrush(_T("#FF3311")); // red
wxBrush bgBrush(bgColor);
@@ -526,7 +526,7 @@ void CCodeView::OnPaint(wxPaintEvent& event)
// Colors and brushes
// -------------------------
dc.SetPen(currentPen);
-
+
for (int i = 0; i < numBranches; i++)
{
int x = 17 + 49 * charWidth + (branches[i].srcAddr % 9) * 8;
diff --git a/Source/Core/DolphinWX/Src/Debugger/CodeView.h b/Source/Core/DolphinWX/Src/Debugger/CodeView.h
index 5618abf4d7..fcd3164eec 100644
--- a/Source/Core/DolphinWX/Src/Debugger/CodeView.h
+++ b/Source/Core/DolphinWX/Src/Debugger/CodeView.h
@@ -34,7 +34,7 @@ public:
void InsertBlrNop(int);
u32 GetSelection() {return(selection);}
- void ToggleBreakpoint(u32 address);
+ void ToggleBreakpoint(u32 address);
struct BlrStruct // for IDM_INSERTBLR
{
diff --git a/Source/Core/DolphinWX/Src/Debugger/CodeWindow.cpp b/Source/Core/DolphinWX/Src/Debugger/CodeWindow.cpp
index 17e66337d2..3a6c9d4f42 100644
--- a/Source/Core/DolphinWX/Src/Debugger/CodeWindow.cpp
+++ b/Source/Core/DolphinWX/Src/Debugger/CodeWindow.cpp
@@ -296,9 +296,9 @@ void CCodeWindow::UpdateLists()
if (!symbol)
return;
- for (int i = 0; i < (int)symbol->callers.size(); i++)
+ for (auto& call : symbol->callers)
{
- u32 caller_addr = symbol->callers[i].callAddress;
+ u32 caller_addr = call.callAddress;
Symbol *caller_symbol = g_symbolDB.GetSymbolFromAddr(caller_addr);
if (caller_symbol)
{
@@ -309,9 +309,9 @@ void CCodeWindow::UpdateLists()
}
calls->Clear();
- for (int i = 0; i < (int)symbol->calls.size(); i++)
+ for (auto& call : symbol->calls)
{
- u32 call_addr = symbol->calls[i].function;
+ u32 call_addr = call.function;
Symbol *call_symbol = g_symbolDB.GetSymbolFromAddr(call_addr);
if (call_symbol)
{
@@ -332,10 +332,10 @@ void CCodeWindow::UpdateCallstack()
bool ret = Dolphin_Debugger::GetCallstack(stack);
- for (size_t i = 0; i < stack.size(); i++)
+ for (auto& frame : stack)
{
- int idx = callstack->Append(StrToWxStr(stack[i].Name));
- callstack->SetClientData(idx, (void*)(u64)stack[i].vAddress);
+ int idx = callstack->Append(StrToWxStr(frame.Name));
+ callstack->SetClientData(idx, (void*)(u64)frame.vAddress);
}
if (!ret)
@@ -348,20 +348,20 @@ void CCodeWindow::CreateMenu(const SCoreStartupParameter& _LocalCoreStartupParam
// CPU Mode
wxMenu* pCoreMenu = new wxMenu;
- wxMenuItem* interpreter = pCoreMenu->Append(IDM_INTERPRETER, _("&Interpreter core"),
+ wxMenuItem* interpreter = pCoreMenu->Append(IDM_INTERPRETER, _("&Interpreter core"),
StrToWxStr("This is necessary to get break points"
" and stepping to work as explained in the Developer Documentation. But it can be very"
- " slow, perhaps slower than 1 fps."),
+ " slow, perhaps slower than 1 fps."),
wxITEM_CHECK);
interpreter->Check(_LocalCoreStartupParameter.iCPUCore == 0);
pCoreMenu->AppendSeparator();
pCoreMenu->Append(IDM_JITBLOCKLINKING, _("&JIT Block Linking off"),
- _("Provide safer execution by not linking the JIT blocks."),
+ _("Provide safer execution by not linking the JIT blocks."),
wxITEM_CHECK);
pCoreMenu->Append(IDM_JITNOBLOCKCACHE, _("&Disable JIT Cache"),
- _("Avoid any involuntary JIT cache clearing, this may prevent Zelda TP from crashing.\n[This option must be selected before a game is started.]"),
+ _("Avoid any involuntary JIT cache clearing, this may prevent Zelda TP from crashing.\n[This option must be selected before a game is started.]"),
wxITEM_CHECK);
pCoreMenu->Append(IDM_CLEARCODECACHE, _("&Clear JIT cache"));
@@ -412,17 +412,17 @@ void CCodeWindow::CreateMenu(const SCoreStartupParameter& _LocalCoreStartupParam
void CCodeWindow::CreateMenuOptions(wxMenu* pMenu)
{
wxMenuItem* boottopause = pMenu->Append(IDM_BOOTTOPAUSE, _("Boot to pause"),
- _("Start the game directly instead of booting to pause"),
+ _("Start the game directly instead of booting to pause"),
wxITEM_CHECK);
boottopause->Check(bBootToPause);
- wxMenuItem* automaticstart = pMenu->Append(IDM_AUTOMATICSTART, _("&Automatic start"),
+ wxMenuItem* automaticstart = pMenu->Append(IDM_AUTOMATICSTART, _("&Automatic start"),
StrToWxStr(
"Automatically load the Default ISO when Dolphin starts, or the last game you loaded,"
" if you have not given it an elf file with the --elf command line. [This can be"
" convenient if you are bug-testing with a certain game and want to rebuild"
" and retry it several times, either with changes to Dolphin or if you are"
- " developing a homebrew game.]"),
+ " developing a homebrew game.]"),
wxITEM_CHECK);
automaticstart->Check(bAutomaticStart);
@@ -480,7 +480,7 @@ void CCodeWindow::OnCPUMode(wxCommandEvent& event)
// Clear the JIT cache to enable these changes
JitInterface::ClearCache();
-
+
// Update
UpdateButtonStates();
}
@@ -552,8 +552,8 @@ void CCodeWindow::InitBitmaps()
m_Bitmaps[Toolbar_SetPC] = wxGetBitmapFromMemory(toolbar_add_memcheck_png);
// scale to 24x24 for toolbar
- for (size_t n = 0; n < ToolbarDebugBitmapMax; n++)
- m_Bitmaps[n] = wxBitmap(m_Bitmaps[n].ConvertToImage().Scale(24, 24));
+ for (auto& bitmap : m_Bitmaps)
+ bitmap = wxBitmap(bitmap.ConvertToImage().Scale(24, 24));
}
void CCodeWindow::PopulateToolbar(wxAuiToolBar* toolBar)
diff --git a/Source/Core/DolphinWX/Src/Debugger/CodeWindowFunctions.cpp b/Source/Core/DolphinWX/Src/Debugger/CodeWindowFunctions.cpp
index d9fe275abd..3582866c48 100644
--- a/Source/Core/DolphinWX/Src/Debugger/CodeWindowFunctions.cpp
+++ b/Source/Core/DolphinWX/Src/Debugger/CodeWindowFunctions.cpp
@@ -108,7 +108,7 @@ void CCodeWindow::Save()
"Registers",
"Breakpoints",
"Memory",
- "JIT",
+ "JIT",
"Sound",
"Video",
"Code"
diff --git a/Source/Core/DolphinWX/Src/Debugger/DSPDebugWindow.cpp b/Source/Core/DolphinWX/Src/Debugger/DSPDebugWindow.cpp
index d5e589c09b..3be7432eca 100644
--- a/Source/Core/DolphinWX/Src/Debugger/DSPDebugWindow.cpp
+++ b/Source/Core/DolphinWX/Src/Debugger/DSPDebugWindow.cpp
@@ -19,7 +19,7 @@
DSPDebuggerLLE* m_DebuggerFrame = NULL;
-BEGIN_EVENT_TABLE(DSPDebuggerLLE, wxPanel)
+BEGIN_EVENT_TABLE(DSPDebuggerLLE, wxPanel)
EVT_CLOSE(DSPDebuggerLLE::OnClose)
EVT_MENU_RANGE(ID_RUNTOOL, ID_SHOWPCTOOL, DSPDebuggerLLE::OnChangeState)
EVT_TEXT_ENTER(ID_ADDRBOX, DSPDebuggerLLE::OnAddrBoxChange)
diff --git a/Source/Core/DolphinWX/Src/Debugger/DebuggerPanel.cpp b/Source/Core/DolphinWX/Src/Debugger/DebuggerPanel.cpp
index a12e4d638a..eea0bf9426 100644
--- a/Source/Core/DolphinWX/Src/Debugger/DebuggerPanel.cpp
+++ b/Source/Core/DolphinWX/Src/Debugger/DebuggerPanel.cpp
@@ -68,7 +68,7 @@ void GFXDebuggerPanel::SaveSettings() const
// TODO: get the screen resolution and make limits from that
if (GetPosition().x < 1000 && GetPosition().y < 1000
- && GetSize().GetWidth() < 1000
+ && GetSize().GetWidth() < 1000
&& GetSize().GetHeight() < 1000)
{
file.Set("VideoWindow", "x", GetPosition().x);
diff --git a/Source/Core/DolphinWX/Src/Debugger/DebuggerPanel.h b/Source/Core/DolphinWX/Src/Debugger/DebuggerPanel.h
index eac6734bc9..90d4773841 100644
--- a/Source/Core/DolphinWX/Src/Debugger/DebuggerPanel.h
+++ b/Source/Core/DolphinWX/Src/Debugger/DebuggerPanel.h
@@ -74,7 +74,7 @@ private:
ID_COUNT
};
- void OnClose(wxCloseEvent& event);
+ void OnClose(wxCloseEvent& event);
void CreateGUIControls();
void GeneralSettings(wxCommandEvent& event);
diff --git a/Source/Core/DolphinWX/Src/Debugger/MemoryCheckDlg.h b/Source/Core/DolphinWX/Src/Debugger/MemoryCheckDlg.h
index 9783869ffe..cc212fb88b 100644
--- a/Source/Core/DolphinWX/Src/Debugger/MemoryCheckDlg.h
+++ b/Source/Core/DolphinWX/Src/Debugger/MemoryCheckDlg.h
@@ -13,7 +13,7 @@ class MemoryCheckDlg : public wxDialog
{
public:
MemoryCheckDlg(CBreakPointWindow *parent);
-
+
private:
CBreakPointWindow *m_parent;
wxCheckBox* m_pReadFlag;
diff --git a/Source/Core/DolphinWX/Src/Debugger/MemoryView.cpp b/Source/Core/DolphinWX/Src/Debugger/MemoryView.cpp
index 7c5225a05d..56a5c4c493 100644
--- a/Source/Core/DolphinWX/Src/Debugger/MemoryView.cpp
+++ b/Source/Core/DolphinWX/Src/Debugger/MemoryView.cpp
@@ -294,9 +294,9 @@ void CMemoryView::OnPaint(wxPaintEvent& event)
(mem_data&0xff0000)>>16,
(mem_data&0xff00)>>8,
mem_data&0xff};
- for (size_t i = 0; i < 4; i++)
- if (a[i] == '\0')
- a[i] = ' ';
+ for (auto& word : a)
+ if (word == '\0')
+ word = ' ';
sprintf(dis, "%c%c%c%c", a[0], a[1], a[2], a[3]);
}
else if (viewAsType == VIEWAS_HEX)
@@ -314,31 +314,31 @@ void CMemoryView::OnPaint(wxPaintEvent& event)
debugger->readExtraMemory(memory, address+28)
};
- for (int i = 0; i < 8; i++)
+ for (auto& word : mema)
{
char buf[32] = "";
switch (dataType)
{
case 0:
sprintf(buf, " %02X %02X %02X %02X",
- ((mema[i]&0xff000000)>>24)&0xFF,
- ((mema[i]&0xff0000)>>16)&0xFF,
- ((mema[i]&0xff00)>>8)&0xFF,
- mema[i]&0xff);
+ ((word&0xff000000)>>24)&0xFF,
+ ((word&0xff0000)>>16)&0xFF,
+ ((word&0xff00)>>8)&0xFF,
+ word&0xff);
break;
case 1:
sprintf(buf, " %02X%02X %02X%02X",
- ((mema[i]&0xff000000)>>24)&0xFF,
- ((mema[i]&0xff0000)>>16)&0xFF,
- ((mema[i]&0xff00)>>8)&0xFF,
- mema[i]&0xff);
+ ((word&0xff000000)>>24)&0xFF,
+ ((word&0xff0000)>>16)&0xFF,
+ ((word&0xff00)>>8)&0xFF,
+ word&0xff);
break;
case 2:
sprintf(buf, " %02X%02X%02X%02X",
- ((mema[i]&0xff000000)>>24)&0xFF,
- ((mema[i]&0xff0000)>>16)&0xFF,
- ((mema[i]&0xff00)>>8)&0xFF,
- mema[i]&0xff);
+ ((word&0xff000000)>>24)&0xFF,
+ ((word&0xff0000)>>16)&0xFF,
+ ((word&0xff00)>>8)&0xFF,
+ word&0xff);
break;
}
strcat(dis, buf);
diff --git a/Source/Core/DolphinWX/Src/Debugger/MemoryWindow.cpp b/Source/Core/DolphinWX/Src/Debugger/MemoryWindow.cpp
index 99f80e0936..6e60451e07 100644
--- a/Source/Core/DolphinWX/Src/Debugger/MemoryWindow.cpp
+++ b/Source/Core/DolphinWX/Src/Debugger/MemoryWindow.cpp
@@ -238,7 +238,7 @@ void CMemoryWindow::OnDumpMemory( wxCommandEvent& event )
// Write exram (aram or mem2) to file
void CMemoryWindow::OnDumpMem2( wxCommandEvent& event )
-{
+{
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bWii)
{
DumpArray(File::GetUserPath(F_ARAMDUMP_IDX), Memory::m_pEXRAM, Memory::EXRAM_SIZE);
diff --git a/Source/Core/DolphinWX/Src/Debugger/RegisterView.cpp b/Source/Core/DolphinWX/Src/Debugger/RegisterView.cpp
index ac56b8e4cc..d059a908ae 100644
--- a/Source/Core/DolphinWX/Src/Debugger/RegisterView.cpp
+++ b/Source/Core/DolphinWX/Src/Debugger/RegisterView.cpp
@@ -33,7 +33,7 @@ static u32 GetSpecialRegValue(int reg)
case 8: return PowerPC::ppcState.Exceptions;
case 9: return ProcessorInterface::GetMask();
case 10: return ProcessorInterface::GetCause();
- default: return 0;
+ default: return 0;
}
}
@@ -154,7 +154,7 @@ wxGridCellAttr *CRegTable::GetAttr(int row, int col, wxGridCellAttr::wxAttrKind)
switch (col)
{
case 1: red = row < 32 ? m_CachedRegHasChanged[row] : m_CachedSpecialRegHasChanged[row-32]; break;
- case 3:
+ case 3:
case 4: red = row < 32 ? m_CachedFRegHasChanged[row][col-3] : false; break;
}
diff --git a/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp b/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp
index 63781008b3..0a957c7b06 100644
--- a/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp
+++ b/Source/Core/DolphinWX/Src/FifoPlayerDlg.cpp
@@ -74,75 +74,75 @@ void FifoPlayerDlg::CreateGUIControls()
{
wxBoxSizer* sMain;
sMain = new wxBoxSizer(wxVERTICAL);
-
+
m_Notebook = new wxNotebook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0);
{
m_PlayPage = new wxPanel(m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL);
wxBoxSizer* sPlayPage;
sPlayPage = new wxBoxSizer(wxVERTICAL);
-
+
wxStaticBoxSizer* sPlayInfo;
sPlayInfo = new wxStaticBoxSizer(new wxStaticBox(m_PlayPage, wxID_ANY, _("File Info")), wxVERTICAL);
-
+
m_NumFramesLabel = new wxStaticText(m_PlayPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
m_NumFramesLabel->Wrap(-1);
sPlayInfo->Add(m_NumFramesLabel, 0, wxALL, 5);
-
+
m_CurrentFrameLabel = new wxStaticText(m_PlayPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
m_CurrentFrameLabel->Wrap(-1);
sPlayInfo->Add(m_CurrentFrameLabel, 0, wxALL, 5);
-
+
m_NumObjectsLabel = new wxStaticText(m_PlayPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
m_NumObjectsLabel->Wrap(-1);
sPlayInfo->Add(m_NumObjectsLabel, 0, wxALL, 5);
-
+
sPlayPage->Add(sPlayInfo, 1, wxEXPAND, 5);
-
+
wxStaticBoxSizer* sFrameRange;
sFrameRange = new wxStaticBoxSizer(new wxStaticBox(m_PlayPage, wxID_ANY, _("Frame Range")), wxHORIZONTAL);
-
+
m_FrameFromLabel = new wxStaticText(m_PlayPage, wxID_ANY, _("From"), wxDefaultPosition, wxDefaultSize, 0);
m_FrameFromLabel->Wrap(-1);
sFrameRange->Add(m_FrameFromLabel, 0, wxALL, 5);
-
+
m_FrameFromCtrl = new wxSpinCtrl(m_PlayPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10, 0);
sFrameRange->Add(m_FrameFromCtrl, 0, wxALL, 5);
-
+
m_FrameToLabel = new wxStaticText(m_PlayPage, wxID_ANY, _("To"), wxDefaultPosition, wxDefaultSize, 0);
m_FrameToLabel->Wrap(-1);
sFrameRange->Add(m_FrameToLabel, 0, wxALL, 5);
-
+
m_FrameToCtrl = new wxSpinCtrl(m_PlayPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(-1,-1), wxSP_ARROW_KEYS, 0, 10, 0);
sFrameRange->Add(m_FrameToCtrl, 0, wxALL, 5);
-
+
sPlayPage->Add(sFrameRange, 0, wxEXPAND, 5);
-
+
wxStaticBoxSizer* sObjectRange;
sObjectRange = new wxStaticBoxSizer(new wxStaticBox(m_PlayPage, wxID_ANY, _("Object Range")), wxHORIZONTAL);
-
+
m_ObjectFromLabel = new wxStaticText(m_PlayPage, wxID_ANY, _("From"), wxDefaultPosition, wxDefaultSize, 0);
m_ObjectFromLabel->Wrap(-1);
sObjectRange->Add(m_ObjectFromLabel, 0, wxALL, 5);
-
+
m_ObjectFromCtrl = new wxSpinCtrl(m_PlayPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10000, 0);
sObjectRange->Add(m_ObjectFromCtrl, 0, wxALL, 5);
-
+
m_ObjectToLabel = new wxStaticText(m_PlayPage, wxID_ANY, _("To"), wxDefaultPosition, wxDefaultSize, 0);
m_ObjectToLabel->Wrap(-1);
sObjectRange->Add(m_ObjectToLabel, 0, wxALL, 5);
-
+
m_ObjectToCtrl = new wxSpinCtrl(m_PlayPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10000, 0);
sObjectRange->Add(m_ObjectToCtrl, 0, wxALL, 5);
-
+
sPlayPage->Add(sObjectRange, 0, wxEXPAND, 5);
-
+
wxStaticBoxSizer* sPlayOptions;
sPlayOptions = new wxStaticBoxSizer(new wxStaticBox(m_PlayPage, wxID_ANY, _("Playback Options")), wxVERTICAL);
-
+
m_EarlyMemoryUpdates = new wxCheckBox(m_PlayPage, wxID_ANY, _("Early Memory Updates"), wxDefaultPosition, wxDefaultSize, 0);
sPlayOptions->Add(m_EarlyMemoryUpdates, 0, wxALL, 5);
-
+
sPlayPage->Add(sPlayOptions, 0, wxEXPAND, 5);
sPlayPage->AddStretchSpacer();
@@ -156,46 +156,46 @@ void FifoPlayerDlg::CreateGUIControls()
m_RecordPage = new wxPanel(m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL);
wxBoxSizer* sRecordPage;
sRecordPage = new wxBoxSizer(wxVERTICAL);
-
+
wxStaticBoxSizer* sRecordInfo;
sRecordInfo = new wxStaticBoxSizer(new wxStaticBox(m_RecordPage, wxID_ANY, _("Recording Info")), wxVERTICAL);
-
+
m_RecordingFifoSizeLabel = new wxStaticText(m_RecordPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
m_RecordingFifoSizeLabel->Wrap(-1);
sRecordInfo->Add(m_RecordingFifoSizeLabel, 0, wxALL, 5);
-
+
m_RecordingMemSizeLabel = new wxStaticText(m_RecordPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
m_RecordingMemSizeLabel->Wrap(-1);
sRecordInfo->Add(m_RecordingMemSizeLabel, 0, wxALL, 5);
-
+
m_RecordingFramesLabel = new wxStaticText(m_RecordPage, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
m_RecordingFramesLabel->Wrap(-1);
sRecordInfo->Add(m_RecordingFramesLabel, 0, wxALL, 5);
-
+
sRecordPage->Add(sRecordInfo, 0, wxEXPAND, 5);
-
+
wxBoxSizer* sRecordButtons;
sRecordButtons = new wxBoxSizer(wxHORIZONTAL);
-
+
m_RecordStop = new wxButton(m_RecordPage, wxID_ANY, _("Record"), wxDefaultPosition, wxDefaultSize, 0);
sRecordButtons->Add(m_RecordStop, 0, wxALL, 5);
-
+
m_Save = new wxButton(m_RecordPage, wxID_ANY, _("Save"), wxDefaultPosition, wxDefaultSize, 0);
sRecordButtons->Add(m_Save, 0, wxALL, 5);
-
+
sRecordPage->Add(sRecordButtons, 0, wxEXPAND, 5);
-
+
wxStaticBoxSizer* sRecordingOptions;
sRecordingOptions = new wxStaticBoxSizer(new wxStaticBox(m_RecordPage, wxID_ANY, _("Recording Options")), wxHORIZONTAL);
-
+
m_FramesToRecordLabel = new wxStaticText(m_RecordPage, wxID_ANY, _("Frames To Record"), wxDefaultPosition, wxDefaultSize, 0);
m_FramesToRecordLabel->Wrap(-1);
sRecordingOptions->Add(m_FramesToRecordLabel, 0, wxALL, 5);
-
+
wxString initialNum = wxString::Format(_T("%d"), m_FramesToRecord);
m_FramesToRecordCtrl = new wxSpinCtrl(m_RecordPage, wxID_ANY, initialNum, wxDefaultPosition, wxDefaultSize, wxSP_ARROW_KEYS, 0, 10000, 1);
sRecordingOptions->Add(m_FramesToRecordCtrl, 0, wxALL, 5);
-
+
sRecordPage->Add(sRecordingOptions, 0, wxEXPAND, 5);
sRecordPage->AddStretchSpacer();
@@ -353,7 +353,7 @@ void FifoPlayerDlg::OnFrameTo(wxSpinEvent& event)
player.SetFrameRangeEnd(event.GetPosition());
m_FrameFromCtrl->SetValue(player.GetFrameRangeStart());
- m_FrameToCtrl->SetValue(player.GetFrameRangeEnd());
+ m_FrameToCtrl->SetValue(player.GetFrameRangeEnd());
}
void FifoPlayerDlg::OnObjectFrom(wxSpinEvent& event)
@@ -388,7 +388,7 @@ void FifoPlayerDlg::OnSaveFile(wxCommandEvent& WXUNUSED(event))
wxBeginBusyCursor();
bool result = file->Save(WxStrToStr(path).c_str());
wxEndBusyCursor();
-
+
// Wasn't able to save the file, shit's whack, yo.
if (!result)
PanicAlert("Error saving file");
@@ -624,8 +624,8 @@ void FifoPlayerDlg::OnObjectListSelectionChanged(wxCommandEvent& event)
{
const AnalyzedFrameInfo& frame = player.GetAnalyzedFrameInfo(frame_idx);
const FifoFrameInfo& fifo_frame = player.GetFile()->GetFrame(frame_idx);
- const u8* objectdata_start = &fifo_frame.fifoData[frame.objectStarts[object_idx]];
- const u8* objectdata_end = &fifo_frame.fifoData[frame.objectEnds[object_idx]];
+ const u8* objectdata_start = &fifo_frame.fifoData[frame.objectStarts[object_idx]];
+ const u8* objectdata_end = &fifo_frame.fifoData[frame.objectEnds[object_idx]];
u8* objectdata = (u8*)objectdata_start;
const int obj_offset = objectdata_start - &fifo_frame.fifoData[frame.objectStarts[0]];
@@ -647,7 +647,7 @@ void FifoPlayerDlg::OnObjectListSelectionChanged(wxCommandEvent& event)
// Between objectdata_end and next_objdata_start, there are register setting commands
if (object_idx + 1 < (int)frame.objectStarts.size())
{
- const u8* next_objdata_start = &fifo_frame.fifoData[frame.objectStarts[object_idx+1]];
+ const u8* next_objdata_start = &fifo_frame.fifoData[frame.objectStarts[object_idx+1]];
while (objectdata < next_objdata_start)
{
m_objectCmdOffsets.push_back(objectdata - objectdata_start);
@@ -807,7 +807,7 @@ void FifoPlayerDlg::OnRecordingFinished(wxEvent&)
void FifoPlayerDlg::OnFrameWritten(wxEvent&)
{
m_CurrentFrameLabel->SetLabel(CreateCurrentFrameLabel());
- m_NumObjectsLabel->SetLabel(CreateFileObjectCountLabel());
+ m_NumObjectsLabel->SetLabel(CreateFileObjectCountLabel());
}
void FifoPlayerDlg::UpdatePlayGui()
@@ -836,7 +836,7 @@ void FifoPlayerDlg::UpdateRecorderGui()
{
m_RecordingFifoSizeLabel->SetLabel(CreateRecordingFifoSizeLabel());
m_RecordingMemSizeLabel->SetLabel(CreateRecordingMemSizeLabel());
- m_RecordingFramesLabel->SetLabel(CreateRecordingFrameCountLabel());
+ m_RecordingFramesLabel->SetLabel(CreateRecordingFrameCountLabel());
m_Save->Enable(GetSaveButtonEnabled());
}
@@ -867,7 +867,7 @@ wxString FifoPlayerDlg::CreateFileFrameCountLabel() const
if (file)
return CreateIntegerLabel(file->GetFrameCount(), _("Frame"));
-
+
return _("No file loaded");
}
@@ -877,7 +877,7 @@ wxString FifoPlayerDlg::CreateCurrentFrameLabel() const
if (file)
return _("Frame ") + wxString::Format(wxT("%i"), FifoPlayer::GetInstance().GetCurrentFrameNum());
-
+
return wxEmptyString;
}
@@ -887,7 +887,7 @@ wxString FifoPlayerDlg::CreateFileObjectCountLabel() const
if (file)
return CreateIntegerLabel(FifoPlayer::GetInstance().GetFrameObjectCount(), _("Object"));
-
+
return wxEmptyString;
}
@@ -901,9 +901,9 @@ wxString FifoPlayerDlg::CreateRecordingFifoSizeLabel() const
for (int i = 0; i < file->GetFrameCount(); ++i)
fifoBytes += file->GetFrame(i).fifoDataSize;
- return CreateIntegerLabel(fifoBytes, _("FIFO Byte"));
+ return CreateIntegerLabel(fifoBytes, _("FIFO Byte"));
}
-
+
return _("No recorded file");
}
@@ -917,13 +917,13 @@ wxString FifoPlayerDlg::CreateRecordingMemSizeLabel() const
for (int frameNum = 0; frameNum < file->GetFrameCount(); ++frameNum)
{
const vector<MemoryUpdate>& memUpdates = file->GetFrame(frameNum).memoryUpdates;
- for (unsigned int i = 0; i < memUpdates.size(); ++i)
- memBytes += memUpdates[i].size;
+ for (auto& memUpdate : memUpdates)
+ memBytes += memUpdate.size;
}
- return CreateIntegerLabel(memBytes, _("Memory Byte"));
+ return CreateIntegerLabel(memBytes, _("Memory Byte"));
}
-
+
return wxEmptyString;
}
@@ -936,7 +936,7 @@ wxString FifoPlayerDlg::CreateRecordingFrameCountLabel() const
int numFrames = file->GetFrameCount();
return CreateIntegerLabel(numFrames, _("Frame"));
}
-
+
return wxEmptyString;
}
diff --git a/Source/Core/DolphinWX/Src/FifoPlayerDlg.h b/Source/Core/DolphinWX/Src/FifoPlayerDlg.h
index 6f4a8074b9..1d6b8e3895 100644
--- a/Source/Core/DolphinWX/Src/FifoPlayerDlg.h
+++ b/Source/Core/DolphinWX/Src/FifoPlayerDlg.h
@@ -28,7 +28,7 @@ private:
void OnObjectTo( wxSpinEvent& event );
void OnCheckEarlyMemoryUpdates( wxCommandEvent& event );
void OnRecordStop( wxCommandEvent& event );
- void OnSaveFile( wxCommandEvent& event );
+ void OnSaveFile( wxCommandEvent& event );
void OnNumFramesToRecord( wxSpinEvent& event );
void OnCloseClick( wxCommandEvent& event );
diff --git a/Source/Core/DolphinWX/Src/Frame.cpp b/Source/Core/DolphinWX/Src/Frame.cpp
index a85e20f46d..1ca16ff1ac 100644
--- a/Source/Core/DolphinWX/Src/Frame.cpp
+++ b/Source/Core/DolphinWX/Src/Frame.cpp
@@ -446,7 +446,7 @@ void CFrame::OnActive(wxActivateEvent& event)
#else
m_RenderParent->SetFocus();
#endif
-
+
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bHideCursor &&
Core::GetState() == Core::CORE_RUN)
m_RenderParent->SetCursor(wxCURSOR_BLANK);
@@ -609,7 +609,7 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
{
wxString caption = event.GetString().BeforeFirst(':');
wxString text = event.GetString().AfterFirst(':');
- bPanicResult = (wxYES == wxMessageBox(text,
+ bPanicResult = (wxYES == wxMessageBox(text,
caption, event.GetInt() ? wxYES_NO : wxOK, wxGetActiveWindow()));
panic_event.Set();
}
@@ -642,7 +642,7 @@ void CFrame::GetRenderWindowSize(int& x, int& y, int& width, int& height)
void CFrame::OnRenderWindowSizeRequest(int width, int height)
{
if (Core::GetState() == Core::CORE_UNINITIALIZED ||
- !SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderWindowAutoSize ||
+ !SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderWindowAutoSize ||
RendererIsFullscreen() || m_RenderFrame->IsMaximized())
return;
@@ -933,7 +933,7 @@ void CFrame::OnKeyDown(wxKeyEvent& event)
{
int cmd = GetCmdForHotkey(i);
if (cmd >= 0)
- {
+ {
wxCommandEvent evt(wxEVT_COMMAND_MENU_SELECTED, cmd);
wxMenuItem *item = GetMenuBar()->FindItem(cmd);
if (item && item->IsCheckable())
diff --git a/Source/Core/DolphinWX/Src/Frame.h b/Source/Core/DolphinWX/Src/Frame.h
index 376ced5b10..4abf453041 100644
--- a/Source/Core/DolphinWX/Src/Frame.h
+++ b/Source/Core/DolphinWX/Src/Frame.h
@@ -164,7 +164,7 @@ public:
std::vector<int> Width, Height;
};
std::vector<SPerspectives> Perspectives;
- u32 ActivePerspective;
+ u32 ActivePerspective;
private:
CGameListCtrl* m_GameListCtrl;
@@ -250,10 +250,10 @@ private:
void OnPaneClose(wxAuiManagerEvent& evt);
void ReloadPanes();
void DoLoadPerspective();
- void OnDropDownToolbarSelect(wxCommandEvent& event);
+ void OnDropDownToolbarSelect(wxCommandEvent& event);
void OnDropDownSettingsToolbar(wxAuiToolBarEvent& event);
void OnDropDownToolbarItem(wxAuiToolBarEvent& event);
- void OnSelectPerspective(wxCommandEvent& event);
+ void OnSelectPerspective(wxCommandEvent& event);
#ifdef _WIN32
// Override window proc for tricks like screensaver disabling
@@ -284,7 +284,7 @@ private:
void OnChangeDisc(wxCommandEvent& event);
void OnScreenshot(wxCommandEvent& event);
void OnActive(wxActivateEvent& event);
- void OnClose(wxCloseEvent &event);
+ void OnClose(wxCloseEvent &event);
void OnLoadState(wxCommandEvent& event);
void OnSaveState(wxCommandEvent& event);
void OnLoadStateFromFile(wxCommandEvent& event);
diff --git a/Source/Core/DolphinWX/Src/FrameAui.cpp b/Source/Core/DolphinWX/Src/FrameAui.cpp
index 5ba5d54b43..2333541f2e 100644
--- a/Source/Core/DolphinWX/Src/FrameAui.cpp
+++ b/Source/Core/DolphinWX/Src/FrameAui.cpp
@@ -38,7 +38,7 @@ void CFrame::OnPaneClose(wxAuiManagerEvent& event)
if (!g_pCodeWindow)
{
- if (nb->GetPage(0)->GetId() == IDM_LOGWINDOW ||
+ if (nb->GetPage(0)->GetId() == IDM_LOGWINDOW ||
nb->GetPage(0)->GetId() == IDM_LOGCONFIGWINDOW ||
nb->GetPage(0)->GetId() == IDM_CONSOLEWINDOW)
{
@@ -494,7 +494,7 @@ void CFrame::DoRemovePage(wxWindow *Win, bool bHide)
void CFrame::DoAddPage(wxWindow *Win, int i, bool Float)
{
if (!Win) return;
-
+
// Ensure accessor remains within valid bounds.
if (i < 0 || i > GetNotebookCount()-1)
i = 0;
@@ -577,7 +577,7 @@ void CFrame::OnDropDownToolbarItem(wxAuiToolBarEvent& event)
wxMenuItem* mItem = new wxMenuItem(menuPopup, IDM_PERSPECTIVES_0 + i,
StrToWxStr(Perspectives[i].Name),
wxT(""), wxITEM_CHECK);
-
+
menuPopup->Append(mItem);
if (i == ActivePerspective)
@@ -905,12 +905,12 @@ void CFrame::LoadIniPerspectives()
ini.Get("Perspectives", "Active", &ActivePerspective, 0);
SplitString(_Perspectives, ',', VPerspectives);
- for (u32 i = 0; i < VPerspectives.size(); i++)
+ for (auto& VPerspective : VPerspectives)
{
SPerspectives Tmp;
- std::string _Section, _Perspective, _Width, _Height;
+ std::string _Section, _Perspective, _Widths, _Heights;
std::vector<std::string> _SWidth, _SHeight;
- Tmp.Name = VPerspectives[i];
+ Tmp.Name = VPerspective;
// Don't save a blank perspective
if (Tmp.Name.empty())
@@ -922,22 +922,22 @@ void CFrame::LoadIniPerspectives()
"name=Pane 0;caption=Pane 0;state=768;dir=5;prop=100000;|"
"name=Pane 1;caption=Pane 1;state=31458108;dir=4;prop=100000;|"
"dock_size(5,0,0)=22|dock_size(4,0,0)=333|");
- ini.Get(_Section.c_str(), "Width", &_Width, "70,25");
- ini.Get(_Section.c_str(), "Height", &_Height, "80,80");
+ ini.Get(_Section.c_str(), "Width", &_Widths, "70,25");
+ ini.Get(_Section.c_str(), "Height", &_Heights, "80,80");
Tmp.Perspective = StrToWxStr(_Perspective);
- SplitString(_Width, ',', _SWidth);
- SplitString(_Height, ',', _SHeight);
- for (u32 j = 0; j < _SWidth.size(); j++)
+ SplitString(_Widths, ',', _SWidth);
+ SplitString(_Heights, ',', _SHeight);
+ for (auto& Width : _SWidth)
{
int _Tmp;
- if (TryParse(_SWidth[j].c_str(), &_Tmp)) Tmp.Width.push_back(_Tmp);
+ if (TryParse(Width.c_str(), &_Tmp)) Tmp.Width.push_back(_Tmp);
}
- for (u32 j = 0; j < _SHeight.size(); j++)
+ for (auto& Height : _SHeight)
{
int _Tmp;
- if (TryParse(_SHeight[j].c_str(), &_Tmp)) Tmp.Height.push_back(_Tmp);
+ if (TryParse(Height.c_str(), &_Tmp)) Tmp.Height.push_back(_Tmp);
}
Perspectives.push_back(Tmp);
}
@@ -983,25 +983,25 @@ void CFrame::SaveIniPerspectives()
// Save perspective names
std::string STmp = "";
- for (u32 i = 0; i < Perspectives.size(); i++)
+ for (auto& Perspective : Perspectives)
{
- STmp += Perspectives[i].Name + ",";
+ STmp += Perspective.Name + ",";
}
STmp = STmp.substr(0, STmp.length()-1);
ini.Set("Perspectives", "Perspectives", STmp.c_str());
ini.Set("Perspectives", "Active", ActivePerspective);
// Save the perspectives
- for (u32 i = 0; i < Perspectives.size(); i++)
+ for (auto& Perspective : Perspectives)
{
- std::string _Section = "P - " + Perspectives[i].Name;
- ini.Set(_Section.c_str(), "Perspective", WxStrToStr(Perspectives[i].Perspective));
+ std::string _Section = "P - " + Perspective.Name;
+ ini.Set(_Section.c_str(), "Perspective", WxStrToStr(Perspective.Perspective));
std::string SWidth = "", SHeight = "";
- for (u32 j = 0; j < Perspectives[i].Width.size(); j++)
+ for (u32 j = 0; j < Perspective.Width.size(); j++)
{
- SWidth += StringFromFormat("%i,", Perspectives[i].Width[j]);
- SHeight += StringFromFormat("%i,", Perspectives[i].Height[j]);
+ SWidth += StringFromFormat("%i,", Perspective.Width[j]);
+ SHeight += StringFromFormat("%i,", Perspective.Height[j]);
}
// Remove the ending ","
SWidth = SWidth.substr(0, SWidth.length()-1);
diff --git a/Source/Core/DolphinWX/Src/FrameTools.cpp b/Source/Core/DolphinWX/Src/FrameTools.cpp
index 5864c6ae8c..359b09f0aa 100644
--- a/Source/Core/DolphinWX/Src/FrameTools.cpp
+++ b/Source/Core/DolphinWX/Src/FrameTools.cpp
@@ -98,7 +98,7 @@ void CFrame::CreateMenu()
wxMenu *externalDrive = new wxMenu;
fileMenu->Append(IDM_DRIVES, _("&Boot from DVD Drive..."), externalDrive);
-
+
drives = cdio_get_devices();
// Windows Limitation of 24 character drives
for (unsigned int i = 0; i < drives.size() && i < 24; i++) {
@@ -155,7 +155,7 @@ void CFrame::CreateMenu()
saveMenu->AppendSeparator();
loadMenu->Append(IDM_LOADSTATEFILE, GetMenuLabel(HK_LOAD_STATE_FILE));
-
+
loadMenu->Append(IDM_UNDOLOADSTATE, GetMenuLabel(HK_UNDO_LOAD_STATE));
loadMenu->AppendSeparator();
@@ -386,7 +386,7 @@ wxString CFrame::GetMenuLabel(int Id)
case HK_LOAD_STATE_SLOT_8:
case HK_LOAD_STATE_SLOT_9:
case HK_LOAD_STATE_SLOT_10:
- Label = wxString::Format(_("Slot %i"),
+ Label = wxString::Format(_("Slot %i"),
Id - HK_LOAD_STATE_SLOT_1 + 1);
break;
@@ -400,7 +400,7 @@ wxString CFrame::GetMenuLabel(int Id)
case HK_SAVE_STATE_SLOT_8:
case HK_SAVE_STATE_SLOT_9:
case HK_SAVE_STATE_SLOT_10:
- Label = wxString::Format(_("Slot %i"),
+ Label = wxString::Format(_("Slot %i"),
Id - HK_SAVE_STATE_SLOT_1 + 1);
break;
case HK_SAVE_STATE_FILE:
@@ -437,7 +437,7 @@ wxString CFrame::GetMenuLabel(int Id)
hotkeymodifier |= wxMOD_CONTROL;
#endif
hotkeymodifier &= wxMOD_CONTROL | wxMOD_ALT | wxMOD_SHIFT;
-
+
Modifier = InputCommon::WXKeymodToString(hotkeymodifier);
Hotkey = InputCommon::WXKeyToString(hotkey);
if (Modifier.Len() + Hotkey.Len() > 0)
@@ -505,7 +505,7 @@ void CFrame::RecreateToolbar()
m_ToolBar = new wxAuiToolBar(this, ID_TOOLBAR, wxDefaultPosition, wxDefaultSize, TOOLBAR_STYLE);
PopulateToolbar(m_ToolBar);
-
+
m_Mgr->AddPane(m_ToolBar, wxAuiPaneInfo().
Name(wxT("TBMain")).Caption(wxT("TBMain")).
ToolbarPane().Top().
@@ -515,7 +515,7 @@ void CFrame::RecreateToolbar()
{
m_ToolBarDebug = new wxAuiToolBar(this, ID_TOOLBAR_DEBUG, wxDefaultPosition, wxDefaultSize, TOOLBAR_STYLE);
g_pCodeWindow->PopulateToolbar(m_ToolBarDebug);
-
+
m_Mgr->AddPane(m_ToolBarDebug, wxAuiPaneInfo().
Name(wxT("TBDebug")).Caption(wxT("TBDebug")).
ToolbarPane().Top().
@@ -695,7 +695,7 @@ void CFrame::OnChangeDisc(wxCommandEvent& WXUNUSED (event))
void CFrame::OnRecord(wxCommandEvent& WXUNUSED (event))
{
int controllers = 0;
-
+
if (Movie::IsReadOnly())
{
//PanicAlertT("Cannot record movies in read-only mode.");
@@ -723,7 +723,7 @@ void CFrame::OnPlayRecording(wxCommandEvent& WXUNUSED (event))
wxString path = wxFileSelector(
_("Select The Recording File"),
wxEmptyString, wxEmptyString, wxEmptyString,
- _("Dolphin TAS Movies (*.dtm)") +
+ _("Dolphin TAS Movies (*.dtm)") +
wxString::Format(wxT("|*.dtm|%s"), wxGetTranslation(wxALL_FILES)),
wxFD_OPEN | wxFD_PREVIEW | wxFD_FILE_MUST_EXIST,
this);
@@ -951,7 +951,7 @@ void CFrame::StartGame(const std::string& filename)
#else
m_RenderParent->SetFocus();
#endif
-
+
wxTheApp->Bind(wxEVT_KEY_DOWN, &CFrame::OnKeyDown, this);
wxTheApp->Bind(wxEVT_KEY_UP, &CFrame::OnKeyUp, this);
wxTheApp->Bind(wxEVT_RIGHT_DOWN, &CFrame::OnMouse, this);
@@ -1135,23 +1135,23 @@ void CFrame::DoStop()
void CFrame::DoRecordingSave()
{
bool paused = (Core::GetState() == Core::CORE_PAUSE);
-
+
if (!paused)
DoPause();
-
+
wxString path = wxFileSelector(
_("Select The Recording File"),
wxEmptyString, wxEmptyString, wxEmptyString,
- _("Dolphin TAS Movies (*.dtm)") +
+ _("Dolphin TAS Movies (*.dtm)") +
wxString::Format(wxT("|*.dtm|%s"), wxGetTranslation(wxALL_FILES)),
wxFD_SAVE | wxFD_PREVIEW | wxFD_OVERWRITE_PROMPT,
this);
if(path.IsEmpty())
return;
-
+
Movie::SaveRecording(WxStrToStr(path).c_str());
-
+
if (!paused)
DoPause();
}
@@ -1323,12 +1323,12 @@ void CFrame::OnMemcard(wxCommandEvent& WXUNUSED (event))
MemcardManager.ShowModal();
}
-void CFrame::OnExportAllSaves(wxCommandEvent& WXUNUSED (event))
+void CFrame::OnExportAllSaves(wxCommandEvent& WXUNUSED (event))
{
CWiiSaveCrypted::ExportAllSaves();
}
-void CFrame::OnImportSave(wxCommandEvent& WXUNUSED (event))
+void CFrame::OnImportSave(wxCommandEvent& WXUNUSED (event))
{
wxString path = wxFileSelector(_("Select the save file"),
wxEmptyString, wxEmptyString, wxEmptyString,
@@ -1477,7 +1477,7 @@ void CFrame::OnLoadStateFromFile(wxCommandEvent& WXUNUSED (event))
wxString path = wxFileSelector(
_("Select the state to load"),
wxEmptyString, wxEmptyString, wxEmptyString,
- _("All Save States (sav, s##)") +
+ _("All Save States (sav, s##)") +
wxString::Format(wxT("|*.sav;*.s??|%s"), wxGetTranslation(wxALL_FILES)),
wxFD_OPEN | wxFD_PREVIEW | wxFD_FILE_MUST_EXIST,
this);
@@ -1491,7 +1491,7 @@ void CFrame::OnSaveStateToFile(wxCommandEvent& WXUNUSED (event))
wxString path = wxFileSelector(
_("Select the state to save"),
wxEmptyString, wxEmptyString, wxEmptyString,
- _("All Save States (sav, s##)") +
+ _("All Save States (sav, s##)") +
wxString::Format(wxT("|*.sav;*.s??|%s"), wxGetTranslation(wxALL_FILES)),
wxFD_SAVE,
this);
@@ -1658,9 +1658,9 @@ void CFrame::UpdateGUI()
m_ToolBar->SetToolLabel(IDM_PLAY, _("Play"));
}
}
-
+
GetMenuBar()->FindItem(IDM_RECORDREADONLY)->Enable(Running || Paused);
-
+
if (!Initialized && !m_bGameLoading)
{
if (m_GameListCtrl->IsEnabled())
@@ -1791,17 +1791,17 @@ void CFrame::GameListChanged(wxCommandEvent& event)
Directories.push_back(File::GetUserPath(D_CACHE_IDX).c_str());
CFileSearch::XStringVector Extensions;
Extensions.push_back("*.cache");
-
+
CFileSearch FileSearch(Extensions, Directories);
const CFileSearch::XStringVector& rFilenames = FileSearch.GetFileNames();
-
- for (u32 i = 0; i < rFilenames.size(); i++)
+
+ for (auto& rFilename : rFilenames)
{
- File::Delete(rFilenames[i]);
+ File::Delete(rFilename);
}
break;
}
-
+
// Update gamelist
if (m_GameListCtrl)
{
diff --git a/Source/Core/DolphinWX/Src/GLInterface/AGL.cpp b/Source/Core/DolphinWX/Src/GLInterface/AGL.cpp
index 2062268e05..1068e870a0 100644
--- a/Source/Core/DolphinWX/Src/GLInterface/AGL.cpp
+++ b/Source/Core/DolphinWX/Src/GLInterface/AGL.cpp
@@ -114,10 +114,10 @@ void cInterfaceAGL::Update()
if( s_backbuffer_width == size.width
&& s_backbuffer_height == size.height)
return;
-
+
s_backbuffer_width = size.width;
s_backbuffer_height = size.height;
-
+
[GLWin.cocoaCtx update];
}
diff --git a/Source/Core/DolphinWX/Src/GLInterface/EGL.cpp b/Source/Core/DolphinWX/Src/GLInterface/EGL.cpp
index b8276ae546..741492e0a4 100644
--- a/Source/Core/DolphinWX/Src/GLInterface/EGL.cpp
+++ b/Source/Core/DolphinWX/Src/GLInterface/EGL.cpp
@@ -45,16 +45,15 @@ bool cInterfaceEGL::Create(void *&window_handle)
EGLint num_configs;
// attributes for a visual in RGBA format with at least
- // 8 bits per color and a 24 bit depth buffer
+ // 8 bits per color
int attribs[] = {
EGL_RED_SIZE, 8,
EGL_GREEN_SIZE, 8,
EGL_BLUE_SIZE, 8,
- EGL_DEPTH_SIZE, 24,
#ifdef USE_GLES
#ifdef USE_GLES3
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
-
+
// OpenGL ES 3 bit is disabled for now, until we have a way to select it from runtime
// Qualcomm drivers don't even care if it is ES2 or ES3 bit set.
// Intel drivers /might/ not care, but that code path is untested
diff --git a/Source/Core/DolphinWX/Src/GLInterface/EGL.h b/Source/Core/DolphinWX/Src/GLInterface/EGL.h
index cd0969c4b7..ce32edd264 100644
--- a/Source/Core/DolphinWX/Src/GLInterface/EGL.h
+++ b/Source/Core/DolphinWX/Src/GLInterface/EGL.h
@@ -43,7 +43,7 @@ public:
void UpdateFPSDisplay(const char *Text);
bool Create(void *&window_handle);
bool MakeCurrent();
- void Shutdown();
+ void Shutdown();
};
#endif
diff --git a/Source/Core/DolphinWX/Src/GLInterface/GLX.cpp b/Source/Core/DolphinWX/Src/GLInterface/GLX.cpp
index 929d365081..22b472d662 100644
--- a/Source/Core/DolphinWX/Src/GLInterface/GLX.cpp
+++ b/Source/Core/DolphinWX/Src/GLInterface/GLX.cpp
@@ -55,20 +55,18 @@ bool cInterfaceGLX::Create(void *&window_handle)
int glxMajorVersion, glxMinorVersion;
// attributes for a single buffered visual in RGBA format with at least
- // 8 bits per color and a 24 bit depth buffer
+ // 8 bits per color
int attrListSgl[] = {GLX_RGBA, GLX_RED_SIZE, 8,
GLX_GREEN_SIZE, 8,
GLX_BLUE_SIZE, 8,
- GLX_DEPTH_SIZE, 24,
None};
// attributes for a double buffered visual in RGBA format with at least
- // 8 bits per color and a 24 bit depth buffer
+ // 8 bits per color
int attrListDbl[] = {GLX_RGBA, GLX_DOUBLEBUFFER,
GLX_RED_SIZE, 8,
GLX_GREEN_SIZE, 8,
GLX_BLUE_SIZE, 8,
- GLX_DEPTH_SIZE, 24,
None };
int attrListDefault[] = {
@@ -77,7 +75,6 @@ bool cInterfaceGLX::Create(void *&window_handle)
GLX_GREEN_SIZE, 1,
GLX_BLUE_SIZE, 1,
GLX_DOUBLEBUFFER,
- GLX_DEPTH_SIZE, 1,
None };
GLWin.dpy = XOpenDisplay(0);
diff --git a/Source/Core/DolphinWX/Src/GLInterface/GLX.h b/Source/Core/DolphinWX/Src/GLInterface/GLX.h
index ba8e6a9b82..2e8bde121f 100644
--- a/Source/Core/DolphinWX/Src/GLInterface/GLX.h
+++ b/Source/Core/DolphinWX/Src/GLInterface/GLX.h
@@ -37,7 +37,7 @@ public:
bool Create(void *&window_handle);
bool MakeCurrent();
bool ClearCurrent();
- void Shutdown();
+ void Shutdown();
};
#endif
diff --git a/Source/Core/DolphinWX/Src/GLInterface/InterfaceBase.h b/Source/Core/DolphinWX/Src/GLInterface/InterfaceBase.h
index 506adcbb6e..b69d9fea9c 100644
--- a/Source/Core/DolphinWX/Src/GLInterface/InterfaceBase.h
+++ b/Source/Core/DolphinWX/Src/GLInterface/InterfaceBase.h
@@ -16,13 +16,13 @@ public:
virtual bool Create(void *&window_handle) { return true; }
virtual bool MakeCurrent() { return true; }
virtual bool ClearCurrent() { return true; }
- virtual void Shutdown() {}
+ virtual void Shutdown() {}
virtual void SwapInterval(int Interval) { }
virtual u32 GetBackBufferWidth() { return s_backbuffer_width; }
virtual u32 GetBackBufferHeight() { return s_backbuffer_height; }
virtual void SetBackBufferDimensions(u32 W, u32 H) {s_backbuffer_width = W; s_backbuffer_height = H; }
- virtual void Update() { }
+ virtual void Update() { }
virtual bool PeekMessages() { return false; }
};
#endif
diff --git a/Source/Core/DolphinWX/Src/GLInterface/Platform.cpp b/Source/Core/DolphinWX/Src/GLInterface/Platform.cpp
index 64e32591d8..8094eef810 100644
--- a/Source/Core/DolphinWX/Src/GLInterface/Platform.cpp
+++ b/Source/Core/DolphinWX/Src/GLInterface/Platform.cpp
@@ -110,7 +110,7 @@ out:
if (GLWin.wl_display)
wl_display_disconnect(GLWin.wl_display);
}
-
+
#endif
#if HAVE_X11
if (selected_platform != EGL_PLATFORM_X11) {
@@ -179,7 +179,7 @@ EGLNativeWindowType cPlatform::CreateWindow(void)
return (EGLNativeWindowType) XInterface.CreateWindow();
#endif
#ifdef ANDROID
- return (EGLNativeWindowType)Host_GetRenderHandle();
+ return (EGLNativeWindowType)Host_GetRenderHandle();
#endif
return 0;
}
diff --git a/Source/Core/DolphinWX/Src/GLInterface/WGL.cpp b/Source/Core/DolphinWX/Src/GLInterface/WGL.cpp
index 7ba315a5b4..62a4438c6d 100644
--- a/Source/Core/DolphinWX/Src/GLInterface/WGL.cpp
+++ b/Source/Core/DolphinWX/Src/GLInterface/WGL.cpp
@@ -84,8 +84,8 @@ bool cInterfaceWGL::Create(void *&window_handle)
0, // Shift Bit Ignored
0, // No Accumulation Buffer
0, 0, 0, 0, // Accumulation Bits Ignored
- 24, // 24Bit Z-Buffer (Depth Buffer)
- 8, // 8bit Stencil Buffer
+ 0, // 0Bit Z-Buffer (Depth Buffer)
+ 0, // 0bit Stencil Buffer
0, // No Auxiliary Buffer
PFD_MAIN_PLANE, // Main Drawing Layer
0, // Reserved
diff --git a/Source/Core/DolphinWX/Src/GLInterface/WGL.h b/Source/Core/DolphinWX/Src/GLInterface/WGL.h
index 5c968d963e..02526984ff 100644
--- a/Source/Core/DolphinWX/Src/GLInterface/WGL.h
+++ b/Source/Core/DolphinWX/Src/GLInterface/WGL.h
@@ -22,7 +22,7 @@ public:
bool Create(void *&window_handle);
bool MakeCurrent();
bool ClearCurrent();
- void Shutdown();
+ void Shutdown();
void Update();
bool PeekMessages();
diff --git a/Source/Core/DolphinWX/Src/GameListCtrl.cpp b/Source/Core/DolphinWX/Src/GameListCtrl.cpp
index 300bf470c0..54c59dd806 100644
--- a/Source/Core/DolphinWX/Src/GameListCtrl.cpp
+++ b/Source/Core/DolphinWX/Src/GameListCtrl.cpp
@@ -9,6 +9,7 @@
#include <wx/filename.h>
#include <algorithm>
+#include <cinttypes>
#include <memory>
#include "FileSearch.h"
@@ -62,7 +63,7 @@ static int CompareGameListItems(const GameListItem* iso1, const GameListItem* is
int indexOne = 0;
int indexOther = 0;
-
+
// index only matters for WADS and PAL GC games, but invalid indicies for the others
// will return the (only) language in the list
if (iso1->GetPlatform() == GameListItem::WII_WAD)
@@ -307,7 +308,7 @@ void CGameListCtrl::Update()
#else
const int platform_padding = 8;
#endif
-
+
// set initial sizes for columns
SetColumnWidth(COLUMN_DUMMY,0);
SetColumnWidth(COLUMN_PLATFORM, 35 + platform_padding);
@@ -375,15 +376,15 @@ void CGameListCtrl::Update()
wxString NiceSizeFormat(u64 _size)
{
const char* const unit_symbols[] = {"B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"};
-
+
auto const unit = Log2(std::max<u64>(_size, 1)) / 10;
auto const unit_size = (1 << (unit * 10));
-
+
// ugly rounding integer math
auto const value = (_size + unit_size / 2) / unit_size;
auto const frac = (_size % unit_size * 10 + unit_size / 2) / unit_size % 10;
- return StrToWxStr(StringFromFormat("%llu.%llu %s", value, frac, unit_symbols[unit]));
+ return StrToWxStr(StringFromFormat("%" PRIu64 ".%" PRIu64 " %s", value, frac, unit_symbols[unit]));
}
void CGameListCtrl::InsertItemInReportView(long _Index)
@@ -409,13 +410,13 @@ void CGameListCtrl::InsertItemInReportView(long _Index)
SetItemColumnImage(_Index, COLUMN_BANNER, ImageIndex);
int SelectedLanguage = SConfig::GetInstance().m_LocalCoreStartupParameter.SelectedLanguage;
-
+
// Is this sane?
if (rISOFile.GetPlatform() == GameListItem::WII_WAD)
{
SelectedLanguage = SConfig::GetInstance().m_SYSCONF->GetData<u8>("IPL.LNG");
}
-
+
std::string const name = rISOFile.GetName(SelectedLanguage);
SetItem(_Index, COLUMN_TITLE, StrToWxStr(name), -1);
@@ -475,15 +476,15 @@ void CGameListCtrl::ScanForISOs()
{
File::FSTEntry FST_Temp;
File::ScanDirectoryTree(Directories[i], FST_Temp);
- for (u32 j = 0; j < FST_Temp.children.size(); j++)
+ for (auto& Entry : FST_Temp.children)
{
- if (FST_Temp.children[j].isDirectory)
+ if (Entry.isDirectory)
{
bool duplicate = false;
- for (u32 k = 0; k < Directories.size(); k++)
+ for (auto& Directory : Directories)
{
- if (strcmp(Directories[k].c_str(),
- FST_Temp.children[j].physicalName.c_str()) == 0)
+ if (strcmp(Directory.c_str(),
+ Entry.physicalName.c_str()) == 0)
{
duplicate = true;
break;
@@ -491,7 +492,7 @@ void CGameListCtrl::ScanForISOs()
}
if (!duplicate)
Directories.push_back(
- FST_Temp.children[j].physicalName.c_str());
+ Entry.physicalName.c_str());
}
}
}
@@ -539,7 +540,7 @@ void CGameListCtrl::ScanForISOs()
if (dialog.WasCancelled())
break;
- std::auto_ptr<GameListItem> iso_file(new GameListItem(rFilenames[i]));
+ std::unique_ptr<GameListItem> iso_file(new GameListItem(rFilenames[i]));
const GameListItem& ISOFile = *iso_file;
if (ISOFile.IsValid())
@@ -603,13 +604,9 @@ void CGameListCtrl::ScanForISOs()
{
const std::vector<std::string> drives = cdio_get_devices();
- for (std::vector<std::string>::const_iterator iter = drives.begin(); iter != drives.end(); ++iter)
+ for (const auto& drive : drives)
{
- #ifdef __APPLE__
- std::auto_ptr<GameListItem> gli(new GameListItem(*iter));
- #else
- std::unique_ptr<GameListItem> gli(new GameListItem(*iter));
- #endif
+ std::unique_ptr<GameListItem> gli(new GameListItem(drive));
if (gli->IsValid())
m_ISOFiles.push_back(gli.release());
@@ -830,7 +827,7 @@ void CGameListCtrl::OnLeftClick(wxMouseEvent& event)
}
void CGameListCtrl::OnRightClick(wxMouseEvent& event)
-{
+{
// Focus the clicked item.
int flags;
long item = HitTest(event.GetPosition(), flags);
@@ -873,7 +870,7 @@ void CGameListCtrl::OnRightClick(wxMouseEvent& event)
{
if (selected_iso->IsCompressed())
popupMenu->Append(IDM_COMPRESSGCM, _("Decompress ISO..."));
- else if (selected_iso->GetFileName().substr(selected_iso->GetFileName().find_last_of(".")) != ".ciso"
+ else if (selected_iso->GetFileName().substr(selected_iso->GetFileName().find_last_of(".")) != ".ciso"
&& selected_iso->GetFileName().substr(selected_iso->GetFileName().find_last_of(".")) != ".wbfs")
popupMenu->Append(IDM_COMPRESSGCM, _("Compress ISO..."));
}
@@ -1109,7 +1106,7 @@ void CGameListCtrl::CompressSelection(bool _compress)
if (wxFileExists(StrToWxStr(OutputFileName)) &&
wxMessageBox(
wxString::Format(_("The file %s already exists.\nDo you wish to replace it?"),
- StrToWxStr(OutputFileName)),
+ StrToWxStr(OutputFileName)),
_("Confirm File Overwrite"),
wxYES_NO) == wxNO)
continue;
@@ -1137,7 +1134,7 @@ void CGameListCtrl::CompressSelection(bool _compress)
if (wxFileExists(StrToWxStr(OutputFileName)) &&
wxMessageBox(
wxString::Format(_("The file %s already exists.\nDo you wish to replace it?"),
- StrToWxStr(OutputFileName)),
+ StrToWxStr(OutputFileName)),
_("Confirm File Overwrite"),
wxYES_NO) == wxNO)
continue;
@@ -1198,7 +1195,7 @@ void CGameListCtrl::OnCompressGCM(wxCommandEvent& WXUNUSED (event))
StrToWxStr(FilePath),
StrToWxStr(FileName) + _T(".gcz"),
wxEmptyString,
- _("All compressed GC/Wii ISO files (gcz)") +
+ _("All compressed GC/Wii ISO files (gcz)") +
wxString::Format(wxT("|*.gcz|%s"), wxGetTranslation(wxALL_FILES)),
wxFD_SAVE,
this);
@@ -1207,7 +1204,7 @@ void CGameListCtrl::OnCompressGCM(wxCommandEvent& WXUNUSED (event))
return;
} while (wxFileExists(path) &&
wxMessageBox(
- wxString::Format(_("The file %s already exists.\nDo you wish to replace it?"), path.c_str()),
+ wxString::Format(_("The file %s already exists.\nDo you wish to replace it?"), path.c_str()),
_("Confirm File Overwrite"),
wxYES_NO) == wxNO);
diff --git a/Source/Core/DolphinWX/Src/GameListCtrl.h b/Source/Core/DolphinWX/Src/GameListCtrl.h
index ad46ec6d67..7ac02eae16 100644
--- a/Source/Core/DolphinWX/Src/GameListCtrl.h
+++ b/Source/Core/DolphinWX/Src/GameListCtrl.h
@@ -75,7 +75,7 @@ private:
void InsertItemInReportView(long _Index);
void SetBackgroundColor();
void ScanForISOs();
-
+
DECLARE_EVENT_TABLE()
// events
diff --git a/Source/Core/DolphinWX/Src/GeckoCodeDiag.cpp b/Source/Core/DolphinWX/Src/GeckoCodeDiag.cpp
index 514fea3463..fc1e62896e 100644
--- a/Source/Core/DolphinWX/Src/GeckoCodeDiag.cpp
+++ b/Source/Core/DolphinWX/Src/GeckoCodeDiag.cpp
@@ -52,7 +52,7 @@ CodeConfigPanel::CodeConfigPanel(wxWindow* const parent)
wxBoxSizer* const sizer_vert = new wxBoxSizer(wxVERTICAL);
sizer_vert->Add(sizer_infobox, 1, wxEXPAND);
sizer_vert->Add(sizer_buttons, 0, wxEXPAND | wxTOP, 5);
-
+
wxBoxSizer* const sizer_main = new wxBoxSizer(wxVERTICAL);
sizer_main->Add(m_listbox_gcodes, 1, wxALL | wxEXPAND, 5);
sizer_main->Add(sizer_vert, 0, wxALL | wxEXPAND, 5);
@@ -76,7 +76,7 @@ void CodeConfigPanel::UpdateCodeList(bool checkRunning)
if (gcodes_iter->enabled)
m_listbox_gcodes->Check(m_listbox_gcodes->GetCount()-1, true);
}
-
+
wxCommandEvent evt;
UpdateInfoBox(evt);
}
@@ -146,7 +146,7 @@ void CodeConfigPanel::DownloadCodes(wxCommandEvent&)
std::string gameid = m_gameid;
-
+
switch (m_gameid[0])
{
case 'R':
@@ -225,7 +225,7 @@ void CodeConfigPanel::DownloadCodes(wxCommandEvent&)
// read code lines
case 1 :
{
- std::istringstream ssline(line);
+ std::istringstream ssline(line);
std::string addr, data;
ssline >> addr >> data;
ssline.seekg(0);
diff --git a/Source/Core/DolphinWX/Src/Globals.h b/Source/Core/DolphinWX/Src/Globals.h
index 42c0154405..2cb8a41519 100644
--- a/Source/Core/DolphinWX/Src/Globals.h
+++ b/Source/Core/DolphinWX/Src/Globals.h
@@ -128,7 +128,7 @@ enum
IDM_CONFIG_HOTKEYS,
IDM_CONFIG_LOGGER,
- // Views
+ // Views
IDM_LOGWINDOW,
IDM_LOGCONFIGWINDOW,
IDM_CONSOLEWINDOW,
diff --git a/Source/Core/DolphinWX/Src/HotkeyDlg.cpp b/Source/Core/DolphinWX/Src/HotkeyDlg.cpp
index 67d540b16e..03b40dd286 100644
--- a/Source/Core/DolphinWX/Src/HotkeyDlg.cpp
+++ b/Source/Core/DolphinWX/Src/HotkeyDlg.cpp
@@ -255,12 +255,12 @@ void HotkeyConfigDialog::CreateHotkeyGUIControls(void)
wxStaticText *StaticTextHeader = new wxStaticText(Page, wxID_ANY, _("Action"));
HeaderSizer->Add(StaticTextHeader, 1, wxALL, 2);
StaticTextHeader = new wxStaticText(Page, wxID_ANY, _("Key"), wxDefaultPosition, size);
- HeaderSizer->Add(StaticTextHeader, 0, wxALL, 2);
+ HeaderSizer->Add(StaticTextHeader, 0, wxALL, 2);
sHotkeys->Add(HeaderSizer, wxGBPosition(0, i), wxDefaultSpan, wxEXPAND | wxLEFT, (i > 0) ? 30 : 1);
}
int column_break = (page_breaks[j+1] + page_breaks[j] + 1) / 2;
-
+
for (int i = page_breaks[j]; i < page_breaks[j+1]; i++)
{
// Text for the action
diff --git a/Source/Core/DolphinWX/Src/ISOFile.cpp b/Source/Core/DolphinWX/Src/ISOFile.cpp
index 2a70a550f7..5aa02f5df1 100644
--- a/Source/Core/DolphinWX/Src/ISOFile.cpp
+++ b/Source/Core/DolphinWX/Src/ISOFile.cpp
@@ -82,7 +82,7 @@ GameListItem::GameListItem(const std::string& _rFileName)
m_names = pBannerLoader->GetNames();
m_company = pBannerLoader->GetCompany();
m_descriptions = pBannerLoader->GetDescriptions();
-
+
std::vector<u32> Buffer = pBannerLoader->GetBanner(&m_ImageWidth, &m_ImageHeight);
u32* pData = &Buffer[0];
// resize vector to image size
@@ -188,7 +188,7 @@ std::string GameListItem::CreateCacheFilename()
// Filename.extension_HashOfFolderPath_Size.cache
// Append hash to prevent ISO name-clashing in different folders.
- Filename.append(StringFromFormat("%s_%x_%llx.cache",
+ Filename.append(StringFromFormat("%s_%x_%zx.cache",
extension.c_str(), HashFletcher((const u8 *)LegalPathname.c_str(), LegalPathname.size()),
File::GetSize(m_FileName)));
@@ -212,7 +212,7 @@ std::string GameListItem::GetDescription(int _index) const
if (index < m_descriptions.size())
return m_descriptions[index];
-
+
if (!m_descriptions.empty())
return m_descriptions[0];
@@ -229,7 +229,7 @@ std::string GameListItem::GetVolumeName(int _index) const
if (!m_volume_names.empty())
return m_volume_names[0];
-
+
return "";
}
@@ -240,7 +240,7 @@ std::string GameListItem::GetBannerName(int _index) const
if (index < m_names.size() && !m_names[index].empty())
return m_names[index];
-
+
if (!m_names.empty())
return m_names[0];
@@ -251,9 +251,9 @@ std::string GameListItem::GetBannerName(int _index) const
std::string GameListItem::GetName(int _index) const
{
// Prefer name from banner, fallback to name from volume, fallback to filename
-
+
std::string name = GetBannerName(_index);
-
+
if (name.empty())
name = GetVolumeName(_index);
diff --git a/Source/Core/DolphinWX/Src/ISOProperties.cpp b/Source/Core/DolphinWX/Src/ISOProperties.cpp
index e5943ef8cf..89f07815b1 100644
--- a/Source/Core/DolphinWX/Src/ISOProperties.cpp
+++ b/Source/Core/DolphinWX/Src/ISOProperties.cpp
@@ -7,6 +7,7 @@
#endif
#include <type_traits>
+#include <cinttypes>
#include "Common.h"
#include "CommonPaths.h"
@@ -118,7 +119,7 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
u8 _tTitleID[8];
if(OpenISO->GetTitleID(_tTitleID))
{
- snprintf(tmp, 17, "%016llx", Common::swap64(_tTitleID));
+ snprintf(tmp, 17, "%016" PRIx64, Common::swap64(_tTitleID));
_iniFilename = tmp;
}
}
@@ -196,7 +197,7 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
m_Country->SetValue(_("UNKNOWN"));
break;
}
-
+
if (IsWiiDisc) // Only one language with wii banners
{
m_Lang->SetSelection(0);
@@ -218,7 +219,7 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
{
ChangeBannerDetails(SConfig::GetInstance().m_SYSCONF->GetData<u8>("IPL.LNG"));
}
-
+
m_Banner->SetBitmap(OpenGameListItem->GetBitmap());
m_Banner->Bind(wxEVT_RIGHT_DOWN, &CISOProperties::RightClickOnBanner, this);
@@ -233,7 +234,7 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
WiiPartition partition = WiiDisc.at(i);
wxTreeItemId PartitionRoot =
m_Treectrl->AppendItem(RootId, wxString::Format(_("Partition %i"), i), 0, 0);
- CreateDirectoryTree(PartitionRoot, partition.Files, 1, partition.Files.at(0)->m_FileSize);
+ CreateDirectoryTree(PartitionRoot, partition.Files, 1, partition.Files.at(0)->m_FileSize);
if (i == 1)
m_Treectrl->Expand(PartitionRoot);
}
@@ -260,7 +261,7 @@ CISOProperties::~CISOProperties()
size_t CISOProperties::CreateDirectoryTree(wxTreeItemId& parent,
std::vector<const DiscIO::SFileInfo*> fileInfos,
- const size_t _FirstIndex,
+ const size_t _FirstIndex,
const size_t _LastIndex)
{
size_t CurrentIndex = _FirstIndex;
@@ -365,7 +366,7 @@ void CISOProperties::CreateGUIControls(bool IsWad)
UseZTPSpeedupHack = new wxCheckBox(m_GameConfig, ID_ZTP_SPEEDUP, _("ZTP hack"), wxDefaultPosition, wxDefaultSize, GetElementStyle("Video", "ZTPSpeedupHack"));
UseZTPSpeedupHack->SetToolTip(_("Enable this to speed up The Legend of Zelda: Twilight Princess. Disable for ANY other game."));
-
+
// Hack
wxFlexGridSizer * const szrPHackSettings = new wxFlexGridSizer(0);
PHackEnable = new wxCheckBox(m_GameConfig, ID_PHACKENABLE, _("Custom Projection Hack"), wxDefaultPosition, wxDefaultSize, wxCHK_2STATE);
@@ -396,7 +397,7 @@ void CISOProperties::CreateGUIControls(bool IsWad)
sbCoreOverrides->Add(DCBZOFF, 0, wxLEFT, 5);
sbCoreOverrides->Add(VBeam, 0, wxLEFT, 5);
sbCoreOverrides->Add(SyncGPU, 0, wxLEFT, 5);
- sbCoreOverrides->Add(FastDiscSpeed, 0, wxLEFT, 5);
+ sbCoreOverrides->Add(FastDiscSpeed, 0, wxLEFT, 5);
sbCoreOverrides->Add(BlockMerging, 0, wxLEFT, 5);
sbCoreOverrides->Add(DSPHLE, 0, wxLEFT, 5);
@@ -430,7 +431,7 @@ void CISOProperties::CreateGUIControls(bool IsWad)
sConfigPage->Add(sEmuState, 0, wxEXPAND|wxALL, 5);
m_GameConfig->SetSizer(sConfigPage);
-
+
// Patches
wxBoxSizer * const sPatches = new wxBoxSizer(wxVERTICAL);
Patches = new wxCheckListBox(m_PatchPage, ID_PATCHES_LIST, wxDefaultPosition,
@@ -452,7 +453,7 @@ void CISOProperties::CreateGUIControls(bool IsWad)
sPatchPage->Add(sPatches, 1, wxEXPAND|wxALL, 5);
m_PatchPage->SetSizer(sPatchPage);
-
+
// Action Replay Cheats
wxBoxSizer * const sCheats = new wxBoxSizer(wxVERTICAL);
Cheats = new wxCheckListBox(m_CheatPage, ID_CHEATS_LIST, wxDefaultPosition,
@@ -475,7 +476,7 @@ void CISOProperties::CreateGUIControls(bool IsWad)
sCheatPage->Add(sCheats, 1, wxEXPAND|wxALL, 5);
m_CheatPage->SetSizer(sCheatPage);
-
+
wxStaticText * const m_NameText =
new wxStaticText(m_Information, wxID_ANY, _("Name:"));
m_Name = new wxTextCtrl(m_Information, ID_NAME, wxEmptyString,
@@ -501,7 +502,7 @@ void CISOProperties::CreateGUIControls(bool IsWad)
m_Date = new wxTextCtrl(m_Information, ID_DATE, wxEmptyString,
wxDefaultPosition, wxDefaultSize, wxTE_READONLY);
wxStaticText * const m_FSTText =
- new wxStaticText(m_Information, wxID_ANY, _("FST Size:"));
+ new wxStaticText(m_Information, wxID_ANY, _("FST Size:"));
m_FST = new wxTextCtrl(m_Information, ID_FST, wxEmptyString,
wxDefaultPosition, wxDefaultSize, wxTE_READONLY);
@@ -519,12 +520,12 @@ void CISOProperties::CreateGUIControls(bool IsWad)
arrayStringFor_Lang.Add(_("Simplified Chinese"));
arrayStringFor_Lang.Add(_("Traditional Chinese"));
arrayStringFor_Lang.Add(_("Korean"));
-
+
language = SConfig::GetInstance().m_SYSCONF->GetData<u8>("IPL.LNG");
}
m_Lang = new wxChoice(m_Information, ID_LANG, wxDefaultPosition, wxDefaultSize, arrayStringFor_Lang);
m_Lang->SetSelection(language);
-
+
wxStaticText * const m_ShortText = new wxStaticText(m_Information, wxID_ANY, _("Short Name:"));
m_ShortName = new wxTextCtrl(m_Information, ID_SHORTNAME, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY);
wxStaticText * const m_MakerText = new wxStaticText(m_Information, wxID_ANY, _("Maker:"));
@@ -670,9 +671,9 @@ void CISOProperties::OnRightClickOnTree(wxTreeEvent& event)
popupMenu->Append(IDM_EXTRACTDIR, _("Extract Directory..."));
else if (m_Treectrl->GetItemImage(m_Treectrl->GetSelection()) == 2)
popupMenu->Append(IDM_EXTRACTFILE, _("Extract File..."));
-
+
popupMenu->Append(IDM_EXTRACTALL, _("Extract All Files..."));
-
+
if (m_Treectrl->GetItemImage(m_Treectrl->GetSelection()) == 0
&& m_Treectrl->GetFirstVisibleItem() != m_Treectrl->GetSelection())
{
@@ -682,7 +683,7 @@ void CISOProperties::OnRightClickOnTree(wxTreeEvent& event)
popupMenu->AppendSeparator();
popupMenu->Append(IDM_CHECKINTEGRITY, _("Check Partition Integrity"));
}
-
+
PopupMenu(popupMenu);
event.Skip();
@@ -694,7 +695,7 @@ void CISOProperties::OnExtractFile(wxCommandEvent& WXUNUSED (event))
wxString File;
File = m_Treectrl->GetItemText(m_Treectrl->GetSelection());
-
+
Path = wxFileSelector(
_("Export File"),
wxEmptyString, File, wxEmptyString,
@@ -784,7 +785,7 @@ void CISOProperties::ExportDir(const char* _rFullPath, const char* _rExportFolde
{
dialog.SetTitle(wxString::Format(wxT("%s : %d%%"), dialogTitle.c_str(),
(u32)(((float)(i - index[0]) / (float)(index[1] - index[0])) * 100)));
-
+
dialog.Update(i, wxString::Format(_("Extracting %s"),
StrToWxStr(fst[i]->m_FullPath)));
@@ -794,7 +795,7 @@ void CISOProperties::ExportDir(const char* _rFullPath, const char* _rExportFolde
if (fst[i]->IsDirectory())
{
snprintf(exportName, sizeof(exportName), "%s/%s/", _rExportFolder, fst[i]->m_FullPath);
- DEBUG_LOG(DISCIO, "%s", exportName);
+ DEBUG_LOG(DISCIO, "%s", exportName);
if (!File::Exists(exportName) && !File::CreateFullPath(exportName))
{
@@ -879,7 +880,7 @@ void CISOProperties::OnExtractDataFromHeader(wxCommandEvent& event)
wxString Directory = m_Treectrl->GetItemText(m_Treectrl->GetSelection());
std::size_t partitionNum = (std::size_t)wxAtoi(Directory.Mid(Directory.find_first_of("/"), 1));
Directory.Remove(0, Directory.find_first_of("/") +1); // Remove "Partition x/"
-
+
if(WiiDisc.size() > partitionNum)
{
// Get the filesystem of the LAST partition
@@ -895,7 +896,7 @@ void CISOProperties::OnExtractDataFromHeader(wxCommandEvent& event)
{
FS = pFileSystem;
}
-
+
bool ret = false;
if (event.GetId() == IDM_EXTRACTAPPLOADER)
{
@@ -919,7 +920,7 @@ public:
Create();
}
- virtual ExitCode Entry()
+ virtual ExitCode Entry() override
{
return (ExitCode)m_Partition.Partition->CheckIntegrity();
}
@@ -1159,7 +1160,7 @@ void CISOProperties::LaunchExternalEditor(const std::string& filename)
bRefreshList = true; // Just in case
- // Once we're done with the ini edit, give the focus back to Dolphin
+ // Once we're done with the ini edit, give the focus back to Dolphin
SetFocus();
}
@@ -1223,9 +1224,8 @@ void CISOProperties::PatchList_Load()
PatchEngine::LoadPatchSection("OnFrame", onFrame, GameIniDefault, GameIniLocal);
u32 index = 0;
- for (auto it = onFrame.begin(); it != onFrame.end(); ++it)
+ for (PatchEngine::Patch& p : onFrame)
{
- PatchEngine::Patch p = *it;
Patches->Append(StrToWxStr(p.name));
Patches->Check(index, p.active);
if (!p.user_defined)
@@ -1239,16 +1239,16 @@ void CISOProperties::PatchList_Save()
std::vector<std::string> lines;
std::vector<std::string> enabledLines;
u32 index = 0;
- for (auto onFrame_it = onFrame.begin(); onFrame_it != onFrame.end(); ++onFrame_it)
+ for (PatchEngine::Patch& p : onFrame)
{
if (Patches->IsChecked(index))
- enabledLines.push_back("$" + onFrame_it->name);
+ enabledLines.push_back("$" + p.name);
// Do not save default patches.
- if (DefaultPatches.find(onFrame_it->name) == DefaultPatches.end())
+ if (DefaultPatches.find(p.name) == DefaultPatches.end())
{
- lines.push_back("$" + onFrame_it->name);
- for (auto iter2 = onFrame_it->entries.begin(); iter2 != onFrame_it->entries.end(); ++iter2)
+ lines.push_back("$" + p.name);
+ for (auto iter2 = p.entries.begin(); iter2 != p.entries.end(); ++iter2)
{
std::string temp = StringFromFormat("0x%08X:%s:0x%08X", iter2->address, PatchEngine::PatchTypeStrings[iter2->type], iter2->value);
lines.push_back(temp);
@@ -1274,7 +1274,7 @@ void CISOProperties::PHackButtonClicked(wxCommandEvent& event)
void CISOProperties::PatchButtonClicked(wxCommandEvent& event)
{
int selection = Patches->GetSelection();
-
+
switch (event.GetId())
{
case ID_EDITPATCH:
@@ -1330,10 +1330,8 @@ void CISOProperties::ActionReplayList_Save()
std::vector<std::string> lines;
std::vector<std::string> enabledLines;
u32 index = 0;
- for (auto iter = arCodes.begin(); iter != arCodes.end(); ++iter)
+ for (auto code : arCodes)
{
- ActionReplay::ARCode code = *iter;
-
if (Cheats->IsChecked(index))
enabledLines.push_back("$" + code.name);
@@ -1341,9 +1339,9 @@ void CISOProperties::ActionReplayList_Save()
if (DefaultCheats.find(code.name) == DefaultCheats.end())
{
lines.push_back("$" + code.name);
- for (auto iter2 = code.ops.begin(); iter2 != code.ops.end(); ++iter2)
+ for (auto& op : code.ops)
{
- lines.push_back(WxStrToStr(wxString::Format(wxT("%08X %08X"), iter2->cmd_addr, iter2->value)));
+ lines.push_back(WxStrToStr(wxString::Format(wxT("%08X %08X"), op.cmd_addr, op.value)));
}
}
++index;
@@ -1355,7 +1353,7 @@ void CISOProperties::ActionReplayList_Save()
void CISOProperties::ActionReplayButtonClicked(wxCommandEvent& event)
{
int selection = Cheats->GetSelection();
-
+
switch (event.GetId())
{
case ID_EDITCHEAT:
diff --git a/Source/Core/DolphinWX/Src/ISOProperties.h b/Source/Core/DolphinWX/Src/ISOProperties.h
index f58c51dbee..d19e2f9dc4 100644
--- a/Source/Core/DolphinWX/Src/ISOProperties.h
+++ b/Source/Core/DolphinWX/Src/ISOProperties.h
@@ -192,7 +192,7 @@ private:
size_t CreateDirectoryTree(wxTreeItemId& parent,
std::vector<const DiscIO::SFileInfo*> fileInfos,
- const size_t _FirstIndex,
+ const size_t _FirstIndex,
const size_t _LastIndex);
void ExportDir(const char* _rFullPath, const char* _rExportFilename,
const int partitionNum = 0);
diff --git a/Source/Core/DolphinWX/Src/InputConfigDiag.cpp b/Source/Core/DolphinWX/Src/InputConfigDiag.cpp
index 574834f940..a8b7b8aaec 100644
--- a/Source/Core/DolphinWX/Src/InputConfigDiag.cpp
+++ b/Source/Core/DolphinWX/Src/InputConfigDiag.cpp
@@ -307,7 +307,7 @@ bool ControlDialog::Validate()
void GamepadPage::SetDevice(wxCommandEvent&)
{
controller->default_device.FromString(WxStrToStr(device_cbox->GetValue()));
-
+
// show user what it was validated as
device_cbox->SetValue(StrToWxStr(controller->default_device.ToString()));
@@ -322,7 +322,7 @@ void GamepadPage::SetDevice(wxCommandEvent&)
void ControlDialog::SetDevice(wxCommandEvent&)
{
m_devq.FromString(WxStrToStr(device_cbox->GetValue()));
-
+
// show user what it was validated as
device_cbox->SetValue(StrToWxStr(m_devq.ToString()));
@@ -647,7 +647,7 @@ void GamepadPage::SaveProfile(wxCommandEvent&)
IniFile inifile;
controller->SaveConfig(inifile.GetOrCreateSection("Profile"));
inifile.Save(fname);
-
+
m_config_dialog->UpdateProfileComboBox();
}
else
@@ -731,7 +731,7 @@ ControlGroupBox::ControlGroupBox(ControllerEmu::ControlGroup* const group, wxWin
{
wxStaticText* const label = new wxStaticText(parent, -1, wxGetTranslation(StrToWxStr((*ci)->name)));
-
+
ControlButton* const control_button = new ControlButton(parent, (*ci)->control_ref, 80);
control_button->SetFont(m_SmallFont);
@@ -827,7 +827,7 @@ ControlGroupBox::ControlGroupBox(ControllerEmu::ControlGroup* const group, wxWin
if (GROUP_TYPE_MIXED_TRIGGERS == group->type)
width = 64+12+1;
-
+
if (GROUP_TYPE_TRIGGERS != group->type)
height /= 2;
@@ -905,14 +905,14 @@ ControlGroupsSizer::ControlGroupsSizer(ControllerEmu* const controller, wxWindow
size_t col_size = 0;
wxBoxSizer* stacked_groups = NULL;
- for (unsigned int i = 0; i < controller->groups.size(); ++i)
+ for (ControllerEmu::ControlGroup* group : controller->groups)
{
- ControlGroupBox* control_group_box = new ControlGroupBox(controller->groups[i], parent, eventsink);
+ ControlGroupBox* control_group_box = new ControlGroupBox(group, parent, eventsink);
wxStaticBoxSizer *control_group =
- new wxStaticBoxSizer(wxVERTICAL, parent, wxGetTranslation(StrToWxStr(controller->groups[i]->name)));
+ new wxStaticBoxSizer(wxVERTICAL, parent, wxGetTranslation(StrToWxStr(group->name)));
control_group->Add(control_group_box);
- const size_t grp_size = controller->groups[i]->controls.size() + controller->groups[i]->settings.size();
+ const size_t grp_size = group->controls.size() + group->settings.size();
col_size += grp_size;
if (col_size > 8 || NULL == stacked_groups)
{
diff --git a/Source/Core/DolphinWX/Src/InputConfigDiag.h b/Source/Core/DolphinWX/Src/InputConfigDiag.h
index 7d337ed0de..cf88046aeb 100644
--- a/Source/Core/DolphinWX/Src/InputConfigDiag.h
+++ b/Source/Core/DolphinWX/Src/InputConfigDiag.h
@@ -86,7 +86,7 @@ class ControlDialog : public wxDialog
{
public:
ControlDialog(GamepadPage* const parent, InputPlugin& plugin, ControllerInterface::ControlReference* const ref);
-
+
wxStaticBoxSizer* CreateControlChooser(GamepadPage* const parent);
virtual bool Validate();
@@ -207,7 +207,7 @@ public:
std::vector<ControlGroupBox*> control_groups;
protected:
-
+
ControllerEmu* const controller;
private:
diff --git a/Source/Core/DolphinWX/Src/InputConfigDiagBitmaps.cpp b/Source/Core/DolphinWX/Src/InputConfigDiagBitmaps.cpp
index 6aa37d78e9..fd132475ef 100644
--- a/Source/Core/DolphinWX/Src/InputConfigDiagBitmaps.cpp
+++ b/Source/Core/DolphinWX/Src/InputConfigDiagBitmaps.cpp
@@ -263,7 +263,7 @@ void InputConfigDialog::UpdateBitmaps(wxTimerEvent& WXUNUSED(event))
}
delete[] bitmasks;
-
+
}
break;
case GROUP_TYPE_TRIGGERS :
diff --git a/Source/Core/DolphinWX/Src/LogConfigWindow.cpp b/Source/Core/DolphinWX/Src/LogConfigWindow.cpp
index 1518acdf24..23faa656c8 100644
--- a/Source/Core/DolphinWX/Src/LogConfigWindow.cpp
+++ b/Source/Core/DolphinWX/Src/LogConfigWindow.cpp
@@ -101,13 +101,13 @@ void LogConfigWindow::LoadSettings()
// Retrieve the verbosity value from the config ini file.
int verbosity;
ini.Get("Options", "Verbosity", &verbosity, 0);
-
+
// Ensure the verbosity level is valid.
if (verbosity < 1)
verbosity = 1;
if (verbosity > MAX_LOGLEVEL)
verbosity = MAX_LOGLEVEL;
-
+
// Actually set the logging verbosity.
m_verbosity->SetSelection(verbosity - 1);
@@ -136,10 +136,10 @@ void LogConfigWindow::LoadSettings()
{
bool log_enabled;
ini.Get("Logs", m_LogManager->GetShortName((LogTypes::LOG_TYPE)i), &log_enabled, true);
-
+
if (log_enabled)
enableAll = false;
-
+
m_checks->Check(i, log_enabled);
}
}
@@ -175,7 +175,7 @@ void LogConfigWindow::OnVerbosityChange(wxCommandEvent& event)
{
// Get the new verbosity
int v = m_verbosity->GetSelection() + 1;
-
+
// Set all log types to that verbosity level
for (int i = 0; i < LogTypes::NUMBER_OF_LOGS; i++)
{
diff --git a/Source/Core/DolphinWX/Src/LogWindow.cpp b/Source/Core/DolphinWX/Src/LogWindow.cpp
index 421ca9ae6b..6579a8831e 100644
--- a/Source/Core/DolphinWX/Src/LogWindow.cpp
+++ b/Source/Core/DolphinWX/Src/LogWindow.cpp
@@ -51,7 +51,7 @@ void CLogWindow::CreateGUIControls()
// Set up log listeners
int verbosity;
ini.Get("Options", "Verbosity", &verbosity, 0);
-
+
// Ensure the verbosity level is valid
if (verbosity < 1)
verbosity = 1;
@@ -305,23 +305,23 @@ void CLogWindow::UpdateLog()
case ERROR_LEVEL:
m_Log->SetDefaultStyle(wxTextAttr(*wxRED));
break;
-
+
case WARNING_LEVEL:
m_Log->SetDefaultStyle(wxTextAttr(wxColour(255, 255, 0))); // YELLOW
break;
-
+
case NOTICE_LEVEL:
m_Log->SetDefaultStyle(wxTextAttr(*wxGREEN));
break;
-
+
case INFO_LEVEL:
m_Log->SetDefaultStyle(wxTextAttr(*wxCYAN));
break;
-
+
case DEBUG_LEVEL:
m_Log->SetDefaultStyle(wxTextAttr(*wxLIGHT_GREY));
break;
-
+
default:
m_Log->SetDefaultStyle(wxTextAttr(*wxWHITE));
break;
diff --git a/Source/Core/DolphinWX/Src/Main.cpp b/Source/Core/DolphinWX/Src/Main.cpp
index 285fc2729e..d1fc31bc1a 100644
--- a/Source/Core/DolphinWX/Src/Main.cpp
+++ b/Source/Core/DolphinWX/Src/Main.cpp
@@ -112,11 +112,11 @@ bool DolphinApp::Initialize(int& c, wxChar **v)
{
#if defined HAVE_X11 && HAVE_X11
XInitThreads();
-#endif
+#endif
return wxApp::Initialize(c, v);
}
-// The `main program' equivalent that creates the main window and return the main frame
+// The `main program' equivalent that creates the main window and return the main frame
bool DolphinApp::OnInit()
{
@@ -190,7 +190,7 @@ bool DolphinApp::OnInit()
if (parser.Parse() != 0)
{
return false;
- }
+ }
UseDebugger = parser.Found(wxT("debugger"));
UseLogger = parser.Found(wxT("logger"));
@@ -229,7 +229,7 @@ bool DolphinApp::OnInit()
#ifndef _M_ARM
// TODO: if First Boot
- if (!cpu_info.bSSE2)
+ if (!cpu_info.bSSE2)
{
PanicAlertT("Hi,\n\nDolphin requires that your CPU has support for SSE2 extensions.\n"
"Unfortunately your CPU does not support them, so Dolphin will not run.\n\n"
@@ -321,7 +321,7 @@ bool DolphinApp::OnInit()
int leftPos = GetSystemMetrics(SM_XVIRTUALSCREEN);
int topPos = GetSystemMetrics(SM_YVIRTUALSCREEN);
int width = GetSystemMetrics(SM_CXVIRTUALSCREEN);
- int height = GetSystemMetrics(SM_CYVIRTUALSCREEN);
+ int height = GetSystemMetrics(SM_CYVIRTUALSCREEN);
if ((leftPos + width) < (x + w) || leftPos > x || (topPos + height) < (y + h) || topPos > y)
x = y = wxDefaultCoord;
#elif defined __APPLE__
@@ -456,7 +456,7 @@ void DolphinApp::OnFatalException()
// ------------
// Talk to GUI
-void Host_SysMessage(const char *fmt, ...)
+void Host_SysMessage(const char *fmt, ...)
{
va_list list;
char msg[512];
diff --git a/Source/Core/DolphinWX/Src/MainAndroid.cpp b/Source/Core/DolphinWX/Src/MainAndroid.cpp
index 3c0c80871a..f94a90a4df 100644
--- a/Source/Core/DolphinWX/Src/MainAndroid.cpp
+++ b/Source/Core/DolphinWX/Src/MainAndroid.cpp
@@ -94,8 +94,8 @@ void Host_GetRenderWindowSize(int& x, int& y, int& width, int& height)
{
x = SConfig::GetInstance().m_LocalCoreStartupParameter.iRenderWindowXPos;
y = SConfig::GetInstance().m_LocalCoreStartupParameter.iRenderWindowYPos;
- width = g_width;
- height = g_height;
+ width = g_width;
+ height = g_height;
}
void Host_RequestRenderWindowSize(int width, int height) {}
@@ -227,12 +227,12 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_UnPauseEmula
{
PowerPC::Start();
}
-JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_PauseEmulation(JNIEnv *env, jobject obj)
+JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_PauseEmulation(JNIEnv *env, jobject obj)
{
PowerPC::Pause();
}
-JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_StopEmulation(JNIEnv *env, jobject obj)
+JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_StopEmulation(JNIEnv *env, jobject obj)
{
Core::Stop();
updateMainFrameEvent.Set(); // Kick the waiting event
@@ -289,12 +289,12 @@ JNIEXPORT jstring JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_GetConfig
const char *Key = env->GetStringUTFChars(jKey, NULL);
const char *Value = env->GetStringUTFChars(jValue, NULL);
const char *Default = env->GetStringUTFChars(jDefault, NULL);
-
+
ini.Load(File::GetUserPath(D_CONFIG_IDX) + std::string(File));
std::string value;
-
+
ini.Get(Key, Value, &value, Default);
-
+
env->ReleaseStringUTFChars(jFile, File);
env->ReleaseStringUTFChars(jKey, Key);
env->ReleaseStringUTFChars(jValue, Value);
@@ -309,7 +309,7 @@ JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_NativeLibrary_SetConfig(JN
const char *Key = env->GetStringUTFChars(jKey, NULL);
const char *Value = env->GetStringUTFChars(jValue, NULL);
const char *Default = env->GetStringUTFChars(jDefault, NULL);
-
+
ini.Load(File::GetUserPath(D_CONFIG_IDX) + std::string(File));
ini.Set(Key, Value, Default);
diff --git a/Source/Core/DolphinWX/Src/MainNoGUI.cpp b/Source/Core/DolphinWX/Src/MainNoGUI.cpp
index ad1ac8120d..c9e61b46f7 100644
--- a/Source/Core/DolphinWX/Src/MainNoGUI.cpp
+++ b/Source/Core/DolphinWX/Src/MainNoGUI.cpp
@@ -260,7 +260,7 @@ int main(int argc, char* argv[])
{
#ifdef __APPLE__
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- NSEvent *event = [[NSEvent alloc] init];
+ NSEvent *event = [[NSEvent alloc] init];
[NSApplication sharedApplication];
[NSApp activateIgnoringOtherApps: YES];
[NSApp finishLaunching];
@@ -313,7 +313,7 @@ int main(int argc, char* argv[])
event = [NSApp nextEventMatchingMask: NSAnyEventMask
untilDate: [NSDate distantFuture]
inMode: NSDefaultRunLoopMode dequeue: YES];
-
+
if ([event type] == NSKeyDown &&
[event modifierFlags] & NSCommandKeyMask &&
[[event characters] UTF8String][0] == 'q')
@@ -321,10 +321,10 @@ int main(int argc, char* argv[])
Core::Stop();
break;
}
-
+
if ([event type] != NSKeyDown)
[NSApp sendEvent: event];
- }
+ }
[event release];
[pool release];
diff --git a/Source/Core/DolphinWX/Src/MemcardManager.cpp b/Source/Core/DolphinWX/Src/MemcardManager.cpp
index 68f56c014c..9b345c3469 100644
--- a/Source/Core/DolphinWX/Src/MemcardManager.cpp
+++ b/Source/Core/DolphinWX/Src/MemcardManager.cpp
@@ -176,7 +176,7 @@ void CMemcardManager::CreateGUIControls()
m_ConvertToGci = new wxButton(this, ID_CONVERTTOGCI, _("Convert to GCI"));
wxStaticBoxSizer *sMemcard[2];
-
+
for (int slot = SLOT_A; slot <= SLOT_B; slot++)
{
m_CopyFrom[slot] = new wxButton(this, ID_COPYFROM_A + slot,
@@ -203,10 +203,10 @@ void CMemcardManager::CreateGUIControls()
m_MemcardPath[slot] = new wxFilePickerCtrl(this, ID_MEMCARDPATH_A + slot,
StrToWxStr(File::GetUserPath(D_GCUSER_IDX)), _("Choose a memory card:"),
_("Gamecube Memory Cards (*.raw,*.gcp)") + wxString(wxT("|*.raw;*.gcp")), wxDefaultPosition, wxDefaultSize, wxFLP_USE_TEXTCTRL|wxFLP_OPEN);
-
+
m_MemcardList[slot] = new CMemcardListCtrl(this, ID_MEMCARDLIST_A + slot, wxDefaultPosition, wxSize(350,400),
wxLC_REPORT | wxSUNKEN_BORDER | wxLC_ALIGN_LEFT | wxLC_SINGLE_SEL, mcmSettings);
-
+
m_MemcardList[slot]->AssignImageList(new wxImageList(96,32),wxIMAGE_LIST_SMALL);
sMemcard[slot] = new wxStaticBoxSizer(wxVERTICAL, this, _("Memory Card") + wxString::Format(wxT(" %c"), 'A' + slot));
@@ -499,7 +499,7 @@ void CMemcardManager::CopyDeleteClick(wxCommandEvent& event)
{
PanicAlert(E_SAVEFAILED);
}
- break;
+ break;
case ID_CONVERTTOGCI:
fileName2 = "convert";
case ID_SAVEIMPORT_A:
@@ -703,7 +703,7 @@ bool CMemcardManager::ReloadMemcard(const char *fileName, int card)
auto const string_decoder = memoryCard[card]->IsAsciiEncoding() ?
CP1252ToUTF8 : SHIFTJISToUTF8;
-
+
wxTitle = StrToWxStr(string_decoder(title));
wxComment = StrToWxStr(string_decoder(comment));
@@ -711,10 +711,10 @@ bool CMemcardManager::ReloadMemcard(const char *fileName, int card)
m_MemcardList[card]->SetItem(index, COLUMN_COMMENT, wxComment);
blocks = memoryCard[card]->DEntry_BlockCount(fileIndex);
-
+
if (blocks == 0xFFFF)
blocks = 0;
-
+
wxBlock.Printf(wxT("%10d"), blocks);
m_MemcardList[card]->SetItem(index,COLUMN_BLOCKS, wxBlock);
firstblock = memoryCard[card]->DEntry_FirstBlock(fileIndex);
@@ -777,7 +777,7 @@ void CMemcardManager::CMemcardListCtrl::OnRightClick(wxMouseEvent& event)
long item = HitTest(event.GetPosition(), flags);
wxMenu* popupMenu = new wxMenu;
- if (item != wxNOT_FOUND)
+ if (item != wxNOT_FOUND)
{
if (GetItemState(item, wxLIST_STATE_SELECTED) != wxLIST_STATE_SELECTED)
{
@@ -791,7 +791,7 @@ void CMemcardManager::CMemcardListCtrl::OnRightClick(wxMouseEvent& event)
popupMenu->Append(ID_SAVEIMPORT_A + slot, _("Import Save"));
popupMenu->Append(ID_SAVEEXPORT_A + slot, _("Export Save"));
popupMenu->Append(ID_EXPORTALL_A + slot, _("Export all saves"));
-
+
popupMenu->FindItem(ID_COPYFROM_A + slot)->Enable(__mcmSettings.twoCardsLoaded);
popupMenu->AppendSeparator();
@@ -805,7 +805,7 @@ void CMemcardManager::CMemcardListCtrl::OnRightClick(wxMouseEvent& event)
popupMenu->FindItem(ID_PREVPAGE_A + slot)->Enable(prevPage && __mcmSettings.usePages);
popupMenu->FindItem(ID_NEXTPAGE_A + slot)->Enable(nextPage && __mcmSettings.usePages);
popupMenu->FindItem(ID_USEPAGES)->Check(__mcmSettings.usePages);
-
+
popupMenu->AppendSeparator();
// popupMenu->AppendCheckItem(COLUMN_BANNER, _("Show save banner"));
diff --git a/Source/Core/DolphinWX/Src/MemcardManager.h b/Source/Core/DolphinWX/Src/MemcardManager.h
index 9f2f8f0d9b..4310fbcfcf 100644
--- a/Source/Core/DolphinWX/Src/MemcardManager.h
+++ b/Source/Core/DolphinWX/Src/MemcardManager.h
@@ -103,7 +103,7 @@ class CMemcardManager : public wxDialog
COLUMN_COMMENTSADDRESS,
NUMBER_OF_COLUMN
};
-
+
GCMemcard *memoryCard[2];
void CreateGUIControls();
@@ -146,9 +146,9 @@ class CMemcardManager : public wxDialog
bool prevPage,
nextPage;
private:
- void OnRightClick(wxMouseEvent& event);
+ void OnRightClick(wxMouseEvent& event);
};
-
+
CMemcardListCtrl *m_MemcardList[2];
};
diff --git a/Source/Core/DolphinWX/Src/MemoryCards/WiiSaveCrypted.cpp b/Source/Core/DolphinWX/Src/MemoryCards/WiiSaveCrypted.cpp
index 091804e786..2ccc236395 100644
--- a/Source/Core/DolphinWX/Src/MemoryCards/WiiSaveCrypted.cpp
+++ b/Source/Core/DolphinWX/Src/MemoryCards/WiiSaveCrypted.cpp
@@ -7,12 +7,14 @@
// Licensed under the terms of the GNU GPL, version 2
// http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
+#include <algorithm>
+#include <cinttypes>
+
#include "WiiSaveCrypted.h"
#include "FileUtil.h"
#include "MathUtil.h"
#include "NandPaths.h"
#include "FileUtil.h"
-#include <algorithm>
static Common::replace_v replacements;
@@ -40,17 +42,17 @@ void CWiiSaveCrypted::ExportAllSaves()
std::vector<u64> titles;
u32 pathMask = 0x00010000;
for (int i = 0; i < 8; ++i)
- {
+ {
File::FSTEntry FST_Temp;
std::string folder = StringFromFormat("%s/%08x/", titleFolder.c_str(), pathMask | i);
File::ScanDirectoryTree(folder, FST_Temp);
-
- for (u32 j = 0; j < FST_Temp.children.size(); j++)
+
+ for (auto& entry : FST_Temp.children)
{
- if (FST_Temp.children[j].isDirectory)
+ if (entry.isDirectory)
{
u32 gameid;
- if (AsciiToHex(FST_Temp.children[j].virtualName.c_str(), gameid))
+ if (AsciiToHex(entry.virtualName.c_str(), gameid))
{
std::string bannerPath = StringFromFormat("%s%08x/data/banner.bin", folder.c_str(), gameid);
if (File::Exists(bannerPath))
@@ -61,11 +63,11 @@ void CWiiSaveCrypted::ExportAllSaves()
}
}
}
- }
+ }
SuccessAlertT("Found %x save files", (unsigned int) titles.size());
- for (u32 i = 0; i < titles.size(); ++i)
+ for (auto& title : titles)
{
- CWiiSaveCrypted* exportSave = new CWiiSaveCrypted("", titles[i]);
+ CWiiSaveCrypted* exportSave = new CWiiSaveCrypted("", title);
delete exportSave;
}
}
@@ -78,7 +80,7 @@ CWiiSaveCrypted::CWiiSaveCrypted(const char* FileName, u64 TitleID)
if (!TitleID) // Import
{
- AES_set_decrypt_key(SDKey, 128, &m_AES_KEY);
+ aes_setkey_dec(&m_AES_ctx, SDKey, 128);
b_valid = true;
ReadHDR();
ReadBKHDR();
@@ -95,8 +97,8 @@ CWiiSaveCrypted::CWiiSaveCrypted(const char* FileName, u64 TitleID)
}
else
{
- AES_set_encrypt_key(SDKey, 128, &m_AES_KEY);
-
+ aes_setkey_enc(&m_AES_ctx, SDKey, 128);
+
if (getPaths(true))
{
b_valid = true;
@@ -133,7 +135,7 @@ void CWiiSaveCrypted::ReadHDR()
}
fpData_bin.Close();
- AES_cbc_encrypt((const u8*)&_encryptedHeader, (u8*)&_header, HEADER_SZ, &m_AES_KEY, SD_IV, AES_DECRYPT);
+ aes_crypt_cbc(&m_AES_ctx, AES_DECRYPT, HEADER_SZ, SD_IV, (const u8*)&_encryptedHeader, (u8*)&_header);
u32 bannerSize = Common::swap32(_header.hdr.BannerSize);
if ((bannerSize < FULL_BNR_MIN) || (bannerSize > FULL_BNR_MAX) ||
(((bannerSize - BNR_SZ) % ICON_SZ) != 0))
@@ -144,7 +146,7 @@ void CWiiSaveCrypted::ReadHDR()
}
m_TitleID = Common::swap64(_header.hdr.SaveGameTitle);
-
+
u8 md5_file[16],
md5_calc[16];
memcpy(md5_file, _header.hdr.Md5, 0x10);
@@ -152,14 +154,14 @@ void CWiiSaveCrypted::ReadHDR()
md5((u8*)&_header, HEADER_SZ, md5_calc);
if (memcmp(md5_file, md5_calc, 0x10))
{
- PanicAlertT("MD5 mismatch\n %016llx%016llx != %016llx%016llx", Common::swap64(md5_file),Common::swap64(md5_file+8), Common::swap64(md5_calc), Common::swap64(md5_calc+8));
+ PanicAlertT("MD5 mismatch\n %016" PRIx64 "%016" PRIx64 " != %016" PRIx64 "%016" PRIx64, Common::swap64(md5_file),Common::swap64(md5_file+8), Common::swap64(md5_calc), Common::swap64(md5_calc+8));
b_valid= false;
}
-
+
if (!getPaths())
{
b_valid = false;
- return;
+ return;
}
std::string BannerFilePath = WiiTitlePath + "banner.bin";
if (!File::Exists(BannerFilePath) || AskYesNoT("%s already exists, overwrite?", BannerFilePath.c_str()))
@@ -197,8 +199,8 @@ void CWiiSaveCrypted::WriteHDR()
md5((u8*)&_header, HEADER_SZ, md5_calc);
memcpy(_header.hdr.Md5, md5_calc, 0x10);
- AES_cbc_encrypt((const unsigned char *)&_header, (u8*)&_encryptedHeader, HEADER_SZ, &m_AES_KEY, SD_IV, AES_ENCRYPT);
-
+ aes_crypt_cbc(&m_AES_ctx, AES_ENCRYPT, HEADER_SZ, SD_IV, (const u8*)&_header, (u8*)&_encryptedHeader);
+
File::IOFile fpData_bin(encryptedSavePath, "wb");
if (!fpData_bin.WriteBytes(&_encryptedHeader, HEADER_SZ))
{
@@ -212,7 +214,7 @@ void CWiiSaveCrypted::WriteHDR()
void CWiiSaveCrypted::ReadBKHDR()
{
if (!b_valid) return;
-
+
File::IOFile fpData_bin(encryptedSavePath, "rb");
if (!fpData_bin)
{
@@ -228,7 +230,7 @@ void CWiiSaveCrypted::ReadBKHDR()
return;
}
fpData_bin.Close();
-
+
if (bkhdr.size != Common::swap32(BK_LISTED_SZ) ||
bkhdr.magic != Common::swap32(BK_HDR_MAGIC))
{
@@ -236,15 +238,15 @@ void CWiiSaveCrypted::ReadBKHDR()
b_valid = false;
return;
}
-
+
_numberOfFiles = Common::swap32(bkhdr.numberOfFiles);
_sizeOfFiles = Common::swap32(bkhdr.sizeOfFiles);
_totalSize = Common::swap32(bkhdr.totalSize);
-
+
if (_sizeOfFiles + FULL_CERT_SZ != _totalSize)
WARN_LOG(CONSOLE, "Size(%x) + cert(%x) does not equal totalsize(%x)", _sizeOfFiles, FULL_CERT_SZ, _totalSize);
if (m_TitleID != Common::swap64(bkhdr.SaveGameTitle))
- WARN_LOG(CONSOLE, "Encrypted title (%llx) does not match unencrypted title (%llx)", m_TitleID, Common::swap64(bkhdr.SaveGameTitle));
+ WARN_LOG(CONSOLE, "Encrypted title (%" PRIx64 ") does not match unencrypted title (%" PRIx64 ")", m_TitleID, Common::swap64(bkhdr.SaveGameTitle));
}
void CWiiSaveCrypted::WriteBKHDR()
@@ -252,7 +254,7 @@ void CWiiSaveCrypted::WriteBKHDR()
if (!b_valid) return;
_numberOfFiles = 0;
_sizeOfFiles = 0;
-
+
ScanForFiles(WiiTitlePath, FilesList, &_numberOfFiles, &_sizeOfFiles);
memset(&bkhdr, 0, BK_SZ);
bkhdr.size = Common::swap32(BK_LISTED_SZ);
@@ -293,13 +295,13 @@ void CWiiSaveCrypted::ImportWiiSaveFiles()
memset(&_tmpFileHDR, 0, FILE_HDR_SZ);
memset(IV, 0, 0x10);
u32 _fileSize = 0;
-
+
if (!fpData_bin.ReadBytes(&_tmpFileHDR, FILE_HDR_SZ))
{
PanicAlertT("Failed to read header for file %d", i);
b_valid = false;
}
-
+
if (Common::swap32(_tmpFileHDR.magic) != FILE_HDR_MAGIC)
{
PanicAlertT("Bad File Header");
@@ -315,7 +317,7 @@ void CWiiSaveCrypted::ImportWiiSaveFiles()
}
std::string fullFilePath = WiiTitlePath + fileName;
- File::CreateFullPath(fullFilePath);
+ File::CreateFullPath(fullFilePath);
if (_tmpFileHDR.type == 1)
{
_fileSize = Common::swap32(_tmpFileHDR.size);
@@ -329,20 +331,20 @@ void CWiiSaveCrypted::ImportWiiSaveFiles()
b_valid = false;
break;
}
-
-
+
+
memcpy(IV, _tmpFileHDR.IV, 0x10);
- AES_cbc_encrypt((const unsigned char *)&_encryptedData[0], &_data[0], RoundedFileSize, &m_AES_KEY, IV, AES_DECRYPT);
-
+ aes_crypt_cbc(&m_AES_ctx, AES_DECRYPT, RoundedFileSize, IV, (const u8*)&_encryptedData[0], &_data[0]);
+
if (!File::Exists(fullFilePath) || AskYesNoT("%s already exists, overwrite?", fullFilePath.c_str()))
{
INFO_LOG(CONSOLE, "Creating file %s", fullFilePath.c_str());
-
+
File::IOFile fpRawSaveFile(fullFilePath, "wb");
fpRawSaveFile.WriteBytes(&_data[0], _fileSize);
}
}
- }
+ }
}
}
@@ -355,18 +357,18 @@ void CWiiSaveCrypted::ExportWiiSaveFiles()
FileHDR tmpFileHDR;
std::string __name, __ext;
memset(&tmpFileHDR, 0, FILE_HDR_SZ);
-
+
u32 _fileSize = 0;
if (File::IsDirectory(FilesList[i]))
{
- tmpFileHDR.type = 2;
+ tmpFileHDR.type = 2;
}
else
{
_fileSize = File::GetSize(FilesList[i]);
tmpFileHDR.type = 1;
}
-
+
u32 _roundedfileSize = ROUND_UP(_fileSize, BLOCK_SZ);
tmpFileHDR.magic = Common::swap32(FILE_HDR_MAGIC);
tmpFileHDR.size = Common::swap32(_fileSize);
@@ -374,7 +376,7 @@ void CWiiSaveCrypted::ExportWiiSaveFiles()
__name = FilesList[i].substr(WiiTitlePath.length()+1);
-
+
for (Common::replace_v::const_iterator iter = replacements.begin(); iter != replacements.end(); ++iter)
{
for (size_t j = 0; (j = __name.find(iter->second, j)) != __name.npos; ++j)
@@ -382,7 +384,7 @@ void CWiiSaveCrypted::ExportWiiSaveFiles()
__name.replace(j, iter->second.length(), 1, iter->first);
}
}
-
+
if (__name.length() > 0x44)
{
PanicAlertT("%s is too long for the filename, max chars is 45", __name.c_str());
@@ -390,7 +392,7 @@ void CWiiSaveCrypted::ExportWiiSaveFiles()
return;
}
strncpy((char *)tmpFileHDR.name, __name.c_str(), __name.length());
-
+
{
File::IOFile fpData_bin(encryptedSavePath, "ab");
fpData_bin.WriteBytes(&tmpFileHDR, FILE_HDR_SZ);
@@ -410,7 +412,7 @@ void CWiiSaveCrypted::ExportWiiSaveFiles()
PanicAlertT("%s failed to open", FilesList[i].c_str());
b_valid = false;
}
-
+
std::vector<u8> _data,_encryptedData;
_data.reserve(_roundedfileSize);
_encryptedData.reserve(_roundedfileSize);
@@ -421,8 +423,8 @@ void CWiiSaveCrypted::ExportWiiSaveFiles()
b_valid = false;
}
- AES_cbc_encrypt((const u8*)&_data[0], &_encryptedData[0], _roundedfileSize, &m_AES_KEY, tmpFileHDR.IV, AES_ENCRYPT);
-
+ aes_crypt_cbc(&m_AES_ctx, AES_ENCRYPT, _roundedfileSize, tmpFileHDR.IV, (const u8*)&_data[0], &_encryptedData[0]);
+
File::IOFile fpData_bin(encryptedSavePath, "ab");
if (!fpData_bin.WriteBytes(&_encryptedData[0], _roundedfileSize))
PanicAlertT("Failed to write data to file: %s", encryptedSavePath.c_str());
@@ -445,7 +447,7 @@ void CWiiSaveCrypted::do_sig()
char name[64];
u8 *data;
u32 data_size;
-
+
u32 NG_key_id = 0x6AAB8C59;
u8 NG_priv[30] = { 0, 0xAB, 0xEE, 0xC1, 0xDD, 0xB4, 0xA6, 0x16, 0x6B, 0x70, 0xFD, 0x7E, 0x56, 0x67, 0x70,
@@ -503,7 +505,7 @@ void CWiiSaveCrypted::do_sig()
}
generate_ecdsa(sig, sig + 30, ap_priv, hash);
*(u32*)(sig + 60) = Common::swap32(0x2f536969);
-
+
fpData_bin.WriteArray(sig, sizeof(sig));
fpData_bin.WriteArray(ng_cert, sizeof(ng_cert));
fpData_bin.WriteArray(ap_cert, sizeof(ap_cert));
@@ -545,21 +547,21 @@ bool CWiiSaveCrypted::getPaths(bool forExport)
PanicAlertT("No save folder found for title %s", GameID);
return false;
}
-
+
if(!File::Exists(WiiTitlePath + "banner.bin"))
{
b_valid = false;
PanicAlertT("No banner file found for title %s", GameID);
return false;
}
- if (encryptedSavePath.length() == 0)
+ if (encryptedSavePath.length() == 0)
encryptedSavePath = "."; // If no path was passed, use current dir
encryptedSavePath += StringFromFormat("/private/wii/title/%s/data.bin", GameID);
File::CreateFullPath(encryptedSavePath);
}
else
{
- File::CreateFullPath(WiiTitlePath);
+ File::CreateFullPath(WiiTitlePath);
if (!AskYesNoT("Warning! it is advised to backup all files in the folder:\n%s\nDo you wish to continue?", WiiTitlePath.c_str()))
return false;
}
@@ -581,25 +583,25 @@ void CWiiSaveCrypted::ScanForFiles(std::string savDir, std::vector<std::string>&
File::FSTEntry FST_Temp;
File::ScanDirectoryTree(Directories[i], FST_Temp);
- for (u32 j = 0; j < FST_Temp.children.size(); j++)
+ for (auto& elem : FST_Temp.children)
{
- if (strncmp(FST_Temp.children.at(j).virtualName.c_str(), "banner.bin", 10) != 0)
+ if (strncmp(elem.virtualName.c_str(), "banner.bin", 10) != 0)
{
(*_numFiles)++;
*_sizeFiles += FILE_HDR_SZ;
- if (FST_Temp.children.at(j).isDirectory)
+ if (elem.isDirectory)
{
- if ((FST_Temp.children.at(j).virtualName == "nocopy") || FST_Temp.children.at(j).virtualName == "nomove")
+ if ((elem.virtualName == "nocopy") || elem.virtualName == "nomove")
{
PanicAlert("This save will likely require homebrew tools to copy to a real wii");
}
- Directories.push_back(FST_Temp.children.at(j).physicalName);
+ Directories.push_back(elem.physicalName);
}
else
{
- FileList.push_back(FST_Temp.children.at(j).physicalName);
- *_sizeFiles += ROUND_UP(FST_Temp.children.at(j).size, BLOCK_SZ);
+ FileList.push_back(elem.physicalName);
+ *_sizeFiles += ROUND_UP(elem.size, BLOCK_SZ);
}
}
}
diff --git a/Source/Core/DolphinWX/Src/MemoryCards/WiiSaveCrypted.h b/Source/Core/DolphinWX/Src/MemoryCards/WiiSaveCrypted.h
index 29a3e1f530..68afad43cf 100644
--- a/Source/Core/DolphinWX/Src/MemoryCards/WiiSaveCrypted.h
+++ b/Source/Core/DolphinWX/Src/MemoryCards/WiiSaveCrypted.h
@@ -6,8 +6,8 @@
#define _WII_SAVE_CRYPTED
#include "StringUtil.h"
-#include "Crypto/aes.h"
#include "Crypto/tools.h"
+#include <polarssl/aes.h>
#include "polarssl/md5.h"
// --- this is used for encrypted Wii save files
@@ -35,8 +35,7 @@ private:
bool getPaths(bool forExport = false);
void ScanForFiles(std::string savDir, std::vector<std::string>&FilesList, u32 *_numFiles, u32 *_sizeFiles);
-
- AES_KEY m_AES_KEY;
+ aes_context m_AES_ctx;
u8 SD_IV[0x10];
std::vector<std::string> FilesList;
@@ -45,7 +44,7 @@ private:
std::string WiiTitlePath;
u8 IV[0x10];
-
+
u32 //_bannerSize,
_numberOfFiles,
_sizeOfFiles,
diff --git a/Source/Core/DolphinWX/Src/NetWindow.cpp b/Source/Core/DolphinWX/Src/NetWindow.cpp
index b575ad6663..79ec2b59a5 100644
--- a/Source/Core/DolphinWX/Src/NetWindow.cpp
+++ b/Source/Core/DolphinWX/Src/NetWindow.cpp
@@ -32,7 +32,7 @@ std::string BuildGameName(const GameListItem& game)
{
// Lang needs to be consistent
auto const lang = 0;
-
+
std::string name(game.GetBannerName(lang));
if (name.empty())
name = game.GetVolumeName(lang);
@@ -62,7 +62,7 @@ NetPlaySetupDiag::NetPlaySetupDiag(wxWindow* const parent, const CGameListCtrl*
// top row
wxStaticText* const nick_lbl = new wxStaticText(panel, wxID_ANY, _("Nickname :"),
wxDefaultPosition, wxDefaultSize);
-
+
std::string nickname;
netplay_section.Get("Nickname", &nickname, "Player");
m_nickname_text = new wxTextCtrl(panel, wxID_ANY, StrToWxStr(nickname));
@@ -84,17 +84,17 @@ NetPlaySetupDiag::NetPlaySetupDiag(wxWindow* const parent, const CGameListCtrl*
{
wxStaticText* const ip_lbl = new wxStaticText(connect_tab, wxID_ANY, _("Address :"),
wxDefaultPosition, wxDefaultSize);
-
+
std::string address;
netplay_section.Get("Address", &address, "localhost");
m_connect_ip_text = new wxTextCtrl(connect_tab, wxID_ANY, StrToWxStr(address));
wxStaticText* const port_lbl = new wxStaticText(connect_tab, wxID_ANY, _("Port :"),
wxDefaultPosition, wxDefaultSize);
-
+
// string? w/e
std::string port;
- netplay_section.Get("ConnectPort", &port, "2626");
+ netplay_section.Get("ConnectPort", &port, "2626");
m_connect_port_text = new wxTextCtrl(connect_tab, wxID_ANY, StrToWxStr(port));
wxButton* const connect_btn = new wxButton(connect_tab, wxID_ANY, _("Connect"));
@@ -136,10 +136,10 @@ NetPlaySetupDiag::NetPlaySetupDiag(wxWindow* const parent, const CGameListCtrl*
{
wxStaticText* const port_lbl = new wxStaticText(host_tab, wxID_ANY, _("Port :"),
wxDefaultPosition, wxDefaultSize);
-
+
// string? w/e
std::string port;
- netplay_section.Get("HostPort", &port, "2626");
+ netplay_section.Get("HostPort", &port, "2626");
m_host_port_text = new wxTextCtrl(host_tab, wxID_ANY, StrToWxStr(port));
wxButton* const host_btn = new wxButton(host_tab, wxID_ANY, _("Host"));
@@ -147,7 +147,7 @@ NetPlaySetupDiag::NetPlaySetupDiag(wxWindow* const parent, const CGameListCtrl*
m_game_lbox = new wxListBox(host_tab, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, nullptr, wxLB_SORT);
m_game_lbox->Bind(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, &NetPlaySetupDiag::OnHost, this);
-
+
FillWithGameNames(m_game_lbox, *game_list);
wxBoxSizer* const top_szr = new wxBoxSizer(wxHORIZONTAL);
@@ -294,7 +294,7 @@ NetPlayDiag::NetPlayDiag(wxWindow* const parent, const CGameListCtrl* const game
m_game_btn = new wxButton(panel, wxID_ANY,
StrToWxStr(m_selected_game).Prepend(_(" Game : ")),
wxDefaultPosition, wxDefaultSize, wxBU_LEFT);
-
+
if (is_hosting)
m_game_btn->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &NetPlayDiag::OnChangeGame, this);
else
@@ -422,7 +422,7 @@ std::string NetPlayDiag::FindGame()
for (u32 i = 0 ; auto game = m_game_list->GetISO(i); ++i)
if (m_selected_game == BuildGameName(*game))
return game->GetFileName();
-
+
PanicAlertT("Game not found!");
return "";
}
@@ -622,8 +622,8 @@ PadMapDiag::PadMapDiag(wxWindow* const parent, PadMapping map[], PadMapping wiim
wxArrayString player_names;
player_names.Add(_("None"));
- for (unsigned int i = 0; i < m_player_list.size(); i++)
- player_names.Add(m_player_list[i]->name);
+ for (auto& player : m_player_list)
+ player_names.Add(player->name);
wxString wiimote_names[5];
wiimote_names[0] = _("None");
diff --git a/Source/Core/DolphinWX/Src/PatchAddEdit.cpp b/Source/Core/DolphinWX/Src/PatchAddEdit.cpp
index e730b21afe..9850d2bc32 100644
--- a/Source/Core/DolphinWX/Src/PatchAddEdit.cpp
+++ b/Source/Core/DolphinWX/Src/PatchAddEdit.cpp
@@ -74,7 +74,7 @@ void CPatchAddEdit::CreateGUIControls(int _selection)
wxGridBagSizer* sgEntry = new wxGridBagSizer(0, 0);
sgEntry->Add(EditPatchType, wxGBPosition(0, 0), wxGBSpan(1, 2), wxEXPAND|wxALL, 5);
sgEntry->Add(EditPatchOffsetText, wxGBPosition(1, 0), wxGBSpan(1, 1), wxALIGN_CENTER_VERTICAL|wxALL, 5);
- sgEntry->Add(EditPatchOffset, wxGBPosition(1, 1), wxGBSpan(1, 1), wxEXPAND|wxALL, 5);
+ sgEntry->Add(EditPatchOffset, wxGBPosition(1, 1), wxGBSpan(1, 1), wxEXPAND|wxALL, 5);
sgEntry->Add(EditPatchValueText, wxGBPosition(2, 0), wxGBSpan(1, 1), wxALIGN_CENTER_VERTICAL|wxALL, 5);
sgEntry->Add(EditPatchValue, wxGBPosition(2, 1), wxGBSpan(1, 1), wxEXPAND|wxALL, 5);
sgEntry->Add(EntrySelection, wxGBPosition(0, 2), wxGBSpan(3, 1), wxEXPAND|wxALL, 5);
@@ -95,7 +95,7 @@ void CPatchAddEdit::ChangeEntry(wxSpinEvent& event)
{
if (!UpdateTempEntryData(itCurEntry))
return;
-
+
itCurEntry = tempEntries.end() - event.GetPosition() - 1;
currentItem = (int)tempEntries.size() - event.GetPosition();
UpdateEntryCtrls(*itCurEntry);
@@ -147,9 +147,9 @@ void CPatchAddEdit::AddRemoveEntry(wxCommandEvent& event)
}
break;
case ID_ENTRY_REMOVE:
- {
+ {
itCurEntry = tempEntries.erase(itCurEntry);
-
+
if (itCurEntry != tempEntries.begin())
{
--itCurEntry;
@@ -159,8 +159,8 @@ void CPatchAddEdit::AddRemoveEntry(wxCommandEvent& event)
{
EntrySelection->SetValue(EntrySelection->GetValue() - 1);
}
-
- EntrySelection->SetRange(EntrySelection->GetMin(), EntrySelection->GetMax() - 1);
+
+ EntrySelection->SetRange(EntrySelection->GetMin(), EntrySelection->GetMax() - 1);
UpdateEntryCtrls(*itCurEntry);
if ((int)tempEntries.size() <= 1)
@@ -193,7 +193,7 @@ bool CPatchAddEdit::UpdateTempEntryData(std::vector<PatchEngine::PatchEntry>::it
else
parsed_ok = false;
- PatchEngine::PatchType tempType =
+ PatchEngine::PatchType tempType =
(*iterEntry).type = (PatchEngine::PatchType)EditPatchType->GetSelection();
if (EditPatchValue->GetValue().ToULong(&value, 16))
diff --git a/Source/Core/DolphinWX/Src/TASInputDlg.cpp b/Source/Core/DolphinWX/Src/TASInputDlg.cpp
index 2bae92287b..8952725463 100644
--- a/Source/Core/DolphinWX/Src/TASInputDlg.cpp
+++ b/Source/Core/DolphinWX/Src/TASInputDlg.cpp
@@ -32,7 +32,7 @@ TASInputDlg::TASInputDlg(wxWindow *parent, wxWindowID id, const wxString &title,
A_turbo = B_turbo = X_turbo = Y_turbo = Z_turbo = L_turbo = R_turbo = START_turbo = DL_turbo = DR_turbo = DD_turbo = DU_turbo = false;
xaxis = yaxis = c_xaxis = c_yaxis = 128;
A_cont = B_cont = X_cont = Y_cont = Z_cont = L_cont = L_button_cont = R_cont = R_button_cont = START_cont = DL_cont = DR_cont = DD_cont = DU_cont = mstickx = msticky = cstickx = csticky = false;
-
+
wxBoxSizer* const top_box = new wxBoxSizer(wxHORIZONTAL);
wxBoxSizer* const bottom_box = new wxBoxSizer(wxHORIZONTAL);
wxStaticBoxSizer* const main_box = new wxStaticBoxSizer(wxHORIZONTAL, this, _("Main Stick"));
@@ -66,7 +66,7 @@ TASInputDlg::TASInputDlg(wxWindow *parent, wxWindowID id, const wxString &title,
wxBoxSizer* const c_xslider_box = new wxBoxSizer(wxHORIZONTAL);
wxBoxSizer* const c_yslider_box = new wxBoxSizer(wxVERTICAL);
wxBoxSizer* const c_stick_box = new wxBoxSizer(wxVERTICAL);
-
+
static_bitmap_c = new wxStaticBitmap(this, ID_C_STICK, TASInputDlg::CreateStickBitmap(128,128), wxDefaultPosition, wxDefaultSize);
static_bitmap_c->Bind(wxEVT_LEFT_DOWN, &TASInputDlg::OnMouseDownL, this);
static_bitmap_c->Bind(wxEVT_MOTION, &TASInputDlg::OnMouseDownL, this);
@@ -90,7 +90,7 @@ TASInputDlg::TASInputDlg(wxWindow *parent, wxWindowID id, const wxString &title,
c_box->Add(c_yslider_box);
wxStaticBoxSizer* const shoulder_box = new wxStaticBoxSizer(wxHORIZONTAL, this, _("Shoulder Buttons"));
-
+
wx_l_s = new wxSlider(this, ID_L_SLIDER, 0, 0, 255, wxDefaultPosition, wxDefaultSize, wxSL_VERTICAL | wxSL_INVERSE);
wx_l_s->SetMinSize(wxSize(-1,100));
wx_l_t = new wxTextCtrl(this, ID_L_TEXT, wxT("0"), wxDefaultPosition, wxSize(40, 20));
@@ -99,7 +99,7 @@ TASInputDlg::TASInputDlg(wxWindow *parent, wxWindowID id, const wxString &title,
wx_r_s->SetMinSize(wxSize(-1,100));
wx_r_t = new wxTextCtrl(this, ID_R_TEXT, wxT("0"), wxDefaultPosition, wxSize(40, 20));
wx_r_t->SetMaxLength(3);
-
+
shoulder_box->Add(wx_l_s, 0, wxALIGN_CENTER_VERTICAL);
shoulder_box->Add(wx_l_t, 0, wxALIGN_CENTER_VERTICAL);
shoulder_box->Add(wx_r_s, 0, wxALIGN_CENTER_VERTICAL);
@@ -107,7 +107,7 @@ TASInputDlg::TASInputDlg(wxWindow *parent, wxWindowID id, const wxString &title,
wxStaticBoxSizer* const buttons_box = new wxStaticBoxSizer(wxVERTICAL, this, _("Buttons"));
wxGridSizer* const buttons_grid = new wxGridSizer(4);
-
+
wx_a_button = new wxCheckBox(this,ID_A,_T("A"),wxDefaultPosition,wxDefaultSize,0,wxDefaultValidator,wxCheckBoxNameStr);
wx_a_button->Bind(wxEVT_RIGHT_DOWN, &TASInputDlg::SetTurbo, this);
wx_a_button->Bind(wxEVT_LEFT_DOWN, &TASInputDlg::SetTurboFalse, this);
@@ -132,7 +132,7 @@ TASInputDlg::TASInputDlg(wxWindow *parent, wxWindowID id, const wxString &title,
wx_start_button = new wxCheckBox(this,ID_START,_T("Start"),wxDefaultPosition,wxDefaultSize,0,wxDefaultValidator,wxCheckBoxNameStr);
wx_start_button->Bind(wxEVT_RIGHT_DOWN, &TASInputDlg::SetTurbo, this);
wx_start_button->Bind(wxEVT_LEFT_DOWN, &TASInputDlg::SetTurboFalse, this);
-
+
buttons_grid->Add(wx_a_button,false);
buttons_grid->Add(wx_b_button,false);
buttons_grid->Add(wx_x_button,false);
@@ -144,7 +144,7 @@ TASInputDlg::TASInputDlg(wxWindow *parent, wxWindowID id, const wxString &title,
buttons_grid->AddSpacer(5);
wxGridSizer* const buttons_dpad = new wxGridSizer(3);
-
+
wx_up_button = new wxCheckBox(this,ID_UP,_T("Up"),wxDefaultPosition,wxDefaultSize,0,wxDefaultValidator,wxCheckBoxNameStr);
wx_up_button->Bind(wxEVT_RIGHT_DOWN, &TASInputDlg::SetTurbo, this);
wx_up_button->Bind(wxEVT_LEFT_DOWN, &TASInputDlg::SetTurboFalse, this);
@@ -157,7 +157,7 @@ TASInputDlg::TASInputDlg(wxWindow *parent, wxWindowID id, const wxString &title,
wx_left_button = new wxCheckBox(this,ID_LEFT,_T("Left"),wxDefaultPosition,wxDefaultSize,0,wxDefaultValidator,wxCheckBoxNameStr);
wx_left_button->Bind(wxEVT_RIGHT_DOWN, &TASInputDlg::SetTurbo, this);
wx_left_button->Bind(wxEVT_LEFT_DOWN, &TASInputDlg::SetTurboFalse, this);
-
+
buttons_dpad->AddSpacer(20);
buttons_dpad->Add(wx_up_button,false);
buttons_dpad->AddSpacer(20);
@@ -192,21 +192,21 @@ void TASInputDlg::ResetValues()
{
mainX = mainY = cX = cY = 128;
lTrig = rTrig = 0;
-
+
wx_mainX_s->SetValue(128);
wx_mainY_s->SetValue(128);
wx_cX_s->SetValue(128);
wx_cY_s->SetValue(128);
wx_l_s->SetValue(0);
wx_r_s->SetValue(0);
-
+
wx_mainX_t->SetValue(wxT("128"));
wx_mainY_t->SetValue(wxT("128"));
wx_cX_t->SetValue(wxT("128"));
wx_cY_t->SetValue(wxT("128"));
wx_l_t->SetValue(wxT("0"));
wx_r_t->SetValue(wxT("0"));
-
+
wx_up_button->SetValue(false);
wx_down_button->SetValue(false);
wx_left_button->SetValue(false);
@@ -229,7 +229,7 @@ void TASInputDlg::GetKeyBoardInput(SPADStatus *PadStatus)
mstickx = true;
wx_mainX_t->SetValue(wxString::Format(wxT("%i"), mainX));
}
-
+
else if(mstickx)
{
mstickx = false;
@@ -308,7 +308,7 @@ void TASInputDlg::GetKeyBoardInput(SPADStatus *PadStatus)
wx_left_button->SetValue(false);
DL_cont = false;
}
-
+
if(((PadStatus->button & PAD_BUTTON_RIGHT) != 0))
{
wx_right_button->SetValue(true);
@@ -388,7 +388,7 @@ void TASInputDlg::GetKeyBoardInput(SPADStatus *PadStatus)
wx_l_t->SetValue(wxT("0"));
L_cont = false;
}
-
+
if(((PadStatus->triggerRight) != 0))
{
if (PadStatus->triggerRight == 255)
@@ -424,7 +424,7 @@ void TASInputDlg::GetKeyBoardInput(SPADStatus *PadStatus)
wx_z_button->SetValue(false);
Z_cont = false;
}
-
+
if(((PadStatus->button & PAD_BUTTON_START) != 0))
{
wx_start_button->SetValue(true);
@@ -454,7 +454,7 @@ void TASInputDlg::GetValues(SPADStatus *PadStatus, int controllerID)
{
if (!IsShown())
return;
-
+
//TODO:: Make this instant not when polled.
GetKeyBoardInput(PadStatus);
SetLandRTriggers();
@@ -485,7 +485,7 @@ void TASInputDlg::GetValues(SPADStatus *PadStatus, int controllerID)
PadStatus->button |= PAD_BUTTON_RIGHT;
else
PadStatus->button &= ~PAD_BUTTON_RIGHT;
-
+
if(wx_a_button->IsChecked())
{
PadStatus->button |= PAD_BUTTON_A;
@@ -537,7 +537,7 @@ void TASInputDlg::GetValues(SPADStatus *PadStatus, int controllerID)
PadStatus->button |= PAD_TRIGGER_L;
else
PadStatus->button &= ~PAD_TRIGGER_L;
-
+
ButtonTurbo();
}
@@ -594,12 +594,12 @@ void TASInputDlg::UpdateFromSliders(wxCommandEvent& event)
int value = ((wxSlider *) event.GetEventObject())->GetValue();
*v = (u8) value;
text->SetValue(wxString::Format(wxT("%i"), value));
-
+
if(update == 1)
{
static_bitmap_main->SetBitmap(TASInputDlg::CreateStickBitmap(xaxis, yaxis));
}
-
+
if(update == 2)
{
static_bitmap_c->SetBitmap(TASInputDlg::CreateStickBitmap(c_xaxis, c_yaxis));
@@ -612,7 +612,7 @@ void TASInputDlg::UpdateFromText(wxCommandEvent& event)
u8 *v;
update = 0;
update_axis = 0;
-
+
switch(event.GetId())
{
case ID_MAIN_X_TEXT:
@@ -639,7 +639,7 @@ void TASInputDlg::UpdateFromText(wxCommandEvent& event)
case ID_C_Y_TEXT:
slider = wx_cY_s;
v = &cY;
- update = 2;
+ update = 2;
update_axis = 2;
break;
@@ -662,7 +662,7 @@ void TASInputDlg::UpdateFromText(wxCommandEvent& event)
{
*v = (u8) (value > 255 ? 255 : value);
slider->SetValue(*v);
-
+
if(update == 1)
{
if(update_axis == 1)
@@ -670,13 +670,13 @@ void TASInputDlg::UpdateFromText(wxCommandEvent& event)
xaxis = *v;
static_bitmap_main->SetBitmap(TASInputDlg::CreateStickBitmap(xaxis,yaxis));
}
-
+
if(update_axis == 2)
{
yaxis =256 - *v;
static_bitmap_main->SetBitmap(TASInputDlg::CreateStickBitmap(xaxis,yaxis));
}
-
+
}
if(update == 2)
@@ -686,13 +686,13 @@ void TASInputDlg::UpdateFromText(wxCommandEvent& event)
c_xaxis = *v;
static_bitmap_c->SetBitmap(TASInputDlg::CreateStickBitmap(c_xaxis,c_yaxis));
}
-
+
if(update_axis == 2)
{
c_yaxis =256- *v;
static_bitmap_c->SetBitmap(TASInputDlg::CreateStickBitmap(c_xaxis,c_yaxis));
}
-
+
}
}
}
@@ -708,7 +708,7 @@ void TASInputDlg::OnCloseWindow(wxCloseEvent& event)
}
bool TASInputDlg::TASHasFocus()
-{
+{
//allows numbers to be used as hotkeys
if(TextBoxHasFocus())
return false;
@@ -782,10 +782,10 @@ void TASInputDlg::OnMouseUpR(wxMouseEvent& event)
*y = 128;
sbitmap->SetBitmap(TASInputDlg::CreateStickBitmap(*x,*y));
-
+
textX->SetValue(wxString::Format(wxT("%i"), *x));
textY->SetValue(wxString::Format(wxT("%i"), 256 - *y));
-
+
sliderX->SetValue(*x);
sliderY->SetValue(256 - *y);
event.Skip(true);
@@ -828,21 +828,21 @@ void TASInputDlg::OnMouseDownL(wxMouseEvent& event)
return;
}
- wxPoint ptM(event.GetPosition());
+ wxPoint ptM(event.GetPosition());
*x = ptM.x *2;
*y = ptM.y * 2;
if(*x > 255)
*x = 255;
-
+
if(*y > 255)
*y = 255;
sbitmap->SetBitmap(TASInputDlg::CreateStickBitmap(*x,*y));
-
+
textX->SetValue(wxString::Format(wxT("%i"), *x));
textY->SetValue(wxString::Format(wxT("%i"), 256 - *y));
-
+
sliderX->SetValue(*x);
sliderY->SetValue(256 - *y);
event.Skip(true);
@@ -915,7 +915,7 @@ void TASInputDlg::SetTurbo(wxMouseEvent& event)
{
case ID_A:
placeholder = wx_a_button;
-
+
if(A_turbo)
A_turbo = false;
else
diff --git a/Source/Core/DolphinWX/Src/UDPConfigDiag.cpp b/Source/Core/DolphinWX/Src/UDPConfigDiag.cpp
index 9619f38dee..3504ae5c85 100644
--- a/Source/Core/DolphinWX/Src/UDPConfigDiag.cpp
+++ b/Source/Core/DolphinWX/Src/UDPConfigDiag.cpp
@@ -45,7 +45,7 @@ UDPConfigDiag::UDPConfigDiag(wxWindow * const parent, UDPWrapper * _wrp) :
point->SetValue(wrp->updIR);
nun->SetValue(wrp->updNun);
nunaccel->SetValue(wrp->updNunAccel);
-
+
sizer1->Add(enable, 1, wxALL | wxEXPAND, 5);
sizer1->Add(port_sizer, 1, wxBOTTOM | wxLEFT| wxRIGHT | wxEXPAND, 5);
diff --git a/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp b/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp
index 7f6f1e0080..dc91670f4b 100644
--- a/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp
+++ b/Source/Core/DolphinWX/Src/VideoConfigDiag.cpp
@@ -101,7 +101,7 @@ wxString wireframe_desc = wxTRANSLATE("Render the scene as a wireframe.\n\nIf un
wxString disable_fog_desc = wxTRANSLATE("Makes distant objects more visible by removing fog, thus increasing the overall detail.\nDisabling fog will break some games which rely on proper fog emulation.\n\nIf unsure, leave this unchecked.");
wxString disable_dstalpha_desc = wxTRANSLATE("Disables emulation of a hardware feature called destination alpha, which is used in many games for various graphical effects.\n\nIf unsure, leave this unchecked.");
wxString show_fps_desc = wxTRANSLATE("Show the number of frames rendered per second as a measure of emulation speed.\n\nIf unsure, leave this unchecked.");
-wxString log_fps_to_file_desc = wxTRANSLATE("Log the number of frames rendered per second to User/Logs/fps.txt. Use this feature when you want to measure the performance of Dolphin.\n\nIf unsure, leave this unchecked.");
+wxString log_fps_to_file_desc = wxTRANSLATE("Log the number of frames rendered per second to User/Logs/fps.txt. Use this feature when you want to measure the performance of Dolphin.\n\nIf unsure, leave this unchecked.");
wxString show_input_display_desc = wxTRANSLATE("Display the inputs read by the emulator.\n\nIf unsure, leave this unchecked.");
wxString show_stats_desc = wxTRANSLATE("Show various statistics.\n\nIf unsure, leave this unchecked.");
wxString texfmt_desc = wxTRANSLATE("Modify textures to show the format they're encoded in. Needs an emulation reset in most cases.\n\nIf unsure, leave this unchecked.");
@@ -344,7 +344,7 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, con
// Internal resolution
{
const wxString efbscale_choices[] = { _("Auto (Window Size)"), _("Auto (Multiple of 640x528)"),
- _("1x Native (640x528)"), _("1.5x Native (960x792)"), _("2x Native (1280x1056)"),
+ _("1x Native (640x528)"), _("1.5x Native (960x792)"), _("2x Native (1280x1056)"),
_("2.5x Native (1600x1320)"), _("3x Native (1920x1584)"), _("4x Native (2560x2112)") };
wxChoice *const choice_efbscale = CreateChoice(page_enh,
@@ -503,7 +503,7 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, con
szr_other->Add(CreateCheckBox(page_hacks, _("OpenMP Texture Decoder"), wxGetTranslation(omp_desc), vconfig.bOMPDecoder));
szr_other->Add(CreateCheckBox(page_hacks, _("Fast Depth Calculation"), wxGetTranslation(fast_depth_calc_desc), vconfig.bFastDepthCalc));
szr_other->Add(hacked_buffer_upload = CreateCheckBox(page_hacks, _("Vertex Streaming Hack"), wxGetTranslation(hacked_buffer_upload_desc), vconfig.bHackedBufferUpload));
-
+
wxStaticBoxSizer* const group_other = new wxStaticBoxSizer(wxVERTICAL, page_hacks, _("Other"));
group_other->Add(szr_other, 1, wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM, 5);
szr_hacks->Add(group_other, 0, wxEXPAND | wxALL, 5);
diff --git a/Source/Core/DolphinWX/Src/VideoConfigDiag.h b/Source/Core/DolphinWX/Src/VideoConfigDiag.h
index 563f5076d6..a1b3b59e12 100644
--- a/Source/Core/DolphinWX/Src/VideoConfigDiag.h
+++ b/Source/Core/DolphinWX/Src/VideoConfigDiag.h
@@ -166,7 +166,7 @@ protected:
// XFB
virtual_xfb->Enable(vconfig.bUseXFB);
real_xfb->Enable(vconfig.bUseXFB);
-
+
// OGL Hacked buffer
hacked_buffer_upload->Enable(Core::GetState() == Core::CORE_UNINITIALIZED && vconfig.backend_info.APIType == API_OPENGL);
hacked_buffer_upload->Show(vconfig.backend_info.APIType == API_OPENGL);
diff --git a/Source/Core/DolphinWX/Src/WiimoteConfigDiag.cpp b/Source/Core/DolphinWX/Src/WiimoteConfigDiag.cpp
index 06b839b960..5e145ec391 100644
--- a/Source/Core/DolphinWX/Src/WiimoteConfigDiag.cpp
+++ b/Source/Core/DolphinWX/Src/WiimoteConfigDiag.cpp
@@ -3,6 +3,7 @@
#include "HW/Wiimote.h"
#include "HW/WiimoteReal/WiimoteReal.h"
#include "Frame.h"
+#include "NetPlayProto.h"
WiimoteConfigDiag::WiimoteConfigDiag(wxWindow* const parent, InputPlugin& plugin)
: wxDialog(parent, -1, _("Dolphin Wiimote Configuration"), wxDefaultPosition, wxDefaultSize)
@@ -54,8 +55,8 @@ WiimoteConfigDiag::WiimoteConfigDiag(wxWindow* const parent, InputPlugin& plugin
wiimote_sizer->Add(wiimote_configure_bt[i]);
}
wiimote_group->Add(wiimote_sizer, 1, wxEXPAND, 5 );
-
-
+
+
// "BalanceBoard" layout
wxStaticBoxSizer* const bb_group = new wxStaticBoxSizer(wxHORIZONTAL, this, _("Balance Board"));
wxFlexGridSizer* const bb_sizer = new wxFlexGridSizer(1, 5, 5);
@@ -64,27 +65,27 @@ WiimoteConfigDiag::WiimoteConfigDiag(wxWindow* const parent, InputPlugin& plugin
const wxString src_choices[] = { _("None"), _("Real Balance Board") };
wxChoice* bb_source = new wxChoice(this, source_ctrl_id, wxDefaultPosition, wxDefaultSize, sizeof(src_choices)/sizeof(*src_choices), src_choices);
bb_source->Bind(wxEVT_COMMAND_CHOICE_SELECTED, &WiimoteConfigDiag::SelectSource, this);
-
+
m_orig_wiimote_sources[WIIMOTE_BALANCE_BOARD] = g_wiimote_sources[WIIMOTE_BALANCE_BOARD];
bb_source->Select(m_orig_wiimote_sources[WIIMOTE_BALANCE_BOARD] ? 1 : 0);
-
+
bb_sizer->Add(bb_source, 0, wxALIGN_CENTER_VERTICAL);
-
+
bb_group->Add(bb_sizer, 1, wxEXPAND, 5 );
-
+
// "Real wiimotes" controls
wxButton* const refresh_btn = new wxButton(this, -1, _("Refresh"), wxDefaultPosition);
refresh_btn->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &WiimoteConfigDiag::RefreshRealWiimotes, this);
wxStaticBoxSizer* const real_wiimotes_group = new wxStaticBoxSizer(wxVERTICAL, this, _("Real Wiimotes"));
-
+
wxBoxSizer* const real_wiimotes_sizer = new wxBoxSizer(wxHORIZONTAL);
-
+
if (!WiimoteReal::g_wiimote_scanner.IsReady())
real_wiimotes_group->Add(new wxStaticText(this, -1, _("A supported bluetooth device could not be found.\n"
"You must manually connect your wiimotes.")), 0, wxALIGN_CENTER | wxALL, 5);
-
+
wxCheckBox* const continuous_scanning = new wxCheckBox(this, wxID_ANY, _("Continuous Scanning"));
continuous_scanning->Bind(wxEVT_COMMAND_CHECKBOX_CLICKED, &WiimoteConfigDiag::OnContinuousScanning, this);
continuous_scanning->SetValue(SConfig::GetInstance().m_WiimoteContinuousScanning);
@@ -92,7 +93,7 @@ WiimoteConfigDiag::WiimoteConfigDiag(wxWindow* const parent, InputPlugin& plugin
auto wiimote_speaker = new wxCheckBox(this, wxID_ANY, _("Enable Speaker Data"));
wiimote_speaker->Bind(wxEVT_COMMAND_CHECKBOX_CLICKED, &WiimoteConfigDiag::OnEnableSpeaker, this);
wiimote_speaker->SetValue(SConfig::GetInstance().m_WiimoteEnableSpeaker);
-
+
real_wiimotes_sizer->Add(continuous_scanning, 0, wxALIGN_CENTER_VERTICAL);
real_wiimotes_sizer->AddStretchSpacer(1);
real_wiimotes_sizer->Add(refresh_btn, 0, wxALL | wxALIGN_CENTER, 5);
@@ -134,6 +135,16 @@ WiimoteConfigDiag::WiimoteConfigDiag(wxWindow* const parent, InputPlugin& plugin
WiimoteSpkVolumeText->Disable();
WiimoteSpkVolumeMinText->Disable();
WiimoteSpkVolumeMaxText->Disable();
+ if (NetPlay::IsNetPlayRunning())
+ {
+ bb_source->Disable();
+ for (int i = 0; i < 4; ++i)
+ {
+ wiimote_label[i]->Disable();
+ wiimote_source_ch[i]->Disable();
+ }
+ }
+
}
@@ -209,7 +220,7 @@ void WiimoteConfigDiag::SelectSource(wxCommandEvent& event)
// This needs to be changed now in order for refresh to work right.
// Revert if the dialog is canceled.
int index = m_wiimote_index_from_ctrl_id[event.GetId()];
-
+
if(index != WIIMOTE_BALANCE_BOARD)
{
WiimoteReal::ChangeWiimoteSource(index, event.GetInt());
@@ -220,7 +231,7 @@ void WiimoteConfigDiag::SelectSource(wxCommandEvent& event)
}
else
{
- WiimoteReal::ChangeWiimoteSource(index, event.GetInt() ? WIIMOTE_SRC_REAL : WIIMOTE_SRC_NONE);
+ WiimoteReal::ChangeWiimoteSource(index, event.GetInt() ? WIIMOTE_SRC_REAL : WIIMOTE_SRC_NONE);
}
}
@@ -245,7 +256,7 @@ void WiimoteConfigDiag::Save(wxCommandEvent& event)
sec.Set("Source", (int)g_wiimote_sources[i]);
}
-
+
std::string secname("BalanceBoard");
IniFile::Section& sec = *inifile.GetOrCreateSection(secname.c_str());
sec.Set("Source", (int)g_wiimote_sources[WIIMOTE_BALANCE_BOARD]);
diff --git a/Source/Core/DolphinWX/Src/X11Utils.cpp b/Source/Core/DolphinWX/Src/X11Utils.cpp
index 9c509add91..71f0e43a2d 100644
--- a/Source/Core/DolphinWX/Src/X11Utils.cpp
+++ b/Source/Core/DolphinWX/Src/X11Utils.cpp
@@ -166,7 +166,7 @@ void XRRConfiguration::Update()
{
if(SConfig::GetInstance().m_LocalCoreStartupParameter.strFullscreenResolution == "Auto")
return;
-
+
if (!bValid)
return;
diff --git a/Source/Core/DolphinWX/resource.h b/Source/Core/DolphinWX/resource.h
index 2032a4efd9..bd0d18386d 100644
--- a/Source/Core/DolphinWX/resource.h
+++ b/Source/Core/DolphinWX/resource.h
@@ -5,7 +5,7 @@
#define IDI_ICON1 101
// Next default values for new objects
-//
+//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 102
diff --git a/Source/Core/DolphinWX/resources/dolphin_logo.cpp b/Source/Core/DolphinWX/resources/dolphin_logo.cpp
index a78ca0fb95..2514e4ae37 100644
--- a/Source/Core/DolphinWX/resources/dolphin_logo.cpp
+++ b/Source/Core/DolphinWX/resources/dolphin_logo.cpp
@@ -1,2868 +1,2868 @@
static const unsigned char dolphin_logo_png[] = {
-0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
-0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x01, 0x07, 0x00, 0x00, 0x01, 0x76,
-0x08, 0x02, 0x00, 0x00, 0x00, 0xec, 0xb7, 0xca, 0x94, 0x00, 0x00, 0x00,
-0x01, 0x73, 0x52, 0x47, 0x42, 0x00, 0xae, 0xce, 0x1c, 0xe9, 0x00, 0x00,
-0x00, 0x04, 0x67, 0x41, 0x4d, 0x41, 0x00, 0x00, 0xb1, 0x8f, 0x0b, 0xfc,
-0x61, 0x05, 0x00, 0x00, 0x00, 0x20, 0x63, 0x48, 0x52, 0x4d, 0x00, 0x00,
-0x7a, 0x26, 0x00, 0x00, 0x80, 0x84, 0x00, 0x00, 0xfa, 0x00, 0x00, 0x00,
-0x80, 0xe8, 0x00, 0x00, 0x75, 0x30, 0x00, 0x00, 0xea, 0x60, 0x00, 0x00,
-0x3a, 0x98, 0x00, 0x00, 0x17, 0x70, 0x9c, 0xba, 0x51, 0x3c, 0x00, 0x00,
-0x85, 0xcd, 0x49, 0x44, 0x41, 0x54, 0x78, 0x5e, 0xed, 0x9d, 0x07, 0x98,
-0x14, 0x55, 0xb6, 0xc7, 0x7b, 0x62, 0x4f, 0x1e, 0x18, 0x26, 0x90, 0xd3,
-0x30, 0xe4, 0xcc, 0x90, 0xe3, 0x90, 0x73, 0x8e, 0x22, 0x41, 0x92, 0x82,
-0x48, 0x14, 0x15, 0x45, 0x24, 0x89, 0xc0, 0xc0, 0x90, 0x83, 0x04, 0x45,
-0x50, 0x11, 0x31, 0x60, 0xc0, 0xac, 0x6b, 0x5c, 0x73, 0x5a, 0xd3, 0xa6,
-0xf7, 0x36, 0xb9, 0xcf, 0x4d, 0xba, 0xee, 0xae, 0xae, 0xab, 0xee, 0x2e,
-0xef, 0xd7, 0x1c, 0xbc, 0x73, 0xa7, 0xaa, 0xba, 0xbb, 0x3a, 0x4c, 0xe8,
-0x50, 0xdf, 0xc0, 0xd7, 0xd3, 0x53, 0x75, 0xeb, 0xd6, 0xad, 0xf3, 0xbf,
-0x27, 0x9f, 0x13, 0x13, 0x17, 0x17, 0x97, 0x9e, 0x9e, 0xfe, 0xed, 0xb7,
-0xdf, 0xc6, 0xc4, 0xc4, 0x38, 0xac, 0x8e, 0xf3, 0xe7, 0xcf, 0x5b, 0x7e,
-0x1f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c9, 0xda, 0x7c, 0x02, 0xdb, 0xa7, 0xd4, 0xb9, 0x79,
-0xdf, 0x7d, 0x58, 0xb8, 0xba, 0x4a, 0xdf, 0x68, 0xd1, 0x56, 0xed, 0xdf,
-0x4e, 0x8f, 0xee, 0x56, 0x44, 0x4f, 0x40, 0x9e, 0x79, 0x04, 0x43, 0x25,
-0x4f, 0x62, 0xa5, 0x6c, 0xaa, 0x55, 0x1e, 0x26, 0xf3, 0xec, 0xae, 0x41,
-0x96, 0x95, 0x78, 0xa8, 0x1e, 0x42, 0xff, 0x07, 0x20, 0x41, 0x72, 0x36,
-0x8d, 0x36, 0x29, 0xba, 0x45, 0xbd, 0x57, 0x91, 0x9d, 0xaa, 0xd4, 0x36,
-0x1f, 0x94, 0xc9, 0x84, 0x24, 0xaf, 0x10, 0x3d, 0x9b, 0x76, 0x61, 0x8a,
-0x68, 0x70, 0x08, 0x04, 0xab, 0xf9, 0xb7, 0x07, 0x8a, 0x59, 0x39, 0xc5,
-0x55, 0x16, 0xdf, 0x4e, 0xe8, 0x21, 0x3e, 0x13, 0xbd, 0xc8, 0x80, 0x1d,
-0x6f, 0x80, 0xdc, 0x97, 0x24, 0x0a, 0xcb, 0x66, 0x93, 0x84, 0x42, 0x99,
-0x27, 0xb6, 0x69, 0x7e, 0x7b, 0x83, 0xa0, 0x65, 0x3f, 0x29, 0xd7, 0x30,
-0x1a, 0xab, 0x47, 0xa2, 0x95, 0x5e, 0xaf, 0x4d, 0x8d, 0x4c, 0xa1, 0x4e,
-0x8a, 0xef, 0xa3, 0x4b, 0x20, 0x38, 0xd1, 0x53, 0x02, 0x07, 0x05, 0xfd,
-0x15, 0x80, 0x04, 0x99, 0x8f, 0xee, 0x7a, 0x05, 0x05, 0x85, 0x34, 0x2b,
-0x71, 0x90, 0x90, 0x44, 0x05, 0x1a, 0x05, 0x9e, 0x54, 0x3d, 0x1c, 0x10,
-0xfa, 0xb0, 0xbf, 0x19, 0xfb, 0x77, 0x26, 0xad, 0x93,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6a, 0x3f, 0x07, 0xfa, 0x2b, 0xb5, 0xf4,
-0x44, 0x70, 0xc7, 0xa4, 0x83, 0xd5, 0x1f, 0x24, 0xcb, 0xc1, 0xaf, 0x72,
-0xf0, 0x19, 0x1d, 0x17, 0x03, 0x28, 0xa7, 0x71, 0x32, 0x64, 0xcd, 0xc1,
-0x37, 0x14, 0x56, 0x82, 0xbe, 0x09, 0xac, 0xe0, 0x31, 0x39, 0x8d, 0xbf,
-0x32, 0x4f, 0x76, 0x01, 0x66, 0x08, 0xf5, 0xcb, 0xb3, 0xf0, 0x2b, 0x5a,
-0x04, 0x8f, 0x40, 0x14, 0x06, 0x5e, 0x67, 0x82, 0xba, 0x11, 0x90, 0x10,
-0x84, 0x42, 0xbd, 0x97, 0x4a, 0x45, 0x12, 0xba, 0x4f, 0xf7, 0xaa, 0xba,
-0xa8, 0x90, 0x9c, 0x0a, 0xa4, 0x02, 0x44, 0x61, 0xd4, 0x4a, 0xa8, 0x01,
-0x12, 0x81, 0x3a, 0xe5, 0x20, 0x30, 0x01, 0x59, 0x1c, 0xd2, 0x81, 0x46,
-0xa1, 0x4b, 0xb6, 0x5b, 0x5a, 0x51, 0x41, 0x8e, 0x50, 0x0c, 0x89, 0xc5,
-0xb4, 0x1a, 0x51, 0xf2, 0x34, 0x9a, 0x89, 0x1c, 0x22, 0x70, 0x43, 0x7c,
-0x8c, 0x86, 0xfb, 0x16, 0x32, 0x65, 0x4c, 0xae, 0x85, 0xe6, 0x40, 0x08,
-0x9b, 0x34, 0x3b, 0xb1, 0xe2, 0x24, 0x80, 0x01, 0x33, 0x0e, 0x78, 0x03,
-0x6c, 0xdc, 0x17, 0x8a, 0x14, 0x23, 0x26, 0x83, 0x33, 0xb2, 0x88, 0xe9,
-0xf0, 0x31, 0x0e, 0x84, 0x75, 0x91, 0xd7, 0xc9, 0x66, 0x46, 0x56, 0x41,
-0x4a, 0x61, 0xce, 0x96, 0x07, 0x32, 0x0c, 0xde, 0x31, 0xa8, 0x99,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0xa8, 0x10, 0x29, 0x59, 0x2c, 0x51, 0x90, 0x0b, 0x94,
-0x0d, 0x7d, 0x40, 0xca, 0x72, 0xc8, 0x56, 0xcd, 0x37, 0xec, 0xb8, 0xd0,
-0xba, 0x52, 0x28, 0x39, 0x13, 0x52, 0x43, 0xa1, 0x84, 0xc8, 0xb8, 0x90,
-0x43, 0xc8, 0x94, 0x43, 0x7e, 0xe5, 0x7b, 0xfe, 0x0a, 0x05, 0xb3, 0x37,
-0x73, 0x15, 0xd7, 0x32, 0x02, 0xc4, 0x07, 0xc5, 0xc3, 0x49, 0xd8, 0x95,
-0x01, 0x18, 0x07, 0x18, 0x80, 0x27, 0xf0, 0xa5, 0xdc, 0x45, 0xf1, 0x01,
-0xa1, 0x63, 0xc6, 0x51, 0x44, 0x8f, 0xda, 0xca, 0xa1, 0x2c, 0x9b, 0x9e,
-0xdf, 0x9c, 0x38, 0xec, 0xe1, 0x81, 0xea, 0x50, 0xfe, 0x01, 0xa9, 0x14,
-0xca, 0xb0, 0x6a, 0x86, 0x4c, 0x52, 0x9e, 0x05, 0xb0, 0xc9, 0x4d, 0x45,
-0x45, 0x8e, 0x4c, 0x97, 0x42, 0x85, 0x41, 0x82, 0x1b, 0x55, 0x69, 0x54,
-0x08, 0x30, 0xc4, 0x9d, 0x07, 0x65, 0xc8, 0x56, 0x2a, 0x7b, 0x33, 0x34,
-0xcd, 0x21, 0x3b, 0xb4, 0x60, 0x40, 0x27, 0x56, 0x21, 0x53, 0xa1, 0x54,
-0xfd, 0x90, 0x2f, 0xf9, 0x2b, 0x03, 0xea, 0x08, 0x61, 0x1c, 0x31, 0xdd,
-0x28, 0x96, 0x22, 0xdc, 0x40, 0x6e, 0xa4, 0x6e, 0x21, 0x60, 0x30, 0x0c,
-0x0b, 0x8d, 0x0a, 0x99, 0xda, 0x94, 0x67, 0xcc, 0x7a, 0xb0, 0x52, 0x94,
-0x05, 0x30, 0x6a, 0x86, 0x02, 0x3c, 0xfd, 0x59, 0x7c, 0xba, 0x51, 0x45,
-0x92, 0x51, 0x98, 0xdd, 0xab, 0xaa, 0xa3, 0xc2, 0xb0, 0xdc, 0x06, 0x92,
-0x0a, 0xe2, 0xcb, 0xf0, 0x60, 0xbd, 0x09, 0xe2, 0x5d, 0xa2, 0x43, 0x85,
-0xc4, 0x0a, 0x84, 0x18, 0x2a, 0x42, 0x62, 0x4d, 0xa3, 0x93, 0x0c, 0xf5,
-0x15, 0x88, 0xa2, 0x22, 0xd4, 0xdf, 0x60, 0x74, 0xfe, 0xc1, 0x5f, 0x81,
-0x28, 0x2a, 0x82, 0xbf, 0xa6, 0xd1, 0x11, 0x43, 0x7d, 0x05, 0xa2, 0xa8,
-0x08, 0xf5, 0x37, 0x18, 0x9d, 0x7f, 0xf0, 0x57, 0x20, 0x8a, 0x8a, 0xe0,
-0xaf, 0x69, 0x74, 0xc4, 0x50, 0x5f, 0x81, 0x8b, 0xa8, 0xc8, 0xcc, 0xcc,
-0x24, 0xae, 0x81, 0x6e, 0x29, 0x78, 0x79, 0xa3, 0x47, 0x74, 0x05, 0x22,
-0x79, 0x05, 0x40, 0x01, 0x58, 0x00, 0x11, 0x0e, 0xd2, 0x03, 0x88, 0x5e,
-0x4e, 0x4e, 0x4e, 0x26, 0x78, 0x36, 0x7a, 0x44, 0x57, 0x20, 0x92, 0x57,
-0x00, 0x14, 0x80, 0x05, 0x10, 0xf1, 0xff, 0x0a, 0xfb, 0x09, 0x6c, 0x5e,
-0xaf, 0x2e, 0x17, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae,
-0x42, 0x60, 0x82,
+0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
+0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x01, 0x07, 0x00, 0x00, 0x01, 0x76,
+0x08, 0x02, 0x00, 0x00, 0x00, 0xec, 0xb7, 0xca, 0x94, 0x00, 0x00, 0x00,
+0x01, 0x73, 0x52, 0x47, 0x42, 0x00, 0xae, 0xce, 0x1c, 0xe9, 0x00, 0x00,
+0x00, 0x04, 0x67, 0x41, 0x4d, 0x41, 0x00, 0x00, 0xb1, 0x8f, 0x0b, 0xfc,
+0x61, 0x05, 0x00, 0x00, 0x00, 0x20, 0x63, 0x48, 0x52, 0x4d, 0x00, 0x00,
+0x7a, 0x26, 0x00, 0x00, 0x80, 0x84, 0x00, 0x00, 0xfa, 0x00, 0x00, 0x00,
+0x80, 0xe8, 0x00, 0x00, 0x75, 0x30, 0x00, 0x00, 0xea, 0x60, 0x00, 0x00,
+0x3a, 0x98, 0x00, 0x00, 0x17, 0x70, 0x9c, 0xba, 0x51, 0x3c, 0x00, 0x00,
+0x85, 0xcd, 0x49, 0x44, 0x41, 0x54, 0x78, 0x5e, 0xed, 0x9d, 0x07, 0x98,
+0x14, 0x55, 0xb6, 0xc7, 0x7b, 0x62, 0x4f, 0x1e, 0x18, 0x26, 0x90, 0xd3,
+0x30, 0xe4, 0xcc, 0x90, 0xe3, 0x90, 0x73, 0x8e, 0x22, 0x41, 0x92, 0x82,
+0x48, 0x14, 0x15, 0x45, 0x24, 0x89, 0xc0, 0xc0, 0x90, 0x83, 0x04, 0x45,
+0x50, 0x11, 0x31, 0x60, 0xc0, 0xac, 0x6b, 0x5c, 0x73, 0x5a, 0xd3, 0xa6,
+0xf7, 0x36, 0xb9, 0xcf, 0x4d, 0xba, 0xee, 0xae, 0xae, 0xab, 0xee, 0x2e,
+0xef, 0xd7, 0x1c, 0xbc, 0x73, 0xa7, 0xaa, 0xba, 0xbb, 0x3a, 0x4c, 0xe8,
+0x50, 0xdf, 0xc0, 0xd7, 0xd3, 0x53, 0x75, 0xeb, 0xd6, 0xad, 0xf3, 0xbf,
+0x27, 0x9f, 0x13, 0x13, 0x17, 0x17, 0x97, 0x9e, 0x9e, 0xfe, 0xed, 0xb7,
+0xdf, 0xc6, 0xc4, 0xc4, 0x38, 0xac, 0x8e, 0xf3, 0xe7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5, 0xc2,
+0xce, 0xac, 0xba, 0xa8, 0x10, 0x29, 0x59, 0x2c, 0x51, 0x90, 0x0b, 0x94,
+0x0d, 0x7d, 0x40, 0xca, 0x72, 0xc8, 0x56, 0xcd, 0x37, 0xec, 0xb8, 0xd0,
+0xba, 0x52, 0x28, 0x39, 0x13, 0x52, 0x43, 0xa1, 0x84, 0xc8, 0xb8, 0x90,
+0x43, 0xc8, 0x94, 0x43, 0x7e, 0xe5, 0x7b, 0xfe, 0x0a, 0x05, 0xb3, 0x37,
+0x73, 0x15, 0xd7, 0x32, 0x02, 0xc4, 0x07, 0xc5, 0xc3, 0x49, 0xd8, 0x95,
+0x01, 0x18, 0x07, 0x18, 0x80, 0x27, 0xf0, 0xa5, 0xdc, 0x45, 0xf1, 0x01,
+0xa1, 0x63, 0xc6, 0x51, 0x44, 0x8f, 0xda, 0xca, 0xa1, 0x2c, 0x9b, 0x9e,
+0xdf, 0x9c, 0x38, 0xec, 0xe1, 0x81, 0xea, 0x50, 0xfe, 0x01, 0xa9, 0x14,
+0xca, 0xb0, 0x6a, 0x86, 0x4c, 0x52, 0x9e, 0x05, 0xb0, 0xc9, 0x4d, 0x45,
+0x45, 0x8e, 0x4c, 0x97, 0x42, 0x85, 0x41, 0x82, 0x1b, 0x55, 0x69, 0x54,
+0x08, 0x30, 0xc4, 0x9d, 0x07, 0x65, 0xc8, 0x56, 0x2a, 0x7b, 0x33, 0x34,
+0xcd, 0x21, 0x3b, 0xb4, 0x60, 0x40, 0x27, 0x56, 0x21, 0x53, 0xa1, 0x54,
+0xfd, 0x90, 0x2f, 0xf9, 0x2b, 0x03, 0xea, 0x08, 0x61, 0x1c, 0x31, 0xdd,
+0x28, 0x96, 0x22, 0xdc, 0x40, 0x6e, 0xa4, 0x6e, 0x21, 0x60, 0x30, 0x0c,
+0x0b, 0x8d, 0x0a, 0x99, 0xda, 0x94, 0x67, 0xcc, 0x7a, 0xb0, 0x52, 0x94,
+0x05, 0x30, 0x6a, 0x86, 0x02, 0x3c, 0xfd, 0x59, 0x7c, 0xba, 0x51, 0x45,
+0x92, 0x51, 0x98, 0xdd, 0xab, 0xaa, 0xa3, 0xc2, 0xb0, 0xdc, 0x06, 0x92,
+0x0a, 0xe2, 0xcb, 0xf0, 0x60, 0xbd, 0x09, 0xe2, 0x5d, 0xa2, 0x43, 0x85,
+0xc4, 0x0a, 0x84, 0x18, 0x2a, 0x42, 0x62, 0x4d, 0xa3, 0x93, 0x0c, 0xf5,
+0x15, 0x88, 0xa2, 0x22, 0xd4, 0xdf, 0x60, 0x74, 0xfe, 0xc1, 0x5f, 0x81,
+0x28, 0x2a, 0x82, 0xbf, 0xa6, 0xd1, 0x11, 0x43, 0x7d, 0x05, 0xa2, 0xa8,
+0x08, 0xf5, 0x37, 0x18, 0x9d, 0x7f, 0xf0, 0x57, 0x20, 0x8a, 0x8a, 0xe0,
+0xaf, 0x69, 0x74, 0xc4, 0x50, 0x5f, 0x81, 0x8b, 0xa8, 0xc8, 0xcc, 0xcc,
+0x24, 0xae, 0x81, 0x6e, 0x29, 0x78, 0x79, 0xa3, 0x47, 0x74, 0x05, 0x22,
+0x79, 0x05, 0x40, 0x01, 0x58, 0x00, 0x11, 0x0e, 0xd2, 0x03, 0x88, 0x5e,
+0x4e, 0x4e, 0x4e, 0x26, 0x78, 0x36, 0x7a, 0x44, 0x57, 0x20, 0x92, 0x57,
+0x00, 0x14, 0x80, 0x05, 0x10, 0xf1, 0xff, 0x0a, 0xfb, 0x09, 0x6c, 0x5e,
+0xaf, 0x2e, 0x17, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae,
+0x42, 0x60, 0x82,
};
diff --git a/Source/Core/InputCommon/InputCommon.vcxproj b/Source/Core/InputCommon/InputCommon.vcxproj
index 03aaf1b3ea..4b2cd7cfeb 100644
--- a/Source/Core/InputCommon/InputCommon.vcxproj
+++ b/Source/Core/InputCommon/InputCommon.vcxproj
@@ -1,14 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="DebugFast|Win32">
- <Configuration>DebugFast</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="DebugFast|x64">
- <Configuration>DebugFast</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
@@ -27,153 +19,43 @@
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
- <ProjectGuid>{B39AC394-5DB5-4DA9-9D98-09D46CA3701F}</ProjectGuid>
- <RootNamespace>InputCommon</RootNamespace>
+ <ProjectGuid>{6BBD47CF-91FD-4077-B676-8B76980178A9}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <PropertyGroup Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
+ <PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
+ <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
+ <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Release.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_DebugFast.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Release.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_DebugFast.props" />
+ <Import Project="..\..\VSProps\PrecompiledHeader.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\..\..\Externals\SDL\Include_1.2;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- <Lib />
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\..\..\Externals\SDL\Include_1.2;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- <Lib />
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\..\..\Externals\SDL\Include_1.2;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib />
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\..\..\Externals\SDL\Include_1.2;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib />
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\..\..\Externals\SDL\Include_1.2;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib />
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\..\..\Externals\SDL\Include_1.2;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib />
- </ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="Src\ControllerEmu.cpp" />
<ClCompile Include="Src\ControllerInterface\ControllerInterface.cpp" />
<ClCompile Include="Src\ControllerInterface\Device.cpp" />
- <ClCompile Include="Src\ControllerInterface\ExpressionParser.cpp" />
<ClCompile Include="Src\ControllerInterface\DInput\DInput.cpp" />
<ClCompile Include="Src\ControllerInterface\DInput\DInputJoystick.cpp" />
<ClCompile Include="Src\ControllerInterface\DInput\DInputKeyboardMouse.cpp" />
+ <ClCompile Include="Src\ControllerInterface\ExpressionParser.cpp" />
<ClCompile Include="Src\ControllerInterface\SDL\SDL.cpp" />
<ClCompile Include="Src\ControllerInterface\XInput\XInput.cpp" />
<ClCompile Include="Src\InputConfig.cpp" />
+ <ClCompile Include="Src\stdafx.cpp">
+ <PrecompiledHeader>Create</PrecompiledHeader>
+ </ClCompile>
<ClCompile Include="Src\UDPWiimote.cpp" />
<ClCompile Include="Src\UDPWrapper.cpp" />
</ItemGroup>
@@ -181,22 +63,27 @@
<ClInclude Include="Src\ControllerEmu.h" />
<ClInclude Include="Src\ControllerInterface\ControllerInterface.h" />
<ClInclude Include="Src\ControllerInterface\Device.h" />
- <ClInclude Include="Src\ControllerInterface\ExpressionParser.h" />
<ClInclude Include="Src\ControllerInterface\DInput\DInput.h" />
<ClInclude Include="Src\ControllerInterface\DInput\DInputJoystick.h" />
<ClInclude Include="Src\ControllerInterface\DInput\DInputKeyboardMouse.h" />
- <ClInclude Include="Src\ControllerInterface\DInput\NamedKeys.h" />
+ <ClInclude Include="Src\ControllerInterface\ExpressionParser.h" />
<ClInclude Include="Src\ControllerInterface\SDL\SDL.h" />
<ClInclude Include="Src\ControllerInterface\XInput\XInput.h" />
<ClInclude Include="Src\GCPadStatus.h" />
<ClInclude Include="Src\InputConfig.h" />
+ <ClInclude Include="Src\stdafx.h" />
<ClInclude Include="Src\UDPWiimote.h" />
<ClInclude Include="Src\UDPWrapper.h" />
</ItemGroup>
<ItemGroup>
- <None Include="CMakeLists.txt" />
+ <Text Include="CMakeLists.txt" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Common\Common.vcxproj">
+ <Project>{2e6c348c-c75c-4d94-8d1e-9c1fcbf3efe4}</Project>
+ </ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
-</Project>
+</Project> \ No newline at end of file
diff --git a/Source/Core/InputCommon/InputCommon.vcxproj.filters b/Source/Core/InputCommon/InputCommon.vcxproj.filters
index c93a9289f4..0f28bafa56 100644
--- a/Source/Core/InputCommon/InputCommon.vcxproj.filters
+++ b/Source/Core/InputCommon/InputCommon.vcxproj.filters
@@ -1,34 +1,49 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
+ <Filter Include="ControllerInterface">
+ <UniqueIdentifier>{3a755a86-0efa-4396-bf79-bb3a1910764d}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="ControllerInterface\DInput">
+ <UniqueIdentifier>{0289ef91-50f5-4c16-9fa4-ff4c4d8208e7}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="ControllerInterface\SDL">
+ <UniqueIdentifier>{770bf6f3-b0c3-4731-be52-46f54b4cb319}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="ControllerInterface\XInput">
+ <UniqueIdentifier>{07bad1aa-7e03-4f5c-ade2-a44857c5cbc3}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
<ClCompile Include="Src\ControllerEmu.cpp" />
<ClCompile Include="Src\InputConfig.cpp" />
<ClCompile Include="Src\UDPWiimote.cpp" />
<ClCompile Include="Src\UDPWrapper.cpp" />
- <ClCompile Include="Src\ControllerInterface\SDL\SDL.cpp">
- <Filter>ControllerInterface\SDL</Filter>
- </ClCompile>
- <ClCompile Include="Src\ControllerInterface\XInput\XInput.cpp">
- <Filter>ControllerInterface\XInput</Filter>
- </ClCompile>
- <ClCompile Include="Src\ControllerInterface\ControllerInterface.cpp">
- <Filter>ControllerInterface</Filter>
- </ClCompile>
- <ClCompile Include="Src\ControllerInterface\DInput\DInputKeyboardMouse.cpp">
+ <ClCompile Include="Src\ControllerInterface\DInput\DInput.cpp">
<Filter>ControllerInterface\DInput</Filter>
</ClCompile>
<ClCompile Include="Src\ControllerInterface\DInput\DInputJoystick.cpp">
<Filter>ControllerInterface\DInput</Filter>
</ClCompile>
- <ClCompile Include="Src\ControllerInterface\DInput\DInput.cpp">
+ <ClCompile Include="Src\ControllerInterface\DInput\DInputKeyboardMouse.cpp">
<Filter>ControllerInterface\DInput</Filter>
</ClCompile>
- <ClCompile Include="Src\ControllerInterface\ExpressionParser.cpp">
- <Filter>ControllerInterface</Filter>
+ <ClCompile Include="Src\ControllerInterface\XInput\XInput.cpp">
+ <Filter>ControllerInterface\XInput</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\ControllerInterface\SDL\SDL.cpp">
+ <Filter>ControllerInterface\SDL</Filter>
</ClCompile>
<ClCompile Include="Src\ControllerInterface\Device.cpp">
<Filter>ControllerInterface</Filter>
</ClCompile>
+ <ClCompile Include="Src\ControllerInterface\ControllerInterface.cpp">
+ <Filter>ControllerInterface</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\ControllerInterface\ExpressionParser.cpp">
+ <Filter>ControllerInterface</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\stdafx.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="Src\ControllerEmu.h" />
@@ -36,12 +51,21 @@
<ClInclude Include="Src\InputConfig.h" />
<ClInclude Include="Src\UDPWiimote.h" />
<ClInclude Include="Src\UDPWrapper.h" />
- <ClInclude Include="Src\ControllerInterface\SDL\SDL.h">
- <Filter>ControllerInterface\SDL</Filter>
+ <ClInclude Include="Src\ControllerInterface\DInput\DInput.h">
+ <Filter>ControllerInterface\DInput</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\ControllerInterface\DInput\DInputJoystick.h">
+ <Filter>ControllerInterface\DInput</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\ControllerInterface\DInput\DInputKeyboardMouse.h">
+ <Filter>ControllerInterface\DInput</Filter>
</ClInclude>
<ClInclude Include="Src\ControllerInterface\XInput\XInput.h">
<Filter>ControllerInterface\XInput</Filter>
</ClInclude>
+ <ClInclude Include="Src\ControllerInterface\SDL\SDL.h">
+ <Filter>ControllerInterface\SDL</Filter>
+ </ClInclude>
<ClInclude Include="Src\ControllerInterface\ControllerInterface.h">
<Filter>ControllerInterface</Filter>
</ClInclude>
@@ -51,34 +75,9 @@
<ClInclude Include="Src\ControllerInterface\ExpressionParser.h">
<Filter>ControllerInterface</Filter>
</ClInclude>
- <ClInclude Include="Src\ControllerInterface\DInput\NamedKeys.h">
- <Filter>ControllerInterface\DInput</Filter>
- </ClInclude>
- <ClInclude Include="Src\ControllerInterface\DInput\DInputKeyboardMouse.h">
- <Filter>ControllerInterface\DInput</Filter>
- </ClInclude>
- <ClInclude Include="Src\ControllerInterface\DInput\DInputJoystick.h">
- <Filter>ControllerInterface\DInput</Filter>
- </ClInclude>
- <ClInclude Include="Src\ControllerInterface\DInput\DInput.h">
- <Filter>ControllerInterface\DInput</Filter>
- </ClInclude>
- </ItemGroup>
- <ItemGroup>
- <None Include="CMakeLists.txt" />
+ <ClInclude Include="Src\stdafx.h" />
</ItemGroup>
<ItemGroup>
- <Filter Include="ControllerInterface">
- <UniqueIdentifier>{63655b75-3fd6-4cd0-814a-eb9f3505f91d}</UniqueIdentifier>
- </Filter>
- <Filter Include="ControllerInterface\DInput">
- <UniqueIdentifier>{64f2ab35-5cce-40a5-a4d3-232710267e05}</UniqueIdentifier>
- </Filter>
- <Filter Include="ControllerInterface\SDL">
- <UniqueIdentifier>{08565cb5-f959-45dc-90b1-93a9c0135478}</UniqueIdentifier>
- </Filter>
- <Filter Include="ControllerInterface\XInput">
- <UniqueIdentifier>{5a9c1b94-2eab-4357-b44f-87d5db50da3d}</UniqueIdentifier>
- </Filter>
+ <Text Include="CMakeLists.txt" />
</ItemGroup>
-</Project>
+</Project> \ No newline at end of file
diff --git a/Source/Core/InputCommon/Src/ControllerEmu.cpp b/Source/Core/InputCommon/Src/ControllerEmu.cpp
index 328fcb8c2f..e2e37789c7 100644
--- a/Source/Core/InputCommon/Src/ControllerEmu.cpp
+++ b/Source/Core/InputCommon/Src/ControllerEmu.cpp
@@ -221,8 +221,8 @@ void ControllerEmu::SaveConfig(IniFile::Section *sec, const std::string& base)
ControllerEmu::AnalogStick::AnalogStick(const char* const _name) : ControlGroup(_name, GROUP_TYPE_STICK)
{
- for (unsigned int i = 0; i < 4; ++i)
- controls.push_back(new Input(named_directions[i]));
+ for (auto& named_direction : named_directions)
+ controls.push_back(new Input(named_direction));
controls.push_back(new Input(_trans("Modifier")));
@@ -290,8 +290,8 @@ ControllerEmu::Cursor::Cursor(const char* const _name)
: ControlGroup(_name, GROUP_TYPE_CURSOR)
, m_z(0)
{
- for (unsigned int i = 0; i < 4; ++i)
- controls.push_back(new Input(named_directions[i]));
+ for (auto& named_direction : named_directions)
+ controls.push_back(new Input(named_direction));
controls.push_back(new Input("Forward"));
controls.push_back(new Input("Backward"));
controls.push_back(new Input(_trans("Hide")));
diff --git a/Source/Core/InputCommon/Src/ControllerEmu.h b/Source/Core/InputCommon/Src/ControllerEmu.h
index 5dc54b463f..750aa692c4 100644
--- a/Source/Core/InputCommon/Src/ControllerEmu.h
+++ b/Source/Core/InputCommon/Src/ControllerEmu.h
@@ -42,7 +42,7 @@ enum
SETTING_SQUARE,
};
-const char * const named_directions[] =
+const char * const named_directions[] =
{
"Up",
"Down",
@@ -109,7 +109,7 @@ public:
ControlGroup(const char* const _name, const unsigned int _type = GROUP_TYPE_OTHER) : name(_name), type(_type) {}
virtual ~ControlGroup();
-
+
virtual void LoadConfig(IniFile::Section *sec, const std::string& defdev = "", const std::string& base = "" );
virtual void SaveConfig(IniFile::Section *sec, const std::string& defdev = "", const std::string& base = "" );
@@ -325,7 +325,7 @@ public:
{
// this section might be all wrong, but its working good enough, I think
- ControlState ang = atan2(yy, xx);
+ ControlState ang = atan2(yy, xx);
ControlState ang_sin = sin(ang);
ControlState ang_cos = cos(ang);
@@ -352,7 +352,7 @@ public:
// this is kinda silly here
// gui being open will make this happen 2x as fast, o well
-
+
// silly
if (step)
{
@@ -391,7 +391,7 @@ public:
m_z = std::max(m_z - 0.1f, zz);
*z = m_z;
-
+
// hide
if (controls[6]->control_ref->State() > 0.5f)
{
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp
index bc1e115c17..7287c380d5 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp
+++ b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp
@@ -99,7 +99,7 @@ void ControllerInterface::Shutdown()
m_devices.clear();
#ifdef CIFACE_USE_XINPUT
- // nothing needed
+ ciface::XInput::DeInit();
#endif
#ifdef CIFACE_USE_DINPUT
// nothing needed
@@ -249,7 +249,7 @@ Device::Control* ControllerInterface::InputReference::Detect(const unsigned int
if (device->Inputs().size() == 0)
return NULL;
- // get starting state of all inputs,
+ // get starting state of all inputs,
// so we can ignore those that were activated at time of Detect start
std::vector<Device::Input*>::const_iterator
i = device->Inputs().begin(),
@@ -308,7 +308,7 @@ Device::Control* ControllerInterface::OutputReference::Detect(const unsigned int
device->UpdateOutput();
Common::SleepCurrentThread(10);
}
-
+
State(0);
device->UpdateOutput();
}
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h
index 00b4b2c07d..4efb8941b7 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h
+++ b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h
@@ -109,7 +109,7 @@ public:
};
ControllerInterface() : m_is_init(false), m_hwnd(NULL) {}
-
+
void SetHwnd(void* const hwnd);
void Initialize();
void Shutdown();
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/DInput/DInputJoystick.cpp b/Source/Core/InputCommon/Src/ControllerInterface/DInput/DInputJoystick.cpp
index fa33595ee8..7211559e93 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/DInput/DInputJoystick.cpp
+++ b/Source/Core/InputCommon/Src/ControllerInterface/DInput/DInputJoystick.cpp
@@ -76,17 +76,17 @@ void GetXInputGUIDS( std::vector<DWORD>& guids )
bstrNamespace = SysAllocString( L"\\\\.\\root\\cimv2" );if( bstrNamespace == NULL ) goto LCleanup;
bstrClassName = SysAllocString( L"Win32_PNPEntity" ); if( bstrClassName == NULL ) goto LCleanup;
bstrDeviceID = SysAllocString( L"DeviceID" ); if( bstrDeviceID == NULL ) goto LCleanup;
-
- // Connect to WMI
+
+ // Connect to WMI
hr = pIWbemLocator->ConnectServer( bstrNamespace, NULL, NULL, 0L, 0L, NULL, NULL, &pIWbemServices );
if( FAILED(hr) || pIWbemServices == NULL )
goto LCleanup;
- // Switch security level to IMPERSONATE.
- CoSetProxyBlanket( pIWbemServices, RPC_C_AUTHN_WINNT, RPC_C_AUTHZ_NONE, NULL,
+ // Switch security level to IMPERSONATE.
+ CoSetProxyBlanket( pIWbemServices, RPC_C_AUTHN_WINNT, RPC_C_AUTHZ_NONE, NULL,
RPC_C_AUTHN_LEVEL_CALL, RPC_C_IMP_LEVEL_IMPERSONATE, NULL, EOAC_NONE );
- hr = pIWbemServices->CreateInstanceEnum( bstrClassName, 0, NULL, &pEnumDevices );
+ hr = pIWbemServices->CreateInstanceEnum( bstrClassName, 0, NULL, &pEnumDevices );
if( FAILED(hr) || pEnumDevices == NULL )
goto LCleanup;
@@ -105,7 +105,7 @@ void GetXInputGUIDS( std::vector<DWORD>& guids )
if( SUCCEEDED( hr ) && var.vt == VT_BSTR && var.bstrVal != NULL )
{
// Check if the device ID contains "IG_". If it does, then it's an XInput device
- // This information can not be found from DirectInput
+ // This information can not be found from DirectInput
if( wcsstr( var.bstrVal, L"IG_" ) )
{
// If it does, then get the VID/PID from var.bstrVal
@@ -122,7 +122,7 @@ void GetXInputGUIDS( std::vector<DWORD>& guids )
guids.push_back( dwVidPid );
//bIsXinputDevice = true;
}
- }
+ }
SAFE_RELEASE( pDevices[iDevice] );
}
}
@@ -324,7 +324,7 @@ Joystick::Joystick( /*const LPCDIDEVICEINSTANCE lpddi, */const LPDIRECTINPUTDEVI
{
eff.cbTypeSpecificParams = sizeof(DIPERIODIC);
}
-
+
LPDIRECTINPUTEFFECT pEffect;
if (SUCCEEDED(m_device->CreateEffect(force_type_names[f].guid, &eff, &pEffect, NULL)))
{
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/DInput/DInputJoystick.h b/Source/Core/InputCommon/Src/ControllerInterface/DInput/DInputJoystick.h
index ad383bd764..20b38c8a69 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/DInput/DInputJoystick.h
+++ b/Source/Core/InputCommon/Src/ControllerInterface/DInput/DInputJoystick.h
@@ -88,7 +88,7 @@ public:
Joystick(const LPDIRECTINPUTDEVICE8 device, const unsigned int index);
~Joystick();
-
+
std::string GetName() const;
int GetId() const;
std::string GetSource() const;
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp b/Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp
index d91fbc587c..b313559907 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp
+++ b/Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp
@@ -222,22 +222,22 @@ public:
ControlExpression(ControlQualifier qualifier_, Device::Control *control_) : qualifier(qualifier_), control(control_) {}
- virtual ControlState GetValue()
+ virtual ControlState GetValue() override
{
return control->ToInput()->GetState();
}
- virtual void SetValue(ControlState value)
+ virtual void SetValue(ControlState value) override
{
control->ToOutput()->SetState(value);
}
- virtual int CountNumControls()
+ virtual int CountNumControls() override
{
return 1;
}
- virtual operator std::string()
+ virtual operator std::string() override
{
return "`" + (std::string)qualifier + "`";
}
@@ -257,7 +257,7 @@ public:
delete rhs;
}
- virtual ControlState GetValue()
+ virtual ControlState GetValue() override
{
ControlState lhsValue = lhs->GetValue();
ControlState rhsValue = rhs->GetValue();
@@ -275,7 +275,7 @@ public:
}
}
- virtual void SetValue(ControlState value)
+ virtual void SetValue(ControlState value) override
{
// Don't do anything special with the op we have.
// Treat "A & B" the same as "A | B".
@@ -283,12 +283,12 @@ public:
rhs->SetValue(value);
}
- virtual int CountNumControls()
+ virtual int CountNumControls() override
{
return lhs->CountNumControls() + rhs->CountNumControls();
}
- virtual operator std::string()
+ virtual operator std::string() override
{
return OpName(op) + "(" + (std::string)(*lhs) + ", " + (std::string)(*rhs) + ")";
}
@@ -306,7 +306,7 @@ public:
delete inner;
}
- virtual ControlState GetValue()
+ virtual ControlState GetValue() override
{
ControlState value = inner->GetValue();
switch (op)
@@ -319,7 +319,7 @@ public:
}
}
- virtual void SetValue(ControlState value)
+ virtual void SetValue(ControlState value) override
{
switch (op)
{
@@ -330,12 +330,12 @@ public:
}
}
- virtual int CountNumControls()
+ virtual int CountNumControls() override
{
return inner->CountNumControls();
}
- virtual operator std::string()
+ virtual operator std::string() override
{
return OpName(op) + "(" + (std::string)(*inner) + ")";
}
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm b/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm
index 6473f00e77..93de15daa4 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm
+++ b/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm
@@ -222,9 +222,9 @@ Keyboard::Key::Key(IOHIDElementRef element, IOHIDDeviceRef device)
};
const uint32_t keycode = IOHIDElementGetUsage(m_element);
- for (uint32_t i = 0; i < sizeof named_keys / sizeof *named_keys; i++)
- if (named_keys[i].code == keycode) {
- m_name = named_keys[i].name;
+ for (auto & named_key : named_keys)
+ if (named_key.code == keycode) {
+ m_name = named_key.name;
return;
}
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp
index 40c822c577..bcd3586dc6 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp
+++ b/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.cpp
@@ -7,18 +7,14 @@
#include <algorithm>
#ifdef _WIN32
- #if SDL_VERSION_ATLEAST(1, 3, 0)
- #pragma comment(lib, "SDL.1.3.lib")
- #else
- #pragma comment(lib, "SDL.lib")
- #endif
+#pragma comment(lib, "SDL2.lib")
#endif
namespace ciface
{
namespace SDL
{
-
+
std::string GetJoystickName(int index)
{
#if SDL_VERSION_ATLEAST(2, 0, 0)
@@ -29,7 +25,7 @@ std::string GetJoystickName(int index)
}
void Init( std::vector<Core::Device*>& devices )
-{
+{
// this is used to number the joysticks
// multiple joysticks with the same name shall get unique ids starting at 0
std::map<std::string, int> name_counts;
@@ -83,7 +79,7 @@ Joystick::Joystick(SDL_Joystick* const joystick, const int sdl_index, const unsi
// get buttons
for (u8 i = 0; i != SDL_JoystickNumButtons(m_joystick); ++i)
AddInput(new Button(i, m_joystick));
-
+
// get hats
for (u8 i = 0; i != SDL_JoystickNumHats(m_joystick); ++i)
{
@@ -155,7 +151,7 @@ Joystick::~Joystick()
{
#ifdef USE_SDL_HAPTIC
if (m_haptic)
- {
+ {
// stop/destroy all effects
SDL_HapticStopAll(m_haptic);
std::list<EffectIDState>::iterator
@@ -201,7 +197,7 @@ std::string Joystick::TriangleEffect::GetName() const
return "Triangle";
}
-void Joystick::ConstantEffect::SetState(const ControlState state)
+void Joystick::ConstantEffect::SetState(ControlState state)
{
if (state)
{
@@ -219,7 +215,7 @@ void Joystick::ConstantEffect::SetState(const ControlState state)
m_effect.changed = true;
}
-void Joystick::RampEffect::SetState(const ControlState state)
+void Joystick::RampEffect::SetState(ControlState state)
{
if (state)
{
@@ -237,7 +233,7 @@ void Joystick::RampEffect::SetState(const ControlState state)
m_effect.changed = true;
}
-void Joystick::SineEffect::SetState(const ControlState state)
+void Joystick::SineEffect::SetState(ControlState state)
{
if (state)
{
@@ -260,7 +256,7 @@ void Joystick::SineEffect::SetState(const ControlState state)
}
#ifdef SDL_HAPTIC_SQUARE
-void Joystick::SquareEffect::SetState(const ControlState state)
+void Joystick::SquareEffect::SetState(ControlState state)
{
if (state)
{
@@ -283,7 +279,7 @@ void Joystick::SquareEffect::SetState(const ControlState state)
}
#endif // defined(SDL_HAPTIC_SQUARE)
-void Joystick::TriangleEffect::SetState(const ControlState state)
+void Joystick::TriangleEffect::SetState(ControlState state)
{
if (state)
{
@@ -310,7 +306,7 @@ bool Joystick::UpdateInput()
{
// each joystick is doin this, o well
SDL_JoystickUpdate();
-
+
return true;
}
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.h b/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.h
index 9b9794c481..f1714b253e 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.h
+++ b/Source/Core/InputCommon/Src/ControllerInterface/SDL/SDL.h
@@ -43,9 +43,9 @@ private:
class Button : public Core::Device::Input
{
public:
- std::string GetName() const;
+ std::string GetName() const override;
Button(u8 index, SDL_Joystick* js) : m_js(js), m_index(index) {}
- ControlState GetState() const;
+ ControlState GetState() const override;
private:
SDL_Joystick* const m_js;
const u8 m_index;
@@ -54,9 +54,9 @@ private:
class Axis : public Core::Device::Input
{
public:
- std::string GetName() const;
+ std::string GetName() const override;
Axis(u8 index, SDL_Joystick* js, Sint16 range) : m_js(js), m_range(range), m_index(index) {}
- ControlState GetState() const;
+ ControlState GetState() const override;
private:
SDL_Joystick* const m_js;
const Sint16 m_range;
@@ -66,9 +66,9 @@ private:
class Hat : public Input
{
public:
- std::string GetName() const;
+ std::string GetName() const override;
Hat(u8 index, SDL_Joystick* js, u8 direction) : m_js(js), m_direction(direction), m_index(index) {}
- ControlState GetState() const;
+ ControlState GetState() const override;
private:
SDL_Joystick* const m_js;
const u8 m_direction;
@@ -81,7 +81,7 @@ private:
public:
std::string GetName() const;
ConstantEffect(EffectIDState& effect) : m_effect(effect) {}
- void SetState(const ControlState state);
+ void SetState(ControlState state);
private:
EffectIDState& m_effect;
};
@@ -91,7 +91,7 @@ private:
public:
std::string GetName() const;
RampEffect(EffectIDState& effect) : m_effect(effect) {}
- void SetState(const ControlState state);
+ void SetState(ControlState state);
private:
EffectIDState& m_effect;
};
@@ -101,7 +101,7 @@ private:
public:
std::string GetName() const;
SineEffect(EffectIDState& effect) : m_effect(effect) {}
- void SetState(const ControlState state);
+ void SetState(ControlState state);
private:
EffectIDState& m_effect;
};
@@ -112,7 +112,7 @@ private:
public:
std::string GetName() const;
SquareEffect(EffectIDState& effect) : m_effect(effect) {}
- void SetState(const ControlState state);
+ void SetState(ControlState state);
private:
EffectIDState& m_effect;
};
@@ -123,22 +123,22 @@ private:
public:
std::string GetName() const;
TriangleEffect(EffectIDState& effect) : m_effect(effect) {}
- void SetState(const ControlState state);
+ void SetState(ControlState state);
private:
EffectIDState& m_effect;
};
#endif
public:
- bool UpdateInput();
- bool UpdateOutput();
+ bool UpdateInput() override;
+ bool UpdateOutput() override;
Joystick(SDL_Joystick* const joystick, const int sdl_index, const unsigned int index);
~Joystick();
- std::string GetName() const;
- int GetId() const;
- std::string GetSource() const;
+ std::string GetName() const override;
+ int GetId() const override;
+ std::string GetSource() const override;
private:
SDL_Joystick* const m_joystick;
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.cpp b/Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.cpp
index c687bef856..0aa639aae8 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.cpp
+++ b/Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.cpp
@@ -10,7 +10,7 @@ static const struct
{
const char* const name;
const WORD bitmask;
-} named_buttons[] =
+} named_buttons[] =
{
{ "Button A", XINPUT_GAMEPAD_A },
{ "Button B", XINPUT_GAMEPAD_B },
@@ -48,14 +48,60 @@ static const char* const named_motors[] =
"Motor R"
};
+static HMODULE hXInput = nullptr;
+
+typedef decltype(&XInputGetCapabilities) XInputGetCapabilities_t;
+typedef decltype(&XInputSetState) XInputSetState_t;
+typedef decltype(&XInputGetState) XInputGetState_t;
+
+static XInputGetCapabilities_t PXInputGetCapabilities = nullptr;
+static XInputSetState_t PXInputSetState = nullptr;
+static XInputGetState_t PXInputGetState = nullptr;
+
void Init(std::vector<Core::Device*>& devices)
{
+ if (!hXInput)
+ {
+ // Try for the most recent version we were compiled against (will only work if running on Win8+)
+ hXInput = ::LoadLibrary(XINPUT_DLL);
+ if (!hXInput)
+ {
+ // Drop back to DXSDK June 2010 version. Requires DX June 2010 redist.
+ hXInput = ::LoadLibrary(TEXT("xinput1_3.dll"));
+ if (!hXInput)
+ {
+ return;
+ }
+ }
+
+ PXInputGetCapabilities = (XInputGetCapabilities_t)::GetProcAddress(hXInput, "XInputGetCapabilities");
+ PXInputSetState = (XInputSetState_t)::GetProcAddress(hXInput, "XInputSetState");
+ PXInputGetState = (XInputGetState_t)::GetProcAddress(hXInput, "XInputGetState");
+ if (!PXInputGetCapabilities ||
+ !PXInputSetState ||
+ !PXInputGetState)
+ {
+ ::FreeLibrary(hXInput);
+ hXInput = nullptr;
+ return;
+ }
+ }
+
XINPUT_CAPABILITIES caps;
for (int i = 0; i != 4; ++i)
- if (ERROR_SUCCESS == XInputGetCapabilities(i, 0, &caps))
+ if (ERROR_SUCCESS == PXInputGetCapabilities(i, 0, &caps))
devices.push_back(new Device(caps, i));
}
+void DeInit()
+{
+ if (hXInput)
+ {
+ ::FreeLibrary(hXInput);
+ hXInput = nullptr;
+ }
+}
+
Device::Device(const XINPUT_CAPABILITIES& caps, u8 index)
: m_index(index), m_subtype(caps.SubType)
{
@@ -107,25 +153,21 @@ Device::Device(const XINPUT_CAPABILITIES& caps, u8 index)
void Device::ClearInputState()
{
- ZeroMemory(&m_state_in, sizeof(m_state_in));
+ ZeroMemory(&m_state_in, sizeof(m_state_in));
}
std::string Device::GetName() const
{
- // why aren't these defined
- // subtype doesn't seem to work, I tested with 2 different arcade sticks, both were shown as gamepad
- // I'll leave it in anyway, maybe m$ will fix it
-
switch (m_subtype)
{
- case XINPUT_DEVSUBTYPE_GAMEPAD : return "Gamepad"; break;
- case 0x02 /*XINPUT_DEVSUBTYPE_WHEEL*/ : return "Wheel"; break;
- case 0x03 /*XINPUT_DEVSUBTYPE_ARCADE_STICK*/ : return "Arcade Stick"; break;
- case 0x04 /*XINPUT_DEVSUBTYPE_FLIGHT_STICK*/ : return "Flight Stick"; break;
- case 0x05 /*XINPUT_DEVSUBTYPE_DANCE_PAD*/ : return "Dance Pad"; break;
- case 0x06 /*XINPUT_DEVSUBTYPE_GUITAR*/ : return "Guitar"; break;
- case 0x08 /*XINPUT_DEVSUBTYPE_DRUM_KIT*/ : return "Drum Kit"; break;
- default : return "Device"; break;
+ case XINPUT_DEVSUBTYPE_GAMEPAD: return "Gamepad"; break;
+ case XINPUT_DEVSUBTYPE_WHEEL: return "Wheel"; break;
+ case XINPUT_DEVSUBTYPE_ARCADE_STICK: return "Arcade Stick"; break;
+ case XINPUT_DEVSUBTYPE_FLIGHT_STICK: return "Flight Stick"; break;
+ case XINPUT_DEVSUBTYPE_DANCE_PAD: return "Dance Pad"; break;
+ case XINPUT_DEVSUBTYPE_GUITAR: return "Guitar"; break;
+ case XINPUT_DEVSUBTYPE_DRUM_KIT: return "Drum Kit"; break;
+ default: return "Device"; break;
}
}
@@ -143,7 +185,7 @@ std::string Device::GetSource() const
bool Device::UpdateInput()
{
- return (ERROR_SUCCESS == XInputGetState(m_index, &m_state_in));
+ return (ERROR_SUCCESS == PXInputGetState(m_index, &m_state_in));
}
bool Device::UpdateOutput()
@@ -153,7 +195,7 @@ bool Device::UpdateOutput()
if (memcmp(&m_state_out, &m_current_state_out, sizeof(m_state_out)))
{
m_current_state_out = m_state_out;
- return (ERROR_SUCCESS == XInputSetState(m_index, &m_state_out));
+ return (ERROR_SUCCESS == PXInputSetState(m_index, &m_state_out));
}
else
{
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.h b/Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.h
index 8fe6dd1dee..17e49e5e2b 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.h
+++ b/Source/Core/InputCommon/Src/ControllerInterface/XInput/XInput.h
@@ -1,3 +1,8 @@
+// XInput suffers a similar issue as XAudio2. Since Win8, it is part of the OS.
+// However, unlike XAudio2 they have not made the API incompatible - so we just
+// compile against the latest version and fall back to dynamically loading the
+// old DLL.
+
#ifndef _CIFACE_XINPUT_H_
#define _CIFACE_XINPUT_H_
@@ -7,12 +12,17 @@
#include <Windows.h>
#include <XInput.h>
+#ifndef XINPUT_DEVSUBTYPE_FLIGHT_STICK
+#error You are building this module against the wrong version of DirectX. You probably need to remove DXSDK_DIR from your include path and/or _WIN32_WINNT is wrong.
+#endif
+
namespace ciface
{
namespace XInput
{
void Init(std::vector<Core::Device*>& devices);
+void DeInit();
class Device : public Core::Device
{
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/Xlib/XInput2.cpp b/Source/Core/InputCommon/Src/ControllerInterface/Xlib/XInput2.cpp
index b42eda1f21..23cadd3ee6 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/Xlib/XInput2.cpp
+++ b/Source/Core/InputCommon/Src/ControllerInterface/Xlib/XInput2.cpp
@@ -8,8 +8,8 @@
#include <cmath>
// This is an input plugin using the XInput 2.0 extension to the X11 protocol,
-// loosely based on the old XLib plugin. (Has nothing to do with the XInput
-// API on Windows.)
+// loosely based on the old XLib plugin. (Has nothing to do with the XInput
+// API on Windows.)
// This plugin creates one KeyboardMouse object for each master pointer/
// keyboard pair. Each KeyboardMouse object exports four types of controls:
@@ -20,20 +20,20 @@
// center of the emulator window.
// * Mouse axis controls: one for each cardinal direction. Calculated using
// a running average of relative mouse motion on each axis.
-// * Key controls: these correspond to a limited subset of the keyboard
+// * Key controls: these correspond to a limited subset of the keyboard
// keys.
// Mouse axis control tuning. Unlike absolute mouse position, relative mouse
// motion data needs to be tweaked and smoothed out a bit to be usable.
-// Mouse axis control output is simply divided by this number. In practice,
+// Mouse axis control output is simply divided by this number. In practice,
// that just means you can use a smaller "dead zone" if you bind axis controls
// to a joystick. No real need to make this customizable.
#define MOUSE_AXIS_SENSITIVITY 8.0f
// The mouse axis controls use a weighted running average. Each frame, the new
-// value is the average of the old value and the amount of relative mouse
+// value is the average of the old value and the amount of relative mouse
// motion during that frame. The old value is weighted by a ratio of
// MOUSE_AXIS_SMOOTHING:1 compared to the new value. Increasing
// MOUSE_AXIS_SMOOTHING makes the controls smoother, decreasing it makes them
@@ -49,31 +49,31 @@ namespace XInput2
void Init(std::vector<Core::Device*>& devices, void* const hwnd)
{
Display* dpy;
-
+
dpy = XOpenDisplay(NULL);
-
- // xi_opcode is important; it will be used to identify XInput events by
+
+ // xi_opcode is important; it will be used to identify XInput events by
// the polling loop in UpdateInput.
int xi_opcode, event, error;
-
+
// verify that the XInput extension is available
if (!XQueryExtension(dpy, "XInputExtension", &xi_opcode, &event, &error))
return;
-
+
// verify that the XInput extension is at at least version 2.0
int major = 2, minor = 0;
-
+
if (XIQueryVersion(dpy, &major, &minor) != Success)
return;
-
+
// register all master devices with Dolphin
-
+
XIDeviceInfo* all_masters;
XIDeviceInfo* current_master;
int num_masters;
-
+
all_masters = XIQueryDevice(dpy, XIAllMasterDevices, &num_masters);
-
+
for (int i = 0; i < num_masters; i++)
{
current_master = &all_masters[i];
@@ -82,34 +82,34 @@ void Init(std::vector<Core::Device*>& devices, void* const hwnd)
// be a master keyboard.
devices.push_back(new KeyboardMouse((Window)hwnd, xi_opcode, current_master->deviceid, current_master->attachment));
}
-
+
XCloseDisplay(dpy);
-
+
XIFreeDeviceInfo(all_masters);
}
-// Apply the event mask to the device and all its slaves. Only used in the
+// Apply the event mask to the device and all its slaves. Only used in the
// constructor. Remember, each KeyboardMouse has its own copy of the event
// stream, which is how multiple event masks can "coexist."
void KeyboardMouse::SelectEventsForDevice(Window window, XIEventMask *mask, int deviceid)
{
// Set the event mask for the master device.
-
+
mask->deviceid = deviceid;
XISelectEvents(m_display, window, mask, 1);
-
+
// Query all the master device's slaves and set the same event mask for
// those too. There are two reasons we want to do this. For mouse devices,
// we want the raw motion events, and only slaves (i.e. physical hardware
// devices) emit those. For keyboard devices, selecting slaves avoids
// dealing with key focus.
-
+
XIDeviceInfo* all_slaves;
XIDeviceInfo* current_slave;
int num_slaves;
-
+
all_slaves = XIQueryDevice(m_display, XIAllDevices, &num_slaves);
-
+
for (int i = 0; i < num_slaves; i++)
{
current_slave = &all_slaves[i];
@@ -118,33 +118,33 @@ void KeyboardMouse::SelectEventsForDevice(Window window, XIEventMask *mask, int
mask->deviceid = current_slave->deviceid;
XISelectEvents(m_display, window, mask, 1);
}
-
+
XIFreeDeviceInfo(all_slaves);
}
-KeyboardMouse::KeyboardMouse(Window window, int opcode, int pointer, int keyboard)
+KeyboardMouse::KeyboardMouse(Window window, int opcode, int pointer, int keyboard)
: m_window(window), xi_opcode(opcode), pointer_deviceid(pointer), keyboard_deviceid(keyboard)
{
memset(&m_state, 0, sizeof(m_state));
-
+
// The cool thing about each KeyboardMouse object having its own Display
// is that each one gets its own separate copy of the X11 event stream,
// which it can individually filter to get just the events it's interested
// in. So be aware that each KeyboardMouse object actually has its own X11
// "context."
m_display = XOpenDisplay(NULL);
-
+
int min_keycode, max_keycode;
XDisplayKeycodes(m_display, &min_keycode, &max_keycode);
-
+
int unused; // should always be 1
XIDeviceInfo* pointer_device = XIQueryDevice(m_display, pointer_deviceid, &unused);
name = std::string(pointer_device->name);
XIFreeDeviceInfo(pointer_device);
-
+
XIEventMask mask;
unsigned char mask_buf[(XI_LASTEVENT + 7)/8];
-
+
mask.mask_len = sizeof(mask_buf);
mask.mask = mask_buf;
memset(mask_buf, 0, sizeof(mask_buf));
@@ -155,9 +155,9 @@ KeyboardMouse::KeyboardMouse(Window window, int opcode, int pointer, int keyboar
XISetMask(mask_buf, XI_KeyPress);
XISetMask(mask_buf, XI_KeyRelease);
- SelectEventsForDevice(DefaultRootWindow(m_display), &mask, pointer_deviceid);
+ SelectEventsForDevice(DefaultRootWindow(m_display), &mask, pointer_deviceid);
SelectEventsForDevice(DefaultRootWindow(m_display), &mask, keyboard_deviceid);
-
+
// Keyboard Keys
for (int i = min_keycode; i <= max_keycode; ++i)
{
@@ -175,7 +175,7 @@ KeyboardMouse::KeyboardMouse(Window window, int opcode, int pointer, int keyboar
// Mouse Cursor, X-/+ and Y-/+
for (int i = 0; i != 4; ++i)
AddInput(new Cursor(!!(i & 2), !!(i & 1), (&m_state.cursor.x)[!!(i & 2)]));
-
+
// Mouse Axis, X-/+ and Y-/+
for (int i = 0; i != 4; ++i)
AddInput(new Axis(!!(i & 2), !!(i & 1), (&m_state.axis.x)[!!(i & 2)]));
@@ -191,15 +191,15 @@ void KeyboardMouse::UpdateCursor()
{
double root_x, root_y, win_x, win_y;
Window root, child;
-
- // unused-- we're not interested in button presses here, as those are
+
+ // unused-- we're not interested in button presses here, as those are
// updated using events
XIButtonState button_state;
XIModifierState mods;
XIGroupState group;
-
+
XIQueryPointer(m_display, pointer_deviceid, m_window, &root, &child, &root_x, &root_y, &win_x, &win_y, &button_state, &mods, &group);
-
+
free (button_state.mask);
XWindowAttributes win_attribs;
@@ -213,32 +213,32 @@ void KeyboardMouse::UpdateCursor()
bool KeyboardMouse::UpdateInput()
{
XFlush(m_display);
-
+
// Get the absolute position of the mouse pointer
UpdateCursor();
-
+
// for the axis controls
float delta_x = 0.0f, delta_y = 0.0f;
double delta_delta;
-
+
// Iterate through the event queue - update the axis controls, mouse
// button controls, and keyboard controls.
XEvent event;
- while (XPending(m_display))
+ while (XPending(m_display))
{
XNextEvent(m_display, &event);
-
+
if (event.xcookie.type != GenericEvent)
continue;
if (event.xcookie.extension != xi_opcode)
continue;
if (!XGetEventData(m_display, &event.xcookie))
continue;
-
+
// only one of these will get used
XIDeviceEvent* dev_event = (XIDeviceEvent*)event.xcookie.data;
XIRawEvent* raw_event = (XIRawEvent*)event.xcookie.data;
-
+
switch (event.xcookie.evtype)
{
case XI_ButtonPress:
@@ -254,7 +254,7 @@ bool KeyboardMouse::UpdateInput()
m_state.keyboard[dev_event->detail / 8] &= ~(1<<(dev_event->detail % 8));
break;
case XI_RawMotion:
- // always safe because there is always at least one byte in
+ // always safe because there is always at least one byte in
// raw_event->valuators.mask, and if a bit is set in the mask,
// then the value in raw_values is also available.
if (XIMaskIsSet(raw_event->valuators.mask, 0))
@@ -273,10 +273,10 @@ bool KeyboardMouse::UpdateInput()
}
break;
}
-
+
XFreeEventData(m_display, &event.xcookie);
}
-
+
// apply axis smoothing
m_state.axis.x *= MOUSE_AXIS_SMOOTHING;
m_state.axis.x += delta_x;
@@ -284,7 +284,7 @@ bool KeyboardMouse::UpdateInput()
m_state.axis.y *= MOUSE_AXIS_SMOOTHING;
m_state.axis.y += delta_y;
m_state.axis.y /= MOUSE_AXIS_SMOOTHING+1.0f;
-
+
return true;
}
@@ -322,10 +322,10 @@ KeyboardMouse::Key::Key(Display* const display, KeyCode keycode, const char* key
}
while (keysym == NoSymbol && i < 8);
- // Convert to upper case for the keyname
+ // Convert to upper case for the keyname
if (keysym >= 97 && keysym <= 122)
keysym -= 32;
-
+
// 0x0110ffff is the top of the unicode character range according
// to keysymdef.h although it is probably more than we need.
if (keysym == NoSymbol || keysym > 0x0110ffff ||
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/Xlib/XInput2.h b/Source/Core/InputCommon/Src/ControllerInterface/Xlib/XInput2.h
index 58a1a38c8c..dfb8fa285d 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/Xlib/XInput2.h
+++ b/Source/Core/InputCommon/Src/ControllerInterface/Xlib/XInput2.h
@@ -35,7 +35,7 @@ private:
float x, y;
} cursor, axis;
};
-
+
class Key : public Input
{
friend class KeyboardMouse;
@@ -43,21 +43,21 @@ private:
std::string GetName() const { return m_keyname; }
Key(Display* display, KeyCode keycode, const char* keyboard);
ControlState GetState() const;
-
+
private:
std::string m_keyname;
Display* const m_display;
const char* const m_keyboard;
const KeyCode m_keycode;
};
-
+
class Button : public Input
{
public:
std::string GetName() const { return name; }
Button(unsigned int index, unsigned int& buttons);
ControlState GetState() const;
-
+
private:
const unsigned int& m_buttons;
const unsigned int m_index;
@@ -71,14 +71,14 @@ private:
bool IsDetectable() { return false; }
Cursor(u8 index, bool positive, const float& cursor);
ControlState GetState() const;
-
+
private:
const float& m_cursor;
const u8 m_index;
const bool m_positive;
std::string name;
};
-
+
class Axis : public Input
{
public:
@@ -93,22 +93,22 @@ private:
const bool m_positive;
std::string name;
};
-
+
private:
void SelectEventsForDevice(Window window, XIEventMask *mask, int deviceid);
void UpdateCursor();
-
+
public:
bool UpdateInput();
bool UpdateOutput();
-
+
KeyboardMouse(Window window, int opcode, int pointer_deviceid, int keyboard_deviceid);
~KeyboardMouse();
-
+
std::string GetName() const;
std::string GetSource() const;
int GetId() const;
-
+
private:
Window m_window;
Display* m_display;
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.cpp b/Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.cpp
index 7016c4908b..e507b88c9f 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.cpp
+++ b/Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.cpp
@@ -20,7 +20,7 @@ KeyboardMouse::KeyboardMouse(Window window) : m_window(window)
int min_keycode, max_keycode;
XDisplayKeycodes(m_display, &min_keycode, &max_keycode);
-
+
// Keyboard Keys
for (int i = min_keycode; i <= max_keycode; ++i)
{
@@ -99,7 +99,7 @@ KeyboardMouse::Key::Key(Display* const display, KeyCode keycode, const char* key
i++;
}
while (keysym == NoSymbol && i < 8);
-
+
// Convert to upper case for the keyname
if (keysym >= 97 && keysym <= 122)
keysym -= 32;
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.h b/Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.h
index c178f1e9b4..35b6100081 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.h
+++ b/Source/Core/InputCommon/Src/ControllerInterface/Xlib/Xlib.h
@@ -26,7 +26,7 @@ private:
float x, y;
} cursor;
};
-
+
class Key : public Input
{
friend class KeyboardMouse;
@@ -34,14 +34,14 @@ private:
std::string GetName() const;
Key(Display* display, KeyCode keycode, const char* keyboard);
ControlState GetState() const;
-
+
private:
std::string m_keyname;
Display* const m_display;
const char* const m_keyboard;
const KeyCode m_keycode;
};
-
+
class Button : public Input
{
public:
@@ -49,7 +49,7 @@ private:
Button(unsigned int index, unsigned int& buttons)
: m_buttons(buttons), m_index(index) {}
ControlState GetState() const;
-
+
private:
const unsigned int& m_buttons;
const unsigned int m_index;
@@ -69,18 +69,18 @@ private:
const u8 m_index;
const bool m_positive;
};
-
+
public:
bool UpdateInput();
bool UpdateOutput();
-
+
KeyboardMouse(Window window);
~KeyboardMouse();
-
+
std::string GetName() const;
std::string GetSource() const;
int GetId() const;
-
+
private:
Window m_window;
Display* m_display;
diff --git a/Source/Core/InputCommon/Src/UDPWiimote.cpp b/Source/Core/InputCommon/Src/UDPWiimote.cpp
index e0cf787e0f..5419cb61ce 100644
--- a/Source/Core/InputCommon/Src/UDPWiimote.cpp
+++ b/Source/Core/InputCommon/Src/UDPWiimote.cpp
@@ -59,12 +59,12 @@ struct UDPWiimote::_d
int UDPWiimote::noinst = 0;
-UDPWiimote::UDPWiimote(const char *_port, const char * name, int _index) :
+UDPWiimote::UDPWiimote(const char *_port, const char * name, int _index) :
port(_port), displayName(name),
d(new _d) ,x(0),y(0),z(1.0f),naX(0),naY(0),naZ(-1.0f),nunX(0),nunY(0),
pointerX(1001.0f/2),pointerY(0),nunMask(0),mask(0),index(_index), int_port(atoi(_port))
{
-
+
static bool sranded=false;
if (!sranded)
{
@@ -72,7 +72,7 @@ UDPWiimote::UDPWiimote(const char *_port, const char * name, int _index) :
sranded=true;
}
bcastMagic=rand() & 0xFFFF;
-
+
#ifdef _WIN32
u_long iMode = 1;
#endif
@@ -88,21 +88,21 @@ UDPWiimote::UDPWiimote(const char *_port, const char * name, int _index) :
WSAStartup(sockVersion, &wsaData);
}
#endif
-
+
noinst++;
memset(&hints, 0, sizeof hints);
hints.ai_family = AF_INET;
hints.ai_socktype = SOCK_DGRAM;
hints.ai_flags = AI_PASSIVE; // use my IP
-
+
if (!int_port)
{
cleanup;
err=-1;
return;
}
-
+
if ((rv = getaddrinfo(NULL, _port, &hints, &servinfo)) != 0)
{
cleanup;
@@ -126,14 +126,14 @@ UDPWiimote::UDPWiimote(const char *_port, const char * name, int _index) :
}
d->sockfds.push_back(sock);
}
-
+
if (d->sockfds.empty())
{
cleanup;
err=-2;
return;
}
-
+
freeaddrinfo(servinfo);
err=0;
d->exit=false;
@@ -160,15 +160,15 @@ void UDPWiimote::mainThread()
{
int maxfd=0;
FD_ZERO(&fds);
- for (std::list<sock_t>::iterator i=d->sockfds.begin(); i!=d->sockfds.end(); i++)
+ for (auto& fd : d->sockfds)
{
- FD_SET(*i,&fds);
+ FD_SET(fd,&fds);
#ifndef _WIN32
- if (*i>=maxfd)
- maxfd=(*i)+1;
+ if (fd>=maxfd)
+ maxfd=(fd)+1;
#endif
}
-
+
u64 tleft=timeout.tv_sec*1000+timeout.tv_usec/1000;
u64 telapsed=time.GetTimeDifference();
time.Update();
@@ -184,29 +184,28 @@ void UDPWiimote::mainThread()
timeout.tv_sec=(long)(tleft/1000);
timeout.tv_usec=(tleft%1000)*1000;
}
-
+
lk.unlock(); //VERY hacky. don't like it
- if (d->exit) return;
+ if (d->exit) return;
int rt=select(maxfd,&fds,NULL,NULL,&timeout);
if (d->exit) return;
lk.lock();
if (d->exit) return;
-
+
if (rt)
{
- for (std::list<sock_t>::iterator i=d->sockfds.begin(); i!=d->sockfds.end(); i++)
+ for (sock_t fd : d->sockfds)
{
- if (FD_ISSET(*i,&fds))
+ if (FD_ISSET(fd,&fds))
{
- sock_t fd=*i;
u8 bf[64];
int size=60;
size_t addr_len;
struct sockaddr_storage their_addr;
addr_len = sizeof their_addr;
- if ((size = recvfrom(fd,
- (dataz)bf,
- size , 0,(struct sockaddr *)&their_addr, (socklen_t*)&addr_len)) == -1)
+ if ((size = recvfrom(fd,
+ (dataz)bf,
+ size , 0,(struct sockaddr *)&their_addr, (socklen_t*)&addr_len)) == -1)
{
ERROR_LOG(WIIMOTE,"UDPWii Packet error");
}
@@ -235,8 +234,8 @@ UDPWiimote::~UDPWiimote()
std::lock_guard<std::mutex> lk(d->termLock);
d->thread.join();
}
- for (std::list<sock_t>::iterator i=d->sockfds.begin(); i!=d->sockfds.end(); i++)
- close(*i);
+ for (auto& elem : d->sockfds)
+ close(elem);
close(d->bipv4_fd);
close(d->bipv6_fd);
cleanup;
@@ -328,7 +327,7 @@ void UDPWiimote::initBroadcastIPv4()
WARN_LOG(WIIMOTE,"socket() failed");
return;
}
-
+
int broad=1;
if (setsockopt(d->bipv4_fd,SOL_SOCKET,SO_BROADCAST, (const dataz)(&broad), sizeof broad) == -1)
{
@@ -345,7 +344,7 @@ void UDPWiimote::broadcastIPv4(const void * data, size_t size)
their_addr.sin_port = htons(4431);
their_addr.sin_addr.s_addr = INADDR_BROADCAST;
memset(their_addr.sin_zero, '\0', sizeof their_addr.sin_zero);
-
+
int num;
if ((num=sendto(d->bipv4_fd,(const dataz)data,(int)size,0,(struct sockaddr *) &their_addr, sizeof their_addr)) == -1)
{
diff --git a/Source/Core/InputCommon/Src/UDPWiimote.h b/Source/Core/InputCommon/Src/UDPWiimote.h
index 01b9b11969..877cb87473 100644
--- a/Source/Core/InputCommon/Src/UDPWiimote.h
+++ b/Source/Core/InputCommon/Src/UDPWiimote.h
@@ -38,7 +38,7 @@ private:
std::string port,displayName;
int pharsePacket(u8 * data, size_t size);
struct _d; //using pimpl because Winsock2.h doesn't have include guards -_-
- _d *d;
+ _d *d;
double x,y,z;
double naX,naY,naZ;
double nunX,nunY;
diff --git a/Source/Core/InputCommon/Src/UDPWrapper.cpp b/Source/Core/InputCommon/Src/UDPWrapper.cpp
index e176a2164d..7fc77c4f44 100644
--- a/Source/Core/InputCommon/Src/UDPWrapper.cpp
+++ b/Source/Core/InputCommon/Src/UDPWrapper.cpp
@@ -12,7 +12,7 @@ const char* DefaultPort(const int index)
return s.c_str();
}
-UDPWrapper::UDPWrapper(int indx, const char* const _name) :
+UDPWrapper::UDPWrapper(int indx, const char* const _name) :
ControllerEmu::ControlGroup(_name,GROUP_TYPE_UDPWII),
inst(NULL), index(indx),
updIR(false),updAccel(false),
diff --git a/Source/Core/InputCommon/Src/X11InputBase.cpp b/Source/Core/InputCommon/Src/X11InputBase.cpp
index d23d2d77c5..b555a21449 100644
--- a/Source/Core/InputCommon/Src/X11InputBase.cpp
+++ b/Source/Core/InputCommon/Src/X11InputBase.cpp
@@ -105,7 +105,7 @@ KeySym wxCharCodeWXToX(int id)
if (id >= 65 && id <= 90)
// Standard uppercase letter: return lowercase keycode
keySym = (KeySym)id + 32;
- else
+ else
// All other keyboard characters
keySym = id <= 255 ? (KeySym)id : 0;
}
@@ -126,7 +126,7 @@ int wxKeyModWXToX(int modstate)
#endif
void XKeyToString(unsigned int keycode, char *keyStr) {
switch (keycode)
- {
+ {
case XK_Insert:
sprintf(keyStr, "INSERT");
break;
@@ -148,10 +148,10 @@ void XKeyToString(unsigned int keycode, char *keyStr) {
case XK_Left:
sprintf(keyStr, "LEFT");
break;
- case XK_Up:
+ case XK_Up:
sprintf(keyStr, "UP");
break;
- case XK_Right:
+ case XK_Right:
sprintf(keyStr, "RIGHT");
break;
case XK_Down:
@@ -178,10 +178,10 @@ void XKeyToString(unsigned int keycode, char *keyStr) {
case XK_KP_Left:
sprintf(keyStr, "KP LEFT");
break;
- case XK_KP_Up:
+ case XK_KP_Up:
sprintf(keyStr, "KP UP");
break;
- case XK_KP_Right:
+ case XK_KP_Right:
sprintf(keyStr, "KP RIGHT");
break;
case XK_KP_Down:
diff --git a/Source/Core/InputCommon/Src/stdafx.cpp b/Source/Core/InputCommon/Src/stdafx.cpp
new file mode 100644
index 0000000000..b602b39925
--- /dev/null
+++ b/Source/Core/InputCommon/Src/stdafx.cpp
@@ -0,0 +1,5 @@
+// Copyright 2013 Dolphin Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#include "stdafx.h"
diff --git a/Source/Core/InputCommon/Src/stdafx.h b/Source/Core/InputCommon/Src/stdafx.h
new file mode 100644
index 0000000000..498a15a12f
--- /dev/null
+++ b/Source/Core/InputCommon/Src/stdafx.h
@@ -0,0 +1,14 @@
+// Copyright 2013 Dolphin Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#pragma once
+/*
+#define _WIN32_WINNT 0x501
+#ifndef _WIN32_IE
+#define _WIN32_IE 0x0500 // Default value is 0x0400
+#endif
+*/
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+
+#include <algorithm>
diff --git a/Source/Core/VideoBackends/D3D/D3D.vcxproj b/Source/Core/VideoBackends/D3D/D3D.vcxproj
index a4e8563fc4..a4177f6909 100644
--- a/Source/Core/VideoBackends/D3D/D3D.vcxproj
+++ b/Source/Core/VideoBackends/D3D/D3D.vcxproj
@@ -1,14 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="DebugFast|Win32">
- <Configuration>DebugFast</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="DebugFast|x64">
- <Configuration>DebugFast</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
@@ -27,124 +19,29 @@
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
- <ProjectGuid>{9A4C733C-BADE-4AC6-B58A-6E274395E90E}</ProjectGuid>
- <RootNamespace>VideoD3D</RootNamespace>
- <ProjectName>VideoD3D</ProjectName>
+ <ProjectGuid>{96020103-4BA5-4FD2-B4AA-5B6D24492D4E}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <PropertyGroup Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
+ <PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
+ <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>false</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
+ <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\CodeGen_Release.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\CodeGen_DebugFast.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\CodeGen_Release.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="PropertySheets">
+ <ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\CodeGen_DebugFast.props" />
<Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="Src\D3DBase.cpp" />
<ClCompile Include="Src\D3DBlob.cpp" />
@@ -162,12 +59,7 @@
<ClCompile Include="Src\PSTextureEncoder.cpp" />
<ClCompile Include="Src\Render.cpp" />
<ClCompile Include="Src\stdafx.cpp">
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">Create</PrecompiledHeader>
+ <PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="Src\Television.cpp" />
<ClCompile Include="Src\TextureCache.cpp" />
@@ -201,8 +93,11 @@
<ClInclude Include="Src\XFBEncoder.h" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\..\VideoCommon\VideoCommon.vcxproj">
- <Project>{3e5c4e02-1ba9-4776-bdbe-e3f91ffa34cf}</Project>
+ <ProjectReference Include="..\..\..\..\Externals\wxWidgets3\build\msw\wx_base.vcxproj">
+ <Project>{1c8436c9-dbaf-42be-83bc-cf3ec9175abe}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Core\VideoCommon\VideoCommon.vcxproj">
+ <Project>{3de9ee35-3e91-4f27-a014-2866ad8c3fe3}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
diff --git a/Source/Core/VideoBackends/D3D/D3D.vcxproj.filters b/Source/Core/VideoBackends/D3D/D3D.vcxproj.filters
index 4b8efac92b..efd5c46a08 100644
--- a/Source/Core/VideoBackends/D3D/D3D.vcxproj.filters
+++ b/Source/Core/VideoBackends/D3D/D3D.vcxproj.filters
@@ -1,8 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
- <ClCompile Include="Src\main.cpp" />
- <ClCompile Include="Src\stdafx.cpp" />
+ <Filter Include="D3D">
+ <UniqueIdentifier>{ae700f7e-33c8-45b5-b7ee-a0ded3630549}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Render">
+ <UniqueIdentifier>{3683d29b-19f6-4e7a-803f-4ac70b1d49fd}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
<ClCompile Include="Src\D3DBase.cpp">
<Filter>D3D</Filter>
</ClCompile>
@@ -24,51 +30,46 @@
<ClCompile Include="Src\FramebufferManager.cpp">
<Filter>Render</Filter>
</ClCompile>
- <ClCompile Include="Src\NativeVertexFormat.cpp">
- <Filter>Render</Filter>
- </ClCompile>
- <ClCompile Include="Src\PixelShaderCache.cpp">
+ <ClCompile Include="Src\LineGeometryShader.cpp">
<Filter>Render</Filter>
</ClCompile>
- <ClCompile Include="Src\Render.cpp">
+ <ClCompile Include="Src\NativeVertexFormat.cpp">
<Filter>Render</Filter>
</ClCompile>
- <ClCompile Include="Src\TextureCache.cpp">
+ <ClCompile Include="Src\PerfQuery.cpp">
<Filter>Render</Filter>
</ClCompile>
- <ClCompile Include="Src\VertexManager.cpp">
+ <ClCompile Include="Src\PixelShaderCache.cpp">
<Filter>Render</Filter>
</ClCompile>
- <ClCompile Include="Src\VertexShaderCache.cpp">
+ <ClCompile Include="Src\PointGeometryShader.cpp">
<Filter>Render</Filter>
</ClCompile>
<ClCompile Include="Src\PSTextureEncoder.cpp">
<Filter>Render</Filter>
</ClCompile>
- <ClCompile Include="Src\XFBEncoder.cpp">
+ <ClCompile Include="Src\Render.cpp">
<Filter>Render</Filter>
</ClCompile>
<ClCompile Include="Src\Television.cpp">
<Filter>Render</Filter>
</ClCompile>
- <ClCompile Include="Src\LineGeometryShader.cpp">
+ <ClCompile Include="Src\TextureCache.cpp">
<Filter>Render</Filter>
</ClCompile>
- <ClCompile Include="Src\PointGeometryShader.cpp">
+ <ClCompile Include="Src\VertexManager.cpp">
<Filter>Render</Filter>
</ClCompile>
- <ClCompile Include="Src\PerfQuery.cpp">
+ <ClCompile Include="Src\VertexShaderCache.cpp">
<Filter>Render</Filter>
</ClCompile>
+ <ClCompile Include="Src\XFBEncoder.cpp">
+ <Filter>Render</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\main.cpp" />
+ <ClCompile Include="Src\stdafx.cpp" />
</ItemGroup>
<ItemGroup>
- <ClInclude Include="Src\Globals.h" />
- <ClInclude Include="Src\main.h" />
- <ClInclude Include="Src\stdafx.h" />
- <ClInclude Include="Src\VideoBackend.h" />
- <ClInclude Include="Src\D3DUtil.h">
- <Filter>D3D</Filter>
- </ClInclude>
<ClInclude Include="Src\D3DBase.h">
<Filter>D3D</Filter>
</ClInclude>
@@ -81,55 +82,54 @@
<ClInclude Include="Src\D3DTexture.h">
<Filter>D3D</Filter>
</ClInclude>
+ <ClInclude Include="Src\D3DUtil.h">
+ <Filter>D3D</Filter>
+ </ClInclude>
<ClInclude Include="Src\GfxState.h">
<Filter>D3D</Filter>
</ClInclude>
<ClInclude Include="Src\FramebufferManager.h">
<Filter>Render</Filter>
</ClInclude>
- <ClInclude Include="Src\Render.h">
+ <ClInclude Include="Src\LineGeometryShader.h">
<Filter>Render</Filter>
</ClInclude>
- <ClInclude Include="Src\PixelShaderCache.h">
+ <ClInclude Include="Src\PerfQuery.h">
<Filter>Render</Filter>
</ClInclude>
- <ClInclude Include="Src\VertexShaderCache.h">
+ <ClInclude Include="Src\PixelShaderCache.h">
<Filter>Render</Filter>
</ClInclude>
- <ClInclude Include="Src\TextureCache.h">
+ <ClInclude Include="Src\PointGeometryShader.h">
<Filter>Render</Filter>
</ClInclude>
- <ClInclude Include="Src\VertexManager.h">
+ <ClInclude Include="Src\PSTextureEncoder.h">
<Filter>Render</Filter>
</ClInclude>
- <ClInclude Include="Src\PSTextureEncoder.h">
+ <ClInclude Include="Src\Render.h">
<Filter>Render</Filter>
</ClInclude>
- <ClInclude Include="Src\TextureEncoder.h">
+ <ClInclude Include="Src\Television.h">
<Filter>Render</Filter>
</ClInclude>
- <ClInclude Include="Src\XFBEncoder.h">
+ <ClInclude Include="Src\TextureCache.h">
<Filter>Render</Filter>
</ClInclude>
- <ClInclude Include="Src\Television.h">
+ <ClInclude Include="Src\TextureEncoder.h">
<Filter>Render</Filter>
</ClInclude>
- <ClInclude Include="Src\LineGeometryShader.h">
+ <ClInclude Include="Src\VertexManager.h">
<Filter>Render</Filter>
</ClInclude>
- <ClInclude Include="Src\PointGeometryShader.h">
+ <ClInclude Include="Src\VertexShaderCache.h">
<Filter>Render</Filter>
</ClInclude>
- <ClInclude Include="Src\PerfQuery.h">
+ <ClInclude Include="Src\XFBEncoder.h">
<Filter>Render</Filter>
</ClInclude>
- </ItemGroup>
- <ItemGroup>
- <Filter Include="D3D">
- <UniqueIdentifier>{8dda993d-a0ed-4c2e-9651-c13c743e3e27}</UniqueIdentifier>
- </Filter>
- <Filter Include="Render">
- <UniqueIdentifier>{41d3f9d1-16f3-4a48-a486-292b1593dc92}</UniqueIdentifier>
- </Filter>
+ <ClInclude Include="Src\Globals.h" />
+ <ClInclude Include="Src\main.h" />
+ <ClInclude Include="Src\VideoBackend.h" />
+ <ClInclude Include="Src\stdafx.h" />
</ItemGroup>
</Project> \ No newline at end of file
diff --git a/Source/Core/VideoBackends/D3D/Src/D3DBase.cpp b/Source/Core/VideoBackends/D3D/Src/D3DBase.cpp
index 0bd9a14ed8..5434354f37 100644
--- a/Source/Core/VideoBackends/D3D/Src/D3DBase.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/D3DBase.cpp
@@ -14,15 +14,9 @@ namespace DX11
HINSTANCE hD3DCompilerDll = NULL;
D3DREFLECT PD3DReflect = NULL;
+pD3DCompile PD3DCompile = NULL;
int d3dcompiler_dll_ref = 0;
-HINSTANCE hD3DXDll = NULL;
-D3DX11COMPILEFROMMEMORYTYPE PD3DX11CompileFromMemory = NULL;
-D3DX11FILTERTEXTURETYPE PD3DX11FilterTexture = NULL;
-D3DX11SAVETEXTURETOFILEATYPE PD3DX11SaveTextureToFileA = NULL;
-D3DX11SAVETEXTURETOFILEWTYPE PD3DX11SaveTextureToFileW = NULL;
-int d3dx_dll_ref = 0;
-
CREATEDXGIFACTORY PCreateDXGIFactory = NULL;
HINSTANCE hDXGIDll = NULL;
int dxgi_dll_ref = 0;
@@ -97,44 +91,6 @@ HRESULT LoadD3D()
return S_OK;
}
-HRESULT LoadD3DX()
-{
- if (d3dx_dll_ref++ > 0) return S_OK;
- if (hD3DXDll) return S_OK;
-
- // try to load D3DX11 first to check whether we have proper runtime support
- // try to use the dll the backend was compiled against first - don't bother about debug runtimes
- hD3DXDll = LoadLibraryA(D3DX11_DLL_A);
- if (!hD3DXDll)
- {
- // if that fails, use the dll which should be available in every SDK which officially supports DX11.
- hD3DXDll = LoadLibraryA("d3dx11_42.dll");
- if (!hD3DXDll)
- {
- MessageBoxA(NULL, "Failed to load d3dx11_42.dll, update your DX11 runtime, please", "Critical error", MB_OK | MB_ICONERROR);
- return E_FAIL;
- }
- else
- {
- NOTICE_LOG(VIDEO, "Successfully loaded d3dx11_42.dll. If you're having trouble, try updating your DX runtime first.");
- }
- }
-
- PD3DX11CompileFromMemory = (D3DX11COMPILEFROMMEMORYTYPE)GetProcAddress(hD3DXDll, "D3DX11CompileFromMemory");
- if (PD3DX11CompileFromMemory == NULL) MessageBoxA(NULL, "GetProcAddress failed for D3DX11CompileFromMemory!", "Critical error", MB_OK | MB_ICONERROR);
-
- PD3DX11FilterTexture = (D3DX11FILTERTEXTURETYPE)GetProcAddress(hD3DXDll, "D3DX11FilterTexture");
- if (PD3DX11FilterTexture == NULL) MessageBoxA(NULL, "GetProcAddress failed for D3DX11FilterTexture!", "Critical error", MB_OK | MB_ICONERROR);
-
- PD3DX11SaveTextureToFileA = (D3DX11SAVETEXTURETOFILEATYPE)GetProcAddress(hD3DXDll, "D3DX11SaveTextureToFileA");
- if (PD3DX11SaveTextureToFileA == NULL) MessageBoxA(NULL, "GetProcAddress failed for D3DX11SaveTextureToFileA!", "Critical error", MB_OK | MB_ICONERROR);
-
- PD3DX11SaveTextureToFileW = (D3DX11SAVETEXTURETOFILEWTYPE)GetProcAddress(hD3DXDll, "D3DX11SaveTextureToFileW");
- if (PD3DX11SaveTextureToFileW == NULL) MessageBoxA(NULL, "GetProcAddress failed for D3DX11SaveTextureToFileW!", "Critical error", MB_OK | MB_ICONERROR);
-
- return S_OK;
-}
-
HRESULT LoadD3DCompiler()
{
if (d3dcompiler_dll_ref++ > 0) return S_OK;
@@ -160,6 +116,8 @@ HRESULT LoadD3DCompiler()
PD3DReflect = (D3DREFLECT)GetProcAddress(hD3DCompilerDll, "D3DReflect");
if (PD3DReflect == NULL) MessageBoxA(NULL, "GetProcAddress failed for D3DReflect!", "Critical error", MB_OK | MB_ICONERROR);
+ PD3DCompile = (pD3DCompile)GetProcAddress(hD3DCompilerDll, "D3DCompile");
+ if (PD3DCompile == NULL) MessageBoxA(NULL, "GetProcAddress failed for D3DCompile!", "Critical error", MB_OK | MB_ICONERROR);
return S_OK;
}
@@ -174,18 +132,6 @@ void UnloadDXGI()
PCreateDXGIFactory = NULL;
}
-void UnloadD3DX()
-{
- if (!d3dx_dll_ref) return;
- if (--d3dx_dll_ref != 0) return;
-
- if(hD3DXDll) FreeLibrary(hD3DXDll);
- hD3DXDll = NULL;
- PD3DX11FilterTexture = NULL;
- PD3DX11SaveTextureToFileA = NULL;
- PD3DX11SaveTextureToFileW = NULL;
-}
-
void UnloadD3D()
{
if (!d3d_dll_ref) return;
@@ -269,13 +215,11 @@ HRESULT Create(HWND wnd)
hr = LoadDXGI();
if (SUCCEEDED(hr)) hr = LoadD3D();
- if (SUCCEEDED(hr)) hr = LoadD3DX();
if (SUCCEEDED(hr)) hr = LoadD3DCompiler();
if (FAILED(hr))
{
UnloadDXGI();
UnloadD3D();
- UnloadD3DX();
UnloadD3DCompiler();
return hr;
}
@@ -416,7 +360,6 @@ void Close()
device = NULL;
// unload DLLs
- UnloadD3DX();
UnloadD3D();
UnloadDXGI();
}
diff --git a/Source/Core/VideoBackends/D3D/Src/D3DBase.h b/Source/Core/VideoBackends/D3D/Src/D3DBase.h
index 03c1ed9d13..7f26cbd3cc 100644
--- a/Source/Core/VideoBackends/D3D/Src/D3DBase.h
+++ b/Source/Core/VideoBackends/D3D/Src/D3DBase.h
@@ -4,12 +4,13 @@
#pragma once
-#include <D3DX11.h>
-#include <D3Dcompiler.h>
+#include <dxgi.h>
+#include <d3d11.h>
+#include <d3dcompiler.h>
#include "Common.h"
#include <vector>
-namespace DX11
+namespace DX11
{
#define SAFE_RELEASE(x) { if (x) (x)->Release(); (x) = NULL; }
@@ -24,11 +25,9 @@ namespace D3D
HRESULT LoadDXGI();
HRESULT LoadD3D();
-HRESULT LoadD3DX();
HRESULT LoadD3DCompiler();
void UnloadDXGI();
void UnloadD3D();
-void UnloadD3DX();
void UnloadD3DCompiler();
D3D_FEATURE_LEVEL GetFeatureLevel(IDXGIAdapter* adapter);
@@ -71,36 +70,15 @@ void SetDebugObjectName(T resource, const char* name)
#endif
}
-} // namespace
+} // namespace D3D
-
-// Used to not require the SDK and runtime versions to match:
-// Linking with d3dx11.lib makes the most recent d3dx11_xx.dll of the
-// compiler's SDK a requirement, but this backend works with DX11 runtimes
-// back to August 2009 even if the backend was built with June 2010.
-// Add any d3dx11 functions which you want to use here and load them in Create()
-typedef HRESULT (WINAPI* D3DX11COMPILEFROMMEMORYTYPE)(LPCSTR, SIZE_T, LPCSTR, const D3D10_SHADER_MACRO*, LPD3D10INCLUDE, LPCSTR, LPCSTR, UINT, UINT, ID3DX11ThreadPump*, ID3D10Blob**, ID3D10Blob**, HRESULT*);
-typedef HRESULT (WINAPI* D3DX11FILTERTEXTURETYPE)(ID3D11DeviceContext*, ID3D11Resource*, UINT, UINT);
-typedef HRESULT (WINAPI* D3DX11SAVETEXTURETOFILEATYPE)(ID3D11DeviceContext*, ID3D11Resource*, D3DX11_IMAGE_FILE_FORMAT, LPCSTR);
-typedef HRESULT (WINAPI* D3DX11SAVETEXTURETOFILEWTYPE)(ID3D11DeviceContext*, ID3D11Resource*, D3DX11_IMAGE_FILE_FORMAT, LPCWSTR);
-
-extern D3DX11COMPILEFROMMEMORYTYPE PD3DX11CompileFromMemory;
-extern D3DX11FILTERTEXTURETYPE PD3DX11FilterTexture;
-extern D3DX11SAVETEXTURETOFILEATYPE PD3DX11SaveTextureToFileA;
-extern D3DX11SAVETEXTURETOFILEWTYPE PD3DX11SaveTextureToFileW;
-
-#ifdef UNICODE
-#define PD3DX11SaveTextureToFile PD3DX11SaveTextureToFileW
-#else
-#define PD3DX11SaveTextureToFile PD3DX11SaveTextureToFileA
-#endif
-
-typedef HRESULT (WINAPI* CREATEDXGIFACTORY)(REFIID, void**);
+typedef HRESULT (WINAPI *CREATEDXGIFACTORY)(REFIID, void**);
extern CREATEDXGIFACTORY PCreateDXGIFactory;
-typedef HRESULT (WINAPI* D3D11CREATEDEVICE)(IDXGIAdapter*, D3D_DRIVER_TYPE, HMODULE, UINT, CONST D3D_FEATURE_LEVEL*, UINT, UINT, ID3D11Device**, D3D_FEATURE_LEVEL*, ID3D11DeviceContext**);
+typedef HRESULT (WINAPI *D3D11CREATEDEVICE)(IDXGIAdapter*, D3D_DRIVER_TYPE, HMODULE, UINT, CONST D3D_FEATURE_LEVEL*, UINT, UINT, ID3D11Device**, D3D_FEATURE_LEVEL*, ID3D11DeviceContext**);
extern D3D11CREATEDEVICE PD3D11CreateDevice;
typedef HRESULT (WINAPI *D3DREFLECT)(LPCVOID, SIZE_T, REFIID, void**);
extern D3DREFLECT PD3DReflect;
+extern pD3DCompile PD3DCompile;
} // namespace DX11
diff --git a/Source/Core/VideoBackends/D3D/Src/D3DShader.cpp b/Source/Core/VideoBackends/D3D/Src/D3DShader.cpp
index 602dcf9807..51a51b7233 100644
--- a/Source/Core/VideoBackends/D3D/Src/D3DShader.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/D3DShader.cpp
@@ -37,9 +37,8 @@ bool CompileVertexShader(const char* code, unsigned int len, D3DBlob** blob)
#else
UINT flags = D3D10_SHADER_ENABLE_BACKWARDS_COMPATIBILITY|D3D10_SHADER_OPTIMIZATION_LEVEL3|D3D10_SHADER_SKIP_VALIDATION;
#endif
- HRESULT hr = PD3DX11CompileFromMemory(code, len, NULL, NULL, NULL, "main", D3D::VertexShaderVersionString(),
- flags, 0, NULL, &shaderBuffer, &errorBuffer, NULL);
-
+ HRESULT hr = PD3DCompile(code, len, NULL, NULL, NULL, "main", D3D::VertexShaderVersionString(),
+ flags, 0, &shaderBuffer, &errorBuffer);
if (errorBuffer)
{
INFO_LOG(VIDEO, "Vertex shader compiler messages:\n%s\n",
@@ -95,9 +94,9 @@ bool CompileGeometryShader(const char* code, unsigned int len, D3DBlob** blob,
#else
UINT flags = D3D10_SHADER_ENABLE_BACKWARDS_COMPATIBILITY|D3D10_SHADER_OPTIMIZATION_LEVEL3|D3D10_SHADER_SKIP_VALIDATION;
#endif
- HRESULT hr = PD3DX11CompileFromMemory(code, len, NULL, pDefines, NULL, "main", D3D::GeometryShaderVersionString(),
- flags, 0, NULL, &shaderBuffer, &errorBuffer, NULL);
-
+ HRESULT hr = PD3DCompile(code, len, NULL, pDefines, NULL, "main", D3D::GeometryShaderVersionString(),
+ flags, 0, &shaderBuffer, &errorBuffer);
+
if (errorBuffer)
{
INFO_LOG(VIDEO, "Geometry shader compiler messages:\n%s\n",
@@ -155,9 +154,9 @@ bool CompilePixelShader(const char* code, unsigned int len, D3DBlob** blob,
#else
UINT flags = D3D10_SHADER_OPTIMIZATION_LEVEL3;
#endif
- HRESULT hr = PD3DX11CompileFromMemory(code, len, NULL, pDefines, NULL, "main", D3D::PixelShaderVersionString(),
- flags, 0, NULL, &shaderBuffer, &errorBuffer, NULL);
-
+ HRESULT hr = PD3DCompile(code, len, NULL, pDefines, NULL, "main", D3D::PixelShaderVersionString(),
+ flags, 0, &shaderBuffer, &errorBuffer);
+
if (errorBuffer)
{
INFO_LOG(VIDEO, "Pixel shader compiler messages:\n%s",
@@ -233,4 +232,4 @@ ID3D11PixelShader* CompileAndCreatePixelShader(const char* code,
} // namespace
-} // namespace DX11 \ No newline at end of file
+} // namespace DX11
diff --git a/Source/Core/VideoBackends/D3D/Src/D3DTexture.cpp b/Source/Core/VideoBackends/D3D/Src/D3DTexture.cpp
index abf34b3cca..94d778d17b 100644
--- a/Source/Core/VideoBackends/D3D/Src/D3DTexture.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/D3DTexture.cpp
@@ -5,12 +5,138 @@
#include "D3DBase.h"
#include "D3DTexture.h"
+#include <atlbase.h>
+#include <wincodec.h>
+#include <wincodecsdk.h>
+#pragma comment(lib, "WindowsCodecs.lib")
+
namespace DX11
{
namespace D3D
{
+HRESULT TextureToPng(D3D11_MAPPED_SUBRESOURCE &map, LPCWSTR wzFilename, int width, int height, bool saveAlpha)
+{
+ IWICImagingFactory *piFactory = NULL;
+ IWICBitmapEncoder *piEncoder = NULL;
+ IWICBitmapFrameEncode *piBitmapFrame = NULL;
+ IPropertyBag2 *pPropertybag = NULL;
+
+ IWICStream *piStream = NULL;
+
+ HRESULT hr = CoCreateInstance(
+ CLSID_WICImagingFactory,
+ NULL,
+ CLSCTX_INPROC_SERVER,
+ IID_IWICImagingFactory,
+ (LPVOID*)&piFactory);
+
+ if (SUCCEEDED(hr))
+ {
+ hr = piFactory->CreateStream(&piStream);
+ }
+
+ if (SUCCEEDED(hr))
+ {
+ hr = piStream->InitializeFromFilename(wzFilename, GENERIC_WRITE);
+ }
+
+ if (SUCCEEDED(hr))
+ {
+ hr = piFactory->CreateEncoder(GUID_ContainerFormatPng, NULL, &piEncoder);
+ }
+
+ if (SUCCEEDED(hr))
+ {
+ hr = piEncoder->Initialize(piStream, WICBitmapEncoderNoCache);
+ }
+
+ if (SUCCEEDED(hr))
+ {
+ hr = piEncoder->CreateNewFrame(&piBitmapFrame, &pPropertybag);
+ }
+
+ if (SUCCEEDED(hr))
+ {
+ if (SUCCEEDED(hr))
+ {
+ hr = piBitmapFrame->Initialize(pPropertybag);
+ }
+ }
+
+ if (SUCCEEDED(hr))
+ {
+ hr = piBitmapFrame->SetSize(width, height);
+ }
+
+ WICPixelFormatGUID formatGUID = GUID_WICPixelFormat32bppBGRA;
+ if (SUCCEEDED(hr))
+ {
+ hr = piBitmapFrame->SetPixelFormat(&formatGUID);
+ }
+
+ if (SUCCEEDED(hr))
+ {
+ // We're expecting to write out 32bppBGRA. Fail if the encoder cannot do it.
+ hr = IsEqualGUID(formatGUID, GUID_WICPixelFormat32bppBGRA) ? S_OK : E_FAIL;
+ }
+
+ if (SUCCEEDED(hr))
+ {
+ if (map.pData != NULL)
+ {
+ for (int y = 0; y < height; ++y)
+ {
+ u8* ptr = (u8*)map.pData + y * map.RowPitch;
+ for (unsigned int x = 0; x < map.RowPitch/4; ++x)
+ {
+ u8 r = ptr[0];
+ u8 g = ptr[1];
+ u8 b = ptr[2];
+ ptr[0] = b;
+ ptr[1] = g;
+ ptr[2] = r;
+ if (!saveAlpha)
+ ptr[3] = 0xff;
+
+
+ ptr += 4;
+ }
+ }
+ hr = piBitmapFrame->WritePixels(height, map.RowPitch, height * map.RowPitch, (BYTE*)map.pData);
+ }
+ else
+ {
+ hr = E_OUTOFMEMORY;
+ }
+ }
+
+ if (SUCCEEDED(hr))
+ {
+ hr = piBitmapFrame->Commit();
+ }
+
+ if (SUCCEEDED(hr))
+ {
+ hr = piEncoder->Commit();
+ }
+
+ if (piFactory)
+ piFactory->Release();
+
+ if (piBitmapFrame)
+ piBitmapFrame->Release();
+
+ if (piEncoder)
+ piEncoder->Release();
+
+ if (piStream)
+ piStream->Release();
+
+ return hr;
+}
+
void ReplaceRGBATexture2D(ID3D11Texture2D* pTexture, const u8* buffer, unsigned int width, unsigned int height, unsigned int pitch, unsigned int level, D3D11_USAGE usage)
{
if (usage == D3D11_USAGE_DYNAMIC || usage == D3D11_USAGE_STAGING)
diff --git a/Source/Core/VideoBackends/D3D/Src/D3DTexture.h b/Source/Core/VideoBackends/D3D/Src/D3DTexture.h
index 5c2aa57f4a..d047d3f249 100644
--- a/Source/Core/VideoBackends/D3D/Src/D3DTexture.h
+++ b/Source/Core/VideoBackends/D3D/Src/D3DTexture.h
@@ -11,6 +11,7 @@ namespace DX11
namespace D3D
{
+ HRESULT TextureToPng(D3D11_MAPPED_SUBRESOURCE& map, LPCWSTR wzFilename, int width, int height, bool saveAlpha = true);
void ReplaceRGBATexture2D(ID3D11Texture2D* pTexture, const u8* buffer, unsigned int width, unsigned int height, unsigned int pitch, unsigned int level, D3D11_USAGE usage);
}
diff --git a/Source/Core/VideoBackends/D3D/Src/FramebufferManager.cpp b/Source/Core/VideoBackends/D3D/Src/FramebufferManager.cpp
index 2e72380603..973cf38181 100644
--- a/Source/Core/VideoBackends/D3D/Src/FramebufferManager.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/FramebufferManager.cpp
@@ -196,7 +196,7 @@ void XFBSource::DecodeToTexture(u32 xfbAddr, u32 fbWidth, u32 fbHeight)
void XFBSource::CopyEFB(float Gamma)
{
g_renderer->ResetAPIState(); // reset any game specific settings
-
+
// Copy EFB data to XFB and restore render target again
const D3D11_VIEWPORT vp = CD3D11_VIEWPORT(0.f, 0.f, (float)texWidth, (float)texHeight);
@@ -211,7 +211,7 @@ void XFBSource::CopyEFB(float Gamma)
D3D::context->OMSetRenderTargets(1, &FramebufferManager::GetEFBColorTexture()->GetRTV(),
FramebufferManager::GetEFBDepthTexture()->GetDSV());
-
+
g_renderer->RestoreAPIState();
}
diff --git a/Source/Core/VideoBackends/D3D/Src/LineGeometryShader.cpp b/Source/Core/VideoBackends/D3D/Src/LineGeometryShader.cpp
index 4b96953a3a..a68dadaabb 100644
--- a/Source/Core/VideoBackends/D3D/Src/LineGeometryShader.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/LineGeometryShader.cpp
@@ -177,7 +177,7 @@ bool LineGeometryShader::SetShader(u32 components, float lineWidth,
std::stringstream numTexCoordsStream;
numTexCoordsStream << xfregs.numTexGen.numTexGens;
-
+
INFO_LOG(VIDEO, "Compiling line geometry shader for components 0x%.08X (num texcoords %d)",
components, xfregs.numTexGen.numTexGens);
diff --git a/Source/Core/VideoBackends/D3D/Src/NativeVertexFormat.cpp b/Source/Core/VideoBackends/D3D/Src/NativeVertexFormat.cpp
index 373026bcd3..4c6332dedd 100644
--- a/Source/Core/VideoBackends/D3D/Src/NativeVertexFormat.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/NativeVertexFormat.cpp
@@ -76,7 +76,7 @@ void D3DVertexFormat::Initialize(const PortableVertexDeclaration &_vtx_decl)
for (int i = 0; i < 3; i++)
{
- if (_vtx_decl.normal_offset[i] > 0)
+ if (_vtx_decl.normal_offset[i] > 0)
{
m_elems[m_num_elems].SemanticName = "NORMAL";
m_elems[m_num_elems].SemanticIndex = i;
@@ -89,7 +89,7 @@ void D3DVertexFormat::Initialize(const PortableVertexDeclaration &_vtx_decl)
for (int i = 0; i < 2; i++)
{
- if (_vtx_decl.color_offset[i] > 0)
+ if (_vtx_decl.color_offset[i] > 0)
{
m_elems[m_num_elems].SemanticName = "COLOR";
m_elems[m_num_elems].SemanticIndex = i;
diff --git a/Source/Core/VideoBackends/D3D/Src/PSTextureEncoder.cpp b/Source/Core/VideoBackends/D3D/Src/PSTextureEncoder.cpp
index 5282c4cbb7..82e95d2bf0 100644
--- a/Source/Core/VideoBackends/D3D/Src/PSTextureEncoder.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/PSTextureEncoder.cpp
@@ -31,7 +31,7 @@
namespace DX11
{
-
+
union EFBEncodeParams
{
struct
@@ -384,7 +384,7 @@ static const char EFB_ENCODE_PS[] =
"sample[y*8+x] = SampleEFB(subBlockUL+float2(x,y));\n"
"}\n"
"}\n"
-
+
"uint dw[4];\n"
"for (uint i = 0; i < 4; ++i) {\n"
"dw[i] = UINT_44444444_BE(\n"
@@ -433,7 +433,7 @@ static const char EFB_ENCODE_PS[] =
"255*float4(sample2.r, sample6.r, sampleA.r, sampleE.r),\n"
"255*float4(sample3.r, sample7.r, sampleB.r, sampleF.r)\n"
");\n"
-
+
"return dw4;\n"
"}\n"
@@ -444,7 +444,7 @@ static const char EFB_ENCODE_PS[] =
"float2 blockUL = blockCoord * float2(8,4);\n"
"float2 subBlockUL = blockUL + float2(0, 2*(cacheCoord.x%2));\n"
-
+
"float4 sample0 = SampleEFB(subBlockUL+float2(0,0));\n"
"float4 sample1 = SampleEFB(subBlockUL+float2(1,0));\n"
"float4 sample2 = SampleEFB(subBlockUL+float2(2,0));\n"
@@ -486,7 +486,7 @@ static const char EFB_ENCODE_PS[] =
"Float8ToUint4(sampleE.a), Float8ToUint4(sampleE.r),\n"
"Float8ToUint4(sampleF.a), Float8ToUint4(sampleF.r)\n"
");\n"
-
+
"return uint4(dw0, dw1, dw2, dw3);\n"
"}\n"
@@ -513,7 +513,7 @@ static const char EFB_ENCODE_PS[] =
"255*float4(sample1.a, sample3.a, sample5.a, sample7.a),\n"
"255*float4(sample1.r, sample3.r, sample5.r, sample7.r)\n"
");\n"
-
+
"return dw4;\n"
"}\n"
@@ -532,7 +532,7 @@ static const char EFB_ENCODE_PS[] =
"float4 sample5 = SampleEFB(subBlockUL+float2(1,1));\n"
"float4 sample6 = SampleEFB(subBlockUL+float2(2,1));\n"
"float4 sample7 = SampleEFB(subBlockUL+float2(3,1));\n"
-
+
"uint dw0 = UINT_1616(EncodeRGB565(sample0), EncodeRGB565(sample1));\n"
"uint dw1 = UINT_1616(EncodeRGB565(sample2), EncodeRGB565(sample3));\n"
"uint dw2 = UINT_1616(EncodeRGB565(sample4), EncodeRGB565(sample5));\n"
@@ -556,12 +556,12 @@ static const char EFB_ENCODE_PS[] =
"float4 sample5 = SampleEFB(subBlockUL+float2(1,1));\n"
"float4 sample6 = SampleEFB(subBlockUL+float2(2,1));\n"
"float4 sample7 = SampleEFB(subBlockUL+float2(3,1));\n"
-
+
"uint dw0 = UINT_1616(EncodeRGB5A3(sample0), EncodeRGB5A3(sample1));\n"
"uint dw1 = UINT_1616(EncodeRGB5A3(sample2), EncodeRGB5A3(sample3));\n"
"uint dw2 = UINT_1616(EncodeRGB5A3(sample4), EncodeRGB5A3(sample5));\n"
"uint dw3 = UINT_1616(EncodeRGB5A3(sample6), EncodeRGB5A3(sample7));\n"
-
+
"return Swap4_32(uint4(dw0, dw1, dw2, dw3));\n"
"}\n"
@@ -602,7 +602,7 @@ static const char EFB_ENCODE_PS[] =
"255*float4(sample1.b, sample3.b, sample5.b, sample7.b)\n"
");\n"
"}\n"
-
+
"return dw4;\n"
"}\n"
@@ -612,7 +612,7 @@ static const char EFB_ENCODE_PS[] =
"float2 blockUL = blockCoord * float2(8,4);\n"
"float2 subBlockUL = blockUL + float2(0, 2*(cacheCoord.x%2));\n"
-
+
"float4 sample0 = SampleEFB(subBlockUL+float2(0,0));\n"
"float4 sample1 = SampleEFB(subBlockUL+float2(1,0));\n"
"float4 sample2 = SampleEFB(subBlockUL+float2(2,0));\n"
@@ -636,7 +636,7 @@ static const char EFB_ENCODE_PS[] =
"255*float4(sample2.a, sample6.a, sampleA.a, sampleE.a),\n"
"255*float4(sample3.a, sample7.a, sampleB.a, sampleF.a)\n"
");\n"
-
+
"return dw4;\n"
"}\n"
@@ -670,7 +670,7 @@ static const char EFB_ENCODE_PS[] =
"255*float4(sample2.r, sample6.r, sampleA.r, sampleE.r),\n"
"255*float4(sample3.r, sample7.r, sampleB.r, sampleF.r)\n"
");\n"
-
+
"return dw4;\n"
"}\n"
@@ -705,7 +705,7 @@ static const char EFB_ENCODE_PS[] =
"255*float4(sample2.g, sample6.g, sampleA.g, sampleE.g),\n"
"255*float4(sample3.g, sample7.g, sampleB.g, sampleF.g)\n"
");\n"
-
+
"return dw4;\n"
"}\n"
@@ -715,7 +715,7 @@ static const char EFB_ENCODE_PS[] =
"float2 blockUL = blockCoord * float2(8,4);\n"
"float2 subBlockUL = blockUL + float2(0, 2*(cacheCoord.x%2));\n"
-
+
"float4 sample0 = SampleEFB(subBlockUL+float2(0,0));\n"
"float4 sample1 = SampleEFB(subBlockUL+float2(1,0));\n"
"float4 sample2 = SampleEFB(subBlockUL+float2(2,0));\n"
@@ -739,7 +739,7 @@ static const char EFB_ENCODE_PS[] =
"255*float4(sample2.b, sample6.b, sampleA.b, sampleE.b),\n"
"255*float4(sample3.b, sample7.b, sampleB.b, sampleF.b)\n"
");\n"
-
+
"return dw4;\n"
"}\n"
@@ -765,7 +765,7 @@ static const char EFB_ENCODE_PS[] =
"255*float4(sample1.g, sample3.g, sample5.g, sample7.g),\n"
"255*float4(sample1.r, sample3.r, sample5.r, sample7.r)\n"
");\n"
-
+
"return dw4;\n"
"}\n"
@@ -792,7 +792,7 @@ static const char EFB_ENCODE_PS[] =
"255*float4(sample1.b, sample3.b, sample5.b, sample7.b),\n"
"255*float4(sample1.g, sample3.g, sample5.g, sample7.g)\n"
");\n"
-
+
"return dw4;\n"
"}\n"
@@ -902,7 +902,7 @@ void PSTextureEncoder::Init()
D3D::SetDebugObjectName(m_outRTV, "efb encoder output rtv");
// Create output staging buffer
-
+
t2dd.Usage = D3D11_USAGE_STAGING;
t2dd.BindFlags = 0;
t2dd.CPUAccessFlags = D3D11_CPU_ACCESS_READ;
@@ -998,7 +998,7 @@ void PSTextureEncoder::Init()
void PSTextureEncoder::Shutdown()
{
m_ready = false;
-
+
for (size_t i = 0; i < 4; ++i)
SAFE_RELEASE(m_fetchClass[i]);
for (size_t i = 0; i < 2; ++i)
@@ -1008,7 +1008,7 @@ void PSTextureEncoder::Shutdown()
for (size_t i = 0; i < 16; ++i)
SAFE_RELEASE(m_generatorClass[i]);
m_linkageArray.clear();
-
+
SAFE_RELEASE(m_classLinkage);
SAFE_RELEASE(m_dynamicShader);
@@ -1073,13 +1073,13 @@ size_t PSTextureEncoder::Encode(u8* dst, unsigned int dstFormat,
_assert_msg_(VIDEO, totalCacheLines*32 <= MAX_BYTES_PER_ENCODE, "total encode size sanity check");
size_t encodeSize = 0;
-
+
// Reset API
g_renderer->ResetAPIState();
// Set up all the state for EFB encoding
-
+
#ifdef USE_DYNAMIC_MODE
if (SetDynamicShader(dstFormat, srcFormat, isIntensity, scaleByHalf))
#else
@@ -1092,7 +1092,7 @@ size_t PSTextureEncoder::Encode(u8* dst, unsigned int dstFormat,
D3D::stateman->PushDepthState(m_efbEncodeDepthState);
D3D::stateman->PushRasterizerState(m_efbEncodeRastState);
D3D::stateman->Apply();
-
+
D3D11_VIEWPORT vp = CD3D11_VIEWPORT(0.f, 0.f, FLOAT(cacheLinesPerRow*2), FLOAT(numBlocksY));
D3D::context->RSSetViewports(1, &vp);
@@ -1101,14 +1101,14 @@ size_t PSTextureEncoder::Encode(u8* dst, unsigned int dstFormat,
UINT stride = sizeof(QuadVertex);
UINT offset = 0;
D3D::context->IASetVertexBuffers(0, 1, &m_quad, &stride, &offset);
-
+
EFBRectangle fullSrcRect;
fullSrcRect.left = 0;
fullSrcRect.top = 0;
fullSrcRect.right = EFB_WIDTH;
fullSrcRect.bottom = EFB_HEIGHT;
TargetRectangle targetRect = g_renderer->ConvertEFBRectangle(fullSrcRect);
-
+
EFBEncodeParams params = { 0 };
params.NumHalfCacheLinesX = FLOAT(cacheLinesPerRow*2);
params.NumBlocksY = FLOAT(numBlocksY);
@@ -1121,7 +1121,7 @@ size_t PSTextureEncoder::Encode(u8* dst, unsigned int dstFormat,
D3D::context->UpdateSubresource(m_encodeParams, 0, NULL, &params, 0, 0);
D3D::context->VSSetConstantBuffers(0, 1, &m_encodeParams);
-
+
D3D::context->OMSetRenderTargets(1, &m_outRTV, NULL);
ID3D11ShaderResourceView* pEFB = (srcFormat == PIXELFMT_Z24) ?
@@ -1145,17 +1145,17 @@ size_t PSTextureEncoder::Encode(u8* dst, unsigned int dstFormat,
D3D::context->CopySubresourceRegion(m_outStage, 0, 0, 0, 0, m_out, 0, &srcBox);
// Clean up state
-
+
IUnknown* nullDummy = NULL;
D3D::context->PSSetSamplers(0, 1, (ID3D11SamplerState**)&nullDummy);
D3D::context->PSSetShaderResources(0, 1, (ID3D11ShaderResourceView**)&nullDummy);
D3D::context->PSSetConstantBuffers(0, 1, (ID3D11Buffer**)&nullDummy);
-
+
D3D::context->OMSetRenderTargets(0, NULL, NULL);
D3D::context->VSSetConstantBuffers(0, 1, (ID3D11Buffer**)&nullDummy);
-
+
D3D::stateman->PopRasterizerState();
D3D::stateman->PopDepthState();
D3D::stateman->PopBlendState();
@@ -1312,7 +1312,7 @@ bool PSTextureEncoder::InitDynamicMode()
hr = D3D::device->CreatePixelShader(bytecode->Data(), bytecode->Size(), m_classLinkage, &m_dynamicShader);
CHECK(SUCCEEDED(hr), "create efb encode pixel shader");
D3D::SetDebugObjectName(m_dynamicShader, "efb encoder pixel shader");
-
+
// Use D3DReflect
ID3D11ShaderReflection* reflect = NULL;
@@ -1438,7 +1438,7 @@ bool PSTextureEncoder::SetDynamicShader(unsigned int dstFormat,
m_linkageArray[m_intensitySlot] = m_intensityClass[intensityNum];
if (m_generatorSlot != UINT(-1))
m_linkageArray[m_generatorSlot] = m_generatorClass[generatorNum];
-
+
D3D::context->PSSetShader(m_dynamicShader,
m_linkageArray.empty() ? NULL : &m_linkageArray[0],
(UINT)m_linkageArray.size());
diff --git a/Source/Core/VideoBackends/D3D/Src/PSTextureEncoder.h b/Source/Core/VideoBackends/D3D/Src/PSTextureEncoder.h
index 14cdfa8bae..ff33e22c0a 100644
--- a/Source/Core/VideoBackends/D3D/Src/PSTextureEncoder.h
+++ b/Source/Core/VideoBackends/D3D/Src/PSTextureEncoder.h
@@ -37,7 +37,7 @@ public:
bool scaleByHalf);
private:
-
+
bool m_ready;
ID3D11Texture2D* m_out;
@@ -73,7 +73,7 @@ private:
// Stuff only used for dynamic-linking mode (SM5.0+, available as soon as
// Microsoft fixes their bloody HLSL compiler)
-
+
bool InitDynamicMode();
bool SetDynamicShader(unsigned int dstFormat, unsigned int srcFormat,
bool isIntensity, bool scaleByHalf);
diff --git a/Source/Core/VideoBackends/D3D/Src/PerfQuery.cpp b/Source/Core/VideoBackends/D3D/Src/PerfQuery.cpp
index 1bcd314291..b2c77a876e 100644
--- a/Source/Core/VideoBackends/D3D/Src/PerfQuery.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/PerfQuery.cpp
@@ -116,7 +116,7 @@ void PerfQuery::FlushOne()
}
// NOTE: Reported pixel metrics should be referenced to native resolution
- m_results[entry.query_type] += (u64)result * EFB_WIDTH / g_renderer->GetTargetWidth() * EFB_HEIGHT / g_renderer->GetTargetHeight();
+ m_results[entry.query_type] += (u32)(result * EFB_WIDTH / g_renderer->GetTargetWidth() * EFB_HEIGHT / g_renderer->GetTargetHeight());
m_query_read_pos = (m_query_read_pos + 1) % ArraySize(m_query_buffer);
--m_query_count;
@@ -147,7 +147,7 @@ void PerfQuery::WeakFlush()
if (hr == S_OK)
{
// NOTE: Reported pixel metrics should be referenced to native resolution
- m_results[entry.query_type] += (u64)result * EFB_WIDTH / g_renderer->GetTargetWidth() * EFB_HEIGHT / g_renderer->GetTargetHeight();
+ m_results[entry.query_type] += (u32)(result * EFB_WIDTH / g_renderer->GetTargetWidth() * EFB_HEIGHT / g_renderer->GetTargetHeight());
m_query_read_pos = (m_query_read_pos + 1) % ArraySize(m_query_buffer);
--m_query_count;
diff --git a/Source/Core/VideoBackends/D3D/Src/PixelShaderCache.cpp b/Source/Core/VideoBackends/D3D/Src/PixelShaderCache.cpp
index 04a1722d04..d8716c85f2 100644
--- a/Source/Core/VideoBackends/D3D/Src/PixelShaderCache.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/PixelShaderCache.cpp
@@ -80,7 +80,7 @@ const char color_matrix_program_code[] = {
"sampler samp0 : register(s0);\n"
"Texture2D Tex0 : register(t0);\n"
"uniform float4 cColMatrix[7] : register(c0);\n"
- "void main(\n"
+ "void main(\n"
"out float4 ocol0 : SV_Target,\n"
"in float4 pos : SV_Position,\n"
" in float2 uv0 : TEXCOORD0){\n"
@@ -94,7 +94,7 @@ const char color_matrix_program_code_msaa[] = {
"sampler samp0 : register(s0);\n"
"Texture2DMS<float4, %d> Tex0 : register(t0);\n"
"uniform float4 cColMatrix[7] : register(c0);\n"
- "void main(\n"
+ "void main(\n"
"out float4 ocol0 : SV_Target,\n"
"in float4 pos : SV_Position,\n"
" in float2 uv0 : TEXCOORD0){\n"
@@ -343,7 +343,7 @@ ID3D11Buffer* &PixelShaderCache::GetConstantBuffer()
memcpy(map.pData, &PixelShaderManager::constants, sizeof(PixelShaderConstants));
D3D::context->Unmap(pscbuf, 0);
PixelShaderManager::dirty = false;
-
+
ADDSTAT(stats.thisFrame.bytesUniformStreamed, sizeof(PixelShaderConstants));
}
return pscbuf;
@@ -368,7 +368,7 @@ void PixelShaderCache::Init()
D3D::SetDebugObjectName((ID3D11DeviceChild*)pscbuf, "pixel shader constant buffer used to emulate the GX pipeline");
// used when drawing clear quads
- s_ClearProgram = D3D::CompileAndCreatePixelShader(clear_program_code, sizeof(clear_program_code));
+ s_ClearProgram = D3D::CompileAndCreatePixelShader(clear_program_code, sizeof(clear_program_code));
CHECK(s_ClearProgram!=NULL, "Create clear pixel shader");
D3D::SetDebugObjectName((ID3D11DeviceChild*)s_ClearProgram, "clear pixel shader");
@@ -441,7 +441,7 @@ void PixelShaderCache::Shutdown()
SAFE_RELEASE(s_rgba6_to_rgb8[i]);
SAFE_RELEASE(s_rgb8_to_rgba6[i]);
}
-
+
Clear();
g_ps_disk_cache.Sync();
g_ps_disk_cache.Close();
@@ -477,7 +477,7 @@ bool PixelShaderCache::SetShader(DSTALPHA_MODE dstAlphaMode, u32 components)
{
const PSCacheEntry &entry = iter->second;
last_entry = &entry;
-
+
GFX_DEBUGGER_PAUSE_AT(NEXT_PIXEL_SHADER_CHANGE,true);
return (entry.shader != NULL);
}
diff --git a/Source/Core/VideoBackends/D3D/Src/PointGeometryShader.cpp b/Source/Core/VideoBackends/D3D/Src/PointGeometryShader.cpp
index f33d7444a2..30e4434521 100644
--- a/Source/Core/VideoBackends/D3D/Src/PointGeometryShader.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/PointGeometryShader.cpp
@@ -168,7 +168,7 @@ bool PointGeometryShader::SetShader(u32 components, float pointSize,
code.SetBuffer(buffer);
GenerateVSOutputStructForGS(code, components, API_D3D);
code.Write("\n%s", POINT_GS_COMMON);
-
+
std::stringstream numTexCoordsStream;
numTexCoordsStream << xfregs.numTexGen.numTexGens;
diff --git a/Source/Core/VideoBackends/D3D/Src/Render.cpp b/Source/Core/VideoBackends/D3D/Src/Render.cpp
index d58cc59e98..33528359c5 100644
--- a/Source/Core/VideoBackends/D3D/Src/Render.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/Render.cpp
@@ -2,7 +2,8 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
-#include <math.h>
+#include <cinttypes>
+#include <cmath>
#include "Timer.h"
@@ -293,7 +294,7 @@ bool Renderer::CheckForResize()
// Sanity check
if ((client_width != Renderer::GetBackbufferWidth() ||
- client_height != Renderer::GetBackbufferHeight()) &&
+ client_height != Renderer::GetBackbufferHeight()) &&
client_width >= 4 && client_height >= 4)
{
return true;
@@ -449,7 +450,7 @@ u32 Renderer::AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data)
else if (bpmem.zcontrol.pixel_format == PIXELFMT_RGB565_Z16)
{
ret = RGBA8ToRGB565ToRGBA8(ret);
- }
+ }
if(bpmem.zcontrol.pixel_format != PIXELFMT_RGBA6_Z24)
{
ret |= 0xFF000000;
@@ -477,30 +478,9 @@ u32 Renderer::AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data)
}
}
-// Viewport correction:
-// Say you want a viewport at (ix, iy) with size (iw, ih),
-// but your viewport must be clamped at (ax, ay) with size (aw, ah).
-// Just multiply the projection matrix with the following to get the same
-// effect:
-// [ (iw/aw) 0 0 ((iw - 2*(ax-ix)) / aw - 1) ]
-// [ 0 (ih/ah) 0 ((-ih + 2*(ay-iy)) / ah + 1) ]
-// [ 0 0 1 0 ]
-// [ 0 0 0 1 ]
-static void ViewportCorrectionMatrix(Matrix44& result,
- float ix, float iy, float iw, float ih, // Intended viewport (x, y, width, height)
- float ax, float ay, float aw, float ah) // Actual viewport (x, y, width, height)
-{
- Matrix44::LoadIdentity(result);
- if (aw == 0.f || ah == 0.f)
- return;
- result.data[4*0+0] = iw / aw;
- result.data[4*0+3] = (iw - 2.f * (ax - ix)) / aw - 1.f;
- result.data[4*1+1] = ih / ah;
- result.data[4*1+3] = (-ih + 2.f * (ay - iy)) / ah + 1.f;
-}
// Called from VertexShaderManager
-void Renderer::UpdateViewport(Matrix44& vpCorrection)
+void Renderer::UpdateViewport()
{
// reversed gxsetviewport(xorig, yorig, width, height, nearz, farz)
// [0] = width/2
@@ -513,50 +493,30 @@ void Renderer::UpdateViewport(Matrix44& vpCorrection)
int scissorXOff = bpmem.scissorOffset.x * 2;
int scissorYOff = bpmem.scissorOffset.y * 2;
- // TODO: ceil, floor or just cast to int?
- // TODO: Directly use the floats instead of rounding them?
- int intendedX = Renderer::EFBToScaledX((int)ceil(xfregs.viewport.xOrig - xfregs.viewport.wd - scissorXOff));
- int intendedY = Renderer::EFBToScaledY((int)ceil(xfregs.viewport.yOrig + xfregs.viewport.ht - scissorYOff));
- int intendedWd = Renderer::EFBToScaledX((int)ceil(2.0f * xfregs.viewport.wd));
- int intendedHt = Renderer::EFBToScaledY((int)ceil(-2.0f * xfregs.viewport.ht));
- if (intendedWd < 0)
+ float X = Renderer::EFBToScaledXf(xfregs.viewport.xOrig - xfregs.viewport.wd - scissorXOff);
+ float Y = Renderer::EFBToScaledYf(xfregs.viewport.yOrig + xfregs.viewport.ht - scissorYOff);
+ float Wd = Renderer::EFBToScaledXf(2.0f * xfregs.viewport.wd);
+ float Ht = Renderer::EFBToScaledYf(-2.0f * xfregs.viewport.ht);
+ if (Wd < 0.0f)
{
- intendedX += intendedWd;
- intendedWd = -intendedWd;
+ X += Wd;
+ Wd = -Wd;
}
- if (intendedHt < 0)
+ if (Ht < 0.0f)
{
- intendedY += intendedHt;
- intendedHt = -intendedHt;
+ Y += Ht;
+ Ht = -Ht;
}
// In D3D, the viewport rectangle must fit within the render target.
- int X = intendedX;
- if (X < 0)
- X = 0;
-
- int Y = intendedY;
- if (Y < 0)
- Y = 0;
-
- int Wd = intendedWd;
- if (X + Wd > GetTargetWidth())
- Wd = GetTargetWidth() - X;
- int Ht = intendedHt;
- if (Y + Ht > GetTargetHeight())
- Ht = GetTargetHeight() - Y;
-
- // If GX viewport is off the render target, we must clamp our viewport
- // within the bounds. Use the correction matrix to compensate.
- ViewportCorrectionMatrix(vpCorrection,
- (float)intendedX, (float)intendedY,
- (float)intendedWd, (float)intendedHt,
- (float)X, (float)Y,
- (float)Wd, (float)Ht);
+ X = (X >= 0.f) ? X : 0.f;
+ Y = (Y >= 0.f) ? Y : 0.f;
+ Wd = (X + Wd <= GetTargetWidth()) ? Wd : (GetTargetWidth() - X);
+ Ht = (Y + Ht <= GetTargetHeight()) ? Ht : (GetTargetHeight() - Y);
// Some games set invalid values for z-min and z-max so fix them to the max and min allowed and let the shaders do this work
- D3D11_VIEWPORT vp = CD3D11_VIEWPORT((float)X, (float)Y,
- (float)Wd, (float)Ht,
+ D3D11_VIEWPORT vp = CD3D11_VIEWPORT(X, Y,
+ Wd, Ht,
0.f, // (xfregs.viewport.farZ - xfregs.viewport.zRange) / 16777216.0f;
1.f); // xfregs.viewport.farZ / 16777216.0f;
D3D::context->RSSetViewports(1, &vp);
@@ -578,7 +538,7 @@ void Renderer::ClearScreen(const EFBRectangle& rc, bool colorEnable, bool alphaE
// Update the view port for clearing the picture
TargetRectangle targetRc = Renderer::ConvertEFBRectangle(rc);
- D3D11_VIEWPORT vp = CD3D11_VIEWPORT((float)targetRc.left, (float)targetRc.top, (float)targetRc.GetWidth(), (float)targetRc.GetHeight(), 0.f, 1.f);
+ D3D11_VIEWPORT vp = CD3D11_VIEWPORT((float)targetRc.left, (float)targetRc.top, (float)targetRc.GetWidth(), (float)targetRc.GetHeight(), 0.f, 1.f);
D3D::context->RSSetViewports(1, &vp);
// Color is passed in bgra mode so we need to convert it to rgba
@@ -730,22 +690,13 @@ bool Renderer::SaveScreenshot(const std::string &filename, const TargetRectangle
D3D11_BOX box = CD3D11_BOX(rc.left, rc.top, 0, rc.right, rc.bottom, 1);
D3D::context->CopySubresourceRegion(s_screenshot_texture, 0, 0, 0, 0, (ID3D11Resource*)D3D::GetBackBuffer()->GetTex(), 0, &box);
- // D3DX11SaveTextureToFileA doesn't allow us to ignore the alpha channel, so we need to strip it out ourselves
D3D11_MAPPED_SUBRESOURCE map;
D3D::context->Map(s_screenshot_texture, 0, D3D11_MAP_READ_WRITE, 0, &map);
- for (unsigned int y = 0; y < rc.GetHeight(); ++y)
- {
- u8* ptr = (u8*)map.pData + y * map.RowPitch + 3;
- for (unsigned int x = 0; x < rc.GetWidth(); ++x)
- {
- *ptr = 0xFF;
- ptr += 4;
- }
- }
- D3D::context->Unmap(s_screenshot_texture, 0);
// ready to be saved
- HRESULT hr = PD3DX11SaveTextureToFileA(D3D::context, s_screenshot_texture, D3DX11_IFF_PNG, filename.c_str());
+ HRESULT hr = D3D::TextureToPng(map, UTF8ToUTF16(filename.c_str()).c_str(), rc.GetWidth(), rc.GetHeight(), false);
+ D3D::context->Unmap(s_screenshot_texture, 0);
+
if (SUCCEEDED(hr))
{
OSD::AddMessage(StringFromFormat("Saved %i x %i %s", rc.GetWidth(),
@@ -842,7 +793,7 @@ void Renderer::Swap(u32 xfbAddr, u32 fbWidth, u32 fbHeight,const EFBRectangle& r
{
xfbSource = xfbSourceList[i];
MathUtil::Rectangle<float> sourceRc;
-
+
sourceRc.left = 0;
sourceRc.top = 0;
sourceRc.right = (float)xfbSource->texWidth;
@@ -969,7 +920,7 @@ void Renderer::Swap(u32 xfbAddr, u32 fbWidth, u32 fbHeight,const EFBRectangle& r
if (SConfig::GetInstance().m_ShowLag)
{
char lag[10];
- StringCchPrintfA(lag, 10, "Lag: %llu\n", Movie::g_currentLagCount);
+ StringCchPrintfA(lag, 10, "Lag: %" PRIu64 "\n", Movie::g_currentLagCount);
D3D::font.DrawTextScaled(0, 18, 20, 0.0f, 0xFF00FFFF, lag);
}
@@ -1067,10 +1018,10 @@ void Renderer::Swap(u32 xfbAddr, u32 fbWidth, u32 fbHeight,const EFBRectangle& r
}
// begin next frame
- Renderer::RestoreAPIState();
+ RestoreAPIState();
D3D::BeginFrame();
D3D::context->OMSetRenderTargets(1, &FramebufferManager::GetEFBColorTexture()->GetRTV(), FramebufferManager::GetEFBDepthTexture()->GetDSV());
- VertexShaderManager::SetViewportChanged();
+ UpdateViewport();
Core::Callback_VideoCopiedToXFB(XFBWrited || (g_ActiveConfig.bUseXFB && g_ActiveConfig.bUseRealXFB));
XFBWrited = false;
@@ -1090,7 +1041,7 @@ void Renderer::RestoreAPIState()
D3D::stateman->PopBlendState();
D3D::stateman->PopDepthState();
D3D::stateman->PopRasterizerState();
- VertexShaderManager::SetViewportChanged();
+ UpdateViewport();
BPFunctions::SetScissor();
}
@@ -1300,7 +1251,7 @@ void Renderer::SetLogicOpMode()
D3D11_BLEND_INV_DEST_COLOR,//10
D3D11_BLEND_ONE,//11
D3D11_BLEND_INV_SRC_COLOR,//12
- D3D11_BLEND_INV_SRC_COLOR,//13
+ D3D11_BLEND_INV_SRC_COLOR,//13
D3D11_BLEND_INV_DEST_COLOR,//14
D3D11_BLEND_ONE//15
};
@@ -1319,7 +1270,7 @@ void Renderer::SetLogicOpMode()
D3D11_BLEND_INV_DEST_COLOR,//10
D3D11_BLEND_INV_DEST_COLOR,//11
D3D11_BLEND_INV_SRC_COLOR,//12
- D3D11_BLEND_ONE,//13
+ D3D11_BLEND_ONE,//13
D3D11_BLEND_INV_SRC_COLOR,//14
D3D11_BLEND_ONE//15
};
@@ -1370,7 +1321,7 @@ void Renderer::SetSamplerState(int stage, int texindex)
const FourTexUnits &tex = bpmem.tex[texindex];
const TexMode0 &tm0 = tex.texMode0[stage];
const TexMode1 &tm1 = tex.texMode1[stage];
-
+
unsigned int mip = d3dMipFilters[tm0.min_filter & 3];
if (texindex) stage += 4;
diff --git a/Source/Core/VideoBackends/D3D/Src/Render.h b/Source/Core/VideoBackends/D3D/Src/Render.h
index 39b5b90d81..12e5b595d3 100644
--- a/Source/Core/VideoBackends/D3D/Src/Render.h
+++ b/Source/Core/VideoBackends/D3D/Src/Render.h
@@ -46,7 +46,7 @@ public:
void ReinterpretPixelData(unsigned int convtype);
- void UpdateViewport(Matrix44& vpCorrection);
+ void UpdateViewport();
bool SaveScreenshot(const std::string &filename, const TargetRectangle &rc);
diff --git a/Source/Core/VideoBackends/D3D/Src/Television.cpp b/Source/Core/VideoBackends/D3D/Src/Television.cpp
index daabf6d8b3..029ba9ce9f 100644
--- a/Source/Core/VideoBackends/D3D/Src/Television.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/Television.cpp
@@ -103,7 +103,7 @@ void Television::Init()
D3D::SetDebugObjectName(m_pShader, "yuyv decoder pixel shader");
// Create sampler state and set border color
- //
+ //
// The default sampler border color of { 0.f, 0.f, 0.f, 0.f }
// creates a green border around the image - see issue 6483
// (remember, the XFB is being interpreted as YUYV, and 0,0,0,0
diff --git a/Source/Core/VideoBackends/D3D/Src/TextureCache.cpp b/Source/Core/VideoBackends/D3D/Src/TextureCache.cpp
index e803f4a8f2..9d1e28b9b0 100644
--- a/Source/Core/VideoBackends/D3D/Src/TextureCache.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/TextureCache.cpp
@@ -42,7 +42,33 @@ bool TextureCache::TCacheEntry::Save(const char filename[], unsigned int level)
warn_once = false;
return false;
}
- return SUCCEEDED(PD3DX11SaveTextureToFileA(D3D::context, texture->GetTex(), D3DX11_IFF_PNG, filename));
+
+ ID3D11Texture2D* pNewTexture = NULL;
+ ID3D11Texture2D* pSurface = texture->GetTex();
+ D3D11_TEXTURE2D_DESC desc;
+ pSurface->GetDesc(&desc);
+
+ desc.BindFlags = 0;
+ desc.CPUAccessFlags = D3D11_CPU_ACCESS_READ | D3D11_CPU_ACCESS_WRITE;
+ desc.Usage = D3D11_USAGE_STAGING;
+
+ HRESULT hr = D3D::device->CreateTexture2D(&desc, NULL, &pNewTexture);
+
+ if (SUCCEEDED(hr) && pNewTexture)
+ {
+ D3D::context->CopyResource(pNewTexture, pSurface);
+
+ D3D11_MAPPED_SUBRESOURCE map;
+ HRESULT hr = D3D::context->Map(pNewTexture, 0, D3D11_MAP_READ_WRITE, 0, &map);
+ if (SUCCEEDED(hr))
+ {
+ hr = D3D::TextureToPng(map, UTF8ToUTF16(filename).c_str(), desc.Width, desc.Height);
+ D3D::context->Unmap(pNewTexture, 0);
+ }
+ SAFE_RELEASE(pNewTexture);
+ }
+
+ return SUCCEEDED(hr);
}
void TextureCache::TCacheEntry::Load(unsigned int width, unsigned int height,
@@ -82,10 +108,10 @@ TextureCache::TCacheEntryBase* TextureCache::CreateTexture(unsigned int width,
// TODO: better debug names
D3D::SetDebugObjectName((ID3D11DeviceChild*)entry->texture->GetTex(), "a texture of the TextureCache");
- D3D::SetDebugObjectName((ID3D11DeviceChild*)entry->texture->GetSRV(), "shader resource view of a texture of the TextureCache");
+ D3D::SetDebugObjectName((ID3D11DeviceChild*)entry->texture->GetSRV(), "shader resource view of a texture of the TextureCache");
SAFE_RELEASE(pTexture);
-
+
if (tex_levels != 1)
entry->Load(width, height, expanded_width, 0);
@@ -137,7 +163,7 @@ void TextureCache::TCacheEntry::FromRenderTarget(u32 dstAddr, unsigned int dstFo
VertexShaderCache::GetSimpleVertexShader(), VertexShaderCache::GetSimpleInputLayout());
D3D::context->OMSetRenderTargets(1, &FramebufferManager::GetEFBColorTexture()->GetRTV(), FramebufferManager::GetEFBDepthTexture()->GetDSV());
-
+
g_renderer->RestoreAPIState();
}
diff --git a/Source/Core/VideoBackends/D3D/Src/VertexManager.cpp b/Source/Core/VideoBackends/D3D/Src/VertexManager.cpp
index b16a91ad95..b951a7464f 100644
--- a/Source/Core/VideoBackends/D3D/Src/VertexManager.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/VertexManager.cpp
@@ -40,7 +40,7 @@ void VertexManager::CreateDeviceObjects()
m_line_draw_index = 0;
m_point_draw_index = 0;
m_index_buffers = new PID3D11Buffer[MAX_VBUFFER_COUNT];
- m_vertex_buffers = new PID3D11Buffer[MAX_VBUFFER_COUNT];
+ m_vertex_buffers = new PID3D11Buffer[MAX_VBUFFER_COUNT];
for (m_current_index_buffer = 0; m_current_index_buffer < MAX_VBUFFER_COUNT; m_current_index_buffer++)
{
m_index_buffers[m_current_index_buffer] = NULL;
@@ -74,7 +74,7 @@ void VertexManager::DestroyDeviceObjects()
SAFE_RELEASE(m_vertex_buffers[m_current_vertex_buffer]);
SAFE_RELEASE(m_index_buffers[m_current_vertex_buffer]);
}
-
+
}
VertexManager::VertexManager()
@@ -96,7 +96,7 @@ void VertexManager::PrepareDrawBuffers()
if (m_vertex_buffer_cursor + vSize >= VBUFFER_SIZE)
{
// Wrap around
- m_current_vertex_buffer = (m_current_vertex_buffer + 1) % MAX_VBUFFER_COUNT;
+ m_current_vertex_buffer = (m_current_vertex_buffer + 1) % MAX_VBUFFER_COUNT;
m_vertex_buffer_cursor = 0;
MapType = D3D11_MAP_WRITE_DISCARD;
}
@@ -114,7 +114,7 @@ void VertexManager::PrepareDrawBuffers()
if (m_index_buffer_cursor + iCount >= (IBUFFER_SIZE / sizeof(u16)))
{
// Wrap around
- m_current_index_buffer = (m_current_index_buffer + 1) % MAX_VBUFFER_COUNT;
+ m_current_index_buffer = (m_current_index_buffer + 1) % MAX_VBUFFER_COUNT;
m_index_buffer_cursor = 0;
MapType = D3D11_MAP_WRITE_DISCARD;
}
@@ -128,7 +128,7 @@ void VertexManager::PrepareDrawBuffers()
memcpy((u16*)map.pData + m_point_draw_index, GetPointIndexBuffer(), sizeof(u16) * IndexGenerator::GetPointindexLen());
D3D::context->Unmap(m_index_buffers[m_current_index_buffer], 0);
m_index_buffer_cursor += iCount;
-
+
ADDSTAT(stats.thisFrame.bytesVertexStreamed, vSize);
ADDSTAT(stats.thisFrame.bytesIndexStreamed, iCount*sizeof(u16));
}
@@ -141,7 +141,7 @@ void VertexManager::Draw(UINT stride)
{
D3D::context->IASetVertexBuffers(0, 1, &m_vertex_buffers[m_current_vertex_buffer], &stride, &m_vertex_draw_offset);
D3D::context->IASetIndexBuffer(m_index_buffers[m_current_index_buffer], DXGI_FORMAT_R16_UINT, 0);
-
+
if (IndexGenerator::GetNumTriangles() > 0)
{
D3D::context->IASetPrimitiveTopology(D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP);
@@ -217,14 +217,14 @@ void VertexManager::vFlush()
{
g_renderer->SetSamplerState(i & 3, i >> 2);
const FourTexUnits &tex = bpmem.tex[i >> 2];
- const TextureCache::TCacheEntryBase* tentry = TextureCache::Load(i,
+ const TextureCache::TCacheEntryBase* tentry = TextureCache::Load(i,
(tex.texImage3[i&3].image_base/* & 0x1FFFFF*/) << 5,
tex.texImage0[i&3].width + 1, tex.texImage0[i&3].height + 1,
- tex.texImage0[i&3].format, tex.texTlut[i&3].tmem_offset<<9,
+ tex.texImage0[i&3].format, tex.texTlut[i&3].tmem_offset<<9,
tex.texTlut[i&3].tlut_format,
- (tex.texMode0[i&3].min_filter & 3),
+ ((tex.texMode0[i&3].min_filter & 3) != 0),
(tex.texMode1[i&3].max_lod + 0xf) / 0x10,
- tex.texImage1[i&3].image_type);
+ (tex.texImage1[i&3].image_type != 0));
if (tentry)
{
diff --git a/Source/Core/VideoBackends/D3D/Src/VertexManager.h b/Source/Core/VideoBackends/D3D/Src/VertexManager.h
index 889c2ee0eb..b4b7aa0ef4 100644
--- a/Source/Core/VideoBackends/D3D/Src/VertexManager.h
+++ b/Source/Core/VideoBackends/D3D/Src/VertexManager.h
@@ -23,7 +23,7 @@ public:
void DestroyDeviceObjects();
private:
-
+
void PrepareDrawBuffers();
void Draw(u32 stride);
// temp
diff --git a/Source/Core/VideoBackends/D3D/Src/VertexShaderCache.cpp b/Source/Core/VideoBackends/D3D/Src/VertexShaderCache.cpp
index 28a03b3bca..e17f273a85 100644
--- a/Source/Core/VideoBackends/D3D/Src/VertexShaderCache.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/VertexShaderCache.cpp
@@ -47,7 +47,7 @@ ID3D11Buffer* &VertexShaderCache::GetConstantBuffer()
memcpy(map.pData, &VertexShaderManager::constants, sizeof(VertexShaderConstants));
D3D::context->Unmap(vscbuf, 0);
VertexShaderManager::dirty = false;
-
+
ADDSTAT(stats.thisFrame.bytesUniformStreamed, sizeof(VertexShaderConstants));
}
return vscbuf;
@@ -87,7 +87,7 @@ const char clear_shader_code[] = {
"struct VSOUTPUT\n"
"{\n"
"float4 vPosition : POSITION;\n"
- "float4 vColor0 : COLOR0;\n"
+ "float4 vColor0 : COLOR0;\n"
"};\n"
"VSOUTPUT main(float4 inPosition : POSITION,float4 inColor0: COLOR0)\n"
"{\n"
@@ -104,7 +104,7 @@ void VertexShaderCache::Init()
{
{ "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0 },
{ "TEXCOORD", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 12, D3D11_INPUT_PER_VERTEX_DATA, 0 },
-
+
};
const D3D11_INPUT_ELEMENT_DESC clearelems[2] =
{
diff --git a/Source/Core/VideoBackends/D3D/Src/VertexShaderCache.h b/Source/Core/VideoBackends/D3D/Src/VertexShaderCache.h
index b80dbcd7b1..5fe81a11d5 100644
--- a/Source/Core/VideoBackends/D3D/Src/VertexShaderCache.h
+++ b/Source/Core/VideoBackends/D3D/Src/VertexShaderCache.h
@@ -35,7 +35,7 @@ public:
private:
struct VSCacheEntry
- {
+ {
ID3D11VertexShader* shader;
D3DBlob* bytecode; // needed to initialize the input layout
@@ -55,7 +55,7 @@ private:
}
};
typedef std::map<VertexShaderUid, VSCacheEntry> VSCache;
-
+
static VSCache vshaders;
static const VSCacheEntry* last_entry;
static VertexShaderUid last_uid;
diff --git a/Source/Core/VideoBackends/D3D/Src/main.cpp b/Source/Core/VideoBackends/D3D/Src/main.cpp
index 989fb2ef91..0514106da5 100644
--- a/Source/Core/VideoBackends/D3D/Src/main.cpp
+++ b/Source/Core/VideoBackends/D3D/Src/main.cpp
@@ -90,6 +90,7 @@ void InitBackendInfo()
g_Config.backend_info.bSupportsFormatReinterpretation = true;
g_Config.backend_info.bSupportsPixelLighting = true;
g_Config.backend_info.bSupportsPrimitiveRestart = true;
+ g_Config.backend_info.bSupportsOversizedViewports = false;
IDXGIFactory* factory;
IDXGIAdapter* ad;
diff --git a/Source/Core/VideoBackends/D3D/Src/stdafx.h b/Source/Core/VideoBackends/D3D/Src/stdafx.h
index 2431184aaf..81bb44dc19 100644
--- a/Source/Core/VideoBackends/D3D/Src/stdafx.h
+++ b/Source/Core/VideoBackends/D3D/Src/stdafx.h
@@ -9,4 +9,4 @@
#endif
#include <tchar.h>
-#include <windows.h>
+#include <windows.h>
diff --git a/Source/Core/VideoBackends/OGL/OGL.vcxproj b/Source/Core/VideoBackends/OGL/OGL.vcxproj
index 46113f53ce..a0c804a051 100644
--- a/Source/Core/VideoBackends/OGL/OGL.vcxproj
+++ b/Source/Core/VideoBackends/OGL/OGL.vcxproj
@@ -1,14 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="DebugFast|Win32">
- <Configuration>DebugFast</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="DebugFast|x64">
- <Configuration>DebugFast</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
@@ -27,124 +19,29 @@
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
- <ProjectGuid>{1909CD2D-1707-456F-86CA-0DF42A727C99}</ProjectGuid>
- <RootNamespace>VideoOGL</RootNamespace>
- <ProjectName>VideoOGL</ProjectName>
+ <ProjectGuid>{EC1A314C-5588-4506-9C1E-2E58E5817F75}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <PropertyGroup Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
+ <PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
+ <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
+ <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>false</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\VSProps\Base.props" />
<Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\CodeGen_Release.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\CodeGen_DebugFast.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\CodeGen_Release.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\CodeGen_DebugFast.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\include;$(SolutionDir)..\Externals\GLew\include;$(SolutionDir)..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\include;$(SolutionDir)..\Externals\GLew\include;$(SolutionDir)..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\include;$(SolutionDir)..\Externals\GLew\include;$(SolutionDir)..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\include;$(SolutionDir)..\Externals\GLew\include;$(SolutionDir)..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\include;$(SolutionDir)..\Externals\GLew\include;$(SolutionDir)..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\include;$(SolutionDir)..\Externals\GLew\include;$(SolutionDir)..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="Src\FramebufferManager.cpp" />
<ClCompile Include="Src\GLUtil.cpp" />
@@ -156,15 +53,10 @@
<ClCompile Include="Src\RasterFont.cpp" />
<ClCompile Include="Src\Render.cpp" />
<ClCompile Include="Src\SamplerCache.cpp" />
- <ClCompile Include="Src\StreamBuffer.cpp" />
<ClCompile Include="Src\stdafx.cpp">
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">Create</PrecompiledHeader>
+ <PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
+ <ClCompile Include="Src\StreamBuffer.cpp" />
<ClCompile Include="Src\TextureCache.cpp" />
<ClCompile Include="Src\TextureConverter.cpp" />
<ClCompile Include="Src\VertexManager.cpp" />
@@ -180,25 +72,31 @@
<ClInclude Include="Src\RasterFont.h" />
<ClInclude Include="Src\Render.h" />
<ClInclude Include="Src\SamplerCache.h" />
- <ClInclude Include="Src\StreamBuffer.h" />
<ClInclude Include="Src\stdafx.h" />
+ <ClInclude Include="Src\StreamBuffer.h" />
<ClInclude Include="Src\TextureCache.h" />
<ClInclude Include="Src\TextureConverter.h" />
<ClInclude Include="Src\VertexManager.h" />
<ClInclude Include="Src\VideoBackend.h" />
</ItemGroup>
<ItemGroup>
- <None Include="CMakeLists.txt" />
+ <Text Include="CMakeLists.txt" />
</ItemGroup>
<ItemGroup>
+ <ProjectReference Include="..\..\..\..\Externals\GLew\glew.vcxproj">
+ <Project>{2a3f751d-69e9-45f2-9199-9a00bfb6cc72}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\..\Externals\wxWidgets3\build\msw\wx_base.vcxproj">
+ <Project>{1c8436c9-dbaf-42be-83bc-cf3ec9175abe}</Project>
+ </ProjectReference>
<ProjectReference Include="..\..\..\..\Externals\zlib\zlib.vcxproj">
- <Project>{3e1339f5-9311-4122-9442-369702e8fcad}</Project>
+ <Project>{ff213b23-2c26-4214-9f88-85271e557e87}</Project>
</ProjectReference>
- <ProjectReference Include="..\..\VideoCommon\VideoCommon.vcxproj">
- <Project>{3e5c4e02-1ba9-4776-bdbe-e3f91ffa34cf}</Project>
+ <ProjectReference Include="..\..\..\Core\VideoCommon\VideoCommon.vcxproj">
+ <Project>{3de9ee35-3e91-4f27-a014-2866ad8c3fe3}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
-</Project>
+</Project> \ No newline at end of file
diff --git a/Source/Core/VideoBackends/OGL/OGL.vcxproj.filters b/Source/Core/VideoBackends/OGL/OGL.vcxproj.filters
index bf498a83e0..c284f425dd 100644
--- a/Source/Core/VideoBackends/OGL/OGL.vcxproj.filters
+++ b/Source/Core/VideoBackends/OGL/OGL.vcxproj.filters
@@ -1,8 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
- <ClCompile Include="Src\main.cpp" />
- <ClCompile Include="Src\stdafx.cpp" />
+ <Filter Include="Decoder">
+ <UniqueIdentifier>{f29f8e7f-21ba-49da-8044-e5279a091c8f}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="GLUtil">
+ <UniqueIdentifier>{5bfec41c-1031-4925-8f98-38c7b49b1924}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Logging">
+ <UniqueIdentifier>{00dadfd8-a906-4b0c-b415-d42a69cf3ca7}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Render">
+ <UniqueIdentifier>{696df73b-378e-4399-8f21-999b65d78dcd}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
<ClCompile Include="Src\NativeVertexFormat.cpp">
<Filter>Decoder</Filter>
</ClCompile>
@@ -21,7 +33,7 @@
<ClCompile Include="Src\FramebufferManager.cpp">
<Filter>Render</Filter>
</ClCompile>
- <ClCompile Include="Src\PixelShaderCache.cpp">
+ <ClCompile Include="Src\PerfQuery.cpp">
<Filter>Render</Filter>
</ClCompile>
<ClCompile Include="Src\PostProcessing.cpp">
@@ -39,19 +51,11 @@
<ClCompile Include="Src\TextureCache.cpp">
<Filter>Render</Filter>
</ClCompile>
- <ClCompile Include="Src\VertexShaderCache.cpp">
- <Filter>Render</Filter>
- </ClCompile>
- <ClCompile Include="Src\PerfQuery.cpp">
- <Filter>Render</Filter>
- </ClCompile>
+ <ClCompile Include="Src\main.cpp" />
<ClCompile Include="Src\SamplerCache.cpp" />
+ <ClCompile Include="Src\stdafx.cpp" />
</ItemGroup>
<ItemGroup>
- <ClInclude Include="Src\Globals.h" />
- <ClInclude Include="Src\main.h" />
- <ClInclude Include="Src\stdafx.h" />
- <ClInclude Include="Src\VideoBackend.h" />
<ClInclude Include="Src\VertexManager.h">
<Filter>Decoder</Filter>
</ClInclude>
@@ -67,6 +71,9 @@
<ClInclude Include="Src\FramebufferManager.h">
<Filter>Render</Filter>
</ClInclude>
+ <ClInclude Include="Src\PerfQuery.h">
+ <Filter>Render</Filter>
+ </ClInclude>
<ClInclude Include="Src\PostProcessing.h">
<Filter>Render</Filter>
</ClInclude>
@@ -76,30 +83,19 @@
<ClInclude Include="Src\Render.h">
<Filter>Render</Filter>
</ClInclude>
- <ClInclude Include="Src\TextureCache.h">
+ <ClInclude Include="Src\StreamBuffer.h">
<Filter>Render</Filter>
</ClInclude>
- <ClInclude Include="Src\PerfQuery.h">
+ <ClInclude Include="Src\TextureCache.h">
<Filter>Render</Filter>
</ClInclude>
+ <ClInclude Include="Src\Globals.h" />
+ <ClInclude Include="Src\main.h" />
<ClInclude Include="Src\SamplerCache.h" />
- <ClInclude Include="Src\StreamBuffer.h" />
- </ItemGroup>
- <ItemGroup>
- <None Include="CMakeLists.txt" />
+ <ClInclude Include="Src\VideoBackend.h" />
+ <ClInclude Include="Src\stdafx.h" />
</ItemGroup>
<ItemGroup>
- <Filter Include="Decoder">
- <UniqueIdentifier>{a0bb3390-6085-4d10-af48-b60eb4c920e7}</UniqueIdentifier>
- </Filter>
- <Filter Include="GLUtil">
- <UniqueIdentifier>{5b16573b-fb79-4a51-aa7a-d760df844128}</UniqueIdentifier>
- </Filter>
- <Filter Include="Logging">
- <UniqueIdentifier>{14fca297-ab2f-4686-855f-65ab18602248}</UniqueIdentifier>
- </Filter>
- <Filter Include="Render">
- <UniqueIdentifier>{aaa16061-dca9-4155-be44-f77538e839fc}</UniqueIdentifier>
- </Filter>
+ <Text Include="CMakeLists.txt" />
</ItemGroup>
</Project> \ No newline at end of file
diff --git a/Source/Core/VideoBackends/OGL/Src/FramebufferManager.cpp b/Source/Core/VideoBackends/OGL/Src/FramebufferManager.cpp
index 4c395d7257..081c5e71d0 100644
--- a/Source/Core/VideoBackends/OGL/Src/FramebufferManager.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/FramebufferManager.cpp
@@ -47,7 +47,7 @@ FramebufferManager::FramebufferManager(int targetWidth, int targetHeight, int ms
m_resolvedColorTexture = 0;
m_resolvedDepthTexture = 0;
m_xfbFramebuffer = 0;
-
+
m_targetWidth = targetWidth;
m_targetHeight = targetHeight;
@@ -95,7 +95,7 @@ FramebufferManager::FramebufferManager(int targetWidth, int targetHeight, int ms
glBindTexture(getFbType(), m_efbDepth);
glTexParameteri(getFbType(), GL_TEXTURE_MAX_LEVEL, 0);
glTexImage2D(getFbType(), 0, depthType, m_targetWidth, m_targetHeight, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, NULL);
-
+
glBindTexture(getFbType(), m_resolvedColorTexture);
glTexParameteri(getFbType(), GL_TEXTURE_MAX_LEVEL, 0);
glTexImage2D(getFbType(), 0, GL_RGBA, m_targetWidth, m_targetHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL);
@@ -177,14 +177,14 @@ FramebufferManager::FramebufferManager(int targetWidth, int targetHeight, int ms
// Create XFB framebuffer; targets will be created elsewhere.
glGenFramebuffers(1, &m_xfbFramebuffer);
-
+
// EFB framebuffer is currently bound, make sure to clear its alpha value to 1.f
glViewport(0, 0, m_targetWidth, m_targetHeight);
glScissor(0, 0, m_targetWidth, m_targetHeight);
glClearColor(0.f, 0.f, 0.f, 1.f);
glClearDepthf(1.0f);
glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);
-
+
// reinterpret pixel format
glGenBuffers(1, &m_pixel_format_vbo);
glGenVertexArrays(1, &m_pixel_format_vao);
@@ -192,7 +192,7 @@ FramebufferManager::FramebufferManager(int targetWidth, int targetHeight, int ms
glBindBuffer(GL_ARRAY_BUFFER, m_pixel_format_vbo);
glEnableVertexAttribArray(SHADER_POSITION_ATTRIB);
glVertexAttribPointer(SHADER_POSITION_ATTRIB, 2, GL_FLOAT, 0, sizeof(GLfloat)*2, NULL);
-
+
float vertices[] = {
-1.0, -1.0,
1.0, -1.0,
@@ -200,14 +200,14 @@ FramebufferManager::FramebufferManager(int targetWidth, int targetHeight, int ms
1.0, 1.0,
};
glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
-
- char vs[] =
+
+ char vs[] =
"ATTRIN vec2 rawpos;\n"
"void main(void) {\n"
" gl_Position = vec4(rawpos,0,1);\n"
"}\n";
-
- char ps_rgba6_to_rgb8[] =
+
+ char ps_rgba6_to_rgb8[] =
"uniform sampler2DRect samp9;\n"
"COLOROUT(ocol0)\n"
"void main()\n"
@@ -220,8 +220,8 @@ FramebufferManager::FramebufferManager(int targetWidth, int targetHeight, int ms
" dst8.a = 255;\n"
" ocol0 = float4(dst8) / 255.f;\n"
"}";
-
- char ps_rgb8_to_rgba6[] =
+
+ char ps_rgb8_to_rgba6[] =
"uniform sampler2DRect samp9;\n"
"COLOROUT(ocol0)\n"
"void main()\n"
@@ -234,11 +234,11 @@ FramebufferManager::FramebufferManager(int targetWidth, int targetHeight, int ms
" dst6.a = src8.b & 0x3F;\n"
" ocol0 = float4(dst6) / 63.f;\n"
"}";
-
+
if(g_ogl_config.eSupportedGLSLVersion != GLSLES2)
{
// HACK: This shaders aren't glsles2 compatible as glsles2 don't support bit operations
- // it could be workaround by floor + frac + tons off additions, but I think it isn't worth
+ // it could be workaround by floor + frac + tons off additions, but I think it isn't worth
ProgramShaderCache::CompileShader(m_pixel_format_shaders[0], vs, ps_rgb8_to_rgba6);
ProgramShaderCache::CompileShader(m_pixel_format_shaders[1], vs, ps_rgba6_to_rgb8);
}
@@ -273,7 +273,7 @@ FramebufferManager::~FramebufferManager()
glDeleteRenderbuffers(2, glObj);
m_efbColor = 0;
m_efbDepth = 0;
-
+
// reinterpret pixel format
glDeleteVertexArrays(1, &m_pixel_format_vao);
glDeleteBuffers(1, &m_pixel_format_vbo);
@@ -386,9 +386,9 @@ void FramebufferManager::ReinterpretPixelData(unsigned int convtype)
return;
}
g_renderer->ResetAPIState();
-
+
GLuint src_texture = 0;
-
+
if(m_msaaSamples > 1)
{
// MSAA mode, so resolve first
@@ -402,7 +402,7 @@ void FramebufferManager::ReinterpretPixelData(unsigned int convtype)
// Return to EFB.
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, m_efbFramebuffer);
-
+
src_texture = m_resolvedColorTexture;
}
else
@@ -411,18 +411,18 @@ void FramebufferManager::ReinterpretPixelData(unsigned int convtype)
src_texture = m_efbColor;
m_efbColor = m_resolvedColorTexture;
m_resolvedColorTexture = src_texture;
-
+
// also switch them on fbo
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, getFbType(), m_efbColor, 0);
}
glViewport(0,0, m_targetWidth, m_targetHeight);
glActiveTexture(GL_TEXTURE0 + 9);
glBindTexture(getFbType(), src_texture);
-
+
m_pixel_format_shaders[convtype ? 1 : 0].Bind();
glBindVertexArray(m_pixel_format_vao);
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
-
+
g_renderer->RestoreAPIState();
}
@@ -452,7 +452,7 @@ void XFBSource::DecodeToTexture(u32 xfbAddr, u32 fbWidth, u32 fbHeight)
void XFBSource::CopyEFB(float Gamma)
{
g_renderer->ResetAPIState();
-
+
// Copy EFB data to XFB and restore render target again
glBindFramebuffer(GL_READ_FRAMEBUFFER, FramebufferManager::GetEFBFramebuffer());
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, FramebufferManager::GetXFBFramebuffer());
@@ -469,7 +469,7 @@ void XFBSource::CopyEFB(float Gamma)
// Return to EFB.
FramebufferManager::SetFramebuffer(0);
-
+
g_renderer->RestoreAPIState();
}
@@ -479,7 +479,7 @@ XFBSourceBase* FramebufferManager::CreateXFBSource(unsigned int target_width, un
GLuint texture;
glGenTextures(1, &texture);
-
+
glActiveTexture(GL_TEXTURE0 + 9);
glBindTexture(GL_TEXTURE_2D, texture);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0);
diff --git a/Source/Core/VideoBackends/OGL/Src/FramebufferManager.h b/Source/Core/VideoBackends/OGL/Src/FramebufferManager.h
index 5b0d66f7f6..47c8b2048d 100644
--- a/Source/Core/VideoBackends/OGL/Src/FramebufferManager.h
+++ b/Source/Core/VideoBackends/OGL/Src/FramebufferManager.h
@@ -49,10 +49,10 @@ struct XFBSource : public XFBSourceBase
XFBSource(GLuint tex) : texture(tex) {}
~XFBSource();
- void CopyEFB(float Gamma);
- void DecodeToTexture(u32 xfbAddr, u32 fbWidth, u32 fbHeight);
+ void CopyEFB(float Gamma) override;
+ void DecodeToTexture(u32 xfbAddr, u32 fbWidth, u32 fbHeight) override;
void Draw(const MathUtil::Rectangle<float> &sourcerc,
- const MathUtil::Rectangle<float> &drawrc, int width, int height) const;
+ const MathUtil::Rectangle<float> &drawrc, int width, int height) const override;
const GLuint texture;
};
@@ -93,16 +93,16 @@ public:
// Same as above but for the depth Target.
// After calling this, before you render anything else, you MUST bind the framebuffer you want to draw to.
static GLuint ResolveAndGetDepthTarget(const EFBRectangle &rect);
-
- // Convert EFB content on pixel format change.
+
+ // Convert EFB content on pixel format change.
// convtype=0 -> rgb8->rgba6, convtype=2 -> rgba6->rgb8
static void ReinterpretPixelData(unsigned int convtype);
private:
- XFBSourceBase* CreateXFBSource(unsigned int target_width, unsigned int target_height);
- void GetTargetSize(unsigned int *width, unsigned int *height, const EFBRectangle& sourceRc);
+ XFBSourceBase* CreateXFBSource(unsigned int target_width, unsigned int target_height) override;
+ void GetTargetSize(unsigned int *width, unsigned int *height, const EFBRectangle& sourceRc) override;
- void CopyToRealXFB(u32 xfbAddr, u32 fbWidth, u32 fbHeight, const EFBRectangle& sourceRc,float Gamma);
+ void CopyToRealXFB(u32 xfbAddr, u32 fbWidth, u32 fbHeight, const EFBRectangle& sourceRc,float Gamma) override;
static int m_targetWidth;
static int m_targetHeight;
@@ -119,7 +119,7 @@ private:
static GLuint m_resolvedDepthTexture;
static GLuint m_xfbFramebuffer; // Only used in MSAA mode
-
+
// For pixel format draw
static GLuint m_pixel_format_vbo;
static GLuint m_pixel_format_vao;
diff --git a/Source/Core/VideoBackends/OGL/Src/GLFunctions.cpp b/Source/Core/VideoBackends/OGL/Src/GLFunctions.cpp
index 598f336036..6ff264aebe 100644
--- a/Source/Core/VideoBackends/OGL/Src/GLFunctions.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/GLFunctions.cpp
@@ -120,11 +120,11 @@ namespace GLFunc
LoadFunction("glBindSampler", (void**)&glBindSampler);
LoadFunction("glDeleteSamplers", (void**)&glDeleteSamplers);
LoadFunction("glGenSamplers", (void**)&glGenSamplers);
-
+
LoadFunction("glGetProgramBinary", (void**)&glGetProgramBinary);
LoadFunction("glProgramBinary", (void**)&glProgramBinary);
LoadFunction("glProgramParameteri", (void**)&glProgramParameteri);
-
+
LoadFunction("glDrawRangeElements", (void**)&glDrawRangeElements);
LoadFunction("glRenderbufferStorageMultisample", (void**)&glRenderbufferStorageMultisample);
diff --git a/Source/Core/VideoBackends/OGL/Src/GLUtil.cpp b/Source/Core/VideoBackends/OGL/Src/GLUtil.cpp
index 256b30ace8..f2cf74acf2 100644
--- a/Source/Core/VideoBackends/OGL/Src/GLUtil.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/GLUtil.cpp
@@ -10,7 +10,6 @@
#include "ConfigManager.h"
#include "Render.h"
-#include "VertexShaderManager.h"
#include "GLUtil.h"
@@ -54,7 +53,7 @@ GLuint OpenGL_CompileProgram ( const char* vertexShader, const char* fragmentSha
GLuint vertexShaderID = glCreateShader(GL_VERTEX_SHADER);
GLuint fragmentShaderID = glCreateShader(GL_FRAGMENT_SHADER);
GLuint programID = glCreateProgram();
-
+
// compile vertex shader
glShaderSource(vertexShaderID, 1, &vertexShader, NULL);
glCompileShader(vertexShaderID);
@@ -73,7 +72,7 @@ GLuint OpenGL_CompileProgram ( const char* vertexShader, const char* fragmentSha
}
bool shader_errors = !Result;
#endif
-
+
// compile fragment shader
glShaderSource(fragmentShaderID, 1, &fragmentShader, NULL);
glCompileShader(fragmentShaderID);
@@ -89,7 +88,7 @@ GLuint OpenGL_CompileProgram ( const char* vertexShader, const char* fragmentSha
}
shader_errors |= !Result;
#endif
-
+
// link them
glAttachShader(programID, vertexShaderID);
glAttachShader(programID, fragmentShaderID);
@@ -103,11 +102,11 @@ GLuint OpenGL_CompileProgram ( const char* vertexShader, const char* fragmentSha
ERROR_LOG(VIDEO, "GLSL linker error:\n%s%s%s", stringBuffer, vertexShader, fragmentShader);
}
#endif
-
+
// cleanup
glDeleteShader(vertexShaderID);
glDeleteShader(fragmentShaderID);
-
+
return programID;
}
diff --git a/Source/Core/VideoBackends/OGL/Src/GLUtil.h b/Source/Core/VideoBackends/OGL/Src/GLUtil.h
index 54a2ac5735..48466fe580 100644
--- a/Source/Core/VideoBackends/OGL/Src/GLUtil.h
+++ b/Source/Core/VideoBackends/OGL/Src/GLUtil.h
@@ -32,11 +32,12 @@
#define GL_BGRA GL_RGBA
#define glDrawElementsBaseVertex(...)
#define glDrawRangeElementsBaseVertex(...)
-#define glRenderbufferStorageMultisampleCoverageNV(...)
+#define glRenderbufferStorageMultisampleCoverageNV(...)
+#define glViewportIndexedf(...)
#endif
#else
#define TEX2D GL_TEXTURE_RECTANGLE_ARB
-#define PREC
+#define PREC
#define TEXTYPE "sampler2DRect"
#define TEXFUNC "texture2DRect"
#endif
@@ -70,14 +71,14 @@ __forceinline GLenum GL_REPORT_ERROR() { return GL_NO_ERROR; }
#endif
// this should be removed in future, but as long as glsl is unstable, we should really read this messages
-#if defined(_DEBUG) || defined(DEBUGFAST)
+#if defined(_DEBUG) || defined(DEBUGFAST)
#define DEBUG_GLSL 1
#else
#define DEBUG_GLSL 0
#endif
// Isn't defined if we aren't using GLEW 1.6
-#ifndef GL_ONE_MINUS_SRC1_ALPHA
+#ifndef GL_ONE_MINUS_SRC1_ALPHA
#define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
#endif
diff --git a/Source/Core/VideoBackends/OGL/Src/NativeVertexFormat.cpp b/Source/Core/VideoBackends/OGL/Src/NativeVertexFormat.cpp
index 293e674cbb..c0112c4e9e 100644
--- a/Source/Core/VideoBackends/OGL/Src/NativeVertexFormat.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/NativeVertexFormat.cpp
@@ -48,21 +48,21 @@ void GLVertexFormat::Initialize(const PortableVertexDeclaration &_vtx_decl)
vertex_stride = vtx_decl.stride;
// We will not allow vertex components causing uneven strides.
- if (vertex_stride & 3)
+ if (vertex_stride & 3)
PanicAlert("Uneven vertex stride: %i", vertex_stride);
-
+
VertexManager *vm = (OGL::VertexManager*)g_vertex_manager;
-
+
glGenVertexArrays(1, &VAO);
glBindVertexArray(VAO);
-
+
// the element buffer is bound directly to the vao, so we must it set for every vao
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, vm->m_index_buffers);
glBindBuffer(GL_ARRAY_BUFFER, vm->m_vertex_buffers);
glEnableVertexAttribArray(SHADER_POSITION_ATTRIB);
glVertexAttribPointer(SHADER_POSITION_ATTRIB, 3, GL_FLOAT, GL_FALSE, vtx_decl.stride, (u8*)NULL);
-
+
for (int i = 0; i < 3; i++) {
if (vtx_decl.num_normals > i) {
glEnableVertexAttribArray(SHADER_NORM0_ATTRIB+i);
diff --git a/Source/Core/VideoBackends/OGL/Src/PerfQuery.cpp b/Source/Core/VideoBackends/OGL/Src/PerfQuery.cpp
index f981a105e0..7cb408b62e 100644
--- a/Source/Core/VideoBackends/OGL/Src/PerfQuery.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/PerfQuery.cpp
@@ -11,7 +11,7 @@ PerfQuery::PerfQuery()
{
for (u32 i = 0; i != ArraySize(m_query_buffer); ++i)
glGenQueries(1, &m_query_buffer[i].query_id);
-
+
ResetQuery();
}
@@ -29,21 +29,21 @@ void PerfQuery::EnableQuery(PerfQueryGroup type)
// Is this sane?
if (m_query_count > ArraySize(m_query_buffer) / 2)
WeakFlush();
-
+
if (ArraySize(m_query_buffer) == m_query_count)
{
FlushOne();
//ERROR_LOG(VIDEO, "Flushed query buffer early!");
}
-
+
// start query
if (type == PQG_ZCOMP_ZCOMPLOC || type == PQG_ZCOMP)
{
auto& entry = m_query_buffer[(m_query_read_pos + m_query_count) % ArraySize(m_query_buffer)];
-
+
glBeginQuery(GL_SAMPLES_PASSED, entry.query_id);
entry.query_type = type;
-
+
++m_query_count;
}
}
@@ -103,10 +103,10 @@ void PerfQuery::WeakFlush()
while (!IsFlushed())
{
auto& entry = m_query_buffer[m_query_read_pos];
-
+
GLuint result = GL_FALSE;
glGetQueryObjectuiv(entry.query_id, GL_QUERY_RESULT_AVAILABLE, &result);
-
+
if (GL_TRUE == result)
{
FlushOne();
@@ -130,7 +130,7 @@ u32 PerfQuery::GetQueryResult(PerfQueryType type)
return 0;
u32 result = 0;
-
+
if (type == PQ_ZCOMP_INPUT_ZCOMPLOC || type == PQ_ZCOMP_OUTPUT_ZCOMPLOC)
{
result = m_results[PQG_ZCOMP_ZCOMPLOC];
@@ -147,7 +147,7 @@ u32 PerfQuery::GetQueryResult(PerfQueryType type)
{
result = m_results[PQG_EFB_COPY_CLOCKS];
}
-
+
return result / 4;
}
diff --git a/Source/Core/VideoBackends/OGL/Src/PerfQuery.h b/Source/Core/VideoBackends/OGL/Src/PerfQuery.h
index b96fe7a4a0..c47fa194d1 100644
--- a/Source/Core/VideoBackends/OGL/Src/PerfQuery.h
+++ b/Source/Core/VideoBackends/OGL/Src/PerfQuery.h
@@ -11,11 +11,11 @@ public:
PerfQuery();
~PerfQuery();
- void EnableQuery(PerfQueryGroup type);
- void DisableQuery(PerfQueryGroup type);
- void ResetQuery();
- u32 GetQueryResult(PerfQueryType type);
- void FlushResults();
+ void EnableQuery(PerfQueryGroup type) override;
+ void DisableQuery(PerfQueryGroup type) override;
+ void ResetQuery() override;
+ u32 GetQueryResult(PerfQueryType type) override;
+ void FlushResults() override;
bool IsFlushed() const;
private:
diff --git a/Source/Core/VideoBackends/OGL/Src/PostProcessing.cpp b/Source/Core/VideoBackends/OGL/Src/PostProcessing.cpp
index a748ab5085..84fb0c4d1c 100644
--- a/Source/Core/VideoBackends/OGL/Src/PostProcessing.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/PostProcessing.cpp
@@ -37,7 +37,7 @@ static char s_vertex_shader[] =
"void main(void) {\n"
" gl_Position = vec4(rawpos,0,1);\n"
" uv0 = tex0;\n"
- "}\n";
+ "}\n";
void Init()
{
@@ -45,7 +45,7 @@ void Init()
s_enable = 0;
s_width = 0;
s_height = 0;
-
+
glGenFramebuffers(1, &s_fbo);
glGenTextures(1, &s_texture);
glBindTexture(GL_TEXTURE_2D, s_texture);
@@ -56,17 +56,17 @@ void Init()
glBindFramebuffer(GL_FRAMEBUFFER, s_fbo);
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, s_texture, 0);
FramebufferManager::SetFramebuffer(0);
-
+
glGenBuffers(1, &s_vbo);
glBindBuffer(GL_ARRAY_BUFFER, s_vbo);
- GLfloat vertices[] = {
- -1.f, -1.f, 0.f, 0.f,
- -1.f, 1.f, 0.f, 1.f,
- 1.f, -1.f, 1.f, 0.f,
+ GLfloat vertices[] = {
+ -1.f, -1.f, 0.f, 0.f,
+ -1.f, 1.f, 0.f, 1.f,
+ 1.f, -1.f, 1.f, 0.f,
1.f, 1.f, 1.f, 1.f
};
glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);
-
+
glGenVertexArrays(1, &s_vao);
glBindVertexArray( s_vao );
glEnableVertexAttribArray(SHADER_POSITION_ATTRIB);
@@ -78,10 +78,10 @@ void Init()
void Shutdown()
{
s_shader.Destroy();
-
+
glDeleteFramebuffers(1, &s_vbo);
glDeleteTextures(1, &s_texture);
-
+
glDeleteBuffers(1, &s_vbo);
glDeleteVertexArrays(1, &s_vao);
}
@@ -99,22 +99,22 @@ void BindTargetFramebuffer ()
void BlitToScreen()
{
if(!s_enable) return;
-
+
glBindFramebuffer(GL_DRAW_FRAMEBUFFER, 0);
glViewport(0, 0, s_width, s_height);
-
+
glBindVertexArray(s_vao);
s_shader.Bind();
-
+
glUniform4f(s_uniform_resolution, (float)s_width, (float)s_height, 1.0f/(float)s_width, 1.0f/(float)s_height);
-
+
glActiveTexture(GL_TEXTURE0+9);
glBindTexture(GL_TEXTURE_2D, s_texture);
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
glBindTexture(GL_TEXTURE_2D, 0);
-
+
/* glBindFramebuffer(GL_READ_FRAMEBUFFER, s_fbo);
-
+
glBlitFramebuffer(rc.left, rc.bottom, rc.right, rc.top,
rc.left, rc.bottom, rc.right, rc.top,
GL_COLOR_BUFFER_BIT, GL_NEAREST);*/
@@ -127,7 +127,7 @@ void Update ( u32 width, u32 height )
if(s_enable && (width != s_width || height != s_height)) {
s_width = width;
s_height = height;
-
+
// alloc texture for framebuffer
glActiveTexture(GL_TEXTURE0+9);
glBindTexture(GL_TEXTURE_2D, s_texture);
@@ -143,12 +143,12 @@ void ApplyShader()
s_currentShader = g_ActiveConfig.sPostProcessingShader;
s_enable = false;
s_shader.Destroy();
-
+
// shader disabled
if (g_ActiveConfig.sPostProcessingShader == "") return;
-
+
// so need to compile shader
-
+
// loading shader code
std::string code;
std::string path = File::GetUserPath(D_SHADERS_IDX) + g_ActiveConfig.sPostProcessingShader + ".glsl";
@@ -157,20 +157,20 @@ void ApplyShader()
// Fallback to shared user dir
path = File::GetSysDirectory() + SHADERS_DIR DIR_SEP + g_ActiveConfig.sPostProcessingShader + ".glsl";
}
- if(!File::ReadFileToString(true, path.c_str(), code)) {
+ if(!File::ReadFileToString(path.c_str(), code)) {
ERROR_LOG(VIDEO, "Post-processing shader not found: %s", path.c_str());
return;
}
-
+
// and compile it
if (!ProgramShaderCache::CompileShader(s_shader, s_vertex_shader, code.c_str())) {
ERROR_LOG(VIDEO, "Failed to compile post-processing shader %s", s_currentShader.c_str());
return;
}
-
+
// read uniform locations
s_uniform_resolution = glGetUniformLocation(s_shader.glprogid, "resolution");
-
+
// successful
s_enable = true;
}
diff --git a/Source/Core/VideoBackends/OGL/Src/ProgramShaderCache.cpp b/Source/Core/VideoBackends/OGL/Src/ProgramShaderCache.cpp
index 40eb206903..cc807b7952 100644
--- a/Source/Core/VideoBackends/OGL/Src/ProgramShaderCache.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/ProgramShaderCache.cpp
@@ -94,19 +94,19 @@ void SHADER::SetProgramVariables()
{
// glsl shader must be bind to set samplers
Bind();
-
- // Bind UBO
+
+ // Bind UBO
if (g_ActiveConfig.backend_info.bSupportsGLSLUBO)
{
GLint PSBlock_id = glGetUniformBlockIndex(glprogid, "PSBlock");
GLint VSBlock_id = glGetUniformBlockIndex(glprogid, "VSBlock");
-
+
if(PSBlock_id != -1)
glUniformBlockBinding(glprogid, PSBlock_id, 1);
if(VSBlock_id != -1)
glUniformBlockBinding(glprogid, VSBlock_id, 2);
}
-
+
// UBO workaround
for (int a = 0; a < NUM_UNIFORMS; ++a)
{
@@ -120,7 +120,7 @@ void SHADER::SetProgramVariables()
int max_uniforms = 0;
char name[50];
int size;
-
+
glGetProgramiv(glprogid, GL_ACTIVE_UNIFORMS, &max_uniforms);
for(int i=0; i<max_uniforms; i++)
{
@@ -142,7 +142,7 @@ void SHADER::SetProgramVariables()
{
char name[8];
snprintf(name, 8, "samp%d", a);
-
+
// Still need to get sampler locations since we aren't binding them statically in the shaders
int loc = glGetUniformLocation(glprogid, name);
if (loc != -1)
@@ -165,16 +165,16 @@ void SHADER::SetProgramBindings()
}
// Need to set some attribute locations
glBindAttribLocation(glprogid, SHADER_POSITION_ATTRIB, "rawpos");
-
+
glBindAttribLocation(glprogid, SHADER_POSMTX_ATTRIB, "fposmtx");
-
+
glBindAttribLocation(glprogid, SHADER_COLOR0_ATTRIB, "color0");
glBindAttribLocation(glprogid, SHADER_COLOR1_ATTRIB, "color1");
-
+
glBindAttribLocation(glprogid, SHADER_NORM0_ATTRIB, "rawnorm0");
glBindAttribLocation(glprogid, SHADER_NORM1_ATTRIB, "rawnorm1");
glBindAttribLocation(glprogid, SHADER_NORM2_ATTRIB, "rawnorm2");
-
+
for(int i=0; i<8; i++) {
char attrib_name[8];
snprintf(attrib_name, 8, "tex%d", i);
@@ -206,24 +206,24 @@ void ProgramShaderCache::UploadConstants()
memcpy(tmpbuffer, &PixelShaderManager::constants, sizeof(PixelShaderConstants));
memcpy(tmpbuffer+ROUND_UP(sizeof(PixelShaderConstants), s_ubo_align), &VertexShaderManager::constants, sizeof(VertexShaderConstants));
size_t offset = s_buffer->Upload(tmpbuffer, s_ubo_buffer_size);
- glBindBufferRange(GL_UNIFORM_BUFFER, 1,
+ glBindBufferRange(GL_UNIFORM_BUFFER, 1,
s_buffer->getBuffer(), offset, sizeof(PixelShaderConstants));
- glBindBufferRange(GL_UNIFORM_BUFFER, 2,
+ glBindBufferRange(GL_UNIFORM_BUFFER, 2,
s_buffer->getBuffer(), offset+ROUND_UP(sizeof(PixelShaderConstants), s_ubo_align), sizeof(VertexShaderConstants));
}
else
{
size_t offset = s_buffer->Upload((u8*)&PixelShaderManager::constants, ROUND_UP(sizeof(PixelShaderConstants), s_ubo_align));
- glBindBufferRange(GL_UNIFORM_BUFFER, 1,
+ glBindBufferRange(GL_UNIFORM_BUFFER, 1,
s_buffer->getBuffer(), offset, sizeof(PixelShaderConstants));
offset = s_buffer->Upload((u8*)&VertexShaderManager::constants, ROUND_UP(sizeof(VertexShaderConstants), s_ubo_align));
- glBindBufferRange(GL_UNIFORM_BUFFER, 2,
+ glBindBufferRange(GL_UNIFORM_BUFFER, 2,
s_buffer->getBuffer(), offset, sizeof(VertexShaderConstants));
}
PixelShaderManager::dirty = false;
VertexShaderManager::dirty = false;
-
+
ADDSTAT(stats.thisFrame.bytesUniformStreamed, s_ubo_buffer_size);
}
}
@@ -241,10 +241,10 @@ void ProgramShaderCache::UploadConstants()
if(last_entry->shader.UniformSize[a+10] > 0)
glUniform4fv(last_entry->shader.UniformLocations[a+10], last_entry->shader.UniformSize[a+10], (float*) &VertexShaderManager::constants + 4*VSVar_Loc[a]);
}
-
+
ADDSTAT(stats.thisFrame.bytesUniformStreamed, s_ubo_buffer_size);
}
-
+
}
GLuint ProgramShaderCache::GetCurrentProgram(void)
@@ -317,7 +317,7 @@ SHADER* ProgramShaderCache::SetShader ( DSTALPHA_MODE dstAlphaMode, u32 componen
INCSTAT(stats.numPixelShadersCreated);
SETSTAT(stats.numPixelShadersAlive, pshaders.size());
GFX_DEBUGGER_PAUSE_AT(NEXT_PIXEL_SHADER_CHANGE, true);
-
+
last_entry->shader.Bind();
return &last_entry->shader;
}
@@ -333,9 +333,9 @@ bool ProgramShaderCache::CompileShader ( SHADER& shader, const char* vcode, cons
glDeleteShader(psid);
return false;
}
-
+
GLuint pid = shader.glprogid = glCreateProgram();;
-
+
glAttachShader(pid, vsid);
glAttachShader(pid, psid);
@@ -343,13 +343,13 @@ bool ProgramShaderCache::CompileShader ( SHADER& shader, const char* vcode, cons
glProgramParameteri(pid, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GL_TRUE);
shader.SetProgramBindings();
-
+
glLinkProgram(pid);
-
+
// original shaders aren't needed any more
glDeleteShader(vsid);
glDeleteShader(psid);
-
+
GLint linkStatus;
glGetProgramiv(pid, GL_LINK_STATUS, &linkStatus);
GLsizei length = 0;
@@ -366,7 +366,7 @@ bool ProgramShaderCache::CompileShader ( SHADER& shader, const char* vcode, cons
OpenFStream(file, szTemp, std::ios_base::out);
file << s_glsl_header << vcode << s_glsl_header << pcode << infoLog;
file.close();
-
+
if(linkStatus != GL_TRUE)
PanicAlert("Failed to link shaders!\nThis usually happens when trying to use Dolphin with an outdated GPU or integrated GPU like the Intel GMA series.\n\nIf you're sure this is Dolphin's error anyway, post the contents of %s along with this error message at the forums.\n\nDebug info (%s, %s, %s):\n%s",
szTemp,
@@ -374,7 +374,7 @@ bool ProgramShaderCache::CompileShader ( SHADER& shader, const char* vcode, cons
g_ogl_config.gl_renderer,
g_ogl_config.gl_version,
infoLog);
-
+
delete [] infoLog;
}
if (linkStatus != GL_TRUE)
@@ -388,7 +388,7 @@ bool ProgramShaderCache::CompileShader ( SHADER& shader, const char* vcode, cons
}
shader.SetProgramVariables();
-
+
return true;
}
@@ -397,7 +397,7 @@ GLuint ProgramShaderCache::CompileSingleShader (GLuint type, const char* code )
GLuint result = glCreateShader(type);
const char *src[] = {s_glsl_header, code};
-
+
glShaderSource(result, 2, src, NULL);
glCompileShader(result);
GLint compileStatus;
@@ -415,16 +415,16 @@ GLuint ProgramShaderCache::CompileSingleShader (GLuint type, const char* code )
glGetShaderInfoLog(result, length, &charsWritten, infoLog);
ERROR_LOG(VIDEO, "PS Shader info log:\n%s", infoLog);
char szTemp[MAX_PATH];
- sprintf(szTemp,
- "%sbad_%s_%04i.txt",
- File::GetUserPath(D_DUMP_IDX).c_str(),
- type==GL_VERTEX_SHADER ? "vs" : "ps",
+ sprintf(szTemp,
+ "%sbad_%s_%04i.txt",
+ File::GetUserPath(D_DUMP_IDX).c_str(),
+ type==GL_VERTEX_SHADER ? "vs" : "ps",
num_failures++);
std::ofstream file;
OpenFStream(file, szTemp, std::ios_base::out);
file << s_glsl_header << code << infoLog;
file.close();
-
+
if(compileStatus != GL_TRUE)
PanicAlert("Failed to compile %s shader!\nThis usually happens when trying to use Dolphin with an outdated GPU or integrated GPU like the Intel GMA series.\n\nIf you're sure this is Dolphin's error anyway, post the contents of %s along with this error message at the forums.\n\nDebug info (%s, %s, %s):\n%s",
type==GL_VERTEX_SHADER ? "vertex" : "pixel",
@@ -433,7 +433,7 @@ GLuint ProgramShaderCache::CompileSingleShader (GLuint type, const char* code )
g_ogl_config.gl_renderer,
g_ogl_config.gl_version,
infoLog);
-
+
delete[] infoLog;
}
if (compileStatus != GL_TRUE)
@@ -502,19 +502,19 @@ void ProgramShaderCache::Init(void)
{
if (!File::Exists(File::GetUserPath(D_SHADERCACHE_IDX)))
File::CreateDir(File::GetUserPath(D_SHADERCACHE_IDX).c_str());
-
+
char cache_filename[MAX_PATH];
sprintf(cache_filename, "%sogl-%s-shaders.cache", File::GetUserPath(D_SHADERCACHE_IDX).c_str(),
SConfig::GetInstance().m_LocalCoreStartupParameter.m_strUniqueID.c_str());
-
+
ProgramShaderCacheInserter inserter;
g_program_disk_cache.OpenAndRead(cache_filename, inserter);
}
SETSTAT(stats.numPixelShadersAlive, pshaders.size());
}
-
+
CreateHeader();
-
+
CurrentProgram = 0;
last_entry = NULL;
}
@@ -528,16 +528,16 @@ void ProgramShaderCache::Shutdown(void)
for (; iter != pshaders.end(); ++iter)
{
if(iter->second.in_cache) continue;
-
+
GLint binary_size;
glGetProgramiv(iter->second.shader.glprogid, GL_PROGRAM_BINARY_LENGTH, &binary_size);
if(!binary_size) continue;
-
+
u8 *data = new u8[binary_size+sizeof(GLenum)];
u8 *binary = data + sizeof(GLenum);
GLenum *prog_format = (GLenum*)data;
glGetProgramBinary(iter->second.shader.glprogid, binary_size, NULL, prog_format, binary);
-
+
g_program_disk_cache.Append(iter->first, data, binary_size+sizeof(GLenum));
delete [] data;
}
@@ -547,7 +547,7 @@ void ProgramShaderCache::Shutdown(void)
}
glUseProgram(0);
-
+
PCache::iterator iter = pshaders.begin();
for (; iter != pshaders.end(); ++iter)
iter->second.Destroy();
@@ -566,11 +566,11 @@ void ProgramShaderCache::Shutdown(void)
void ProgramShaderCache::CreateHeader ( void )
{
GLSL_VERSION v = g_ogl_config.eSupportedGLSLVersion;
- snprintf(s_glsl_header, sizeof(s_glsl_header),
+ snprintf(s_glsl_header, sizeof(s_glsl_header),
"%s\n"
"%s\n" // ubo
"%s\n" // early-z
-
+
// Precision defines for GLSLES2/3
"%s\n"
@@ -604,18 +604,18 @@ void ProgramShaderCache::CreateHeader ( void )
"%s\n"
"#define COLOROUT(name) %s\n"
-
+
, v==GLSLES2 ? "" : v==GLSLES3 ? "#version 300 es" : v==GLSL_130 ? "#version 130" : v==GLSL_140 ? "#version 140" : "#version 150"
, g_ActiveConfig.backend_info.bSupportsGLSLUBO && v<GLSL_140 ? "#extension GL_ARB_uniform_buffer_object : enable" : ""
, g_ActiveConfig.backend_info.bSupportsEarlyZ ? "#extension GL_ARB_shader_image_load_store : enable" : ""
-
+
, (v==GLSLES3 || v==GLSLES2) ? "precision highp float;" : ""
-
+
, v==GLSLES2 ? "attribute" : "in"
, v==GLSLES2 ? "attribute" : "out"
, v==GLSLES2 ? "varying" : DriverDetails::HasBug(DriverDetails::BUG_BROKENCENTROID) ? "in" : "centroid in"
, v==GLSLES2 ? "varying" : DriverDetails::HasBug(DriverDetails::BUG_BROKENCENTROID) ? "out" : "centroid out"
-
+
, v==GLSLES2 ? "#define texture2DRect texture2D" : v==GLSLES3 ? "" : v<=GLSL_130 ? "#extension GL_ARB_texture_rectangle : enable" : "#define texture2DRect texture"
, v==GLSLES3 ? "#define texture2DRect(samp, uv) texelFetch(samp, ivec2(floor(uv)), 0)" : ""
, (v==GLSLES3 || v==GLSLES2) ? "#define sampler2DRect sampler2D" : ""
@@ -624,7 +624,7 @@ void ProgramShaderCache::CreateHeader ( void )
, v==GLSLES2 ? "#define round(x) floor((x)+0.5)" : ""
, v==GLSLES2 ? "#define out " : ""
, v==GLSLES2 ? "#define ocol0 gl_FragColor" : ""
- , v==GLSLES2 ? "#define ocol1 gl_FragColor" : ""
+ , v==GLSLES2 ? "#define ocol1 gl_FragColor" : ""
, DriverDetails::HasBug(DriverDetails::BUG_ISTEGRA) ? "#extension GL_NV_uniform_buffer_object : enable" : ""
, DriverDetails::HasBug(DriverDetails::BUG_ISTEGRA) ? "#extension GL_NV_fragdepth : enable" : ""
, v==GLSLES2 ? "" : "out vec4 name;"
@@ -637,7 +637,7 @@ void ProgramShaderCache::ProgramShaderCacheInserter::Read ( const SHADERUID& key
const u8 *binary = value+sizeof(GLenum);
GLenum *prog_format = (GLenum*)value;
GLint binary_size = value_size-sizeof(GLenum);
-
+
PCacheEntry entry;
entry.in_cache = 1;
entry.shader.glprogid = glCreateProgram();
diff --git a/Source/Core/VideoBackends/OGL/Src/ProgramShaderCache.h b/Source/Core/VideoBackends/OGL/Src/ProgramShaderCache.h
index d0c792aaa0..a7b21a929d 100644
--- a/Source/Core/VideoBackends/OGL/Src/ProgramShaderCache.h
+++ b/Source/Core/VideoBackends/OGL/Src/ProgramShaderCache.h
@@ -53,11 +53,11 @@ struct SHADER
glprogid = 0;
}
GLuint glprogid; // opengl program id
-
+
std::string strvprog, strpprog;
GLint UniformLocations[NUM_UNIFORMS];
u32 UniformSize[NUM_UNIFORMS];
-
+
void SetProgramVariables();
void SetProgramBindings();
void Bind();
@@ -84,7 +84,7 @@ public:
static GLuint GetCurrentProgram(void);
static SHADER* SetShader(DSTALPHA_MODE dstAlphaMode, u32 components);
static void GetShaderId(SHADERUID *uid, DSTALPHA_MODE dstAlphaMode, u32 components);
-
+
static bool CompileShader(SHADER &shader, const char* vcode, const char* pcode);
static GLuint CompileSingleShader(GLuint type, const char *code);
static void UploadConstants();
@@ -97,7 +97,7 @@ private:
class ProgramShaderCacheInserter : public LinearDiskCacheReader<SHADERUID, u8>
{
public:
- void Read(const SHADERUID &key, const u8 *value, u32 value_size);
+ void Read(const SHADERUID &key, const u8 *value, u32 value_size) override;
};
static PCache pshaders;
diff --git a/Source/Core/VideoBackends/OGL/Src/RasterFont.cpp b/Source/Core/VideoBackends/OGL/Src/RasterFont.cpp
index 9e46a5eb86..c1817f3eeb 100644
--- a/Source/Core/VideoBackends/OGL/Src/RasterFont.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/RasterFont.cpp
@@ -16,104 +16,104 @@ static const u32 char_offset = 32;
static const u32 char_count = 95;
const u8 rasters[char_count][char_height] = {
- {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0x18, 0x18, 0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18},
- {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x36, 0x36, 0x36},
- {0x00, 0x00, 0x00, 0x66, 0x66, 0xff, 0x66, 0x66, 0xff, 0x66, 0x66, 0x00, 0x00},
- {0x00, 0x00, 0x18, 0x7e, 0xff, 0x1b, 0x1f, 0x7e, 0xf8, 0xd8, 0xff, 0x7e, 0x18},
- {0x00, 0x00, 0x0e, 0x1b, 0xdb, 0x6e, 0x30, 0x18, 0x0c, 0x76, 0xdb, 0xd8, 0x70},
- {0x00, 0x00, 0x7f, 0xc6, 0xcf, 0xd8, 0x70, 0x70, 0xd8, 0xcc, 0xcc, 0x6c, 0x38},
- {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x1c, 0x0c, 0x0e},
- {0x00, 0x00, 0x0c, 0x18, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x18, 0x0c},
- {0x00, 0x00, 0x30, 0x18, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x18, 0x30},
- {0x00, 0x00, 0x00, 0x00, 0x99, 0x5a, 0x3c, 0xff, 0x3c, 0x5a, 0x99, 0x00, 0x00},
- {0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0xff, 0xff, 0x18, 0x18, 0x18, 0x00, 0x00},
- {0x00, 0x00, 0x30, 0x18, 0x1c, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0x00, 0x38, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x60, 0x60, 0x30, 0x30, 0x18, 0x18, 0x0c, 0x0c, 0x06, 0x06, 0x03, 0x03},
- {0x00, 0x00, 0x3c, 0x66, 0xc3, 0xe3, 0xf3, 0xdb, 0xcf, 0xc7, 0xc3, 0x66, 0x3c},
- {0x00, 0x00, 0x7e, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x78, 0x38, 0x18},
- {0x00, 0x00, 0xff, 0xc0, 0xc0, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x03, 0xe7, 0x7e},
- {0x00, 0x00, 0x7e, 0xe7, 0x03, 0x03, 0x07, 0x7e, 0x07, 0x03, 0x03, 0xe7, 0x7e},
- {0x00, 0x00, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0xff, 0xcc, 0x6c, 0x3c, 0x1c, 0x0c},
- {0x00, 0x00, 0x7e, 0xe7, 0x03, 0x03, 0x07, 0xfe, 0xc0, 0xc0, 0xc0, 0xc0, 0xff},
- {0x00, 0x00, 0x7e, 0xe7, 0xc3, 0xc3, 0xc7, 0xfe, 0xc0, 0xc0, 0xc0, 0xe7, 0x7e},
- {0x00, 0x00, 0x30, 0x30, 0x30, 0x30, 0x18, 0x0c, 0x06, 0x03, 0x03, 0x03, 0xff},
- {0x00, 0x00, 0x7e, 0xe7, 0xc3, 0xc3, 0xe7, 0x7e, 0xe7, 0xc3, 0xc3, 0xe7, 0x7e},
- {0x00, 0x00, 0x7e, 0xe7, 0x03, 0x03, 0x03, 0x7f, 0xe7, 0xc3, 0xc3, 0xe7, 0x7e},
- {0x00, 0x00, 0x00, 0x38, 0x38, 0x00, 0x00, 0x38, 0x38, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0x30, 0x18, 0x1c, 0x1c, 0x00, 0x00, 0x1c, 0x1c, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0x06, 0x0c, 0x18, 0x30, 0x60, 0xc0, 0x60, 0x30, 0x18, 0x0c, 0x06},
- {0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x03, 0x06, 0x0c, 0x18, 0x30, 0x60},
- {0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x18, 0x0c, 0x06, 0x03, 0xc3, 0xc3, 0x7e},
- {0x00, 0x00, 0x3f, 0x60, 0xcf, 0xdb, 0xd3, 0xdd, 0xc3, 0x7e, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0xc3, 0xc3, 0xc3, 0x66, 0x3c, 0x18},
- {0x00, 0x00, 0xfe, 0xc7, 0xc3, 0xc3, 0xc7, 0xfe, 0xc7, 0xc3, 0xc3, 0xc7, 0xfe},
- {0x00, 0x00, 0x7e, 0xe7, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xe7, 0x7e},
- {0x00, 0x00, 0xfc, 0xce, 0xc7, 0xc3, 0xc3, 0xc3, 0xc3, 0xc3, 0xc7, 0xce, 0xfc},
- {0x00, 0x00, 0xff, 0xc0, 0xc0, 0xc0, 0xc0, 0xfc, 0xc0, 0xc0, 0xc0, 0xc0, 0xff},
- {0x00, 0x00, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xfc, 0xc0, 0xc0, 0xc0, 0xff},
- {0x00, 0x00, 0x7e, 0xe7, 0xc3, 0xc3, 0xcf, 0xc0, 0xc0, 0xc0, 0xc0, 0xe7, 0x7e},
- {0x00, 0x00, 0xc3, 0xc3, 0xc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c3},
- {0x00, 0x00, 0x18, 0x3c, 0x3c, 0x66, 0x66, 0xc3, 0xc3, 0xc3, 0xc3, 0xc3, 0xc3},
- {0x00, 0x00, 0xc3, 0xe7, 0xff, 0xff, 0xdb, 0xdb, 0xc3, 0xc3, 0xc3, 0xc3, 0xc3},
- {0x00, 0x00, 0xc3, 0x66, 0x66, 0x3c, 0x3c, 0x18, 0x3c, 0x3c, 0x66, 0x66, 0xc3},
- {0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x3c, 0x3c, 0x66, 0x66, 0xc3},
- {0x00, 0x00, 0xff, 0xc0, 0xc0, 0x60, 0x30, 0x7e, 0x0c, 0x06, 0x03, 0x03, 0xff},
- {0x00, 0x00, 0x3c, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x3c},
- {0x00, 0x03, 0x03, 0x06, 0x06, 0x0c, 0x0c, 0x18, 0x18, 0x30, 0x30, 0x60, 0x60},
- {0x00, 0x00, 0x3c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x3c},
- {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0x66, 0x3c, 0x18},
- {0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x38, 0x30, 0x70},
- {0x00, 0x00, 0x7f, 0xc3, 0xc3, 0x7f, 0x03, 0xc3, 0x7e, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0xfe, 0xc3, 0xc3, 0xc3, 0xc3, 0xfe, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0},
- {0x00, 0x00, 0x7e, 0xc3, 0xc0, 0xc0, 0xc0, 0xc3, 0x7e, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0x7f, 0xc3, 0xc3, 0xc3, 0xc3, 0x7f, 0x03, 0x03, 0x03, 0x03, 0x03},
- {0x00, 0x00, 0x7f, 0xc0, 0xc0, 0xfe, 0xc3, 0xc3, 0x7e, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0x30, 0x30, 0x30, 0x30, 0x30, 0xfc, 0x30, 0x30, 0x30, 0x33, 0x1e},
- {0x7e, 0xc3, 0x03, 0x03, 0x7f, 0xc3, 0xc3, 0xc3, 0x7e, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0xc3, 0xc3, 0xc3, 0xc3, 0xc3, 0xc3, 0xfe, 0xc0, 0xc0, 0xc0, 0xc0},
- {0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, 0x00, 0x18, 0x00},
- {0x38, 0x6c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x00, 0x00, 0x0c, 0x00},
- {0x00, 0x00, 0xc6, 0xcc, 0xf8, 0xf0, 0xd8, 0xcc, 0xc6, 0xc0, 0xc0, 0xc0, 0xc0},
- {0x00, 0x00, 0x7e, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x78},
- {0x00, 0x00, 0xdb, 0xdb, 0xdb, 0xdb, 0xdb, 0xdb, 0xfe, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xfc, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0x7c, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00},
- {0xc0, 0xc0, 0xc0, 0xfe, 0xc3, 0xc3, 0xc3, 0xc3, 0xfe, 0x00, 0x00, 0x00, 0x00},
- {0x03, 0x03, 0x03, 0x7f, 0xc3, 0xc3, 0xc3, 0xc3, 0x7f, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xe0, 0xfe, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0xfe, 0x03, 0x03, 0x7e, 0xc0, 0xc0, 0x7f, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0x1c, 0x36, 0x30, 0x30, 0x30, 0x30, 0xfc, 0x30, 0x30, 0x30, 0x00},
- {0x00, 0x00, 0x7e, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0x18, 0x3c, 0x3c, 0x66, 0x66, 0xc3, 0xc3, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0xc3, 0xe7, 0xff, 0xdb, 0xc3, 0xc3, 0xc3, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0xc3, 0x66, 0x3c, 0x18, 0x3c, 0x66, 0xc3, 0x00, 0x00, 0x00, 0x00},
- {0xc0, 0x60, 0x60, 0x30, 0x18, 0x3c, 0x66, 0x66, 0xc3, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0xff, 0x60, 0x30, 0x18, 0x0c, 0x06, 0xff, 0x00, 0x00, 0x00, 0x00},
- {0x00, 0x00, 0x0f, 0x18, 0x18, 0x18, 0x38, 0xf0, 0x38, 0x18, 0x18, 0x18, 0x0f},
- {0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18},
- {0x00, 0x00, 0xf0, 0x18, 0x18, 0x18, 0x1c, 0x0f, 0x1c, 0x18, 0x18, 0x18, 0xf0},
- {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x8f, 0xf1, 0x60, 0x00, 0x00, 0x00}
+ {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0x18, 0x18, 0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18},
+ {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x36, 0x36, 0x36},
+ {0x00, 0x00, 0x00, 0x66, 0x66, 0xff, 0x66, 0x66, 0xff, 0x66, 0x66, 0x00, 0x00},
+ {0x00, 0x00, 0x18, 0x7e, 0xff, 0x1b, 0x1f, 0x7e, 0xf8, 0xd8, 0xff, 0x7e, 0x18},
+ {0x00, 0x00, 0x0e, 0x1b, 0xdb, 0x6e, 0x30, 0x18, 0x0c, 0x76, 0xdb, 0xd8, 0x70},
+ {0x00, 0x00, 0x7f, 0xc6, 0xcf, 0xd8, 0x70, 0x70, 0xd8, 0xcc, 0xcc, 0x6c, 0x38},
+ {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x1c, 0x0c, 0x0e},
+ {0x00, 0x00, 0x0c, 0x18, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x18, 0x0c},
+ {0x00, 0x00, 0x30, 0x18, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x18, 0x30},
+ {0x00, 0x00, 0x00, 0x00, 0x99, 0x5a, 0x3c, 0xff, 0x3c, 0x5a, 0x99, 0x00, 0x00},
+ {0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0xff, 0xff, 0x18, 0x18, 0x18, 0x00, 0x00},
+ {0x00, 0x00, 0x30, 0x18, 0x1c, 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0x00, 0x38, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x60, 0x60, 0x30, 0x30, 0x18, 0x18, 0x0c, 0x0c, 0x06, 0x06, 0x03, 0x03},
+ {0x00, 0x00, 0x3c, 0x66, 0xc3, 0xe3, 0xf3, 0xdb, 0xcf, 0xc7, 0xc3, 0x66, 0x3c},
+ {0x00, 0x00, 0x7e, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x78, 0x38, 0x18},
+ {0x00, 0x00, 0xff, 0xc0, 0xc0, 0x60, 0x30, 0x18, 0x0c, 0x06, 0x03, 0xe7, 0x7e},
+ {0x00, 0x00, 0x7e, 0xe7, 0x03, 0x03, 0x07, 0x7e, 0x07, 0x03, 0x03, 0xe7, 0x7e},
+ {0x00, 0x00, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0xff, 0xcc, 0x6c, 0x3c, 0x1c, 0x0c},
+ {0x00, 0x00, 0x7e, 0xe7, 0x03, 0x03, 0x07, 0xfe, 0xc0, 0xc0, 0xc0, 0xc0, 0xff},
+ {0x00, 0x00, 0x7e, 0xe7, 0xc3, 0xc3, 0xc7, 0xfe, 0xc0, 0xc0, 0xc0, 0xe7, 0x7e},
+ {0x00, 0x00, 0x30, 0x30, 0x30, 0x30, 0x18, 0x0c, 0x06, 0x03, 0x03, 0x03, 0xff},
+ {0x00, 0x00, 0x7e, 0xe7, 0xc3, 0xc3, 0xe7, 0x7e, 0xe7, 0xc3, 0xc3, 0xe7, 0x7e},
+ {0x00, 0x00, 0x7e, 0xe7, 0x03, 0x03, 0x03, 0x7f, 0xe7, 0xc3, 0xc3, 0xe7, 0x7e},
+ {0x00, 0x00, 0x00, 0x38, 0x38, 0x00, 0x00, 0x38, 0x38, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0x30, 0x18, 0x1c, 0x1c, 0x00, 0x00, 0x1c, 0x1c, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0x06, 0x0c, 0x18, 0x30, 0x60, 0xc0, 0x60, 0x30, 0x18, 0x0c, 0x06},
+ {0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00},
+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, 0xc3},
+ {0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x3c, 0x3c, 0x66, 0x66, 0xc3},
+ {0x00, 0x00, 0xff, 0xc0, 0xc0, 0x60, 0x30, 0x7e, 0x0c, 0x06, 0x03, 0x03, 0xff},
+ {0x00, 0x00, 0x3c, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x3c},
+ {0x00, 0x03, 0x03, 0x06, 0x06, 0x0c, 0x0c, 0x18, 0x18, 0x30, 0x30, 0x60, 0x60},
+ {0x00, 0x00, 0x3c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x3c},
+ {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc3, 0x66, 0x3c, 0x18},
+ {0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x38, 0x30, 0x70},
+ {0x00, 0x00, 0x7f, 0xc3, 0xc3, 0x7f, 0x03, 0xc3, 0x7e, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0xfe, 0xc3, 0xc3, 0xc3, 0xc3, 0xfe, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0},
+ {0x00, 0x00, 0x7e, 0xc3, 0xc0, 0xc0, 0xc0, 0xc3, 0x7e, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0x7f, 0xc3, 0xc3, 0xc3, 0xc3, 0x7f, 0x03, 0x03, 0x03, 0x03, 0x03},
+ {0x00, 0x00, 0x7f, 0xc0, 0xc0, 0xfe, 0xc3, 0xc3, 0x7e, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0x30, 0x30, 0x30, 0x30, 0x30, 0xfc, 0x30, 0x30, 0x30, 0x33, 0x1e},
+ {0x7e, 0xc3, 0x03, 0x03, 0x7f, 0xc3, 0xc3, 0xc3, 0x7e, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0xc3, 0xc3, 0xc3, 0xc3, 0xc3, 0xc3, 0xfe, 0xc0, 0xc0, 0xc0, 0xc0},
+ {0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, 0x00, 0x18, 0x00},
+ {0x38, 0x6c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x0c, 0x00, 0x00, 0x0c, 0x00},
+ {0x00, 0x00, 0xc6, 0xcc, 0xf8, 0xf0, 0xd8, 0xcc, 0xc6, 0xc0, 0xc0, 0xc0, 0xc0},
+ {0x00, 0x00, 0x7e, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x78},
+ {0x00, 0x00, 0xdb, 0xdb, 0xdb, 0xdb, 0xdb, 0xdb, 0xfe, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xfc, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0x7c, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0x7c, 0x00, 0x00, 0x00, 0x00},
+ {0xc0, 0xc0, 0xc0, 0xfe, 0xc3, 0xc3, 0xc3, 0xc3, 0xfe, 0x00, 0x00, 0x00, 0x00},
+ {0x03, 0x03, 0x03, 0x7f, 0xc3, 0xc3, 0xc3, 0xc3, 0x7f, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xe0, 0xfe, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0xfe, 0x03, 0x03, 0x7e, 0xc0, 0xc0, 0x7f, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0x1c, 0x36, 0x30, 0x30, 0x30, 0x30, 0xfc, 0x30, 0x30, 0x30, 0x00},
+ {0x00, 0x00, 0x7e, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0xc6, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0x18, 0x3c, 0x3c, 0x66, 0x66, 0xc3, 0xc3, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0xc3, 0xe7, 0xff, 0xdb, 0xc3, 0xc3, 0xc3, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0xc3, 0x66, 0x3c, 0x18, 0x3c, 0x66, 0xc3, 0x00, 0x00, 0x00, 0x00},
+ {0xc0, 0x60, 0x60, 0x30, 0x18, 0x3c, 0x66, 0x66, 0xc3, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0xff, 0x60, 0x30, 0x18, 0x0c, 0x06, 0xff, 0x00, 0x00, 0x00, 0x00},
+ {0x00, 0x00, 0x0f, 0x18, 0x18, 0x18, 0x38, 0xf0, 0x38, 0x18, 0x18, 0x18, 0x0f},
+ {0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18},
+ {0x00, 0x00, 0xf0, 0x18, 0x18, 0x18, 0x1c, 0x0f, 0x1c, 0x18, 0x18, 0x18, 0xf0},
+ {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x8f, 0xf1, 0x60, 0x00, 0x00, 0x00}
};
-static const char *s_vertexShaderSrc =
+static const char *s_vertexShaderSrc =
"uniform vec2 charSize;\n"
"ATTRIN vec2 rawpos;\n"
"ATTRIN vec2 tex0;\n"
@@ -121,7 +121,7 @@ static const char *s_vertexShaderSrc =
"void main(void) {\n"
" gl_Position = vec4(rawpos,0,1);\n"
" uv0 = tex0 * charSize;\n"
- "}\n";
+ "}\n";
static const char *s_fragmentShaderSrc =
"uniform sampler2D samp8;\n"
@@ -131,9 +131,9 @@ static const char *s_fragmentShaderSrc =
"void main(void) {\n"
" ocol0 = texture(samp8,uv0) * color;\n"
"}\n";
-
+
static SHADER s_shader;
-
+
RasterFont::RasterFont()
{
// generate the texture
@@ -253,16 +253,16 @@ void RasterFont::printMultilineText(const char *text, double start_x, double sta
glBindVertexArray(VAO);
glBindBuffer(GL_ARRAY_BUFFER, VBO);
glBufferData(GL_ARRAY_BUFFER, usage*sizeof(GLfloat), vertices, GL_STREAM_DRAW);
-
+
delete [] vertices;
s_shader.Bind();
-
+
if(color != cached_color) {
glUniform4f(uniform_color_id, GLfloat((color>>16)&0xff)/255.f,GLfloat((color>>8)&0xff)/255.f,GLfloat((color>>0)&0xff)/255.f,GLfloat((color>>24)&0xff)/255.f);
cached_color = color;
}
-
+
glActiveTexture(GL_TEXTURE0+8);
glDrawArrays(GL_TRIANGLES, 0, usage/4);
}
diff --git a/Source/Core/VideoBackends/OGL/Src/RasterFont.h b/Source/Core/VideoBackends/OGL/Src/RasterFont.h
index 97ad877082..7f3cff1414 100644
--- a/Source/Core/VideoBackends/OGL/Src/RasterFont.h
+++ b/Source/Core/VideoBackends/OGL/Src/RasterFont.h
@@ -15,7 +15,7 @@ public:
void printMultilineText(const char *text, double x, double y, double z, int bbWidth, int bbHeight, u32 color);
private:
-
+
u32 VBO;
u32 VAO;
u32 texture;
diff --git a/Source/Core/VideoBackends/OGL/Src/Render.cpp b/Source/Core/VideoBackends/OGL/Src/Render.cpp
index 4dca112031..63f8a3db49 100644
--- a/Source/Core/VideoBackends/OGL/Src/Render.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/Render.cpp
@@ -9,6 +9,7 @@
#include <vector>
#include <cmath>
#include <cstdio>
+#include <cinttypes>
#include "GLUtil.h"
#if defined(HAVE_WX) && HAVE_WX
@@ -33,7 +34,6 @@
#include "RasterFont.h"
#include "VertexShaderGen.h"
#include "DLCache.h"
-#include "PixelShaderManager.h"
#include "ProgramShaderCache.h"
#include "VertexShaderManager.h"
#include "VertexLoaderManager.h"
@@ -168,9 +168,9 @@ int GetNumMSAASamples(int MSAAMode)
default:
samples = 1;
}
-
+
if(samples <= g_ogl_config.max_samples) return samples;
-
+
// TODO: move this to InitBackendInfo
OSD::AddMessage(StringFromFormat("%d Anti Aliasing samples selected, but only %d supported by your GPU.", samples, g_ogl_config.max_samples), 10000);
return g_ogl_config.max_samples;
@@ -195,7 +195,7 @@ int GetNumMSAACoverageSamples(int MSAAMode)
samples = 0;
}
if(g_ogl_config.bSupportCoverageMSAA || samples == 0) return samples;
-
+
// TODO: move this to InitBackendInfo
OSD::AddMessage("CSAA Anti Aliasing isn't supported by your GPU.", 10000);
return 0;
@@ -279,7 +279,7 @@ void InitDriverInfo()
// Get the vendor first
if (svendor == "NVIDIA Corporation" && srenderer != "NVIDIA Tegra")
- vendor = DriverDetails::VENDOR_NVIDIA;
+ vendor = DriverDetails::VENDOR_NVIDIA;
else if (svendor == "ATI Technologies Inc." || svendor == "Advanced Micro Devices, Inc.")
vendor = DriverDetails::VENDOR_ATI;
else if (std::string::npos != sversion.find("Mesa"))
@@ -301,7 +301,7 @@ void InitDriverInfo()
vendor = DriverDetails::VENDOR_TEGRA;
else if (svendor == "Vivante Corporation")
vendor = DriverDetails::VENDOR_VIVANTE;
-
+
// Get device family and driver version...if we care about it
switch(vendor)
{
@@ -329,7 +329,7 @@ void InitDriverInfo()
driver = DriverDetails::DRIVER_I965;
else if(std::string::npos != srenderer.find("AMD") || std::string::npos != srenderer.find("ATI"))
driver = DriverDetails::DRIVER_R600;
-
+
int major = 0;
int minor = 0;
int release = 0;
@@ -361,7 +361,7 @@ Renderer::Renderer()
g_ogl_config.gl_renderer = (const char*)glGetString(GL_RENDERER);
g_ogl_config.gl_version = (const char*)glGetString(GL_VERSION);
g_ogl_config.glsl_version = (const char*)glGetString(GL_SHADING_LANGUAGE_VERSION);
-
+
InitDriverInfo();
// Init extension support.
@@ -371,21 +371,22 @@ Renderer::Renderer()
WARN_LOG(VIDEO, "Running the OpenGL ES 3 backend!");
g_Config.backend_info.bSupportsDualSourceBlend = false;
- g_Config.backend_info.bSupportsGLSLUBO = !DriverDetails::HasBug(DriverDetails::BUG_ANNIHILATEDUBOS);
- g_Config.backend_info.bSupportsPrimitiveRestart = true;
+ g_Config.backend_info.bSupportsGLSLUBO = !DriverDetails::HasBug(DriverDetails::BUG_ANNIHILATEDUBOS);
+ g_Config.backend_info.bSupportsPrimitiveRestart = true;
g_Config.backend_info.bSupportsEarlyZ = false;
-#ifdef ANDROID
- g_ogl_config.bSupportsGLSLCache = false;
+#ifdef ANDROID
+ g_ogl_config.bSupportsGLSLCache = false;
#else
- g_ogl_config.bSupportsGLSLCache = true;
+ g_ogl_config.bSupportsGLSLCache = true;
#endif
- g_ogl_config.bSupportsGLPinnedMemory = false;
- g_ogl_config.bSupportsGLSync = true;
- g_ogl_config.bSupportsGLBaseVertex = false;
+ g_ogl_config.bSupportsGLPinnedMemory = false;
+ g_ogl_config.bSupportsGLSync = true;
+ g_ogl_config.bSupportsGLBaseVertex = false;
g_ogl_config.bSupportCoverageMSAA = false; // XXX: GLES3 spec has MSAA
- g_ogl_config.bSupportSampleShading = false;
- g_ogl_config.bSupportOGL31 = false;
+ g_ogl_config.bSupportSampleShading = false;
+ g_ogl_config.bSupportOGL31 = false;
+ g_ogl_config.bSupportViewportFloat = false;
if (DriverDetails::HasBug(DriverDetails::BUG_ISTEGRA) || DriverDetails::HasBug(DriverDetails::BUG_ISPOWERVR))
g_ogl_config.eSupportedGLSLVersion = GLSLES2;
else
@@ -399,7 +400,7 @@ Renderer::Renderer()
PanicAlert("glewInit() failed! Does your video card support OpenGL 2.x?");
return;
}
-
+
// check for the max vertex attributes
GLint numvertexattribs = 0;
glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &numvertexattribs);
@@ -420,7 +421,7 @@ Renderer::Renderer()
max_texture_size);
bSuccess = false;
}
-
+
#if defined(_DEBUG) || defined(DEBUGFAST)
if (GLEW_ARB_debug_output)
{
@@ -454,7 +455,7 @@ Renderer::Renderer()
"GPU: Does your video card support OpenGL 3.0?");
bSuccess = false;
}
-
+
if (!GLEW_ARB_map_buffer_range)
{
// ogl3 buffer mapping for better streaming support.
@@ -473,7 +474,7 @@ Renderer::Renderer()
"Please report this issue, then there will be a workaround");
bSuccess = false;
}
-
+
// OpenGL 3 doesn't provide GLES like float functions for depth.
// They are in core in OpenGL 4.1, so almost every driver should support them.
// But for the oldest ones, we provide fallbacks to the old double functions.
@@ -481,14 +482,14 @@ Renderer::Renderer()
{
glDepthRangef = DepthRangef;
glClearDepthf = ClearDepthf;
-
+
}
-
+
g_Config.backend_info.bSupportsDualSourceBlend = GLEW_ARB_blend_func_extended;
g_Config.backend_info.bSupportsGLSLUBO = GLEW_ARB_uniform_buffer_object;
g_Config.backend_info.bSupportsPrimitiveRestart = GLEW_VERSION_3_1 || GLEW_NV_primitive_restart;
g_Config.backend_info.bSupportsEarlyZ = GLEW_ARB_shader_image_load_store;
-
+
g_ogl_config.bSupportsGLSLCache = GLEW_ARB_get_program_binary;
g_ogl_config.bSupportsGLPinnedMemory = GLEW_AMD_pinned_memory;
g_ogl_config.bSupportsGLSync = GLEW_ARB_sync;
@@ -496,6 +497,7 @@ Renderer::Renderer()
g_ogl_config.bSupportCoverageMSAA = GLEW_NV_framebuffer_multisample_coverage;
g_ogl_config.bSupportSampleShading = GLEW_ARB_sample_shading;
g_ogl_config.bSupportOGL31 = GLEW_VERSION_3_1;
+ g_ogl_config.bSupportViewportFloat = GLEW_ARB_viewport_array;
if(strstr(g_ogl_config.glsl_version, "1.00") || strstr(g_ogl_config.glsl_version, "1.10") || strstr(g_ogl_config.glsl_version, "1.20"))
{
@@ -519,17 +521,30 @@ Renderer::Renderer()
g_ogl_config.eSupportedGLSLVersion = GLSL_150;
}
#endif
+ int samples;
+ glGetIntegerv(GL_SAMPLES, &samples);
+ if(samples > 1)
+ {
+ // MSAA on default framebuffer isn't working because of glBlitFramebuffer.
+ // It also isn't useful as we don't render anything to the default framebuffer.
+ // We also try to get a non-msaa fb, so this only happens when forced by the driver.
+ PanicAlert("MSAA on default framebuffer isn't supported.\n"
+ "Please avoid forcing dolphin to use MSAA by the driver.\n"
+ "%d samples on default framebuffer found.", samples);
+ bSuccess = false;
+ }
+
if (!bSuccess)
{
// Not all needed extensions are supported, so we have to stop here.
// Else some of the next calls might crash.
return;
}
-
+
glGetIntegerv(GL_MAX_SAMPLES, &g_ogl_config.max_samples);
- if(g_ogl_config.max_samples < 1)
+ if(g_ogl_config.max_samples < 1)
g_ogl_config.max_samples = 1;
-
+
if(g_Config.backend_info.bSupportsGLSLUBO && DriverDetails::HasBug(DriverDetails::BUG_BROKENUBO))
{
g_Config.backend_info.bSupportsGLSLUBO = false;
@@ -537,14 +552,14 @@ Renderer::Renderer()
OSD::AddMessage("Major performance warning: Buggy GPU driver detected.", 20000);
OSD::AddMessage("Please either install the closed-source GPU driver or update your Mesa 3D version.", 20000);
}
-
+
UpdateActiveConfig();
OSD::AddMessage(StringFromFormat("Video Info: %s, %s, %s",
g_ogl_config.gl_vendor,
g_ogl_config.gl_renderer,
g_ogl_config.gl_version), 5000);
-
+
WARN_LOG(VIDEO,"Missing OGL Extensions: %s%s%s%s%s%s%s%s%s%s",
g_ActiveConfig.backend_info.bSupportsDualSourceBlend ? "" : "DualSourceBlend ",
g_ActiveConfig.backend_info.bSupportsGLSLUBO ? "" : "UniformBuffer ",
@@ -557,12 +572,12 @@ Renderer::Renderer()
g_ogl_config.bSupportCoverageMSAA ? "" : "CSAA ",
g_ogl_config.bSupportSampleShading ? "" : "SSAA "
);
-
+
s_LastMultisampleMode = g_ActiveConfig.iMultisampleMode;
s_MSAASamples = GetNumMSAASamples(s_LastMultisampleMode);
s_MSAACoverageSamples = GetNumMSAACoverageSamples(s_LastMultisampleMode);
ApplySSAASettings();
-
+
// Decide framebuffer size
s_backbuffer_width = (int)GLInterface->GetBackBufferWidth();
s_backbuffer_height = (int)GLInterface->GetBackBufferHeight();
@@ -583,7 +598,7 @@ Renderer::Renderer()
// Because of the fixed framebuffer size we need to disable the resolution
// options while running
g_Config.bRunning = true;
-
+
glStencilFunc(GL_ALWAYS, 0, 0);
glBlendFunc(GL_ONE, GL_ONE);
@@ -635,14 +650,14 @@ Renderer::~Renderer()
void Renderer::Shutdown()
{
delete g_framebuffer_manager;
-
+
g_Config.bRunning = false;
UpdateActiveConfig();
-
+
glDeleteBuffers(1, &s_ShowEFBCopyRegions_VBO);
glDeleteVertexArrays(1, &s_ShowEFBCopyRegions_VAO);
s_ShowEFBCopyRegions_VBO = 0;
-
+
delete s_pfont;
s_pfont = 0;
s_ShowEFBCopyRegions.Destroy();
@@ -653,10 +668,10 @@ void Renderer::Init()
// Initialize the FramebufferManager
g_framebuffer_manager = new FramebufferManager(s_target_width, s_target_height,
s_MSAASamples, s_MSAACoverageSamples);
-
+
s_pfont = new RasterFont();
-
- ProgramShaderCache::CompileShader(s_ShowEFBCopyRegions,
+
+ ProgramShaderCache::CompileShader(s_ShowEFBCopyRegions,
"ATTRIN vec2 rawpos;\n"
"ATTRIN vec3 color0;\n"
"VARYOUT vec4 c;\n"
@@ -669,7 +684,7 @@ void Renderer::Init()
"void main(void) {\n"
" ocol0 = c;\n"
"}\n");
-
+
// creating buffers
glGenBuffers(1, &s_ShowEFBCopyRegions_VBO);
glGenVertexArrays(1, &s_ShowEFBCopyRegions_VAO);
@@ -695,7 +710,7 @@ void Renderer::DrawDebugInfo()
p+=sprintf(p, "FPS: %d\n", s_fps);
if (SConfig::GetInstance().m_ShowLag)
- p+=sprintf(p, "Lag: %llu\n", Movie::g_currentLagCount);
+ p+=sprintf(p, "Lag: %" PRIu64 "\n", Movie::g_currentLagCount);
if (g_ActiveConfig.bShowInputDisplay)
p+=sprintf(p, "%s", Movie::GetInputDisplay().c_str());
@@ -715,7 +730,7 @@ void Renderer::DrawDebugInfo()
// Draw EFB copy regions rectangles
int a = 0;
GLfloat color[3] = {0.0f, 1.0f, 1.0f};
-
+
for (std::vector<EFBRectangle>::const_iterator it = stats.efb_regions.begin();
it != stats.efb_regions.end(); ++it)
{
@@ -731,78 +746,78 @@ void Renderer::DrawDebugInfo()
Vertices[a++] = color[0];
Vertices[a++] = color[1];
Vertices[a++] = color[2];
-
+
Vertices[a++] = x2;
Vertices[a++] = y;
Vertices[a++] = color[0];
Vertices[a++] = color[1];
Vertices[a++] = color[2];
-
-
+
+
Vertices[a++] = x2;
Vertices[a++] = y;
Vertices[a++] = color[0];
Vertices[a++] = color[1];
Vertices[a++] = color[2];
-
+
Vertices[a++] = x2;
Vertices[a++] = y2;
Vertices[a++] = color[0];
Vertices[a++] = color[1];
Vertices[a++] = color[2];
-
-
+
+
Vertices[a++] = x2;
Vertices[a++] = y2;
Vertices[a++] = color[0];
Vertices[a++] = color[1];
Vertices[a++] = color[2];
-
+
Vertices[a++] = x;
Vertices[a++] = y2;
Vertices[a++] = color[0];
Vertices[a++] = color[1];
Vertices[a++] = color[2];
-
-
+
+
Vertices[a++] = x;
Vertices[a++] = y2;
Vertices[a++] = color[0];
Vertices[a++] = color[1];
Vertices[a++] = color[2];
-
+
Vertices[a++] = x;
Vertices[a++] = y;
Vertices[a++] = color[0];
Vertices[a++] = color[1];
Vertices[a++] = color[2];
-
-
+
+
Vertices[a++] = x;
Vertices[a++] = y;
Vertices[a++] = color[0];
Vertices[a++] = color[1];
Vertices[a++] = color[2];
-
+
Vertices[a++] = x2;
Vertices[a++] = y2;
Vertices[a++] = color[0];
Vertices[a++] = color[1];
Vertices[a++] = color[2];
-
-
+
+
Vertices[a++] = x2;
Vertices[a++] = y;
Vertices[a++] = color[0];
Vertices[a++] = color[1];
Vertices[a++] = color[2];
-
+
Vertices[a++] = x;
Vertices[a++] = y2;
Vertices[a++] = color[0];
Vertices[a++] = color[1];
Vertices[a++] = color[2];
-
+
// TO DO: build something nicer here
GLfloat temp = color[0];
color[0] = color[1];
@@ -810,7 +825,7 @@ void Renderer::DrawDebugInfo()
color[2] = temp;
}
glUnmapBuffer(GL_ARRAY_BUFFER);
-
+
s_ShowEFBCopyRegions.Bind();
glBindVertexArray( s_ShowEFBCopyRegions_VAO );
glDrawArrays(GL_LINES, 0, stats.efb_regions.size() * 2*6);
@@ -972,11 +987,11 @@ u32 Renderer::AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data)
if (s_MSAASamples > 1)
{
g_renderer->ResetAPIState();
-
+
// Resolve our rectangle.
FramebufferManager::GetEFBDepthTexture(efbPixelRc);
glBindFramebuffer(GL_READ_FRAMEBUFFER, FramebufferManager::GetResolvedFramebuffer());
-
+
g_renderer->RestoreAPIState();
}
@@ -1025,11 +1040,11 @@ u32 Renderer::AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data)
if (s_MSAASamples > 1)
{
g_renderer->ResetAPIState();
-
+
// Resolve our rectangle.
FramebufferManager::GetEFBColorTexture(efbPixelRc);
glBindFramebuffer(GL_READ_FRAMEBUFFER, FramebufferManager::GetResolvedFramebuffer());
-
+
g_renderer->RestoreAPIState();
}
@@ -1091,7 +1106,7 @@ u32 Renderer::AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data)
}
// Called from VertexShaderManager
-void Renderer::UpdateViewport(Matrix44& vpCorrection)
+void Renderer::UpdateViewport()
{
// reversed gxsetviewport(xorig, yorig, width, height, nearz, farz)
// [0] = width/2
@@ -1105,12 +1120,12 @@ void Renderer::UpdateViewport(Matrix44& vpCorrection)
int scissorYOff = bpmem.scissorOffset.y * 2;
// TODO: ceil, floor or just cast to int?
- int X = EFBToScaledX((int)ceil(xfregs.viewport.xOrig - xfregs.viewport.wd - (float)scissorXOff));
- int Y = EFBToScaledY((int)ceil((float)EFB_HEIGHT - xfregs.viewport.yOrig + xfregs.viewport.ht + (float)scissorYOff));
- int Width = EFBToScaledX((int)ceil(2.0f * xfregs.viewport.wd));
- int Height = EFBToScaledY((int)ceil(-2.0f * xfregs.viewport.ht));
- double GLNear = (xfregs.viewport.farZ - xfregs.viewport.zRange) / 16777216.0f;
- double GLFar = xfregs.viewport.farZ / 16777216.0f;
+ float X = EFBToScaledXf(xfregs.viewport.xOrig - xfregs.viewport.wd - (float)scissorXOff);
+ float Y = EFBToScaledYf((float)EFB_HEIGHT - xfregs.viewport.yOrig + xfregs.viewport.ht + (float)scissorYOff);
+ float Width = EFBToScaledXf(2.0f * xfregs.viewport.wd);
+ float Height = EFBToScaledYf(-2.0f * xfregs.viewport.ht);
+ float GLNear = (xfregs.viewport.farZ - xfregs.viewport.zRange) / 16777216.0f;
+ float GLFar = xfregs.viewport.farZ / 16777216.0f;
if (Width < 0)
{
X += Width;
@@ -1122,11 +1137,15 @@ void Renderer::UpdateViewport(Matrix44& vpCorrection)
Height *= -1;
}
- // OpenGL does not require any viewport correct
- Matrix44::LoadIdentity(vpCorrection);
-
// Update the view port
- glViewport(X, Y, Width, Height);
+ if(g_ogl_config.bSupportViewportFloat)
+ {
+ glViewportIndexedf(0, X, Y, Width, Height);
+ }
+ else
+ {
+ glViewport(ceil(X), ceil(Y), ceil(Width), ceil(Height));
+ }
glDepthRangef(GLNear, GLFar);
}
@@ -1182,10 +1201,10 @@ void Renderer::SetBlendMode(bool forceUpdate)
// Our render target always uses an alpha channel, so we need to override the blend functions to assume a destination alpha of 1 if the render target isn't supposed to have an alpha channel
// Example: D3DBLEND_DESTALPHA needs to be D3DBLEND_ONE since the result without an alpha channel is assumed to always be 1.
bool target_has_alpha = bpmem.zcontrol.pixel_format == PIXELFMT_RGBA6_Z24;
-
+
bool useDstAlpha = !g_ActiveConfig.bDstAlphaPass && bpmem.dstalpha.enable && bpmem.blendmode.alphaupdate && target_has_alpha;
bool useDualSource = useDstAlpha && g_ActiveConfig.backend_info.bSupportsDualSourceBlend;
-
+
const GLenum glSrcFactors[8] =
{
GL_ZERO,
@@ -1239,7 +1258,7 @@ void Renderer::SetBlendMode(bool forceUpdate)
// subtract enable change
GLenum equation = newval & 4 ? GL_FUNC_REVERSE_SUBTRACT : GL_FUNC_ADD;
GLenum equationAlpha = useDualSource ? GL_FUNC_ADD : equation;
-
+
glBlendEquationSeparate(equation, equationAlpha);
}
@@ -1255,7 +1274,7 @@ void Renderer::SetBlendMode(bool forceUpdate)
{
srcidx = GX_BL_ONE;
dstidx = GX_BL_ZERO;
- }
+ }
else
{
// we can't use GL_DST_COLOR or GL_ONE_MINUS_DST_COLOR for source in alpha channel so use their alpha equivalent instead
@@ -1265,7 +1284,7 @@ void Renderer::SetBlendMode(bool forceUpdate)
// we can't use GL_SRC_COLOR or GL_ONE_MINUS_SRC_COLOR for destination in alpha channel so use their alpha equivalent instead
if (dstidx == GX_BL_SRCCLR) dstidx = GX_BL_SRCALPHA;
if (dstidx == GX_BL_INVSRCCLR) dstidx = GX_BL_INVSRCALPHA;
- }
+ }
GLenum srcFactorAlpha = glSrcFactors[srcidx];
GLenum dstFactorAlpha = glDestFactors[dstidx];
// blend RGB change
@@ -1314,7 +1333,7 @@ void Renderer::Swap(u32 xfbAddr, u32 fbWidth, u32 fbHeight,const EFBRectangle& r
int tmp = flipped_trc.top;
flipped_trc.top = flipped_trc.bottom;
flipped_trc.bottom = tmp;
-
+
GL_REPORT_ERRORD();
// Copy the framebuffer to screen.
@@ -1325,7 +1344,7 @@ void Renderer::Swap(u32 xfbAddr, u32 fbWidth, u32 fbHeight,const EFBRectangle& r
{
// Render to the real/postprocessing buffer now.
PostProcessing::BindTargetFramebuffer();
-
+
// draw each xfb source
glBindFramebuffer(GL_READ_FRAMEBUFFER, FramebufferManager::GetXFBFramebuffer());
@@ -1348,12 +1367,12 @@ void Renderer::Swap(u32 xfbAddr, u32 fbWidth, u32 fbHeight,const EFBRectangle& r
int xfbHeight = xfbSource->srcHeight;
int xfbWidth = xfbSource->srcWidth;
int hOffset = ((s32)xfbSource->srcAddr - (s32)xfbAddr) / ((s32)fbWidth * 2);
-
+
drawRc.top = flipped_trc.top - hOffset * flipped_trc.GetHeight() / fbHeight;
drawRc.bottom = flipped_trc.top - (hOffset + xfbHeight) * flipped_trc.GetHeight() / fbHeight;
drawRc.left = flipped_trc.left + (flipped_trc.GetWidth() - xfbWidth * flipped_trc.GetWidth() / fbWidth)/2;
drawRc.right = flipped_trc.left + (flipped_trc.GetWidth() + xfbWidth * flipped_trc.GetWidth() / fbWidth)/2;
-
+
// The following code disables auto stretch. Kept for reference.
// scale draw area for a 1 to 1 pixel mapping with the draw target
//float vScale = (float)fbHeight / (float)flipped_trc.GetHeight();
@@ -1378,22 +1397,22 @@ void Renderer::Swap(u32 xfbAddr, u32 fbWidth, u32 fbHeight,const EFBRectangle& r
else
{
TargetRectangle targetRc = ConvertEFBRectangle(rc);
-
+
// for msaa mode, we must resolve the efb content to non-msaa
FramebufferManager::ResolveAndGetRenderTarget(rc);
-
+
// Render to the real/postprocessing buffer now. (resolve have changed this in msaa mode)
PostProcessing::BindTargetFramebuffer();
-
+
// always the non-msaa fbo
GLuint fb = s_MSAASamples>1?FramebufferManager::GetResolvedFramebuffer():FramebufferManager::GetEFBFramebuffer();
-
+
glBindFramebuffer(GL_READ_FRAMEBUFFER, fb);
glBlitFramebuffer(targetRc.left, targetRc.bottom, targetRc.right, targetRc.top,
flipped_trc.left, flipped_trc.bottom, flipped_trc.right, flipped_trc.top,
GL_COLOR_BUFFER_BIT, GL_LINEAR);
}
-
+
PostProcessing::BlitToScreen();
glBindFramebuffer(GL_READ_FRAMEBUFFER, 0);
@@ -1447,7 +1466,7 @@ void Renderer::Swap(u32 xfbAddr, u32 fbWidth, u32 fbHeight,const EFBRectangle& r
#ifndef _WIN32
FlipImageData(&frame_data[0], w, h);
#endif
-
+
AVIDump::AddFrame(&frame_data[0], w, h);
}
@@ -1546,7 +1565,7 @@ void Renderer::Swap(u32 xfbAddr, u32 fbWidth, u32 fbHeight,const EFBRectangle& r
s_MSAASamples = GetNumMSAASamples(s_LastMultisampleMode);
s_MSAACoverageSamples = GetNumMSAACoverageSamples(s_LastMultisampleMode);
ApplySSAASettings();
-
+
delete g_framebuffer_manager;
g_framebuffer_manager = new FramebufferManager(s_target_width, s_target_height,
s_MSAASamples, s_MSAACoverageSamples);
@@ -1655,16 +1674,16 @@ void Renderer::RestoreAPIState()
SetDepthMode();
SetBlendMode(true);
SetLogicOpMode();
- VertexShaderManager::SetViewportChanged();
+ UpdateViewport();
#ifndef USE_GLES3
glPolygonMode(GL_FRONT_AND_BACK, g_ActiveConfig.bWireFrame ? GL_LINE : GL_FILL);
#endif
-
+
VertexManager *vm = (OGL::VertexManager*)g_vertex_manager;
glBindBuffer(GL_ARRAY_BUFFER, vm->m_vertex_buffers);
vm->m_last_vao = 0;
-
+
TextureCache::SetStage();
}
@@ -1772,7 +1791,7 @@ void Renderer::SetSamplerState(int stage, int texindex)
auto const& tex = bpmem.tex[texindex];
auto const& tm0 = tex.texMode0[stage];
auto const& tm1 = tex.texMode1[stage];
-
+
g_sampler_cache->SetSamplerState((texindex * 4) + stage, tm0, tm1);
}
diff --git a/Source/Core/VideoBackends/OGL/Src/Render.h b/Source/Core/VideoBackends/OGL/Src/Render.h
index 8c6a8ca8f8..9b4838ee25 100644
--- a/Source/Core/VideoBackends/OGL/Src/Render.h
+++ b/Source/Core/VideoBackends/OGL/Src/Render.h
@@ -27,12 +27,13 @@ extern struct VideoConfig {
bool bSupportSampleShading;
GLSL_VERSION eSupportedGLSLVersion;
bool bSupportOGL31;
-
+ bool bSupportViewportFloat;
+
const char *gl_vendor;
const char *gl_renderer;
const char* gl_version;
const char* glsl_version;
-
+
s32 max_samples;
} g_ogl_config;
@@ -41,43 +42,43 @@ class Renderer : public ::Renderer
public:
Renderer();
~Renderer();
-
+
static void Init();
static void Shutdown();
- void SetColorMask();
- void SetBlendMode(bool forceUpdate);
- void SetScissorRect(const TargetRectangle& rc);
- void SetGenerationMode();
- void SetDepthMode();
- void SetLogicOpMode();
- void SetDitherMode();
- void SetLineWidth();
- void SetSamplerState(int stage,int texindex);
- void SetInterlacingMode();
+ void SetColorMask() override;
+ void SetBlendMode(bool forceUpdate) override;
+ void SetScissorRect(const TargetRectangle& rc) override;
+ void SetGenerationMode() override;
+ void SetDepthMode() override;
+ void SetLogicOpMode() override;
+ void SetDitherMode() override;
+ void SetLineWidth() override;
+ void SetSamplerState(int stage,int texindex) override;
+ void SetInterlacingMode() override;
// TODO: Implement and use these
- void ApplyState(bool bUseDstAlpha) {}
- void RestoreState() {}
+ void ApplyState(bool bUseDstAlpha) override {}
+ void RestoreState() override {}
- void RenderText(const char* pstr, int left, int top, u32 color);
+ void RenderText(const char* pstr, int left, int top, u32 color) override;
void DrawDebugInfo();
void FlipImageData(u8 *data, int w, int h);
- u32 AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data);
+ u32 AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data) override;
- void ResetAPIState();
- void RestoreAPIState();
+ void ResetAPIState() override;
+ void RestoreAPIState() override;
- TargetRectangle ConvertEFBRectangle(const EFBRectangle& rc);
+ TargetRectangle ConvertEFBRectangle(const EFBRectangle& rc) override;
- void Swap(u32 xfbAddr, u32 fbWidth, u32 fbHeight, const EFBRectangle& rc,float Gamma);
+ void Swap(u32 xfbAddr, u32 fbWidth, u32 fbHeight, const EFBRectangle& rc,float Gamma) override;
- void ClearScreen(const EFBRectangle& rc, bool colorEnable, bool alphaEnable, bool zEnable, u32 color, u32 z);
+ void ClearScreen(const EFBRectangle& rc, bool colorEnable, bool alphaEnable, bool zEnable, u32 color, u32 z) override;
- void ReinterpretPixelData(unsigned int convtype);
+ void ReinterpretPixelData(unsigned int convtype) override;
- void UpdateViewport(Matrix44& vpCorrection);
+ void UpdateViewport() override;
bool SaveScreenshot(const std::string &filename, const TargetRectangle &rc);
diff --git a/Source/Core/VideoBackends/OGL/Src/SamplerCache.cpp b/Source/Core/VideoBackends/OGL/Src/SamplerCache.cpp
index 713b0e21fa..8419777fae 100644
--- a/Source/Core/VideoBackends/OGL/Src/SamplerCache.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/SamplerCache.cpp
@@ -30,18 +30,18 @@ void SamplerCache::SetSamplerState(int stage, const TexMode0& tm0, const TexMode
m_last_max_anisotropy = g_ActiveConfig.iMaxAnisotropy;
Clear();
}
-
+
Params params(tm0, tm1);
-
+
// take equivalent forced linear when bForceFiltering
if (g_ActiveConfig.bForceFiltering)
{
params.tm0.min_filter |= 0x4;
params.tm0.mag_filter |= 0x1;
}
-
+
// TODO: Should keep a circular buffer for each stage of recently used samplers.
-
+
auto& active_sampler = m_active_samplers[stage];
if (active_sampler.first != params || !active_sampler.second.sampler_id)
{
@@ -60,11 +60,11 @@ auto SamplerCache::GetEntry(const Params& params) -> Value&
// Sampler not found in cache, create it.
glGenSamplers(1, &val.sampler_id);
SetParameters(val.sampler_id, params);
-
+
// TODO: Maybe kill old samplers if the cache gets huge. It doesn't seem to get huge though.
//ERROR_LOG(VIDEO, "Sampler cache size is now %ld.", m_cache.size());
}
-
+
return val;
}
@@ -81,7 +81,7 @@ void SamplerCache::SetParameters(GLuint sampler_id, const Params& params)
GL_LINEAR_MIPMAP_LINEAR,
GL_LINEAR,
};
-
+
static const GLint wrap_settings[4] =
{
GL_CLAMP_TO_EDGE,
@@ -89,7 +89,7 @@ void SamplerCache::SetParameters(GLuint sampler_id, const Params& params)
GL_MIRRORED_REPEAT,
GL_REPEAT,
};
-
+
auto& tm0 = params.tm0;
auto& tm1 = params.tm1;
@@ -98,7 +98,7 @@ void SamplerCache::SetParameters(GLuint sampler_id, const Params& params)
glSamplerParameteri(sampler_id, GL_TEXTURE_WRAP_S, wrap_settings[tm0.wrap_s]);
glSamplerParameteri(sampler_id, GL_TEXTURE_WRAP_T, wrap_settings[tm0.wrap_t]);
-
+
glSamplerParameterf(sampler_id, GL_TEXTURE_MIN_LOD, tm1.min_lod / 16.f);
glSamplerParameterf(sampler_id, GL_TEXTURE_MAX_LOD, tm1.max_lod / 16.f);
@@ -112,9 +112,9 @@ void SamplerCache::SetParameters(GLuint sampler_id, const Params& params)
void SamplerCache::Clear()
{
- for (auto it = m_cache.begin(); it != m_cache.end(); ++it)
+ for (auto& p : m_cache)
{
- glDeleteSamplers(1, &it->second.sampler_id);
+ glDeleteSamplers(1, &p.second.sampler_id);
}
m_cache.clear();
}
diff --git a/Source/Core/VideoBackends/OGL/Src/SamplerCache.h b/Source/Core/VideoBackends/OGL/Src/SamplerCache.h
index 81180d2a7a..4de716b27d 100644
--- a/Source/Core/VideoBackends/OGL/Src/SamplerCache.h
+++ b/Source/Core/VideoBackends/OGL/Src/SamplerCache.h
@@ -15,10 +15,10 @@ class SamplerCache : NonCopyable
public:
SamplerCache();
~SamplerCache();
-
+
void SetSamplerState(int stage, const TexMode0& tm0, const TexMode1& tm1);
void Clear();
-
+
private:
struct Params
{
@@ -29,47 +29,47 @@ private:
TexMode0 tm0;
TexMode1 tm1;
};
-
+
u64 hex;
};
-
+
Params()
: hex()
{}
-
+
Params(const TexMode0& _tm0, const TexMode1& _tm1)
: tm0(_tm0)
, tm1(_tm1)
{
static_assert(sizeof(Params) == 8, "Assuming I can treat this as a 64bit int.");
}
-
+
bool operator<(const Params& other) const
{
return hex < other.hex;
}
-
+
bool operator!=(const Params& other) const
{
return hex != other.hex;
}
};
-
+
struct Value
{
Value()
: sampler_id()
{}
-
+
GLuint sampler_id;
};
-
+
void SetParameters(GLuint sampler_id, const Params& params);
Value& GetEntry(const Params& params);
std::map<Params, Value> m_cache;
std::pair<Params, Value> m_active_samplers[8];
-
+
int m_last_max_anisotropy;
};
diff --git a/Source/Core/VideoBackends/OGL/Src/StreamBuffer.cpp b/Source/Core/VideoBackends/OGL/Src/StreamBuffer.cpp
index 59d8a1b3ca..9826033098 100644
--- a/Source/Core/VideoBackends/OGL/Src/StreamBuffer.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/StreamBuffer.cpp
@@ -20,9 +20,9 @@ StreamBuffer::StreamBuffer(u32 type, size_t size, StreamType uploadType)
: m_uploadtype(uploadType), m_buffertype(type), m_size(size)
{
glGenBuffers(1, &m_buffer);
-
+
bool nvidia = !strcmp(g_ogl_config.gl_vendor, "NVIDIA Corporation");
-
+
if(m_uploadtype & STREAM_DETECT)
{
// TODO: move this to InitBackendInfo
@@ -32,8 +32,8 @@ StreamBuffer::StreamBuffer(u32 type, size_t size, StreamType uploadType)
g_ActiveConfig.bHackedBufferUpload = false;
g_Config.bHackedBufferUpload = false;
}
-
- if(!g_ogl_config.bSupportsGLBaseVertex && (m_uploadtype & BUFFERSUBDATA)
+
+ if(!g_ogl_config.bSupportsGLBaseVertex && (m_uploadtype & BUFFERSUBDATA)
&& !DriverDetails::HasBug(DriverDetails::BUG_BROKENBUFFERSTREAM))
m_uploadtype = BUFFERSUBDATA;
else if(!g_ogl_config.bSupportsGLBaseVertex && (m_uploadtype & BUFFERDATA))
@@ -46,7 +46,7 @@ StreamBuffer::StreamBuffer(u32 type, size_t size, StreamType uploadType)
m_uploadtype = BUFFERSUBDATA;
else if(g_ogl_config.bSupportsGLSync && (m_uploadtype & MAP_AND_SYNC))
m_uploadtype = MAP_AND_SYNC;
- else
+ else
m_uploadtype = MAP_AND_ORPHAN;
}
@@ -69,7 +69,7 @@ void StreamBuffer::Alloc ( size_t size, u32 stride )
m_iterator_aligned = m_iterator_aligned - (m_iterator_aligned % stride) + stride;
}
size_t iter_end = m_iterator_aligned + size;
-
+
switch(m_uploadtype) {
case MAP_AND_ORPHAN:
if(iter_end >= m_size) {
@@ -79,14 +79,14 @@ void StreamBuffer::Alloc ( size_t size, u32 stride )
break;
case MAP_AND_SYNC:
case PINNED_MEMORY:
-
+
// insert waiting slots for used memory
for(u32 i=SLOT(m_used_iterator); i<SLOT(m_iterator); i++)
{
fences[i] = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0);
}
m_used_iterator = m_iterator;
-
+
// wait for new slots to end of buffer
for(u32 i=SLOT(m_free_iterator)+1; i<=SLOT(iter_end) && i < SYNC_POINTS; i++)
{
@@ -94,18 +94,18 @@ void StreamBuffer::Alloc ( size_t size, u32 stride )
glDeleteSync(fences[i]);
}
m_free_iterator = iter_end;
-
+
// if buffer is full
if(iter_end >= m_size) {
-
+
// insert waiting slots in unused space at the end of the buffer
for(u32 i=SLOT(m_used_iterator); i < SYNC_POINTS; i++)
fences[i] = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0);
-
+
// move to the start
m_used_iterator = m_iterator_aligned = m_iterator = 0; // offset 0 is always aligned
iter_end = size;
-
+
// wait for space at the start
for(u32 i=0; i<=SLOT(iter_end); i++)
{
@@ -114,7 +114,7 @@ void StreamBuffer::Alloc ( size_t size, u32 stride )
}
m_free_iterator = iter_end;
}
-
+
break;
case MAP_AND_RISK:
if(iter_end >= m_size) {
@@ -170,13 +170,13 @@ void StreamBuffer::Init()
m_iterator = 0;
m_used_iterator = 0;
m_free_iterator = 0;
-
+
switch(m_uploadtype) {
case MAP_AND_SYNC:
fences = new GLsync[SYNC_POINTS];
for(u32 i=0; i<SYNC_POINTS; i++)
fences[i] = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0);
-
+
case MAP_AND_ORPHAN:
case BUFFERSUBDATA:
glBindBuffer(m_buffertype, m_buffer);
@@ -187,13 +187,13 @@ void StreamBuffer::Init()
fences = new GLsync[SYNC_POINTS];
for(u32 i=0; i<SYNC_POINTS; i++)
fences[i] = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0);
-
+
pointer = (u8*)AllocateAlignedMemory(ROUND_UP(m_size,ALIGN_PINNED_MEMORY), ALIGN_PINNED_MEMORY );
glBindBuffer(GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD, m_buffer);
glBufferData(GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD, ROUND_UP(m_size,ALIGN_PINNED_MEMORY), pointer, GL_STREAM_COPY);
glBindBuffer(GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD, 0);
glBindBuffer(m_buffertype, m_buffer);
-
+
// on error, switch to another backend. some old catalyst seems to have broken pinned memory support
if(glGetError() != GL_NO_ERROR) {
ERROR_LOG(VIDEO, "Pinned memory detected, but not working. Please report this: %s, %s, %s", g_ogl_config.gl_vendor, g_ogl_config.gl_renderer, g_ogl_config.gl_version);
diff --git a/Source/Core/VideoBackends/OGL/Src/StreamBuffer.h b/Source/Core/VideoBackends/OGL/Src/StreamBuffer.h
index c0d6efc574..37472dc28a 100644
--- a/Source/Core/VideoBackends/OGL/Src/StreamBuffer.h
+++ b/Source/Core/VideoBackends/OGL/Src/StreamBuffer.h
@@ -33,17 +33,17 @@ class StreamBuffer {
public:
StreamBuffer(u32 type, size_t size, StreamType uploadType = DETECT_MASK);
~StreamBuffer();
-
+
void Alloc(size_t size, u32 stride = 0);
size_t Upload(u8 *data, size_t size);
-
+
u32 getBuffer() { return m_buffer; }
-
+
private:
void Init();
void Shutdown();
void DeleteFences();
-
+
StreamType m_uploadtype;
u32 m_buffer;
u32 m_buffertype;
diff --git a/Source/Core/VideoBackends/OGL/Src/TextureCache.cpp b/Source/Core/VideoBackends/OGL/Src/TextureCache.cpp
index c3349f5f2c..41c52ec724 100644
--- a/Source/Core/VideoBackends/OGL/Src/TextureCache.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/TextureCache.cpp
@@ -30,14 +30,12 @@
#include "ImageWrite.h"
#include "MemoryUtil.h"
#include "ProgramShaderCache.h"
-#include "PixelShaderManager.h"
#include "Render.h"
#include "Statistics.h"
#include "StringUtil.h"
#include "TextureCache.h"
#include "TextureConverter.h"
#include "TextureDecoder.h"
-#include "VertexShaderManager.h"
#include "VideoConfig.h"
namespace OGL
@@ -90,9 +88,9 @@ TextureCache::TCacheEntry::~TCacheEntry()
{
if (texture)
{
- for(int i=0; i<8; i++)
- if(s_Textures[i] == texture)
- s_Textures[i] = 0;
+ for(auto& gtex : s_Textures)
+ if(gtex == texture)
+ gtex = 0;
glDeleteTextures(1, &texture);
texture = 0;
}
@@ -121,7 +119,7 @@ void TextureCache::TCacheEntry::Bind(unsigned int stage)
glActiveTexture(GL_TEXTURE0 + stage);
s_ActiveTexture = stage;
}
-
+
glBindTexture(GL_TEXTURE_2D, texture);
s_Textures[stage] = texture;
}
@@ -150,7 +148,7 @@ TextureCache::TCacheEntryBase* TextureCache::CreateTexture(unsigned int width,
{
default:
case PC_TEX_FMT_NONE:
- PanicAlert("Invalid PC texture format %i", pcfmt);
+ PanicAlert("Invalid PC texture format %i", pcfmt);
case PC_TEX_FMT_BGRA32:
gl_format = GL_BGRA;
gl_iformat = GL_RGBA;
@@ -202,7 +200,7 @@ TextureCache::TCacheEntryBase* TextureCache::CreateTexture(unsigned int width,
entry.pcfmt = pcfmt;
entry.m_tex_levels = tex_levels;
-
+
entry.Load(width, height, expanded_width, 0);
return &entry;
@@ -266,7 +264,7 @@ TextureCache::TCacheEntryBase* TextureCache::CreateRenderTargetTexture(
glTexImage2D(GL_TEXTURE_2D, 0, gl_iformat, scaled_tex_w, scaled_tex_h, 0, gl_format, gl_type, NULL);
glBindTexture(GL_TEXTURE_2D, 0);
-
+
glGenFramebuffers(1, &entry->framebuffer);
FramebufferManager::SetFramebuffer(entry->framebuffer);
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, entry->texture, 0);
@@ -357,7 +355,7 @@ void TextureCache::TCacheEntry::FromRenderTarget(u32 dstAddr, unsigned int dstFo
glBindBuffer(GL_ARRAY_BUFFER, vbo_it->second.vbo);
glBufferData(GL_ARRAY_BUFFER, 4*4*sizeof(GLfloat), vertices, GL_STREAM_DRAW);
-
+
vbo_it->second.targetSource = targetSource;
}
@@ -372,10 +370,10 @@ void TextureCache::TCacheEntry::FromRenderTarget(u32 dstAddr, unsigned int dstFo
int encoded_size = TextureConverter::EncodeToRamFromTexture(
addr,
read_texture,
- srcFormat == PIXELFMT_Z24,
- isIntensity,
- dstFormat,
- scaleByHalf,
+ srcFormat == PIXELFMT_Z24,
+ isIntensity,
+ dstFormat,
+ scaleByHalf,
srcRect);
u8* dst = Memory::GetPointer(addr);
@@ -391,7 +389,6 @@ void TextureCache::TCacheEntry::FromRenderTarget(u32 dstAddr, unsigned int dstFo
}
FramebufferManager::SetFramebuffer(0);
- VertexShaderManager::SetViewportChanged();
GL_REPORT_ERRORD();
@@ -407,7 +404,7 @@ void TextureCache::TCacheEntry::FromRenderTarget(u32 dstAddr, unsigned int dstFo
TextureCache::TextureCache()
{
- const char *pColorMatrixProg =
+ const char *pColorMatrixProg =
"uniform sampler2DRect samp9;\n"
"uniform vec4 colmat[7];\n"
"VARYIN vec2 uv0;\n"
@@ -452,8 +449,8 @@ TextureCache::TextureCache()
s_ActiveTexture = -1;
s_NextStage = -1;
- for(int i=0; i<8; i++)
- s_Textures[i] = -1;
+ for(auto& gtex : s_Textures)
+ gtex = -1;
}
@@ -461,10 +458,10 @@ TextureCache::~TextureCache()
{
s_ColorMatrixProgram.Destroy();
s_DepthMatrixProgram.Destroy();
-
- for(std::map<u64, VBOCache>::iterator it = s_VBO.begin(); it != s_VBO.end(); it++) {
- glDeleteBuffers(1, &it->second.vbo);
- glDeleteVertexArrays(1, &it->second.vao);
+
+ for(auto& cache : s_VBO) {
+ glDeleteBuffers(1, &cache.second.vbo);
+ glDeleteVertexArrays(1, &cache.second.vao);
}
s_VBO.clear();
}
diff --git a/Source/Core/VideoBackends/OGL/Src/TextureCache.h b/Source/Core/VideoBackends/OGL/Src/TextureCache.h
index 137d26704b..1c95d35f98 100644
--- a/Source/Core/VideoBackends/OGL/Src/TextureCache.h
+++ b/Source/Core/VideoBackends/OGL/Src/TextureCache.h
@@ -45,23 +45,23 @@ private:
~TCacheEntry();
void Load(unsigned int width, unsigned int height,
- unsigned int expanded_width, unsigned int level);
+ unsigned int expanded_width, unsigned int level) override;
void FromRenderTarget(u32 dstAddr, unsigned int dstFormat,
unsigned int srcFormat, const EFBRectangle& srcRect,
bool isIntensity, bool scaleByHalf, unsigned int cbufid,
- const float *colmat);
+ const float *colmat) override;
- void Bind(unsigned int stage);
+ void Bind(unsigned int stage) override;
bool Save(const char filename[], unsigned int level);
};
~TextureCache();
TCacheEntryBase* CreateTexture(unsigned int width, unsigned int height,
- unsigned int expanded_width, unsigned int tex_levels, PC_TexFormat pcfmt);
+ unsigned int expanded_width, unsigned int tex_levels, PC_TexFormat pcfmt) override;
- TCacheEntryBase* CreateRenderTargetTexture(unsigned int scaled_tex_w, unsigned int scaled_tex_h);
+ TCacheEntryBase* CreateRenderTargetTexture(unsigned int scaled_tex_w, unsigned int scaled_tex_h) override;
};
bool SaveTexture(const char* filename, u32 textarget, u32 tex, int virtual_width, int virtual_height, unsigned int level);
diff --git a/Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp b/Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp
index d4ce2eb5bb..0c1800381e 100644
--- a/Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp
@@ -9,7 +9,6 @@
#include "TextureConversionShader.h"
#include "TextureCache.h"
#include "ProgramShaderCache.h"
-#include "VertexShaderManager.h"
#include "FramebufferManager.h"
#include "Globals.h"
#include "VideoConfig.h"
@@ -170,7 +169,7 @@ void Init()
glBindTexture(GL_TEXTURE_2D, s_dstTexture);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, renderBufferWidth, renderBufferHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL);
-
+
CreatePrograms();
}
@@ -187,8 +186,8 @@ void Shutdown()
s_rgbToYuyvProgram.Destroy();
s_yuyvToRgbProgram.Destroy();
- for (unsigned int i = 0; i < NUM_ENCODING_PROGRAMS; i++)
- s_encodingPrograms[i].Destroy();
+ for (auto& program : s_encodingPrograms)
+ program.Destroy();
s_srcTexture = 0;
s_dstTexture = 0;
@@ -230,7 +229,7 @@ void EncodeToRamUsingShader(GLuint srcTexture, const TargetRectangle& sourceRc,
GL_REPORT_ERRORD();
if(!(s_cached_sourceRc == sourceRc)) {
GLfloat vertices[] = {
- -1.f, -1.f,
+ -1.f, -1.f,
(float)sourceRc.left, (float)sourceRc.top,
-1.f, 1.f,
(float)sourceRc.left, (float)sourceRc.bottom,
@@ -241,13 +240,13 @@ void EncodeToRamUsingShader(GLuint srcTexture, const TargetRectangle& sourceRc,
};
glBindBuffer(GL_ARRAY_BUFFER, s_encode_VBO );
glBufferData(GL_ARRAY_BUFFER, 4*4*sizeof(GLfloat), vertices, GL_STREAM_DRAW);
-
+
s_cached_sourceRc = sourceRc;
- }
+ }
glBindVertexArray( s_encode_VAO );
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
-
+
GL_REPORT_ERRORD();
// .. and then read back the results.
@@ -304,16 +303,16 @@ int EncodeToRamFromTexture(u32 address,GLuint source_texture, bool bFromZBuffer,
int size_in_bytes = TexDecoder_GetTextureSizeInBytes(width, height, format);
u16 blkW = TexDecoder_GetBlockWidthInTexels(format) - 1;
- u16 blkH = TexDecoder_GetBlockHeightInTexels(format) - 1;
- u16 samples = TextureConversionShader::GetEncodedSampleCount(format);
+ u16 blkH = TexDecoder_GetBlockHeightInTexels(format) - 1;
+ u16 samples = TextureConversionShader::GetEncodedSampleCount(format);
// only copy on cache line boundaries
// extra pixels are copied but not displayed in the resulting texture
s32 expandedWidth = (width + blkW) & (~blkW);
s32 expandedHeight = (height + blkH) & (~blkH);
-
+
float sampleStride = bScaleByHalf ? 2.f : 1.f;
-
+
float params[] = {
Renderer::EFBToScaledXf(sampleStride), Renderer::EFBToScaledYf(sampleStride),
0.0f, 0.0f,
@@ -345,12 +344,11 @@ int EncodeToRamFromTexture(u32 address,GLuint source_texture, bool bFromZBuffer,
void EncodeToRamYUYV(GLuint srcTexture, const TargetRectangle& sourceRc, u8* destAddr, int dstWidth, int dstHeight)
{
g_renderer->ResetAPIState();
-
+
s_rgbToYuyvProgram.Bind();
-
+
EncodeToRamUsingShader(srcTexture, sourceRc, destAddr, dstWidth / 2, dstHeight, 0, false, false);
FramebufferManager::SetFramebuffer(0);
- VertexShaderManager::SetViewportChanged();
TextureCache::DisableStage(0);
g_renderer->RestoreAPIState();
GL_REPORT_ERRORD();
@@ -401,7 +399,7 @@ void DecodeToTexture(u32 xfbAddr, int srcWidth, int srcHeight, GLuint destTextur
s_yuyvToRgbProgram.Bind();
GL_REPORT_ERRORD();
-
+
if(s_cached_srcHeight != srcHeight || s_cached_srcWidth != srcWidth) {
GLfloat vertices[] = {
1.f, -1.f,
@@ -413,20 +411,18 @@ void DecodeToTexture(u32 xfbAddr, int srcWidth, int srcHeight, GLuint destTextur
-1.f, 1.f,
0.f, 0.f
};
-
+
glBindBuffer(GL_ARRAY_BUFFER, s_decode_VBO );
glBufferData(GL_ARRAY_BUFFER, sizeof(GLfloat)*4*4, vertices, GL_STREAM_DRAW);
-
+
s_cached_srcHeight = srcHeight;
s_cached_srcWidth = srcWidth;
}
-
+
glBindVertexArray( s_decode_VAO );
glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);
-
- GL_REPORT_ERRORD();
- VertexShaderManager::SetViewportChanged();
+ GL_REPORT_ERRORD();
FramebufferManager::SetFramebuffer(0);
diff --git a/Source/Core/VideoBackends/OGL/Src/VertexManager.cpp b/Source/Core/VideoBackends/OGL/Src/VertexManager.cpp
index 620df0c161..44d8ddeaa4 100644
--- a/Source/Core/VideoBackends/OGL/Src/VertexManager.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/VertexManager.cpp
@@ -60,10 +60,10 @@ void VertexManager::CreateDeviceObjects()
{
s_vertexBuffer = new StreamBuffer(GL_ARRAY_BUFFER, MAX_VBUFFER_SIZE);
m_vertex_buffers = s_vertexBuffer->getBuffer();
-
+
s_indexBuffer = new StreamBuffer(GL_ELEMENT_ARRAY_BUFFER, MAX_IBUFFER_SIZE);
m_index_buffers = s_indexBuffer->getBuffer();
-
+
m_CurrentVertexFmt = NULL;
m_last_vao = 0;
}
@@ -74,7 +74,7 @@ void VertexManager::DestroyDeviceObjects()
glBindBuffer(GL_ARRAY_BUFFER, 0 );
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0 );
GL_REPORT_ERROR();
-
+
delete s_vertexBuffer;
delete s_indexBuffer;
GL_REPORT_ERROR();
@@ -87,7 +87,7 @@ void VertexManager::PrepareDrawBuffers(u32 stride)
u32 line_index_size = IndexGenerator::GetLineindexLen();
u32 point_index_size = IndexGenerator::GetPointindexLen();
u32 index_size = (triangle_index_size+line_index_size+point_index_size) * sizeof(u16);
-
+
s_vertexBuffer->Alloc(vertex_data_size, stride);
u32 offset = s_vertexBuffer->Upload(GetVertexBuffer(), vertex_data_size);
s_baseVertex = offset / stride;
@@ -105,7 +105,7 @@ void VertexManager::PrepareDrawBuffers(u32 stride)
{
s_offset[2] = s_indexBuffer->Upload((u8*)GetPointIndexBuffer(), point_index_size * sizeof(u16));
}
-
+
ADDSTAT(stats.thisFrame.bytesVertexStreamed, vertex_data_size);
ADDSTAT(stats.thisFrame.bytesIndexStreamed, index_size);
}
@@ -117,7 +117,7 @@ void VertexManager::Draw(u32 stride)
u32 point_index_size = IndexGenerator::GetPointindexLen();
u32 max_index = IndexGenerator::GetNumVerts();
GLenum triangle_mode = g_ActiveConfig.backend_info.bSupportsPrimitiveRestart?GL_TRIANGLE_STRIP:GL_TRIANGLES;
-
+
if(g_ogl_config.bSupportsGLBaseVertex) {
if (triangle_index_size > 0)
{
@@ -134,7 +134,7 @@ void VertexManager::Draw(u32 stride)
glDrawRangeElementsBaseVertex(GL_POINTS, 0, max_index, point_index_size, GL_UNSIGNED_SHORT, (u8*)NULL+s_offset[2], s_baseVertex);
INCSTAT(stats.thisFrame.numIndexedDrawCalls);
}
- }
+ }
else if (DriverDetails::HasBug(DriverDetails::BUG_ISTEGRA))
{
if (triangle_index_size > 0)
@@ -168,17 +168,17 @@ void VertexManager::Draw(u32 stride)
glDrawRangeElements(GL_POINTS, 0, max_index, point_index_size, GL_UNSIGNED_SHORT, (u8*)NULL+s_offset[2]);
INCSTAT(stats.thisFrame.numIndexedDrawCalls);
}
- }
+ }
}
void VertexManager::vFlush()
{
-#if defined(_DEBUG) || defined(DEBUGFAST)
+#if defined(_DEBUG) || defined(DEBUGFAST)
PRIM_LOG("frame%d:\n texgen=%d, numchan=%d, dualtex=%d, ztex=%d, cole=%d, alpe=%d, ze=%d", g_ActiveConfig.iSaveTargetId, xfregs.numTexGen.numTexGens,
xfregs.numChan.numColorChans, xfregs.dualTexTrans.enabled, bpmem.ztex2.op,
bpmem.blendmode.colorupdate, bpmem.blendmode.alphaupdate, bpmem.zmode.updateenable);
- for (unsigned int i = 0; i < xfregs.numChan.numColorChans; ++i)
+ for (unsigned int i = 0; i < xfregs.numChan.numColorChans; ++i)
{
LitChannel* ch = &xfregs.color[i];
PRIM_LOG("colchan%d: matsrc=%d, light=0x%x, ambsrc=%d, diffunc=%d, attfunc=%d", i, ch->matsource, ch->GetFullLightMask(), ch->ambsource, ch->diffusefunc, ch->attnfunc);
@@ -186,7 +186,7 @@ void VertexManager::vFlush()
PRIM_LOG("alpchan%d: matsrc=%d, light=0x%x, ambsrc=%d, diffunc=%d, attfunc=%d", i, ch->matsource, ch->GetFullLightMask(), ch->ambsource, ch->diffusefunc, ch->attnfunc);
}
- for (unsigned int i = 0; i < xfregs.numTexGen.numTexGens; ++i)
+ for (unsigned int i = 0; i < xfregs.numTexGen.numTexGens; ++i)
{
TexMtxInfo tinfo = xfregs.texMtxInfo[i];
if (tinfo.texgentype != XF_TEXGEN_EMBOSS_MAP) tinfo.hex &= 0x7ff;
@@ -202,10 +202,10 @@ void VertexManager::vFlush()
#endif
(void)GL_REPORT_ERROR();
-
+
GLVertexFormat *nativeVertexFmt = (GLVertexFormat*)g_nativeVertexFmt;
u32 stride = nativeVertexFmt->GetVertexStride();
-
+
if(m_last_vao != nativeVertexFmt->VAO) {
glBindVertexArray(nativeVertexFmt->VAO);
m_last_vao = nativeVertexFmt->VAO;
@@ -231,10 +231,10 @@ void VertexManager::vFlush()
TextureCache::SetNextStage(i);
g_renderer->SetSamplerState(i % 4, i / 4);
FourTexUnits &tex = bpmem.tex[i >> 2];
- TextureCache::TCacheEntryBase* tentry = TextureCache::Load(i,
+ TextureCache::TCacheEntryBase* tentry = TextureCache::Load(i,
(tex.texImage3[i&3].image_base/* & 0x1FFFFF*/) << 5,
tex.texImage0[i&3].width + 1, tex.texImage0[i&3].height + 1,
- tex.texImage0[i&3].format, tex.texTlut[i&3].tmem_offset<<9,
+ tex.texImage0[i&3].format, tex.texTlut[i&3].tmem_offset<<9,
tex.texTlut[i&3].tlut_format,
(tex.texMode0[i&3].min_filter & 3),
(tex.texMode1[i&3].max_lod + 0xf) / 0x10,
@@ -279,7 +279,7 @@ void VertexManager::vFlush()
VertexShaderManager::SetConstants();
PixelShaderManager::SetConstants(g_nativeVertexFmt->m_components);
ProgramShaderCache::UploadConstants();
-
+
// setup the pointers
if (g_nativeVertexFmt)
g_nativeVertexFmt->SetupVertexPointers();
@@ -300,24 +300,24 @@ void VertexManager::vFlush()
VertexShaderManager::SetConstants();
PixelShaderManager::SetConstants(g_nativeVertexFmt->m_components);
}
-
+
// only update alpha
glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_TRUE);
glDisable(GL_BLEND);
Draw(stride);
-
+
// restore color mask
g_renderer->SetColorMask();
- if (bpmem.blendmode.blendenable || bpmem.blendmode.subtract)
+ if (bpmem.blendmode.blendenable || bpmem.blendmode.subtract)
glEnable(GL_BLEND);
}
GFX_DEBUGGER_PAUSE_AT(NEXT_FLUSH, true);
-
+
#if defined(_DEBUG) || defined(DEBUGFAST)
- if (g_ActiveConfig.iLog & CONF_SAVESHADERS)
+ if (g_ActiveConfig.iLog & CONF_SAVESHADERS)
{
// save the shaders
ProgramShaderCache::PCacheEntry prog = ProgramShaderCache::GetShaderProgram();
@@ -332,7 +332,7 @@ void VertexManager::vFlush()
fvs << prog.shader.strvprog.c_str();
}
- if (g_ActiveConfig.iLog & CONF_SAVETARGETS)
+ if (g_ActiveConfig.iLog & CONF_SAVETARGETS)
{
char str[128];
sprintf(str, "%starg%.3d.tga", File::GetUserPath(D_DUMPFRAMES_IDX).c_str(), g_ActiveConfig.iSaveTargetId);
diff --git a/Source/Core/VideoBackends/OGL/Src/VertexManager.h b/Source/Core/VideoBackends/OGL/Src/VertexManager.h
index e31c8d48ec..f96ec7ec97 100644
--- a/Source/Core/VideoBackends/OGL/Src/VertexManager.h
+++ b/Source/Core/VideoBackends/OGL/Src/VertexManager.h
@@ -19,9 +19,9 @@ namespace OGL
GLVertexFormat();
~GLVertexFormat();
- virtual void Initialize(const PortableVertexDeclaration &_vtx_decl);
- virtual void SetupVertexPointers();
-
+ virtual void Initialize(const PortableVertexDeclaration &_vtx_decl) override;
+ virtual void SetupVertexPointers() override;
+
GLuint VAO;
};
@@ -32,17 +32,17 @@ class VertexManager : public ::VertexManager
public:
VertexManager();
~VertexManager();
- NativeVertexFormat* CreateNativeVertexFormat();
- void CreateDeviceObjects();
- void DestroyDeviceObjects();
-
+ NativeVertexFormat* CreateNativeVertexFormat() override;
+ void CreateDeviceObjects() override;
+ void DestroyDeviceObjects() override;
+
// NativeVertexFormat use this
GLuint m_vertex_buffers;
- GLuint m_index_buffers;
+ GLuint m_index_buffers;
GLuint m_last_vao;
private:
void Draw(u32 stride);
- void vFlush();
+ void vFlush() override;
void PrepareDrawBuffers(u32 stride);
NativeVertexFormat *m_CurrentVertexFmt;
};
diff --git a/Source/Core/VideoBackends/OGL/Src/VideoBackend.h b/Source/Core/VideoBackends/OGL/Src/VideoBackend.h
index 137c09a973..ed4a748eb4 100644
--- a/Source/Core/VideoBackends/OGL/Src/VideoBackend.h
+++ b/Source/Core/VideoBackends/OGL/Src/VideoBackend.h
@@ -9,19 +9,19 @@ namespace OGL
class VideoBackend : public VideoBackendHardware
{
- bool Initialize(void *&);
- void Shutdown();
+ bool Initialize(void *&) override;
+ void Shutdown() override;
- std::string GetName();
- std::string GetDisplayName();
+ std::string GetName() override;
+ std::string GetDisplayName() override;
- void Video_Prepare();
- void Video_Cleanup();
+ void Video_Prepare() override;
+ void Video_Cleanup() override;
- void ShowConfig(void* parent);
+ void ShowConfig(void* parent) override;
- void UpdateFPSDisplay(const char*);
- unsigned int PeekMessages();
+ void UpdateFPSDisplay(const char*) override;
+ unsigned int PeekMessages() override;
};
}
diff --git a/Source/Core/VideoBackends/OGL/Src/main.cpp b/Source/Core/VideoBackends/OGL/Src/main.cpp
index b109fcdd8b..7ad18bca25 100644
--- a/Source/Core/VideoBackends/OGL/Src/main.cpp
+++ b/Source/Core/VideoBackends/OGL/Src/main.cpp
@@ -5,7 +5,7 @@
// OpenGL Backend Documentation
-/*
+/*
1.1 Display settings
@@ -110,16 +110,16 @@ void GetShaders(std::vector<std::string> &shaders)
File::GetUserPath(D_SHADERS_IDX),
File::GetSysDirectory() + SHADERS_DIR DIR_SEP,
};
- for (size_t i = 0; i < ArraySize(directories); ++i)
+ for (auto& directory : directories)
{
- if (!File::IsDirectory(directories[i]))
+ if (!File::IsDirectory(directory))
continue;
File::FSTEntry entry;
- File::ScanDirectoryTree(directories[i], entry);
- for (u32 j = 0; j < entry.children.size(); j++)
+ File::ScanDirectoryTree(directory, entry);
+ for (auto& file : entry.children)
{
- std::string name = entry.children[j].virtualName.c_str();
+ std::string name = file.virtualName.c_str();
if (name.size() < 5)
continue;
if (strcasecmp(name.substr(name.size() - 5).c_str(), ".glsl"))
@@ -146,6 +146,7 @@ void InitBackendInfo()
g_Config.backend_info.bSupportsFormatReinterpretation = true;
g_Config.backend_info.bSupportsPixelLighting = true;
//g_Config.backend_info.bSupportsEarlyZ = true; // is gpu dependent and must be set in renderer
+ g_Config.backend_info.bSupportsOversizedViewports = true;
// aamodes
const char* caamodes[] = {_trans("None"), "2x", "4x", "8x", "8x CSAA", "8xQ CSAA", "16x CSAA", "16xQ CSAA", "4x SSAA"};
@@ -181,7 +182,7 @@ bool VideoBackend::Initialize(void *&window_handle)
if (!GLInterface->Create(window_handle))
return false;
- // Do our OSD callbacks
+ // Do our OSD callbacks
OSD::DoCallbacks(OSD::OSD_INIT);
s_BackendInitialized = true;
@@ -232,14 +233,14 @@ void VideoBackend::Shutdown()
{
s_BackendInitialized = false;
- // Do our OSD callbacks
+ // Do our OSD callbacks
OSD::DoCallbacks(OSD::OSD_SHUTDOWN);
GLInterface->Shutdown();
}
void VideoBackend::Video_Cleanup() {
-
+
if (g_renderer)
{
s_efbAccessRequested = false;
diff --git a/Source/Core/VideoBackends/OGL/Src/stdafx.h b/Source/Core/VideoBackends/OGL/Src/stdafx.h
index 2431184aaf..81bb44dc19 100644
--- a/Source/Core/VideoBackends/OGL/Src/stdafx.h
+++ b/Source/Core/VideoBackends/OGL/Src/stdafx.h
@@ -9,4 +9,4 @@
#endif
#include <tchar.h>
-#include <windows.h>
+#include <windows.h>
diff --git a/Source/Core/VideoBackends/Software/Software.vcxproj b/Source/Core/VideoBackends/Software/Software.vcxproj
index a87a05fac9..cd393dd437 100644
--- a/Source/Core/VideoBackends/Software/Software.vcxproj
+++ b/Source/Core/VideoBackends/Software/Software.vcxproj
@@ -1,14 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="DebugFast|Win32">
- <Configuration>DebugFast</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="DebugFast|x64">
- <Configuration>DebugFast</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
@@ -27,160 +19,61 @@
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
- <ProjectGuid>{9E9DA440-E9AD-413C-B648-91030E792211}</ProjectGuid>
- <RootNamespace>VideoSoftware</RootNamespace>
- <ProjectName>VideoSoftware</ProjectName>
+ <ProjectGuid>{A4C423AA-F57C-46C7-A172-D1A777017D29}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <PropertyGroup Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
+ <PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
+ <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
+ <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>false</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- </PropertyGroup>
- <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- <Import Project="..\..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\CodeGen_Release.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\CodeGen_Release.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\CodeGen_DebugFast.props" />
- <Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\..\VSProps\Base.props" />
- <Import Project="..\..\..\VSProps\CodeGen_DebugFast.props" />
<Import Project="..\..\..\VSProps\PrecompiledHeader.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\GLew\include;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\Include;$(SolutionDir)..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\GLew\include;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\Include;$(SolutionDir)..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\GLew\include;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\Include;$(SolutionDir)..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\GLew\include;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\Include;$(SolutionDir)..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\GLew\include;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\Include;$(SolutionDir)..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\..\Common\Src;..\..\Core\Src;..\..\VideoCommon\Src;..\..\DolphinWX\Src;$(SolutionDir)..\Externals\GLew\include;$(SolutionDir)..\Externals\wxWidgets3;$(SolutionDir)..\Externals\wxWidgets3\Include;$(SolutionDir)..\Externals;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- </ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="Src\BPMemLoader.cpp" />
<ClCompile Include="Src\Clipper.cpp" />
- <ClCompile Include="Src\SWCommandProcessor.cpp" />
<ClCompile Include="Src\CPMemLoader.cpp" />
<ClCompile Include="Src\DebugUtil.cpp" />
<ClCompile Include="Src\EfbCopy.cpp" />
<ClCompile Include="Src\EfbInterface.cpp" />
<ClCompile Include="Src\HwRasterizer.cpp" />
- <ClCompile Include="Src\SWmain.cpp" />
<ClCompile Include="Src\OpcodeDecoder.cpp" />
- <ClCompile Include="Src\SWPixelEngine.cpp" />
- <ClCompile Include="Src\Rasterizer.cpp" />
<ClCompile Include="Src\RasterFont.cpp" />
- <ClCompile Include="Src\SWRenderer.cpp" />
+ <ClCompile Include="Src\Rasterizer.cpp" />
<ClCompile Include="Src\SetupUnit.cpp" />
- <ClCompile Include="Src\SWStatistics.cpp" />
<ClCompile Include="Src\stdafx.cpp">
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">Create</PrecompiledHeader>
- <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">Create</PrecompiledHeader>
+ <PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
+ <ClCompile Include="Src\SWCommandProcessor.cpp" />
+ <ClCompile Include="Src\SWmain.cpp" />
+ <ClCompile Include="Src\SWPixelEngine.cpp" />
+ <ClCompile Include="Src\SWRenderer.cpp" />
+ <ClCompile Include="Src\SWStatistics.cpp" />
+ <ClCompile Include="Src\SWVertexLoader.cpp" />
<ClCompile Include="Src\SWVideoConfig.cpp" />
<ClCompile Include="Src\Tev.cpp" />
<ClCompile Include="Src\TextureEncoder.cpp" />
<ClCompile Include="Src\TextureSampler.cpp" />
<ClCompile Include="Src\TransformUnit.cpp" />
- <ClCompile Include="Src\SWVertexLoader.cpp" />
<ClCompile Include="Src\VideoConfigDialog.cpp" />
<ClCompile Include="Src\XFMemLoader.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="Src\BPMemLoader.h" />
<ClInclude Include="Src\Clipper.h" />
- <ClInclude Include="Src\SWCommandProcessor.h" />
<ClInclude Include="Src\CPMemLoader.h" />
<ClInclude Include="Src\DebugUtil.h" />
<ClInclude Include="Src\EfbCopy.h" />
@@ -188,30 +81,37 @@
<ClInclude Include="Src\HwRasterizer.h" />
<ClInclude Include="Src\NativeVertexFormat.h" />
<ClInclude Include="Src\OpcodeDecoder.h" />
- <ClInclude Include="Src\SWPixelEngine.h" />
- <ClInclude Include="Src\Rasterizer.h" />
<ClInclude Include="Src\RasterFont.h" />
- <ClInclude Include="Src\SWRenderer.h" />
+ <ClInclude Include="Src\Rasterizer.h" />
<ClInclude Include="Src\SetupUnit.h" />
- <ClInclude Include="Src\SWStatistics.h" />
<ClInclude Include="Src\stdafx.h" />
+ <ClInclude Include="Src\SWCommandProcessor.h" />
+ <ClInclude Include="Src\SWPixelEngine.h" />
+ <ClInclude Include="Src\SWRenderer.h" />
+ <ClInclude Include="Src\SWStatistics.h" />
+ <ClInclude Include="Src\SWVertexLoader.h" />
<ClInclude Include="Src\SWVideoConfig.h" />
<ClInclude Include="Src\Tev.h" />
<ClInclude Include="Src\TextureEncoder.h" />
<ClInclude Include="Src\TextureSampler.h" />
<ClInclude Include="Src\TransformUnit.h" />
<ClInclude Include="Src\Vec3.h" />
- <ClInclude Include="Src\SWVertexLoader.h" />
<ClInclude Include="Src\VideoBackend.h" />
<ClInclude Include="Src\VideoConfigDialog.h" />
<ClInclude Include="Src\XFMemLoader.h" />
</ItemGroup>
<ItemGroup>
- <None Include="CMakeLists.txt" />
+ <Text Include="CMakeLists.txt" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\..\VideoCommon\VideoCommon.vcxproj">
- <Project>{3e5c4e02-1ba9-4776-bdbe-e3f91ffa34cf}</Project>
+ <ProjectReference Include="..\..\..\..\Externals\GLew\glew.vcxproj">
+ <Project>{2a3f751d-69e9-45f2-9199-9a00bfb6cc72}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\..\Externals\wxWidgets3\build\msw\wx_base.vcxproj">
+ <Project>{1c8436c9-dbaf-42be-83bc-cf3ec9175abe}</Project>
+ </ProjectReference>
+ <ProjectReference Include="..\..\..\Core\VideoCommon\VideoCommon.vcxproj">
+ <Project>{3de9ee35-3e91-4f27-a014-2866ad8c3fe3}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
diff --git a/Source/Core/VideoBackends/Software/Software.vcxproj.filters b/Source/Core/VideoBackends/Software/Software.vcxproj.filters
deleted file mode 100644
index 14be6ff447..0000000000
--- a/Source/Core/VideoBackends/Software/Software.vcxproj.filters
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup>
- <ClCompile Include="Src\BPMemLoader.cpp" />
- <ClCompile Include="Src\Clipper.cpp" />
- <ClCompile Include="Src\SWCommandProcessor.cpp" />
- <ClCompile Include="Src\CPMemLoader.cpp" />
- <ClCompile Include="Src\DebugUtil.cpp" />
- <ClCompile Include="Src\EfbCopy.cpp" />
- <ClCompile Include="Src\EfbInterface.cpp" />
- <ClCompile Include="Src\HwRasterizer.cpp" />
- <ClCompile Include="Src\SWmain.cpp" />
- <ClCompile Include="Src\OpcodeDecoder.cpp" />
- <ClCompile Include="Src\SWPixelEngine.cpp" />
- <ClCompile Include="Src\Rasterizer.cpp" />
- <ClCompile Include="Src\RasterFont.cpp" />
- <ClCompile Include="Src\SWRenderer.cpp" />
- <ClCompile Include="Src\SetupUnit.cpp" />
- <ClCompile Include="Src\SWStatistics.cpp" />
- <ClCompile Include="Src\stdafx.cpp" />
- <ClCompile Include="Src\SWVideoConfig.cpp" />
- <ClCompile Include="Src\Tev.cpp" />
- <ClCompile Include="Src\TextureEncoder.cpp" />
- <ClCompile Include="Src\TextureSampler.cpp" />
- <ClCompile Include="Src\TransformUnit.cpp" />
- <ClCompile Include="Src\SWVertexLoader.cpp" />
- <ClCompile Include="Src\VideoConfigDialog.cpp" />
- <ClCompile Include="Src\XFMemLoader.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="Src\BPMemLoader.h" />
- <ClInclude Include="Src\Clipper.h" />
- <ClInclude Include="Src\SWCommandProcessor.h" />
- <ClInclude Include="Src\CPMemLoader.h" />
- <ClInclude Include="Src\DebugUtil.h" />
- <ClInclude Include="Src\EfbCopy.h" />
- <ClInclude Include="Src\EfbInterface.h" />
- <ClInclude Include="Src\HwRasterizer.h" />
- <ClInclude Include="Src\NativeVertexFormat.h" />
- <ClInclude Include="Src\OpcodeDecoder.h" />
- <ClInclude Include="Src\SWPixelEngine.h" />
- <ClInclude Include="Src\Rasterizer.h" />
- <ClInclude Include="Src\RasterFont.h" />
- <ClInclude Include="Src\SWRenderer.h" />
- <ClInclude Include="Src\SetupUnit.h" />
- <ClInclude Include="Src\SWStatistics.h" />
- <ClInclude Include="Src\stdafx.h" />
- <ClInclude Include="Src\SWVideoConfig.h" />
- <ClInclude Include="Src\Tev.h" />
- <ClInclude Include="Src\TextureEncoder.h" />
- <ClInclude Include="Src\TextureSampler.h" />
- <ClInclude Include="Src\TransformUnit.h" />
- <ClInclude Include="Src\Vec3.h" />
- <ClInclude Include="Src\SWVertexLoader.h" />
- <ClInclude Include="Src\VideoBackend.h" />
- <ClInclude Include="Src\VideoConfigDialog.h" />
- <ClInclude Include="Src\XFMemLoader.h" />
- </ItemGroup>
- <ItemGroup>
- <None Include="CMakeLists.txt" />
- </ItemGroup>
- <ItemGroup>
- <Filter Include="Win32">
- <UniqueIdentifier>{081288cb-a63b-4ae9-93eb-e668568520b8}</UniqueIdentifier>
- </Filter>
- </ItemGroup>
-</Project> \ No newline at end of file
diff --git a/Source/Core/VideoBackends/Software/Src/BPMemLoader.cpp b/Source/Core/VideoBackends/Software/Src/BPMemLoader.cpp
index 6317398f39..f6f810791d 100644
--- a/Source/Core/VideoBackends/Software/Src/BPMemLoader.cpp
+++ b/Source/Core/VideoBackends/Software/Src/BPMemLoader.cpp
@@ -97,7 +97,7 @@ void SWBPWritten(int address, int newvalue)
case BPMEM_LOADTLUT1: // Load a Texture Look Up Table
{
u32 tlutTMemAddr = (newvalue & 0x3FF) << 9;
- u32 tlutXferCount = (newvalue & 0x1FFC00) >> 5;
+ u32 tlutXferCount = (newvalue & 0x1FFC00) >> 5;
u8 *ptr = 0;
diff --git a/Source/Core/VideoBackends/Software/Src/Clipper.cpp b/Source/Core/VideoBackends/Software/Src/Clipper.cpp
index ff71ee491d..6d6069b262 100644
--- a/Source/Core/VideoBackends/Software/Src/Clipper.cpp
+++ b/Source/Core/VideoBackends/Software/Src/Clipper.cpp
@@ -8,18 +8,18 @@ Copyright (c) 2007, 2008 Markus Trenkwalder
All rights reserved.
-Redistribution and use in source and binary forms, with or without
+Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
-* Redistributions of source code must retain the above copyright notice,
+* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
+ this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
-* Neither the name of the library's copyright owner nor the names of its
- contributors may be used to endorse or promote products derived from this
+* Neither the name of the library's copyright owner nor the names of its
+ contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
@@ -55,8 +55,8 @@ namespace Clipper
void DoState(PointerWrap &p)
{
p.DoArray(m_ViewOffset,2);
- for (int i = 0; i< NUM_CLIPPED_VERTICES; ++i)
- ClippedVertices[i].DoState(p);
+ for (auto& ClippedVertice : ClippedVertices)
+ ClippedVertice.DoState(p);
}
void Init()
@@ -190,7 +190,7 @@ namespace Clipper
inlist[1] = 1;
inlist[2] = 2;
- // mark this triangle as unused in case it should be completely
+ // mark this triangle as unused in case it should be completely
// clipped
indices[0] = SKIP_FLAG;
indices[1] = SKIP_FLAG;
@@ -229,13 +229,13 @@ namespace Clipper
mask |= clip_mask[i];
}
- if (mask == 0)
+ if (mask == 0)
return;
float t0 = 0;
float t1 = 0;
- // Mark unused in case of early termination
+ // Mark unused in case of early termination
// of the macros below. (When fully clipped)
indices[0] = SKIP_FLAG;
indices[1] = SKIP_FLAG;
@@ -247,7 +247,7 @@ namespace Clipper
LINE_CLIP(CLIP_POS_Z_BIT, 0, 0, -1, 1);
LINE_CLIP(CLIP_NEG_Z_BIT, 0, 0, 1, 1);
- // Restore the old values as this line
+ // Restore the old values as this line
// was not fully clipped.
indices[0] = 0;
indices[1] = 1;
@@ -305,7 +305,7 @@ namespace Clipper
PerspectiveDivide(Vertices[indices[i+1]]);
PerspectiveDivide(Vertices[indices[i+2]]);
- Rasterizer::DrawTriangleFrontFace(Vertices[indices[i]], Vertices[indices[i+1]], Vertices[indices[i+2]]);
+ Rasterizer::DrawTriangleFrontFace(Vertices[indices[i]], Vertices[indices[i+1]], Vertices[indices[i+2]]);
}
}
}
@@ -349,7 +349,7 @@ namespace Clipper
float dx = v1->screenPosition.x - v0->screenPosition.x;
float dy = v1->screenPosition.y - v0->screenPosition.y;
-
+
float screenDx = 0;
float screenDy = 0;
@@ -405,7 +405,7 @@ namespace Clipper
float w1 = v1->projectedPosition.w;
float w2 = v2->projectedPosition.w;
- float normalZDir = (x0*w2 - x2*w0)*y1 + (x2*y0 - x0*y2)*w1 + (y2*w0 - y0*w2)*x1;
+ float normalZDir = (x0*w2 - x2*w0)*y1 + (x2*y0 - x0*y2)*w1 + (y2*w0 - y0*w2)*x1;
backface = normalZDir <= 0.0f;
diff --git a/Source/Core/VideoBackends/Software/Src/DebugUtil.h b/Source/Core/VideoBackends/Software/Src/DebugUtil.h
index 89b0db9b72..3cbb318ffb 100644
--- a/Source/Core/VideoBackends/Software/Src/DebugUtil.h
+++ b/Source/Core/VideoBackends/Software/Src/DebugUtil.h
@@ -24,4 +24,4 @@ namespace DebugUtil
void CopyTempBuffer(s16 x, s16 y, int bufferBase, int subBuffer, const char *name);
}
-#endif
+#endif
diff --git a/Source/Core/VideoBackends/Software/Src/EfbCopy.cpp b/Source/Core/VideoBackends/Software/Src/EfbCopy.cpp
index 303d5a06ad..1191b3c6df 100644
--- a/Source/Core/VideoBackends/Software/Src/EfbCopy.cpp
+++ b/Source/Core/VideoBackends/Software/Src/EfbCopy.cpp
@@ -19,7 +19,7 @@ namespace EfbCopy
{
void CopyToXfb()
{
- GLInterface->Update(); // just updates the render window position and the backbuffer size
+ GLInterface->Update(); // just updates the render window position and the backbuffer size
if (!g_SWVideoConfig.bHwRasterizer)
{
diff --git a/Source/Core/VideoBackends/Software/Src/EfbInterface.cpp b/Source/Core/VideoBackends/Software/Src/EfbInterface.cpp
index 3d8ea0f9f1..f13f6a47b1 100644
--- a/Source/Core/VideoBackends/Software/Src/EfbInterface.cpp
+++ b/Source/Core/VideoBackends/Software/Src/EfbInterface.cpp
@@ -185,7 +185,7 @@ namespace EfbInterface
u32 *dst = (u32*)&efb[offset];
u32 val = *dst & 0xff000000;
val |= depth & 0x00ffffff;
- *dst = val;
+ *dst = val;
}
break;
case PIXELFMT_RGB565_Z16:
@@ -194,7 +194,7 @@ namespace EfbInterface
u32 *dst = (u32*)&efb[offset];
u32 val = *dst & 0xff000000;
val |= depth & 0x00ffffff;
- *dst = val;
+ *dst = val;
}
break;
default:
diff --git a/Source/Core/VideoBackends/Software/Src/HwRasterizer.cpp b/Source/Core/VideoBackends/Software/Src/HwRasterizer.cpp
index 5e3e4a4ae0..996b440dc4 100644
--- a/Source/Core/VideoBackends/Software/Src/HwRasterizer.cpp
+++ b/Source/Core/VideoBackends/Software/Src/HwRasterizer.cpp
@@ -130,7 +130,7 @@ namespace HwRasterizer
glDepthFunc(GL_LEQUAL);
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
-
+
CreateShaders();
GL_REPORT_ERRORD();
}
@@ -141,7 +141,7 @@ namespace HwRasterizer
u32 imageAddr = texUnit.texImage3[0].image_base;
// Texture Rectangle uses pixel coordinates
// While GLES uses texture coordinates
-#ifdef USE_GLES
+#ifdef USE_GLES
width = texUnit.texImage0[0].width;
height = texUnit.texImage0[0].height;
#else
@@ -303,7 +303,7 @@ namespace HwRasterizer
{
glUseProgram(clearProg);
glVertexAttribPointer(clear_apos, 3, GL_FLOAT, GL_FALSE, 0, verts);
- glUniform4f(clear_ucol, r, g, b, a);
+ glUniform4f(clear_ucol, r, g, b, a);
glEnableVertexAttribArray(col_apos);
glDrawArrays(GL_TRIANGLE_FAN, 0, 4);
glDisableVertexAttribArray(col_apos);
diff --git a/Source/Core/VideoBackends/Software/Src/HwRasterizer.h b/Source/Core/VideoBackends/Software/Src/HwRasterizer.h
index ac0892841f..c3af17cec2 100644
--- a/Source/Core/VideoBackends/Software/Src/HwRasterizer.h
+++ b/Source/Core/VideoBackends/Software/Src/HwRasterizer.h
@@ -28,10 +28,10 @@ namespace HwRasterizer
struct TexCacheEntry
{
- TexImage0 texImage0;
- TexImage1 texImage1;
- TexImage2 texImage2;
- TexImage3 texImage3;
+ TexImage0 texImage0;
+ TexImage1 texImage1;
+ TexImage2 texImage2;
+ TexImage3 texImage3;
TexTLUT texTlut;
GLuint texture;
@@ -47,4 +47,4 @@ namespace HwRasterizer
static TextureCache textures;
}
-#endif
+#endif
diff --git a/Source/Core/VideoBackends/Software/Src/NativeVertexFormat.h b/Source/Core/VideoBackends/Software/Src/NativeVertexFormat.h
index 2f0213d469..9f9610910a 100644
--- a/Source/Core/VideoBackends/Software/Src/NativeVertexFormat.h
+++ b/Source/Core/VideoBackends/Software/Src/NativeVertexFormat.h
@@ -85,11 +85,11 @@ struct OutputVertexData
mvPosition.DoState(p);
p.Do(projectedPosition);
screenPosition.DoState(p);
- for (int i = 0; i < 3;++i)
- normal[i].DoState(p);
+ for (auto& vec : normal)
+ vec.DoState(p);
p.DoArray(color, sizeof color);
- for (int i = 0; i < 8;++i)
- texCoords[i].DoState(p);
+ for (auto& vec : texCoords)
+ vec.DoState(p);
}
};
diff --git a/Source/Core/VideoBackends/Software/Src/OpcodeDecoder.cpp b/Source/Core/VideoBackends/Software/Src/OpcodeDecoder.cpp
index 7c3408a316..21f0a97abd 100644
--- a/Source/Core/VideoBackends/Software/Src/OpcodeDecoder.cpp
+++ b/Source/Core/VideoBackends/Software/Src/OpcodeDecoder.cpp
@@ -82,7 +82,7 @@ void DecodePrimitiveStream(u32 iBufferSize)
void ReadXFData(u32 iBufferSize)
{
- _assert_msg_(VIDEO, iBufferSize >= (u32)(streamSize * 4), "Underflow during standard opcode decoding");
+ _assert_msg_(VIDEO, iBufferSize >= (u32)(streamSize * 4), "Underflow during standard opcode decoding");
u32 pData[16];
for (int i = 0; i < streamSize; i++)
@@ -109,7 +109,7 @@ void ExecuteDisplayList(u32 addr, u32 count)
u32 readCount = (u32)(g_pVideoData - dlStart);
dlStart = g_pVideoData;
- _assert_msg_(VIDEO, count >= readCount, "Display list underrun");
+ _assert_msg_(VIDEO, count >= readCount, "Display list underrun");
count -= readCount;
}
@@ -119,7 +119,7 @@ void ExecuteDisplayList(u32 addr, u32 count)
void DecodeStandard(u32 bufferSize)
{
- _assert_msg_(VIDEO, CommandRunnable(bufferSize), "Underflow during standard opcode decoding");
+ _assert_msg_(VIDEO, CommandRunnable(bufferSize), "Underflow during standard opcode decoding");
int Cmd = DataReadU8();
@@ -191,7 +191,7 @@ void DecodeStandard(u32 bufferSize)
// zelda 4 swords calls it and checks the metrics registers after that
break;
- case GX_CMD_INVL_VC:// Invalidate (vertex cache?)
+ case GX_CMD_INVL_VC:// Invalidate (vertex cache?)
DEBUG_LOG(VIDEO, "Invalidate (vertex cache?)");
break;
@@ -202,7 +202,7 @@ void DecodeStandard(u32 bufferSize)
}
break;
- // draw primitives
+ // draw primitives
default:
if (Cmd & 0x80)
{
@@ -284,7 +284,7 @@ bool CommandRunnable(u32 iBufferSize)
minSize = 5;
break;
- // draw primitives
+ // draw primitives
default:
if (Cmd & 0x80)
minSize = 3;
diff --git a/Source/Core/VideoBackends/Software/Src/Rasterizer.cpp b/Source/Core/VideoBackends/Software/Src/Rasterizer.cpp
index 3c45ee7d25..fa10ac38af 100644
--- a/Source/Core/VideoBackends/Software/Src/Rasterizer.cpp
+++ b/Source/Core/VideoBackends/Software/Src/Rasterizer.cpp
@@ -54,12 +54,12 @@ void DoState(PointerWrap &p)
{
ZSlope.DoState(p);
WSlope.DoState(p);
- for (int i=0;i<2;++i)
+ for (auto& ColorSlope : ColorSlopes)
for (int n=0; n<4; ++n)
- ColorSlopes[i][n].DoState(p);
- for (int i=0;i<8;++i)
+ ColorSlope[n].DoState(p);
+ for (auto& TexSlope : TexSlopes)
for (int n=0; n<3; ++n)
- TexSlopes[i][n].DoState(p);
+ TexSlope[n].DoState(p);
p.Do(vertex0X);
p.Do(vertex0Y);
p.Do(vertexOffsetX);
diff --git a/Source/Core/VideoBackends/Software/Src/SWCommandProcessor.cpp b/Source/Core/VideoBackends/Software/Src/SWCommandProcessor.cpp
index 5fd1353a94..06876a2035 100644
--- a/Source/Core/VideoBackends/Software/Src/SWCommandProcessor.cpp
+++ b/Source/Core/VideoBackends/Software/Src/SWCommandProcessor.cpp
@@ -88,7 +88,7 @@ void Init()
cpreg.bboxbottom = 0;
cpreg.token = 0;
-
+
et_UpdateInterrupts = CoreTiming::RegisterEvent("UpdateInterrupts", UpdateInterrupts_Wrapper);
// internal buffer position
@@ -174,7 +174,7 @@ void Write16(const u16 _Value, const u32 _Address)
cpreg.status.UnderflowLoWatermark = 0;
INFO_LOG(COMMANDPROCESSOR,"\t write to CLEAR_REGISTER : %04x",_Value);
- }
+ }
break;
// Fifo Registers
diff --git a/Source/Core/VideoBackends/Software/Src/SWPixelEngine.cpp b/Source/Core/VideoBackends/Software/Src/SWPixelEngine.cpp
index 6c81aedac7..a747a669ed 100644
--- a/Source/Core/VideoBackends/Software/Src/SWPixelEngine.cpp
+++ b/Source/Core/VideoBackends/Software/Src/SWPixelEngine.cpp
@@ -81,7 +81,7 @@ void Write16(const u16 _iValue, const u32 _iAddress)
switch (address)
{
- case PE_CTRL_REGISTER:
+ case PE_CTRL_REGISTER:
{
UPECtrlReg tmpCtrl(_iValue);
@@ -135,7 +135,7 @@ void SetToken_OnMainThread(u64 userdata, int cyclesLate)
void SetFinish_OnMainThread(u64 userdata, int cyclesLate)
{
- g_bSignalFinishInterrupt = true;
+ g_bSignalFinishInterrupt = true;
UpdateInterrupts();
}
diff --git a/Source/Core/VideoBackends/Software/Src/SWPixelEngine.h b/Source/Core/VideoBackends/Software/Src/SWPixelEngine.h
index b61af07a06..01fb49685b 100644
--- a/Source/Core/VideoBackends/Software/Src/SWPixelEngine.h
+++ b/Source/Core/VideoBackends/Software/Src/SWPixelEngine.h
@@ -46,7 +46,7 @@ namespace SWPixelEngine
union UPEZConfReg
{
u16 Hex;
- struct
+ struct
{
u16 ZCompEnable : 1; // Z Comparator Enable
u16 Function : 3;
@@ -58,7 +58,7 @@ namespace SWPixelEngine
union UPEAlphaConfReg
{
u16 Hex;
- struct
+ struct
{
u16 BMMath : 1; // GX_BM_BLEND || GX_BM_SUBSTRACT
u16 BMLogic : 1; // GX_BM_LOGIC
@@ -75,7 +75,7 @@ namespace SWPixelEngine
union UPEDstAlphaConfReg
{
u16 Hex;
- struct
+ struct
{
u16 DstAlpha : 8;
u16 Enable : 1;
@@ -86,7 +86,7 @@ namespace SWPixelEngine
union UPEAlphaModeConfReg
{
u16 Hex;
- struct
+ struct
{
u16 Threshold : 8;
u16 CompareMode : 8;
@@ -96,7 +96,7 @@ namespace SWPixelEngine
union UPEAlphaReadReg
{
u16 Hex;
- struct
+ struct
{
u16 ReadMode : 3;
u16 : 13;
@@ -105,7 +105,7 @@ namespace SWPixelEngine
union UPECtrlReg
{
- struct
+ struct
{
u16 PETokenEnable : 1;
u16 PEFinishEnable : 1;
diff --git a/Source/Core/VideoBackends/Software/Src/SWRenderer.cpp b/Source/Core/VideoBackends/Software/Src/SWRenderer.cpp
index 57557c1ee8..1d894b18da 100644
--- a/Source/Core/VideoBackends/Software/Src/SWRenderer.cpp
+++ b/Source/Core/VideoBackends/Software/Src/SWRenderer.cpp
@@ -30,7 +30,7 @@ void SWRenderer::Init()
void SWRenderer::Shutdown()
{
glDeleteProgram(program);
- glDeleteTextures(1, &s_RenderTarget);
+ glDeleteTextures(1, &s_RenderTarget);
#ifndef USE_GLES
delete s_pfont;
s_pfont = 0;
@@ -62,7 +62,7 @@ void CreateShaders()
uni_tex = glGetUniformLocation(program, "Texture");
attr_pos = glGetAttribLocation(program, "pos");
- attr_tex = glGetAttribLocation(program, "TexCoordIn");
+ attr_tex = glGetAttribLocation(program, "TexCoordIn");
}
void SWRenderer::Prepare()
@@ -100,7 +100,7 @@ void SWRenderer::DrawDebugText()
char *p = debugtext_buffer;
p[0] = 0;
- if (g_SWVideoConfig.bShowStats)
+ if (g_SWVideoConfig.bShowStats)
{
p+=sprintf(p,"Objects: %i\n",swstats.thisFrame.numDrawnObjects);
p+=sprintf(p,"Primitives: %i\n",swstats.thisFrame.numPrimatives);
@@ -136,7 +136,7 @@ void SWRenderer::DrawTexture(u8 *texture, int width, int height)
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, (GLsizei)width, (GLsizei)height, 0, GL_RGBA, GL_UNSIGNED_BYTE, texture);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
-
+
glUseProgram(program);
static const GLfloat verts[4][2] = {
{ -1, -1}, // Left top
@@ -161,13 +161,13 @@ void SWRenderer::DrawTexture(u8 *texture, int width, int height)
glDisableVertexAttribArray(attr_pos);
glDisableVertexAttribArray(attr_tex);
- glBindTexture(GL_TEXTURE_2D, 0);
+ glBindTexture(GL_TEXTURE_2D, 0);
GL_REPORT_ERRORD();
}
void SWRenderer::SwapBuffer()
{
- // Do our OSD callbacks
+ // Do our OSD callbacks
OSD::DoCallbacks(OSD::OSD_ONFRAME);
DrawDebugText();
@@ -177,7 +177,7 @@ void SWRenderer::SwapBuffer()
GLInterface->Swap();
swstats.ResetFrame();
-
+
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
GL_REPORT_ERRORD();
diff --git a/Source/Core/VideoBackends/Software/Src/SWVertexLoader.cpp b/Source/Core/VideoBackends/Software/Src/SWVertexLoader.cpp
index f176acd635..f08e2f3825 100644
--- a/Source/Core/VideoBackends/Software/Src/SWVertexLoader.cpp
+++ b/Source/Core/VideoBackends/Software/Src/SWVertexLoader.cpp
@@ -76,13 +76,13 @@ void SWVertexLoader::SetFormat(u8 attributeIndex, u8 primitiveType)
g_VtxDesc.Tex4Coord, g_VtxDesc.Tex5Coord, g_VtxDesc.Tex6Coord, (const u32)((g_VtxDesc.Hex >> 31) & 3)
};
const u32 tcElements[8] = {
- m_CurrentVat->g0.Tex0CoordElements, m_CurrentVat->g1.Tex1CoordElements, m_CurrentVat->g1.Tex2CoordElements,
+ m_CurrentVat->g0.Tex0CoordElements, m_CurrentVat->g1.Tex1CoordElements, m_CurrentVat->g1.Tex2CoordElements,
m_CurrentVat->g1.Tex3CoordElements, m_CurrentVat->g1.Tex4CoordElements, m_CurrentVat->g2.Tex5CoordElements,
m_CurrentVat->g2.Tex6CoordElements, m_CurrentVat->g2.Tex7CoordElements
};
const u32 tcFormat[8] = {
- m_CurrentVat->g0.Tex0CoordFormat, m_CurrentVat->g1.Tex1CoordFormat, m_CurrentVat->g1.Tex2CoordFormat,
+ m_CurrentVat->g0.Tex0CoordFormat, m_CurrentVat->g1.Tex1CoordFormat, m_CurrentVat->g1.Tex2CoordFormat,
m_CurrentVat->g1.Tex3CoordFormat, m_CurrentVat->g1.Tex4CoordFormat, m_CurrentVat->g2.Tex5CoordFormat,
m_CurrentVat->g2.Tex6CoordFormat, m_CurrentVat->g2.Tex7CoordFormat
};
@@ -161,10 +161,10 @@ void SWVertexLoader::SetFormat(u8 attributeIndex, u8 primitiveType)
{
m_VertexSize += VertexLoader_Normal::GetSize(g_VtxDesc.Normal,
m_CurrentVat->g0.NormalFormat, m_CurrentVat->g0.NormalElements, m_CurrentVat->g0.NormalIndex3);
-
+
m_normalLoader = VertexLoader_Normal::GetFunction(g_VtxDesc.Normal,
m_CurrentVat->g0.NormalFormat, m_CurrentVat->g0.NormalElements, m_CurrentVat->g0.NormalIndex3);
-
+
if (m_normalLoader == 0)
{
ERROR_LOG(VIDEO, "VertexLoader_Normal::GetFunction returned zero!");
@@ -192,7 +192,7 @@ void SWVertexLoader::SetFormat(u8 attributeIndex, u8 primitiveType)
}
AddAttributeLoader(LoadColor, i);
break;
- case INDEX8:
+ case INDEX8:
m_VertexSize += 1;
switch (colComp[i])
{
diff --git a/Source/Core/VideoBackends/Software/Src/SWVideoConfig.cpp b/Source/Core/VideoBackends/Software/Src/SWVideoConfig.cpp
index a6ebb97eb9..43b6a96ef7 100644
--- a/Source/Core/VideoBackends/Software/Src/SWVideoConfig.cpp
+++ b/Source/Core/VideoBackends/Software/Src/SWVideoConfig.cpp
@@ -12,7 +12,7 @@ SWVideoConfig::SWVideoConfig()
{
bFullscreen = false;
bHideCursor = false;
- renderToMainframe = false;
+ renderToMainframe = false;
bHwRasterizer = false;
diff --git a/Source/Core/VideoBackends/Software/Src/SWVideoConfig.h b/Source/Core/VideoBackends/Software/Src/SWVideoConfig.h
index 94e3a6b2a8..ce1857d774 100644
--- a/Source/Core/VideoBackends/Software/Src/SWVideoConfig.h
+++ b/Source/Core/VideoBackends/Software/Src/SWVideoConfig.h
@@ -19,7 +19,7 @@ struct SWVideoConfig : NonCopyable
// General
bool bFullscreen;
bool bHideCursor;
- bool renderToMainframe;
+ bool renderToMainframe;
bool bHwRasterizer;
diff --git a/Source/Core/VideoBackends/Software/Src/SWmain.cpp b/Source/Core/VideoBackends/Software/Src/SWmain.cpp
index 7f6792fc1c..939dd4553a 100644
--- a/Source/Core/VideoBackends/Software/Src/SWmain.cpp
+++ b/Source/Core/VideoBackends/Software/Src/SWmain.cpp
@@ -61,8 +61,8 @@ void VideoSoftware::ShowConfig(void *_hParent)
bool VideoSoftware::Initialize(void *&window_handle)
{
g_SWVideoConfig.Load((File::GetUserPath(D_CONFIG_IDX) + "gfx_software.ini").c_str());
- InitInterface();
-
+ InitInterface();
+
if (!GLInterface->Create(window_handle))
{
INFO_LOG(VIDEO, "%s", "SWRenderer::Create failed\n");
@@ -150,7 +150,7 @@ void VideoSoftware::Shutdown()
HwRasterizer::Shutdown();
SWRenderer::Shutdown();
- // Do our OSD callbacks
+ // Do our OSD callbacks
OSD::DoCallbacks(OSD::OSD_SHUTDOWN);
GLInterface->Shutdown();
@@ -177,7 +177,7 @@ void VideoSoftware::Video_Prepare()
// Handle VSync on/off
GLInterface->SwapInterval(VSYNC_ENABLED);
- // Do our OSD callbacks
+ // Do our OSD callbacks
OSD::DoCallbacks(OSD::OSD_INIT);
HwRasterizer::Prepare();
@@ -188,7 +188,7 @@ void VideoSoftware::Video_Prepare()
// Run from the CPU thread (from VideoInterface.cpp)
void VideoSoftware::Video_BeginField(u32 xfbAddr, u32 fbWidth, u32 fbHeight)
-{
+{
}
// Run from the CPU thread (from VideoInterface.cpp)
@@ -263,7 +263,7 @@ void VideoSoftware::Video_EnterLoop()
Common::SleepCurrentThread(1);
m_csSWVidOccupied.lock();
}
- }
+ }
}
void VideoSoftware::Video_ExitLoop()
diff --git a/Source/Core/VideoBackends/Software/Src/SetupUnit.cpp b/Source/Core/VideoBackends/Software/Src/SetupUnit.cpp
index f0cc179f25..b08584e0a9 100644
--- a/Source/Core/VideoBackends/Software/Src/SetupUnit.cpp
+++ b/Source/Core/VideoBackends/Software/Src/SetupUnit.cpp
@@ -99,7 +99,7 @@ void SetupUnit::SetupTriStrip()
m_VertPointer[2 - (m_VertexCounter & 1)] = m_VertPointer[0];
m_VertWritePointer = m_VertPointer[0];
- m_VertPointer[0] = &m_Vertices[(m_VertexCounter + 1) % 3];
+ m_VertPointer[0] = &m_Vertices[(m_VertexCounter + 1) % 3];
}
void SetupUnit::SetupTriFan()
diff --git a/Source/Core/VideoBackends/Software/Src/Tev.cpp b/Source/Core/VideoBackends/Software/Src/Tev.cpp
index effe1d3261..da9b30fe78 100644
--- a/Source/Core/VideoBackends/Software/Src/Tev.cpp
+++ b/Source/Core/VideoBackends/Software/Src/Tev.cpp
@@ -179,7 +179,7 @@ void Tev::DrawColorRegular(TevStageCombiner::ColorCombiner &cc)
InputReg.c = *m_ColorInputLUT[cc.c][i];
InputReg.d = *m_ColorInputLUT[cc.d][i];
- u16 c = InputReg.c + (InputReg.c >> 7);
+ u16 c = InputReg.c + (InputReg.c >> 7);
s32 temp = InputReg.a * (256 - c) + (InputReg.b * c);
temp = cc.op?(-temp >> 8):(temp >> 8);
@@ -285,7 +285,7 @@ void Tev::DrawColorCompare(TevStageCombiner::ColorCombiner &cc)
Reg[cc.dest][BLU_C + i] = InputReg.d + ((InputReg.a > InputReg.b) ? InputReg.c : 0);
}
break;
- case TEVCMP_RGB8_EQ:
+ case TEVCMP_RGB8_EQ:
for (int i = 0; i < 3; i++)
{
InputReg.a = *m_ColorInputLUT[cc.a][i];
@@ -307,7 +307,7 @@ void Tev::DrawAlphaRegular(TevStageCombiner::AlphaCombiner &ac)
InputReg.c = m_AlphaInputLUT[ac.c][ALP_C];
InputReg.d = m_AlphaInputLUT[ac.d][ALP_C];
- u16 c = InputReg.c + (InputReg.c >> 7);
+ u16 c = InputReg.c + (InputReg.c >> 7);
s32 temp = InputReg.a * (256 - c) + (InputReg.b * c);
temp = ac.op?(-temp >> 8):(temp >> 8);
@@ -736,8 +736,8 @@ void Tev::Draw()
s32 denom = bpmem.fog.b_magnitude - (Position[2] >> bpmem.fog.b_shift);
//in addition downscale magnitude and zs to 0.24 bits
ze = (bpmem.fog.a.GetA() * 16777215.0f) / (float)denom;
- }
- else
+ }
+ else
{
// orthographic
// ze = a*Zs
@@ -848,7 +848,7 @@ void Tev::SetRegColor(int reg, int comp, bool konst, s16 color)
void Tev::DoState(PointerWrap &p)
{
p.DoArray(Reg, sizeof(Reg));
-
+
p.DoArray(KonstantColors, sizeof(KonstantColors));
p.DoArray(TexColor,4);
p.DoArray(RasColor,4);
diff --git a/Source/Core/VideoBackends/Software/Src/Tev.h b/Source/Core/VideoBackends/Software/Src/Tev.h
index fee3c8022e..e86768ac0b 100644
--- a/Source/Core/VideoBackends/Software/Src/Tev.h
+++ b/Source/Core/VideoBackends/Software/Src/Tev.h
@@ -9,7 +9,7 @@
#include "ChunkFile.h"
class Tev
-{
+{
struct InputRegType
{
unsigned a : 8;
@@ -49,7 +49,7 @@ class Tev
{
BLU_INP,
GRN_INP,
- RED_INP
+ RED_INP
};
enum BufferBase
diff --git a/Source/Core/VideoBackends/Software/Src/TextureEncoder.cpp b/Source/Core/VideoBackends/Software/Src/TextureEncoder.cpp
index 9874e13449..07bb162cd6 100644
--- a/Source/Core/VideoBackends/Software/Src/TextureEncoder.cpp
+++ b/Source/Core/VideoBackends/Software/Src/TextureEncoder.cpp
@@ -359,7 +359,7 @@ void EncodeRGBA6(u8 *dst, u8 *src, u32 format)
SetSpans(sBlkSize, tBlkSize, tSpan, sBlkSpan, tBlkSpan, writeStride);
ENCODE_LOOP_BLOCKS
{
- RGBA_to_RGBA8(src, dst[1], dst[32], dst[33], dst[0]);
+ RGBA_to_RGBA8(src, dst[1], dst[32], dst[33], dst[0]);
src += readStride;
dst += 2;
}
@@ -563,7 +563,7 @@ void EncodeRGBA6halfscale(u8 *dst, u8 *src, u32 format)
boxfilterRGBA_to_RGB8(src, r, g, b);
src += readStride;
- u16 val = ((r << 8) & 0xf800) | ((g << 3) & 0x07e0) | ((b >> 3) & 0x001e);
+ u16 val = ((r << 8) & 0xf800) | ((g << 3) & 0x07e0) | ((b >> 3) & 0x001e);
*(u16*)dst = Common::swap16(val);
dst+=2;
}
@@ -595,7 +595,7 @@ void EncodeRGBA6halfscale(u8 *dst, u8 *src, u32 format)
SetSpans(sBlkSize, tBlkSize, tSpan, sBlkSpan, tBlkSpan, writeStride);
ENCODE_LOOP_BLOCKS
{
- boxfilterRGBA_to_RGBA8(src, dst[1], dst[32], dst[33], dst[0]);
+ boxfilterRGBA_to_RGBA8(src, dst[1], dst[32], dst[33], dst[0]);
src += readStride;
dst += 2;
}
@@ -721,7 +721,7 @@ void EncodeRGBA6halfscale(u8 *dst, u8 *src, u32 format)
default:
PanicAlert("Unknown texture copy format: 0x%x\n", format);
- break;
+ break;
}
}
@@ -790,7 +790,7 @@ void EncodeRGB8(u8 *dst, u8 *src, u32 format)
SetSpans(sBlkSize, tBlkSize, tSpan, sBlkSpan, tBlkSpan, writeStride);
ENCODE_LOOP_BLOCKS
{
- u16 val = ((src[2] << 8) & 0xf800) | ((src[1] << 3) & 0x07e0) | ((src[0] >> 3) & 0x001e);
+ u16 val = ((src[2] << 8) & 0xf800) | ((src[1] << 3) & 0x07e0) | ((src[0] >> 3) & 0x001e);
*(u16*)dst = Common::swap16(val);
src += readStride;
dst+=2;
@@ -935,7 +935,7 @@ void EncodeRGB8(u8 *dst, u8 *src, u32 format)
default:
PanicAlert("Unknown texture copy format: 0x%x\n", format);
- break;
+ break;
}
}
@@ -1010,7 +1010,7 @@ void EncodeRGB8halfscale(u8 *dst, u8 *src, u32 format)
ENCODE_LOOP_BLOCKS
{
boxfilterRGB_to_RGB8(src, r, g, b);
- u16 val = ((r << 8) & 0xf800) | ((g << 3) & 0x07e0) | ((b >> 3) & 0x001e);
+ u16 val = ((r << 8) & 0xf800) | ((g << 3) & 0x07e0) | ((b >> 3) & 0x001e);
*(u16*)dst = Common::swap16(val);
src += readStride;
dst+=2;
@@ -1166,7 +1166,7 @@ void EncodeRGB8halfscale(u8 *dst, u8 *src, u32 format)
default:
PanicAlert("Unknown texture copy format: 0x%x\n", format);
- break;
+ break;
}
}
@@ -1270,7 +1270,7 @@ void EncodeZ24(u8 *dst, u8 *src, u32 format)
default:
PanicAlert("Unknown texture copy format: 0x%x\n", format);
- break;
+ break;
}
}
@@ -1314,7 +1314,7 @@ void EncodeZ24halfscale(u8 *dst, u8 *src, u32 format)
SetSpans(sBlkSize, tBlkSize, tSpan, sBlkSpan, tBlkSpan, writeStride);
ENCODE_LOOP_BLOCKS
{
- boxfilterRGB_to_RGB8(src, dst[33], dst[32], dst[1]);
+ boxfilterRGB_to_RGB8(src, dst[33], dst[32], dst[1]);
dst[0] = 255;
src += readStride;
dst += 2;
@@ -1380,7 +1380,7 @@ void EncodeZ24halfscale(u8 *dst, u8 *src, u32 format)
default:
PanicAlert("Unknown texture copy format: 0x%x\n", format);
- break;
+ break;
}
}
@@ -1389,7 +1389,7 @@ void Encode(u8 *dest_ptr)
int pixelformat = bpmem.zcontrol.pixel_format;
bool bFromZBuffer = pixelformat == PIXELFMT_Z24;
bool bIsIntensityFmt = bpmem.triggerEFBCopy.intensity_fmt > 0;
- u32 copyfmt = ((bpmem.triggerEFBCopy.target_pixel_format / 2) + ((bpmem.triggerEFBCopy.target_pixel_format & 1) * 8));
+ u32 copyfmt = ((bpmem.triggerEFBCopy.target_pixel_format / 2) + ((bpmem.triggerEFBCopy.target_pixel_format & 1) * 8));
// pack copy format information into a single variable
u32 format = copyfmt;
diff --git a/Source/Core/VideoBackends/Software/Src/TextureSampler.cpp b/Source/Core/VideoBackends/Software/Src/TextureSampler.cpp
index f7c87ba513..0657f701f2 100644
--- a/Source/Core/VideoBackends/Software/Src/TextureSampler.cpp
+++ b/Source/Core/VideoBackends/Software/Src/TextureSampler.cpp
@@ -124,7 +124,7 @@ void SampleMip(s32 s, s32 t, s32 mip, bool linear, u8 texmap, u8 *sample)
int imageHeight = ti0.height;
int tlutAddress = texTlut.tmem_offset << 9;
-
+
// reduce sample location and texture size to mip level
// move texture pointer to mip location
if (mip)
diff --git a/Source/Core/VideoBackends/Software/Src/TransformUnit.cpp b/Source/Core/VideoBackends/Software/Src/TransformUnit.cpp
index a1c2bd190a..e00f05e4aa 100644
--- a/Source/Core/VideoBackends/Software/Src/TransformUnit.cpp
+++ b/Source/Core/VideoBackends/Software/Src/TransformUnit.cpp
@@ -248,7 +248,7 @@ void LightColor(const Vec3 &pos, const Vec3 &normal, u8 lightNum, const LitChann
float attn;
if (chan.attnfunc == 3) // spot
- {
+ {
float dist2 = ldir.length2();
float dist = sqrtf(dist2);
ldir = ldir / dist;
@@ -259,7 +259,7 @@ void LightColor(const Vec3 &pos, const Vec3 &normal, u8 lightNum, const LitChann
attn = SafeDivide(max(0.0f, cosAtt), distAtt);
}
else if (chan.attnfunc == 1) // specular
- {
+ {
// donko - what is going on here? 655.36 is a guess but seems about right.
attn = (light->pos * normal) > -655.36 ? max(0.0f, (light->dir * normal)) : 0;
ldir.set(1.0f, attn, attn * attn);
diff --git a/Source/Core/VideoBackends/Software/Src/Vec3.h b/Source/Core/VideoBackends/Software/Src/Vec3.h
index d4b1502dcb..117a6f4197 100644
--- a/Source/Core/VideoBackends/Software/Src/Vec3.h
+++ b/Source/Core/VideoBackends/Software/Src/Vec3.h
@@ -62,7 +62,7 @@ public:
Vec3 operator %(const Vec3 &v) const {
return Vec3(y*v.z-z*v.y, z*v.x-x*v.z, x*v.y-y*v.x);
- }
+ }
float length2() const {
return x*x+y*y+z*z;
}
@@ -88,11 +88,11 @@ public:
{
return *((&x) + i);
}
- bool operator == (const Vec3 &other) const
+ bool operator == (const Vec3 &other) const
{
if (x==other.x && y==other.y && z==other.z)
return true;
- else
+ else
return false;
}
void setZero()
diff --git a/Source/Core/VideoBackends/Software/Src/VideoBackend.h b/Source/Core/VideoBackends/Software/Src/VideoBackend.h
index 6c382aa0b2..4d85c637f0 100644
--- a/Source/Core/VideoBackends/Software/Src/VideoBackend.h
+++ b/Source/Core/VideoBackends/Software/Src/VideoBackend.h
@@ -9,57 +9,57 @@ namespace SW
class VideoSoftware : public VideoBackend
{
- bool Initialize(void *&);
- void Shutdown();
+ bool Initialize(void *&) override;
+ void Shutdown() override;
- std::string GetName();
+ std::string GetName() override;
- void EmuStateChange(EMUSTATE_CHANGE newState);
+ void EmuStateChange(EMUSTATE_CHANGE newState) override;
- void RunLoop(bool enable);
+ void RunLoop(bool enable) override;
- void ShowConfig(void* parent);
+ void ShowConfig(void* parent) override;
- void Video_Prepare();
- void Video_Cleanup();
+ void Video_Prepare() override;
+ void Video_Cleanup() override;
- void Video_EnterLoop();
- void Video_ExitLoop();
- void Video_BeginField(u32, u32, u32);
- void Video_EndField();
-
- u32 Video_AccessEFB(EFBAccessType, u32, u32, u32);
- u32 Video_GetQueryResult(PerfQueryType type);
+ void Video_EnterLoop() override;
+ void Video_ExitLoop() override;
+ void Video_BeginField(u32, u32, u32) override;
+ void Video_EndField() override;
- void Video_AddMessage(const char* pstr, unsigned int milliseconds);
- void Video_ClearMessages();
- bool Video_Screenshot(const char* filename);
+ u32 Video_AccessEFB(EFBAccessType, u32, u32, u32) override;
+ u32 Video_GetQueryResult(PerfQueryType type) override;
+
+ void Video_AddMessage(const char* pstr, unsigned int milliseconds) override;
+ void Video_ClearMessages() override;
+ bool Video_Screenshot(const char* filename) override;
int Video_LoadTexture(char *imagedata, u32 width, u32 height);
void Video_DeleteTexture(int texID);
void Video_DrawTexture(int texID, float *coords);
- void Video_SetRendering(bool bEnabled);
+ void Video_SetRendering(bool bEnabled) override;
+
+ void Video_GatherPipeBursted() override;
+ bool Video_IsHiWatermarkActive() override;
+ bool Video_IsPossibleWaitingSetDrawDone() override;
+ void Video_AbortFrame() override;
- void Video_GatherPipeBursted();
- bool Video_IsHiWatermarkActive();
- bool Video_IsPossibleWaitingSetDrawDone();
- void Video_AbortFrame();
+ readFn16 Video_CPRead16() override;
+ writeFn16 Video_CPWrite16() override;
+ readFn16 Video_PERead16() override;
+ writeFn16 Video_PEWrite16() override;
+ writeFn32 Video_PEWrite32() override;
- readFn16 Video_CPRead16();
- writeFn16 Video_CPWrite16();
- readFn16 Video_PERead16();
- writeFn16 Video_PEWrite16();
- writeFn32 Video_PEWrite32();
+ void UpdateFPSDisplay(const char*) override;
+ unsigned int PeekMessages() override;
- void UpdateFPSDisplay(const char*);
- unsigned int PeekMessages();
+ void PauseAndLock(bool doLock, bool unpauseOnUnlock=true) override;
+ void DoState(PointerWrap &p) override;
- void PauseAndLock(bool doLock, bool unpauseOnUnlock=true);
- void DoState(PointerWrap &p);
-
public:
- void CheckInvalidState();
+ void CheckInvalidState() override;
};
}
diff --git a/Source/Core/VideoBackends/Software/Src/VideoConfigDialog.cpp b/Source/Core/VideoBackends/Software/Src/VideoConfigDialog.cpp
index eea908edfc..5ac6946d23 100644
--- a/Source/Core/VideoBackends/Software/Src/VideoConfigDialog.cpp
+++ b/Source/Core/VideoBackends/Software/Src/VideoConfigDialog.cpp
@@ -28,7 +28,7 @@ VideoConfigDialog::VideoConfigDialog(wxWindow* parent, const std::string& title,
{
vconfig.Load((File::GetUserPath(D_CONFIG_IDX) + ininame + ".ini").c_str());
- wxNotebook* const notebook = new wxNotebook(this, -1, wxDefaultPosition, wxDefaultSize);
+ wxNotebook* const notebook = new wxNotebook(this, -1, wxDefaultPosition, wxDefaultSize);
// -- GENERAL --
{
@@ -79,7 +79,7 @@ VideoConfigDialog::VideoConfigDialog(wxWindow* parent, const std::string& title,
szr_info->Add(new SettingCheckBox(page_general, wxT("Various Statistics"), wxT(""), vconfig.bShowStats));
}
-
+
// - utility
{
wxStaticBoxSizer* const group_utility = new wxStaticBoxSizer(wxVERTICAL, page_general, wxT("Utility"));
diff --git a/Source/Core/VideoBackends/Software/Src/XFMemLoader.cpp b/Source/Core/VideoBackends/Software/Src/XFMemLoader.cpp
index 4580bafad8..899a5fab48 100644
--- a/Source/Core/VideoBackends/Software/Src/XFMemLoader.cpp
+++ b/Source/Core/VideoBackends/Software/Src/XFMemLoader.cpp
@@ -23,7 +23,7 @@ void XFWritten(u32 transferSize, u32 baseAddress)
if (baseAddress <= 0x1026 && topAddress >= 0x1020)
Clipper::SetViewOffset();
- // fix lights so invalid values don't trash the lighting computations
+ // fix lights so invalid values don't trash the lighting computations
if (baseAddress <= 0x067f && topAddress >= 0x0604)
{
u32* x = swxfregs.lights;
diff --git a/Source/Core/VideoBackends/Software/Src/XFMemLoader.h b/Source/Core/VideoBackends/Software/Src/XFMemLoader.h
index 75e05110bf..ff6c7267dd 100644
--- a/Source/Core/VideoBackends/Software/Src/XFMemLoader.h
+++ b/Source/Core/VideoBackends/Software/Src/XFMemLoader.h
@@ -158,7 +158,7 @@ struct Projection
union TexMtxInfo
{
- struct
+ struct
{
u32 unknown : 1;
u32 projection : 1; // XF_TEXPROJ_X
@@ -173,7 +173,7 @@ union TexMtxInfo
union PostMtxInfo
{
- struct
+ struct
{
u32 index : 6; // base row of dual transform matrix
u32 unused : 2;
diff --git a/Source/Core/VideoBackends/Software/Src/stdafx.h b/Source/Core/VideoBackends/Software/Src/stdafx.h
index 60f0912113..9d8868e8a9 100644
--- a/Source/Core/VideoBackends/Software/Src/stdafx.h
+++ b/Source/Core/VideoBackends/Software/Src/stdafx.h
@@ -9,5 +9,5 @@
#endif
#include <tchar.h>
-#include <windows.h>
+#include <windows.h>
diff --git a/Source/Core/VideoCommon/Src/AVIDump.cpp b/Source/Core/VideoCommon/Src/AVIDump.cpp
index 0910381d74..d6f2755e33 100644
--- a/Source/Core/VideoCommon/Src/AVIDump.cpp
+++ b/Source/Core/VideoCommon/Src/AVIDump.cpp
@@ -4,7 +4,7 @@
#if defined(__FreeBSD__)
#define __STDC_CONSTANT_MACROS 1
-#endif
+#endif
#include "AVIDump.h"
#include "HW/VideoInterface.h" //for TargetRefreshRate
@@ -71,9 +71,9 @@ bool AVIDump::CreateFile()
HRESULT hr = AVIFileOpenA(&m_file, movie_file_name, OF_WRITE | OF_CREATE, NULL);
if (FAILED(hr))
{
- if (hr == AVIERR_BADFORMAT) NOTICE_LOG(VIDEO, "The file couldn't be read, indicating a corrupt file or an unrecognized format.");
- if (hr == AVIERR_MEMORY) NOTICE_LOG(VIDEO, "The file could not be opened because of insufficient memory.");
- if (hr == AVIERR_FILEREAD) NOTICE_LOG(VIDEO, "A disk error occurred while reading the file.");
+ if (hr == AVIERR_BADFORMAT) NOTICE_LOG(VIDEO, "The file couldn't be read, indicating a corrupt file or an unrecognized format.");
+ if (hr == AVIERR_MEMORY) NOTICE_LOG(VIDEO, "The file could not be opened because of insufficient memory.");
+ if (hr == AVIERR_FILEREAD) NOTICE_LOG(VIDEO, "A disk error occurred while reading the file.");
if (hr == AVIERR_FILEOPEN) NOTICE_LOG(VIDEO, "A disk error occurred while opening the file.");
if (hr == REGDB_E_CLASSNOTREG) NOTICE_LOG(VIDEO, "AVI class not registered");
Stop();
diff --git a/Source/Core/VideoCommon/Src/AVIDump.h b/Source/Core/VideoCommon/Src/AVIDump.h
index dced69887e..f5697613ca 100644
--- a/Source/Core/VideoCommon/Src/AVIDump.h
+++ b/Source/Core/VideoCommon/Src/AVIDump.h
@@ -29,7 +29,7 @@ class AVIDump
static bool Start(int w, int h);
#endif
static void AddFrame(const u8* data, int width, int height);
-
+
static void Stop();
};
diff --git a/Source/Core/VideoCommon/Src/BPFunctions.cpp b/Source/Core/VideoCommon/Src/BPFunctions.cpp
index 9f4f4f3060..43623a94a8 100644
--- a/Source/Core/VideoCommon/Src/BPFunctions.cpp
+++ b/Source/Core/VideoCommon/Src/BPFunctions.cpp
@@ -49,8 +49,6 @@ void SetScissor()
TargetRectangle trc = g_renderer->ConvertEFBRectangle(rc);
g_renderer->SetScissorRect(trc);
-
- UpdateViewportWithCorrection();
}
void SetLineWidth()
diff --git a/Source/Core/VideoCommon/Src/BPMemory.cpp b/Source/Core/VideoCommon/Src/BPMemory.cpp
index 7272ed0993..7bc976a943 100644
--- a/Source/Core/VideoCommon/Src/BPMemory.cpp
+++ b/Source/Core/VideoCommon/Src/BPMemory.cpp
@@ -19,15 +19,18 @@ void LoadBPReg(u32 value0)
int opcode = value0 >> 24;
int oldval = ((u32*)&bpmem)[opcode];
int newval = (oldval & ~bpmem.bpMask) | (value0 & bpmem.bpMask);
- int changes = (oldval ^ newval) & 0xFFFFFF;
- BPCmd bp = {opcode, changes, newval};
-
- //reset the mask register
if (opcode != 0xFE)
+ {
+ //reset the mask register
bpmem.bpMask = 0xFFFFFF;
- BPWritten(bp);
+ int changes = (oldval ^ newval) & 0xFFFFFF;
+ BPCmd bp = {opcode, changes, newval};
+ BPWritten(bp);
+ }
+ else
+ bpmem.bpMask = newval;
}
void GetBPRegInfo(const u8* data, char* name, size_t name_size, char* desc, size_t desc_size)
diff --git a/Source/Core/VideoCommon/Src/BPMemory.h b/Source/Core/VideoCommon/Src/BPMemory.h
index 83dbefed50..94455b04bf 100644
--- a/Source/Core/VideoCommon/Src/BPMemory.h
+++ b/Source/Core/VideoCommon/Src/BPMemory.h
@@ -21,7 +21,7 @@
#define BPMEM_LINEPTWIDTH 0x22
#define BPMEM_PERF0_TRI 0x23
#define BPMEM_PERF0_QUAD 0x24
-#define BPMEM_RAS1_SS0 0x25
+#define BPMEM_RAS1_SS0 0x25
#define BPMEM_RAS1_SS1 0x26
#define BPMEM_IREF 0x27
#define BPMEM_TREF 0x28 // 0x28 + 8
@@ -47,7 +47,7 @@
#define BPMEM_TRIGGER_EFB_COPY 0x52
#define BPMEM_COPYFILTER0 0x53
#define BPMEM_COPYFILTER1 0x54
-#define BPMEM_CLEARBBOX1 0x55
+#define BPMEM_CLEARBBOX1 0x55
#define BPMEM_CLEARBBOX2 0x56
#define BPMEM_CLEAR_PIXEL_PERF 0x57
#define BPMEM_REVBITS 0x58
@@ -181,7 +181,7 @@ enum Compare
enum AlphaOp
{
- ALPHAOP_AND = 0,
+ ALPHAOP_AND = 0,
ALPHAOP_OR,
ALPHAOP_XOR,
ALPHAOP_XNOR,
@@ -289,7 +289,7 @@ struct TevStageCombiner
};
union AlphaCombiner
{
- struct
+ struct
{
u32 rswap : 2;
u32 tswap : 2;
@@ -367,7 +367,7 @@ struct TevStageCombiner
};
struct
{
- u32 hex : 21;
+ u32 hex : 21;
u32 unused : 11;
};
@@ -442,7 +442,7 @@ union RAS1_IREF
union TexMode0
{
- struct
+ struct
{
u32 wrap_s : 2;
u32 wrap_t : 2;
@@ -458,7 +458,7 @@ union TexMode0
};
union TexMode1
{
- struct
+ struct
{
u32 min_lod : 8;
u32 max_lod : 8;
@@ -467,7 +467,7 @@ union TexMode1
};
union TexImage0
{
- struct
+ struct
{
u32 width : 10; //actually w-1
u32 height : 10; //actually h-1
@@ -477,7 +477,7 @@ union TexImage0
};
union TexImage1
{
- struct
+ struct
{
u32 tmem_even : 15; // tmem line index for even LODs
u32 cache_width : 3;
@@ -489,10 +489,10 @@ union TexImage1
union TexImage2
{
- struct
+ struct
{
u32 tmem_odd : 15; // tmem line index for odd LODs
- u32 cache_width : 3;
+ u32 cache_width : 3;
u32 cache_height : 3;
};
u32 hex;
@@ -500,7 +500,7 @@ union TexImage2
union TexImage3
{
- struct
+ struct
{
u32 image_base: 24; //address in memory >> 5 (was 20 for GC)
};
@@ -508,7 +508,7 @@ union TexImage3
};
union TexTLUT
{
- struct
+ struct
{
u32 tmem_offset : 10;
u32 tlut_format : 2;
@@ -518,7 +518,7 @@ union TexTLUT
union ZTex1
{
- struct
+ struct
{
u32 bias : 24;
};
@@ -527,7 +527,7 @@ union ZTex1
union ZTex2
{
- struct
+ struct
{
u32 type : 2; // TEV_Z_TYPE_X
u32 op : 2; // GXZTexOp
@@ -563,7 +563,7 @@ struct FourTexUnits
union GenMode
{
- struct
+ struct
{
u32 numtexgens : 4; // 0xF
u32 numcolchans : 5; // 0x1E0
@@ -578,7 +578,7 @@ union GenMode
union LPSize
{
- struct
+ struct
{
u32 linesize : 8; // in 1/6th pixels
u32 pointsize : 8; // in 1/6th pixels
@@ -593,7 +593,7 @@ union LPSize
union X12Y12
{
- struct
+ struct
{
u32 y : 12;
u32 x : 12;
@@ -602,7 +602,7 @@ union X12Y12
};
union X10Y10
{
- struct
+ struct
{
u32 x : 10;
u32 y : 10;
@@ -626,7 +626,7 @@ union X10Y10
union BlendMode
{
- struct
+ struct
{
u32 blendenable : 1;
u32 logicopenable : 1;
@@ -644,7 +644,7 @@ union BlendMode
union FogParam0
{
- struct
+ struct
{
u32 mantissa : 11;
u32 exponent : 8;
@@ -674,7 +674,7 @@ union FogParam3
// amount to subtract from eyespacez after range adjustment
float GetC()
- {
+ {
union { u32 i; float f; } dummy;
dummy.i = ((u32)c_sign << 31) | ((u32)c_exp << 23) | ((u32)c_mant << 12); // scale mantissa from 11 to 23 bits
return dummy.f;
@@ -814,7 +814,7 @@ union PE_CONTROL
union TCInfo
{
- struct
+ struct
{
u32 scale_minus_1 : 16;
u32 range_bias : 1;
@@ -924,7 +924,7 @@ union AlphaTest
union UPE_Copy
{
u32 Hex;
- struct
+ struct
{
u32 clamp0 : 1; // if set clamp top
u32 clamp1 : 1; // if set clamp bottom
@@ -939,7 +939,7 @@ union UPE_Copy
u32 intensity_fmt : 1; // if set, is an intensity format (I4,I8,IA4,IA8)
u32 auto_conv : 1; // if 0 automatic color conversion by texture format and pixel type
};
- u32 tp_realFormat() {
+ u32 tp_realFormat() {
return target_pixel_format / 2 + (target_pixel_format & 1) * 8;
}
};
@@ -983,7 +983,7 @@ struct BPMemory
// indirect matrices (set by GXSetIndTexMtx, selected by TevStageIndirect::mid)
// abc form a 2x3 offset matrix, there's 3 such matrices
// the 3 offset matrices can either be indirect type, S-type, or T-type
- // 6bit scale factor s is distributed across IND_MTXA/B/C.
+ // 6bit scale factor s is distributed across IND_MTXA/B/C.
// before using matrices scale by 2^-(s-17)
IND_MTX indmtx[3];//06-0e GXSetIndTexMtx, 2x3 matrices
IND_IMASK imask;//0f
diff --git a/Source/Core/VideoCommon/Src/BPStructs.cpp b/Source/Core/VideoCommon/Src/BPStructs.cpp
index ab5789a078..ed3fcce5dc 100644
--- a/Source/Core/VideoCommon/Src/BPStructs.cpp
+++ b/Source/Core/VideoCommon/Src/BPStructs.cpp
@@ -27,7 +27,7 @@ static int numWrites;
extern volatile bool g_bSkipCurrentFrame;
-static const float s_gammaLUT[] =
+static const float s_gammaLUT[] =
{
1.0f,
1.7f,
@@ -67,7 +67,7 @@ void BPWritten(const BPCmd& bp)
just stuff geometry in them and don't put state changes there
----------------------------------------------------------------------------------------------------------------
*/
-
+
// check for invalid state, else unneeded configuration are built
g_video_backend->CheckInvalidState();
@@ -104,7 +104,7 @@ void BPWritten(const BPCmd& bp)
{
numWrites = 0;
}
- else if (++numWrites >= 100) // seem that if 100 consecutive BP writes are called to either of these addresses in ZTP,
+ else if (++numWrites >= 100) // seem that if 100 consecutive BP writes are called to either of these addresses in ZTP,
{ // then it is safe to assume the map texture address is currently loaded into the BP memory
mapTexAddress = bpmem.tex[0].texImage3[0].hex << 5;
mapTexFound = true;
@@ -119,7 +119,7 @@ void BPWritten(const BPCmd& bp)
FlushPipeline();
}
} // END ZTP SPEEDUP HACK
- else
+ else
{
if (((s32*)&bpmem)[bp.address] == bp.newvalue)
{
@@ -143,7 +143,7 @@ void BPWritten(const BPCmd& bp)
}
((u32*)&bpmem)[bp.address] = bp.newvalue;
-
+
switch (bp.address)
{
case BPMEM_GENMODE: // Set the Generation Mode
@@ -185,6 +185,7 @@ void BPWritten(const BPCmd& bp)
case BPMEM_SCISSORBR: // Scissor Rectable Bottom, Right
case BPMEM_SCISSOROFFSET: // Scissor Offset
SetScissor();
+ VertexShaderManager::SetViewportChanged();
break;
case BPMEM_LINEPTWIDTH: // Line Width
SetLineWidth();
@@ -198,7 +199,7 @@ void BPWritten(const BPCmd& bp)
{
if (bp.changes & 0xFFFF)
{
- PRIM_LOG("blendmode: en=%d, open=%d, colupd=%d, alphaupd=%d, dst=%d, src=%d, sub=%d, mode=%d",
+ PRIM_LOG("blendmode: en=%d, open=%d, colupd=%d, alphaupd=%d, dst=%d, src=%d, sub=%d, mode=%d",
bpmem.blendmode.blendenable, bpmem.blendmode.logicopenable, bpmem.blendmode.colorupdate, bpmem.blendmode.alphaupdate,
bpmem.blendmode.dstfactor, bpmem.blendmode.srcfactor, bpmem.blendmode.subtract, bpmem.blendmode.logicmode);
@@ -264,7 +265,7 @@ void BPWritten(const BPCmd& bp)
EFBRectangle rc;
rc.left = (int)bpmem.copyTexSrcXY.x;
rc.top = (int)bpmem.copyTexSrcXY.y;
-
+
// Here Width+1 like Height, otherwise some textures are corrupted already since the native resolution.
rc.right = (int)(bpmem.copyTexSrcXY.x + bpmem.copyTexSrcWH.x + 1);
rc.bottom = (int)(bpmem.copyTexSrcXY.y + bpmem.copyTexSrcWH.y + 1);
@@ -286,7 +287,7 @@ void BPWritten(const BPCmd& bp)
// We should be able to get away with deactivating the current bbox tracking
// here. Not sure if there's a better spot to put this.
// the number of lines copied is determined by the y scale * source efb height
-
+
PixelEngine::bbox_active = false;
float yScale;
@@ -302,8 +303,8 @@ void BPWritten(const BPCmd& bp)
xfbLines = MAX_XFB_HEIGHT;
}
- RenderToXFB(bp, rc, yScale, xfbLines,
- bpmem.copyTexDest << 5,
+ RenderToXFB(bp, rc, yScale, xfbLines,
+ bpmem.copyTexDest << 5,
bpmem.copyMipMapStrideChannels << 4,
(u32)xfbLines,
s_gammaLUT[PE_copy.gamma]);
@@ -376,7 +377,7 @@ void BPWritten(const BPCmd& bp)
{
if (bp.changes & 3)
PixelShaderManager::SetZTextureTypeChanged();
- #if defined(_DEBUG) || defined(DEBUGFAST)
+ #if defined(_DEBUG) || defined(DEBUGFAST)
const char* pzop[] = {"DISABLE", "ADD", "REPLACE", "?"};
const char* pztype[] = {"Z8", "Z16", "Z24", "?"};
PRIM_LOG("ztex op=%s, type=%s", pzop[bpmem.ztex2.op], pztype[bpmem.ztex2.type]);
@@ -441,7 +442,7 @@ void BPWritten(const BPCmd& bp)
{
int right = bp.newvalue >> 10;
int left = bp.newvalue & 0x3ff;
-
+
// We should only set these if bbox is calculated properly.
PixelEngine::bbox[0] = left;
PixelEngine::bbox[1] = right;
@@ -497,7 +498,7 @@ void BPWritten(const BPCmd& bp)
case BPMEM_IND_IMASK: // Index Mask ?
case BPMEM_REVBITS: // Always set to 0x0F when GX_InitRevBits() is called.
break;
-
+
case BPMEM_CLEAR_PIXEL_PERF:
// GXClearPixMetric writes 0xAAA here, Sunshine alternates this register between values 0x000 and 0xAAA
g_perf_query->ResetQuery();
diff --git a/Source/Core/VideoCommon/Src/CPMemory.h b/Source/Core/VideoCommon/Src/CPMemory.h
index 28bc3d7d95..0647c2ae39 100644
--- a/Source/Core/VideoCommon/Src/CPMemory.h
+++ b/Source/Core/VideoCommon/Src/CPMemory.h
@@ -38,7 +38,7 @@ enum
enum
{
FORMAT_16B_565 = 0, // NA
- FORMAT_24B_888 = 1,
+ FORMAT_24B_888 = 1,
FORMAT_32B_888x = 2,
FORMAT_16B_4444 = 3,
FORMAT_24B_6666 = 4,
@@ -56,7 +56,7 @@ enum
union TVtxDesc
{
u64 Hex;
- struct
+ struct
{
// 0: not present
// 1: present
@@ -70,9 +70,9 @@ union TVtxDesc
u32 Tex6MatIdx : 1;
u32 Tex7MatIdx : 1;
- // 00: not present
- // 01: direct
- // 10: 8 bit index
+ // 00: not present
+ // 01: direct
+ // 10: 8 bit index
// 11: 16 bit index
u32 Position : 2;
u32 Normal : 2;
@@ -98,21 +98,21 @@ union TVtxDesc
union UVAT_group0
{
u32 Hex;
- struct
+ struct
{
// 0:8
u32 PosElements : 1;
- u32 PosFormat : 3;
- u32 PosFrac : 5;
+ u32 PosFormat : 3;
+ u32 PosFrac : 5;
// 9:12
- u32 NormalElements : 1;
- u32 NormalFormat : 3;
+ u32 NormalElements : 1;
+ u32 NormalFormat : 3;
// 13:16
u32 Color0Elements : 1;
- u32 Color0Comp : 3;
+ u32 Color0Comp : 3;
// 17:20
u32 Color1Elements : 1;
- u32 Color1Comp : 3;
+ u32 Color1Comp : 3;
// 21:29
u32 Tex0CoordElements : 1;
u32 Tex0CoordFormat : 3;
@@ -126,7 +126,7 @@ union UVAT_group0
union UVAT_group1
{
u32 Hex;
- struct
+ struct
{
// 0:8
u32 Tex1CoordElements : 1;
@@ -143,7 +143,7 @@ union UVAT_group1
// 27:30
u32 Tex4CoordElements : 1;
u32 Tex4CoordFormat : 3;
- //
+ //
u32 : 1;
};
};
@@ -151,7 +151,7 @@ union UVAT_group1
union UVAT_group2
{
u32 Hex;
- struct
+ struct
{
// 0:4
u32 Tex4Frac : 5;
@@ -186,10 +186,10 @@ struct TexAttr
struct TVtxAttr
{
u8 PosElements;
- u8 PosFormat;
- u8 PosFrac;
+ u8 PosFormat;
+ u8 PosFrac;
u8 NormalElements;
- u8 NormalFormat;
+ u8 NormalFormat;
ColorAttr color[2];
TexAttr texCoord[8];
u8 ByteDequant;
diff --git a/Source/Core/VideoCommon/Src/CommandProcessor.cpp b/Source/Core/VideoCommon/Src/CommandProcessor.cpp
index d0645c31ea..4f64d4172c 100644
--- a/Source/Core/VideoCommon/Src/CommandProcessor.cpp
+++ b/Source/Core/VideoCommon/Src/CommandProcessor.cpp
@@ -108,7 +108,7 @@ void Init()
m_bboxbottom = 480;
m_tokenReg = 0;
-
+
memset(&fifo,0,sizeof(fifo));
fifo.CPCmdIdle = 1;
fifo.CPReadIdle = 1;
@@ -613,7 +613,7 @@ void ProcessFifoEvents()
void Shutdown()
{
-
+
}
void SetCpStatusRegister()
@@ -656,7 +656,7 @@ void SetCpControlRegister()
ProcessorInterface::Fifo_CPUBase = fifo.CPBase;
ProcessorInterface::Fifo_CPUEnd = fifo.CPEnd;
}
-
+
if(fifo.bFF_GPReadEnable && !m_CPCtrlReg.GPReadEnable)
{
fifo.bFF_GPReadEnable = m_CPCtrlReg.GPReadEnable;
diff --git a/Source/Core/VideoCommon/Src/CommandProcessor.h b/Source/Core/VideoCommon/Src/CommandProcessor.h
index 4cfa6cf8bf..6d480ef0bc 100644
--- a/Source/Core/VideoCommon/Src/CommandProcessor.h
+++ b/Source/Core/VideoCommon/Src/CommandProcessor.h
@@ -23,7 +23,7 @@ extern volatile bool interruptSet;
extern volatile bool interruptWaiting;
extern volatile bool interruptTokenWaiting;
extern volatile bool interruptFinishWaiting;
-
+
// internal hardware addresses
enum
{
diff --git a/Source/Core/VideoCommon/Src/DataReader.h b/Source/Core/VideoCommon/Src/DataReader.h
index 3488642385..95c992a011 100644
--- a/Source/Core/VideoCommon/Src/DataReader.h
+++ b/Source/Core/VideoCommon/Src/DataReader.h
@@ -43,7 +43,7 @@ __forceinline u16 DataPeek16(int _uOffset)
return DataPeek<u16>(_uOffset);
}
-__forceinline u32 DataPeek32(int _uOffset)
+__forceinline u32 DataPeek32(int _uOffset)
{
return DataPeek<u32>(_uOffset);
}
diff --git a/Source/Core/VideoCommon/Src/Debugger.cpp b/Source/Core/VideoCommon/Src/Debugger.cpp
index 85a9ba61f6..321fed8291 100644
--- a/Source/Core/VideoCommon/Src/Debugger.cpp
+++ b/Source/Core/VideoCommon/Src/Debugger.cpp
@@ -108,7 +108,7 @@ void GFXDebuggerBase::DumpPixelShader(const char* path)
}
File::CreateEmptyFile(filename);
- File::WriteStringToFile(true, output, filename);
+ File::WriteStringToFile(output, filename);
}
void GFXDebuggerBase::DumpVertexShader(const char* path)
@@ -117,7 +117,7 @@ void GFXDebuggerBase::DumpVertexShader(const char* path)
sprintf(filename, "%sdump_vs.txt", path);
File::CreateEmptyFile(filename);
-/// File::WriteStringToFile(true, GenerateVertexShaderCode(g_nativeVertexFmt->m_components, g_ActiveConfig.backend_info.APIType), filename);
+/// File::WriteStringToFile(GenerateVertexShaderCode(g_nativeVertexFmt->m_components, g_ActiveConfig.backend_info.APIType), filename);
}
void GFXDebuggerBase::DumpPixelShaderConstants(const char* path)
diff --git a/Source/Core/VideoCommon/Src/DriverDetails.cpp b/Source/Core/VideoCommon/Src/DriverDetails.cpp
index 4072f475f4..21b2273a49 100644
--- a/Source/Core/VideoCommon/Src/DriverDetails.cpp
+++ b/Source/Core/VideoCommon/Src/DriverDetails.cpp
@@ -51,7 +51,7 @@ namespace DriverDetails
m_vendor = vendor;
m_driver = driver;
m_version = version;
-
+
if (driver == DRIVER_UNKNOWN)
switch(vendor)
{
@@ -74,16 +74,16 @@ namespace DriverDetails
default:
break;
}
-
- for(unsigned int a = 0; a < (sizeof(m_known_bugs) / sizeof(BugInfo)); ++a)
+
+ for(auto& bug : m_known_bugs)
{
if(
- ( m_known_bugs[a].m_vendor == m_vendor || m_known_bugs[a].m_vendor == VENDOR_ALL ) &&
- ( m_known_bugs[a].m_driver == m_driver || m_known_bugs[a].m_driver == DRIVER_ALL ) &&
- ( m_known_bugs[a].m_versionstart <= m_version || m_known_bugs[a].m_versionstart == -1 ) &&
- ( m_known_bugs[a].m_versionend > m_version || m_known_bugs[a].m_versionend == -1 )
+ ( bug.m_vendor == m_vendor || bug.m_vendor == VENDOR_ALL ) &&
+ ( bug.m_driver == m_driver || bug.m_driver == DRIVER_ALL ) &&
+ ( bug.m_versionstart <= m_version || bug.m_versionstart == -1 ) &&
+ ( bug.m_versionend > m_version || bug.m_versionend == -1 )
)
- m_bugs.insert(std::make_pair(m_known_bugs[a].m_bug, m_known_bugs[a]));
+ m_bugs.insert(std::make_pair(bug.m_bug, bug));
}
}
@@ -91,7 +91,7 @@ namespace DriverDetails
{
auto it = m_bugs.find(bug);
if (it == m_bugs.end())
- return false;
+ return false;
return it->second.m_hasbug;
}
}
diff --git a/Source/Core/VideoCommon/Src/DriverDetails.h b/Source/Core/VideoCommon/Src/DriverDetails.h
index cc1b0d783c..b9ace5b4f5 100644
--- a/Source/Core/VideoCommon/Src/DriverDetails.h
+++ b/Source/Core/VideoCommon/Src/DriverDetails.h
@@ -69,7 +69,7 @@ namespace DriverDetails
// Affected devices: Qualcomm/Adreno
// Started Version: ? (Noticed on v14)
// Ended Version: -1
- // When compiling a shader, it is important that when it fails,
+ // When compiling a shader, it is important that when it fails,
// you first get the length of the information log prior to grabbing it.
// This allows you to allocate an array to store all of the log
// Adreno devices /always/ return 0 when querying GL_INFO_LOG_LENGTH
@@ -129,7 +129,7 @@ namespace DriverDetails
// PowerVR 5 hardware limitations don't allow it to support OpenGL ES 3
// This is fixed in PowerVR6
BUG_ISPOWERVR,
- // Bug: glBufferSubData/glMapBufferRange stalls + OOM
+ // Bug: glBufferSubData/glMapBufferRange stalls + OOM
// Affected devices: Adreno a3xx/Mali-t6xx
// Started Version: -1
// Ended Version: -1
@@ -138,10 +138,10 @@ namespace DriverDetails
// Apparently Mali and Adreno share code in this regard since it was wrote by the same person.
BUG_BROKENBUFFERSTREAM,
};
-
- // Initializes our internal vendor, device family, and driver version
+
+ // Initializes our internal vendor, device family, and driver version
void Init(Vendor vendor, Driver driver, const double version);
-
+
// Once Vendor and driver version is set, this will return if it has the applicable bug passed to it.
bool HasBug(Bug bug);
}
diff --git a/Source/Core/VideoCommon/Src/EmuWindow.cpp b/Source/Core/VideoCommon/Src/EmuWindow.cpp
index fc4c049c80..9b8cde5178 100644
--- a/Source/Core/VideoCommon/Src/EmuWindow.cpp
+++ b/Source/Core/VideoCommon/Src/EmuWindow.cpp
@@ -145,8 +145,8 @@ LRESULT CALLBACK WndProc( HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam )
// Called when a screensaver wants to show up while this window is active
case WM_SYSCOMMAND:
-
- switch (wParam)
+
+ switch (wParam)
{
case SC_SCREENSAVE:
case SC_MONITORPOWER:
diff --git a/Source/Core/VideoCommon/Src/Fifo.cpp b/Source/Core/VideoCommon/Src/Fifo.cpp
index b7e00e128a..92b9753623 100644
--- a/Source/Core/VideoCommon/Src/Fifo.cpp
+++ b/Source/Core/VideoCommon/Src/Fifo.cpp
@@ -28,7 +28,7 @@ static u8 *videoBuffer;
static int size = 0;
} // namespace
-void Fifo_DoState(PointerWrap &p)
+void Fifo_DoState(PointerWrap &p)
{
p.DoArray(videoBuffer, FIFO_SIZE);
p.Do(size);
@@ -148,7 +148,7 @@ void RunGpuLoop()
Common::AtomicStore(CommandProcessor::VITicks, CommandProcessor::m_cpClockOrigin);
- // check if we are able to run this buffer
+ // check if we are able to run this buffer
while (GpuRunningState && !CommandProcessor::interruptWaiting && fifo.bFF_GPReadEnable && fifo.CPReadWriteDistance && !AtBreakpoint())
{
fifo.isGpuReadingData = true;
@@ -181,11 +181,11 @@ void RunGpuLoop()
}
CommandProcessor::SetCpStatus();
-
+
// This call is pretty important in DualCore mode and must be called in the FIFO Loop.
// If we don't, s_swapRequested or s_efbAccessRequested won't be set to false
// leading the CPU thread to wait in Video_BeginField or Video_AccessEFB thus slowing things down.
- VideoFifo_CheckAsyncRequest();
+ VideoFifo_CheckAsyncRequest();
CommandProcessor::isPossibleWaitingSetDrawDone = false;
}
diff --git a/Source/Core/VideoCommon/Src/GenericDLCache.cpp b/Source/Core/VideoCommon/Src/GenericDLCache.cpp
index d6826bbbde..d5ed12c9c8 100644
--- a/Source/Core/VideoCommon/Src/GenericDLCache.cpp
+++ b/Source/Core/VideoCommon/Src/GenericDLCache.cpp
@@ -32,7 +32,7 @@ void Shutdown()
{
}
-void Clear()
+void Clear()
{
}
diff --git a/Source/Core/VideoCommon/Src/GenericTextureDecoder.cpp b/Source/Core/VideoCommon/Src/GenericTextureDecoder.cpp
index c5d14bfe9e..fa9c2b1520 100644
--- a/Source/Core/VideoCommon/Src/GenericTextureDecoder.cpp
+++ b/Source/Core/VideoCommon/Src/GenericTextureDecoder.cpp
@@ -50,7 +50,7 @@ extern const unsigned char sfont_raw[][9*10];
int TexDecoder_GetTexelSizeInNibbles(int format)
{
switch (format & 0x3f) {
- case GX_TF_I4: return 1;
+ case GX_TF_I4: return 1;
case GX_TF_I8: return 2;
case GX_TF_IA4: return 2;
case GX_TF_IA8: return 4;
@@ -61,7 +61,7 @@ int TexDecoder_GetTexelSizeInNibbles(int format)
case GX_TF_C8: return 2;
case GX_TF_C14X2: return 4;
case GX_TF_CMPR: return 1;
- case GX_CTF_R4: return 1;
+ case GX_CTF_R4: return 1;
case GX_CTF_RA4: return 2;
case GX_CTF_RA8: return 4;
case GX_CTF_YUVA8: return 8;
@@ -76,7 +76,7 @@ int TexDecoder_GetTexelSizeInNibbles(int format)
case GX_TF_Z16: return 4;
case GX_TF_Z24X8: return 8;
- case GX_CTF_Z4: return 1;
+ case GX_CTF_Z4: return 1;
case GX_CTF_Z8M: return 2;
case GX_CTF_Z8L: return 2;
case GX_CTF_Z16L: return 4;
@@ -93,7 +93,7 @@ int TexDecoder_GetBlockWidthInTexels(u32 format)
{
switch (format)
{
- case GX_TF_I4: return 8;
+ case GX_TF_I4: return 8;
case GX_TF_I8: return 8;
case GX_TF_IA4: return 8;
case GX_TF_IA8: return 4;
@@ -130,7 +130,7 @@ int TexDecoder_GetBlockHeightInTexels(u32 format)
{
switch (format)
{
- case GX_TF_I4: return 8;
+ case GX_TF_I4: return 8;
case GX_TF_I8: return 4;
case GX_TF_IA4: return 4;
case GX_TF_IA8: return 4;
@@ -307,7 +307,7 @@ inline void decodebytesC4RGB565_To_RGBA(u32* dst, const u8* src, int tlutaddr)
//inline void decodebytesC8(u32 *dst, const u8 *src, int numbytes, int tlutaddr, int tlutfmt)
inline void decodebytesC8_5A3_To_BGRA32(u32 *dst, const u8 *src, int tlutaddr)
-{
+{
u16 *tlut = (u16*)(texMem + tlutaddr);
for (int x = 0; x < 8; x++)
{
@@ -317,7 +317,7 @@ inline void decodebytesC8_5A3_To_BGRA32(u32 *dst, const u8 *src, int tlutaddr)
}
inline void decodebytesC8_5A3_To_RGBA32(u32 *dst, const u8 *src, int tlutaddr)
-{
+{
u16 *tlut = (u16*)(texMem + tlutaddr);
for (int x = 0; x < 8; x++)
{
@@ -471,7 +471,7 @@ inline void decodebytesARGB8_4(u32 *dst, const u16 *src, const u16 *src2)
// some unpack instruction x2:
// ABABABABABABABAB 1212121212121212 ->
// AB12AB12AB12AB12 AB12AB12AB12AB12
- // 2x pshufb->
+ // 2x pshufb->
// 21BA21BA21BA21BA 21BA21BA21BA21BA
// and we are done.
}
@@ -521,7 +521,7 @@ void decodeDXTBlock(u32 *dst, const DXTBlock *src, int pitch)
int green3 = ((green2 - green1) >> 1) - ((green2 - green1) >> 3);
int red3 = ((red2 - red1) >> 1) - ((red2 - red1) >> 3);
colors[2] = makecol(red1 + red3, green1 + green3, blue1 + blue3, 255);
- colors[3] = makecol(red2 - red3, green2 - green3, blue2 - blue3, 255);
+ colors[3] = makecol(red2 - red3, green2 - green3, blue2 - blue3, 255);
}
else
{
@@ -532,7 +532,7 @@ void decodeDXTBlock(u32 *dst, const DXTBlock *src, int pitch)
}
for (int y = 0; y < 4; y++)
- {
+ {
int val = src->lines[y];
for (int x = 0; x < 4; x++)
{
@@ -564,7 +564,7 @@ void decodeDXTBlockRGBA(u32 *dst, const DXTBlock *src, int pitch)
int green3 = ((green2 - green1) >> 1) - ((green2 - green1) >> 3);
int red3 = ((red2 - red1) >> 1) - ((red2 - red1) >> 3);
colors[2] = makeRGBA(red1 + red3, green1 + green3, blue1 + blue3, 255);
- colors[3] = makeRGBA(red2 - red3, green2 - green3, blue2 - blue3, 255);
+ colors[3] = makeRGBA(red2 - red3, green2 - green3, blue2 - blue3, 255);
}
else
{
@@ -575,7 +575,7 @@ void decodeDXTBlockRGBA(u32 *dst, const DXTBlock *src, int pitch)
}
for (int y = 0; y < 4; y++)
- {
+ {
int val = src->lines[y];
for (int x = 0; x < 4; x++)
{
@@ -629,7 +629,7 @@ PC_TexFormat GetPC_TexFormat(int texformat, int tlutfmt)
return PC_TEX_FMT_IA4_AS_IA8;
case GX_TF_IA8:
return PC_TEX_FMT_IA8;
- case GX_TF_C14X2:
+ case GX_TF_C14X2:
return GetPCFormatFromTLUTFormat(tlutfmt);
case GX_TF_RGB565:
return PC_TEX_FMT_RGB565;
@@ -739,7 +739,7 @@ PC_TexFormat TexDecoder_Decode_real(u8 *dst, const u8 *src, int width, int heigh
}
}
return PC_TEX_FMT_IA8;
- case GX_TF_C14X2:
+ case GX_TF_C14X2:
if (tlutfmt == 2)
{
// Special decoding is required for TLUT format 5A3
@@ -817,14 +817,14 @@ PC_TexFormat TexDecoder_Decode_real(u8 *dst, const u8 *src, int width, int heigh
{
for (int x = 0, yStep = (y / 8) * Wsteps8; x < width; x += 8, yStep++)
{
- const u8* src2 = src + 4 * sizeof(DXTBlock) * yStep;
+ const u8* src2 = src + 4 * sizeof(DXTBlock) * yStep;
decodeDXTBlock((u32*)dst + y * width + x, (DXTBlock*)src2, width);
src2 += sizeof(DXTBlock);
decodeDXTBlock((u32*)dst + y * width + x + 4, (DXTBlock*)src2, width);
src2 += sizeof(DXTBlock);
decodeDXTBlock((u32*)dst + (y + 4) * width + x, (DXTBlock*)src2, width);
src2 += sizeof(DXTBlock);
- decodeDXTBlock((u32*)dst + (y + 4) * width + x + 4, (DXTBlock*)src2, width);
+ decodeDXTBlock((u32*)dst + (y + 4) * width + x + 4, (DXTBlock*)src2, width);
}
}
#endif
@@ -937,7 +937,7 @@ PC_TexFormat TexDecoder_Decode_RGBA(u32 * dst, const u8 * src, int width, int he
for (int y = 0; y < height; y += 4)
for (int x = 0, yStep = (y / 4) * Wsteps8; x < width; x += 8, yStep++)
for (int iy = 0, xStep = 4 * yStep; iy < 4; iy++, xStep++)
- decodebytesC8RGB565_To_RGBA(dst + (y + iy) * width + x, src + 8 * xStep, tlutaddr);
+ decodebytesC8RGB565_To_RGBA(dst + (y + iy) * width + x, src + 8 * xStep, tlutaddr);
}
break;
@@ -1088,7 +1088,7 @@ PC_TexFormat TexDecoder_Decode(u8 *dst, const u8 *src, int width, int height, in
{
int xcnt = 0;
int nchar = sfont_map[(int)*fmt];
-
+
const unsigned char *ptr = sfont_raw[nchar]; // each char is up to 9x10
for (int x = 0; x < 9;x++)
@@ -1147,7 +1147,7 @@ PC_TexFormat TexDecoder_Decode(u8 *dst, const u8 *src, int width, int height, in
void TexDecoder_DecodeTexel(u8 *dst, const u8 *src, int s, int t, int imageWidth, int texformat, int tlutaddr, int tlutfmt)
{
/* General formula for computing texture offset
- //
+ //
u16 sBlk = s / blockWidth;
u16 tBlk = t / blockHeight;
u16 widthBlks = (width / blockWidth) + 1;
@@ -1289,7 +1289,7 @@ void TexDecoder_DecodeTexel(u8 *dst, const u8 *src, int s, int t, int imageWidth
*((u32*)dst) = decodeIA8Swapped(*valAddr);
}
break;
- case GX_TF_C14X2:
+ case GX_TF_C14X2:
{
u16 sBlk = s >> 2;
u16 tBlk = t >> 2;
@@ -1515,696 +1515,696 @@ const unsigned char sfont_map[] = {
const unsigned char sfont_raw[][9*10] = {
{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, 0x00, 0xff,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, 0x00, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, 0x00, 0xff,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, 0x00, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0xff,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0xff,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0xff,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0xff,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},
};
diff --git a/Source/Core/VideoCommon/Src/HiresTextures.cpp b/Source/Core/VideoCommon/Src/HiresTextures.cpp
index 80bc41f089..c88e4ae5d5 100644
--- a/Source/Core/VideoCommon/Src/HiresTextures.cpp
+++ b/Source/Core/VideoCommon/Src/HiresTextures.cpp
@@ -27,27 +27,27 @@ void Init(const char *gameCode)
char szDir[MAX_PATH];
sprintf(szDir, "%s%s", File::GetUserPath(D_HIRESTEXTURES_IDX).c_str(), gameCode);
Directories.push_back(std::string(szDir));
-
+
for (u32 i = 0; i < Directories.size(); i++)
{
File::FSTEntry FST_Temp;
File::ScanDirectoryTree(Directories[i], FST_Temp);
- for (u32 j = 0; j < FST_Temp.children.size(); j++)
+ for (auto& entry : FST_Temp.children)
{
- if (FST_Temp.children.at(j).isDirectory)
+ if (entry.isDirectory)
{
bool duplicate = false;
- for (u32 k = 0; k < Directories.size(); k++)
+ for (auto& Directory : Directories)
{
- if (strcmp(Directories[k].c_str(), FST_Temp.children.at(j).physicalName.c_str()) == 0)
+ if (strcmp(Directory.c_str(), entry.physicalName.c_str()) == 0)
{
duplicate = true;
break;
}
}
if (!duplicate)
- Directories.push_back(FST_Temp.children.at(j).physicalName.c_str());
+ Directories.push_back(entry.physicalName.c_str());
}
}
}
@@ -66,13 +66,13 @@ void Init(const char *gameCode)
if (rFilenames.size() > 0)
{
- for (u32 i = 0; i < rFilenames.size(); i++)
+ for (auto& rFilename : rFilenames)
{
std::string FileName;
- SplitPath(rFilenames[i], NULL, &FileName, NULL);
+ SplitPath(rFilename, NULL, &FileName, NULL);
if (FileName.substr(0, strlen(code)).compare(code) == 0 && textureMap.find(FileName) == textureMap.end())
- textureMap.insert(std::map<std::string, std::string>::value_type(FileName, rFilenames[i]));
+ textureMap.insert(std::map<std::string, std::string>::value_type(FileName, rFilename));
}
}
}
diff --git a/Source/Core/VideoCommon/Src/ImageWrite.cpp b/Source/Core/VideoCommon/Src/ImageWrite.cpp
index e8f3f68123..f53bd1c18f 100644
--- a/Source/Core/VideoCommon/Src/ImageWrite.cpp
+++ b/Source/Core/VideoCommon/Src/ImageWrite.cpp
@@ -26,7 +26,7 @@ struct TGA_HEADER
s16 height; // image height in pixels
u8 bits; // image bits per pixel 8,16,24,32
u8 descriptor; // image descriptor bits (vh flip bits)
-
+
// pixel data follows header
};
diff --git a/Source/Core/VideoCommon/Src/IndexGenerator.cpp b/Source/Core/VideoCommon/Src/IndexGenerator.cpp
index 25597862e0..4b49a4db5e 100644
--- a/Source/Core/VideoCommon/Src/IndexGenerator.cpp
+++ b/Source/Core/VideoCommon/Src/IndexGenerator.cpp
@@ -74,7 +74,7 @@ template <bool pr> __forceinline void IndexGenerator::WriteTriangle(u32 index1,
*Tptr++ = index3;
if(pr)
*Tptr++ = s_primitive_restart;
-
+
++numT;
}
@@ -96,7 +96,7 @@ template <bool pr> void IndexGenerator::AddStrip(u32 const numVerts)
}
*Tptr++ = s_primitive_restart;
numT += numVerts - 2;
-
+
}
else
{
@@ -115,27 +115,27 @@ template <bool pr> void IndexGenerator::AddStrip(u32 const numVerts)
/**
* FAN simulator:
- *
+ *
* 2---3
* / \ / \
* 1---0---4
- *
+ *
* would generate this triangles:
* 012, 023, 034
- *
+ *
* rotated (for better striping):
* 120, 302, 034
- *
+ *
* as odd ones have to winded, following strip is fine:
* 12034
- *
+ *
* so we use 6 indices for 3 triangles
*/
template <bool pr> void IndexGenerator::AddFan(u32 numVerts)
{
u32 i = 2;
-
+
if(pr)
{
for(; i+3<=numVerts; i+=3)
@@ -148,7 +148,7 @@ template <bool pr> void IndexGenerator::AddFan(u32 numVerts)
*Tptr++ = s_primitive_restart;
numT += 3;
}
-
+
for(; i+2<=numVerts; i+=2)
{
*Tptr++ = index + i - 1;
@@ -159,7 +159,7 @@ template <bool pr> void IndexGenerator::AddFan(u32 numVerts)
numT += 2;
}
}
-
+
for (; i < numVerts; ++i)
{
WriteTriangle<pr>(index, index + i - 1, index + i);
@@ -168,18 +168,18 @@ template <bool pr> void IndexGenerator::AddFan(u32 numVerts)
/*
* QUAD simulator
- *
+ *
* 0---1 4---5
* |\ | |\ |
* | \ | | \ |
* | \| | \|
* 3---2 7---6
- *
+ *
* 012,023, 456,467 ...
* or 120,302, 564,746
* or as strip: 1203, 5647
- *
- * Warning:
+ *
+ * Warning:
* A simple triangle has to be rendered for three vertices.
* ZWW do this for sun rays
*/
@@ -220,7 +220,7 @@ void IndexGenerator::AddLineList(u32 numVerts)
*Lptr++ = index + i;
++numL;
}
-
+
}
// shouldn't be used as strips as LineLists are much more common
diff --git a/Source/Core/VideoCommon/Src/IndexGenerator.h b/Source/Core/VideoCommon/Src/IndexGenerator.h
index 1f25119bc0..1f72e6e74f 100644
--- a/Source/Core/VideoCommon/Src/IndexGenerator.h
+++ b/Source/Core/VideoCommon/Src/IndexGenerator.h
@@ -29,7 +29,7 @@ public:
static u32 GetTriangleindexLen() {return (u32)(Tptr - BASETptr);}
static u32 GetLineindexLen() {return (u32)(Lptr - BASELptr);}
static u32 GetPointindexLen() {return (u32)(Pptr - BASEPptr);}
-
+
static u32 GetRemainingIndices();
/*
enum IndexPrimitiveType
diff --git a/Source/Core/VideoCommon/Src/MainBase.cpp b/Source/Core/VideoCommon/Src/MainBase.cpp
index 9df7ba9325..320f2d6752 100644
--- a/Source/Core/VideoCommon/Src/MainBase.cpp
+++ b/Source/Core/VideoCommon/Src/MainBase.cpp
@@ -181,12 +181,12 @@ void VideoFifo_CheckPerfQueryRequest()
if (s_perf_query_requested)
{
g_perf_query->FlushResults();
-
+
{
std::lock_guard<std::mutex> lk(s_perf_query_lock);
s_perf_query_requested = false;
}
-
+
s_perf_query_cond.notify_one();
}
}
@@ -262,7 +262,7 @@ void VideoBackendHardware::CheckInvalidState()
if (m_invalid)
{
m_invalid = false;
-
+
BPReload();
TextureCache::Invalidate();
}
diff --git a/Source/Core/VideoCommon/Src/NativeVertexFormat.h b/Source/Core/VideoCommon/Src/NativeVertexFormat.h
index f97b493e67..f4f060e7bb 100644
--- a/Source/Core/VideoCommon/Src/NativeVertexFormat.h
+++ b/Source/Core/VideoCommon/Src/NativeVertexFormat.h
@@ -92,7 +92,7 @@ struct PortableVertexDeclaration
// The implementation of this class is specific for GL/DX, so NativeVertexFormat.cpp
// is in the respective backend, not here in VideoCommon.
-// Note that this class can't just invent arbitrary vertex formats out of its input -
+// Note that this class can't just invent arbitrary vertex formats out of its input -
// all the data loading code must always be made compatible.
class NativeVertexFormat : NonCopyable
{
diff --git a/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp b/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
index 818a2365fe..72b0584908 100644
--- a/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
+++ b/Source/Core/VideoCommon/Src/OpcodeDecoding.cpp
@@ -130,7 +130,7 @@ u32 FifoCommandRunnable(u32 &command_size)
if (buffer_size == 0)
return 0; // can't peek
- u8 cmd_byte = DataPeek8(0);
+ u8 cmd_byte = DataPeek8(0);
switch (cmd_byte)
{
@@ -340,14 +340,14 @@ static void Decode()
u32 address = DataReadU32();
u32 count = DataReadU32();
ExecuteDisplayList(address, count);
- }
+ }
break;
case GX_CMD_UNKNOWN_METRICS: // zelda 4 swords calls it and checks the metrics registers after that
DEBUG_LOG(VIDEO, "GX 0x44: %08x", cmd_byte);
break;
- case GX_CMD_INVL_VC: // Invalidate Vertex Cache
+ case GX_CMD_INVL_VC: // Invalidate Vertex Cache
DEBUG_LOG(VIDEO, "Invalidate (vertex cache?)");
break;
@@ -359,7 +359,7 @@ static void Decode()
}
break;
- // draw primitives
+ // draw primitives
default:
if (cmd_byte & 0x80)
{
@@ -392,7 +392,7 @@ static void DecodeSemiNop()
switch (cmd_byte)
{
case GX_CMD_UNKNOWN_METRICS: // zelda 4 swords calls it and checks the metrics registers after that
- case GX_CMD_INVL_VC: // Invalidate Vertex Cache
+ case GX_CMD_INVL_VC: // Invalidate Vertex Cache
case GX_NOP:
break;
@@ -432,7 +432,7 @@ static void DecodeSemiNop()
break;
case GX_CMD_CALL_DL:
- // Hm, wonder if any games put tokens in display lists - in that case,
+ // Hm, wonder if any games put tokens in display lists - in that case,
// we'll have to parse them too.
DataSkip(8);
break;
@@ -447,7 +447,7 @@ static void DecodeSemiNop()
}
break;
- // draw primitives
+ // draw primitives
default:
if (cmd_byte & 0x80)
{
diff --git a/Source/Core/VideoCommon/Src/OpenCL.cpp b/Source/Core/VideoCommon/Src/OpenCL.cpp
index 6dac8725af..7781b04978 100644
--- a/Source/Core/VideoCommon/Src/OpenCL.cpp
+++ b/Source/Core/VideoCommon/Src/OpenCL.cpp
@@ -144,7 +144,7 @@ cl_program CompileProgram(const char *Kernel)
buildlog = new char[buildlog_size + 1];
err = clGetProgramBuildInfo(program, OpenCL::device_id, CL_PROGRAM_BUILD_LOG, buildlog_size, buildlog, NULL);
buildlog[buildlog_size] = 0;
-
+
if(err != CL_SUCCESS)
{
HandleCLError(err, "Error: can't get build log");
@@ -192,7 +192,7 @@ void Destroy()
{
clReleaseContext(g_context);
g_context = NULL;
- }
+ }
g_bInitialized = false;
}
diff --git a/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp b/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
index 211244c457..daea0bfca1 100644
--- a/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
+++ b/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
@@ -140,7 +140,7 @@ void TexDecoder_OpenCL_Initialize()
{
std::string code;
filename = File::GetSysDirectory() + OPENCL_DIR DIR_SEP "TextureDecoder.cl";
- if (!File::ReadFileToString(true, filename.c_str(), code))
+ if (!File::ReadFileToString(filename.c_str(), code))
{
ERROR_LOG(VIDEO, "Failed to load OpenCL code %s - file is missing?", filename.c_str());
return;
diff --git a/Source/Core/VideoCommon/Src/PixelEngine.cpp b/Source/Core/VideoCommon/Src/PixelEngine.cpp
index 5819f64a83..40a21a2132 100644
--- a/Source/Core/VideoCommon/Src/PixelEngine.cpp
+++ b/Source/Core/VideoCommon/Src/PixelEngine.cpp
@@ -26,7 +26,7 @@ namespace PixelEngine
union UPEZConfReg
{
u16 Hex;
- struct
+ struct
{
u16 ZCompEnable : 1; // Z Comparator Enable
u16 Function : 3;
@@ -38,7 +38,7 @@ union UPEZConfReg
union UPEAlphaConfReg
{
u16 Hex;
- struct
+ struct
{
u16 BMMath : 1; // GX_BM_BLEND || GX_BM_SUBSTRACT
u16 BMLogic : 1; // GX_BM_LOGIC
@@ -55,7 +55,7 @@ union UPEAlphaConfReg
union UPEDstAlphaConfReg
{
u16 Hex;
- struct
+ struct
{
u16 DstAlpha : 8;
u16 Enable : 1;
@@ -66,7 +66,7 @@ union UPEDstAlphaConfReg
union UPEAlphaModeConfReg
{
u16 Hex;
- struct
+ struct
{
u16 Threshold : 8;
u16 CompareMode : 8;
@@ -76,7 +76,7 @@ union UPEAlphaModeConfReg
// fifo Control Register
union UPECtrlReg
{
- struct
+ struct
{
u16 PETokenEnable : 1;
u16 PEFinishEnable : 1;
@@ -129,7 +129,7 @@ void DoState(PointerWrap &p)
p.Do(g_bSignalFinishInterrupt);
p.Do(interruptSetToken);
p.Do(interruptSetFinish);
-
+
p.Do(bbox);
p.Do(bbox_active);
}
@@ -187,7 +187,7 @@ void Read16(u16& _uReturnValue, const u32 _iAddress)
case PE_ALPHAMODE:
_uReturnValue = m_AlphaModeConf.Hex;
INFO_LOG(PIXELENGINE, "(r16) ALPHAMODE");
- break;
+ break;
case PE_ALPHAREAD:
_uReturnValue = m_AlphaRead.Hex;
WARN_LOG(PIXELENGINE, "(r16) ALPHAREAD");
@@ -303,7 +303,7 @@ void Read16(u16& _uReturnValue, const u32 _iAddress)
_uReturnValue = 1;
break;
}
-
+
}
void Write16(const u16 _iValue, const u32 _iAddress)
@@ -332,7 +332,7 @@ void Write16(const u16 _iValue, const u32 _iAddress)
INFO_LOG(PIXELENGINE, "(w16) ALPHAREAD: %02x", _iValue);
break;
- case PE_CTRL_REGISTER:
+ case PE_CTRL_REGISTER:
{
UPECtrlReg tmpCtrl(_iValue);
@@ -376,7 +376,7 @@ void UpdateInterrupts()
{
// check if there is a token-interrupt
UpdateTokenInterrupt((g_bSignalTokenInterrupt & m_Control.PETokenEnable));
-
+
// check if there is a finish-interrupt
UpdateFinishInterrupt((g_bSignalFinishInterrupt & m_Control.PEFinishEnable));
}
diff --git a/Source/Core/VideoCommon/Src/PixelEngine.h b/Source/Core/VideoCommon/Src/PixelEngine.h
index 65323590a1..c420dbe9f1 100644
--- a/Source/Core/VideoCommon/Src/PixelEngine.h
+++ b/Source/Core/VideoCommon/Src/PixelEngine.h
@@ -25,18 +25,18 @@ enum
// NOTE: Order not verified
// These indicate the number of quads that are being used as input/output for each particular stage
- PE_PERF_ZCOMP_INPUT_ZCOMPLOC_L = 0x18,
+ PE_PERF_ZCOMP_INPUT_ZCOMPLOC_L = 0x18,
PE_PERF_ZCOMP_INPUT_ZCOMPLOC_H = 0x1a,
- PE_PERF_ZCOMP_OUTPUT_ZCOMPLOC_L = 0x1c,
- PE_PERF_ZCOMP_OUTPUT_ZCOMPLOC_H = 0x1e,
- PE_PERF_ZCOMP_INPUT_L = 0x20,
+ PE_PERF_ZCOMP_OUTPUT_ZCOMPLOC_L = 0x1c,
+ PE_PERF_ZCOMP_OUTPUT_ZCOMPLOC_H = 0x1e,
+ PE_PERF_ZCOMP_INPUT_L = 0x20,
PE_PERF_ZCOMP_INPUT_H = 0x22,
- PE_PERF_ZCOMP_OUTPUT_L = 0x24,
- PE_PERF_ZCOMP_OUTPUT_H = 0x26,
- PE_PERF_BLEND_INPUT_L = 0x28,
- PE_PERF_BLEND_INPUT_H = 0x2a,
- PE_PERF_EFB_COPY_CLOCKS_L = 0x2c,
- PE_PERF_EFB_COPY_CLOCKS_H = 0x2e,
+ PE_PERF_ZCOMP_OUTPUT_L = 0x24,
+ PE_PERF_ZCOMP_OUTPUT_H = 0x26,
+ PE_PERF_BLEND_INPUT_L = 0x28,
+ PE_PERF_BLEND_INPUT_H = 0x2a,
+ PE_PERF_EFB_COPY_CLOCKS_L = 0x2c,
+ PE_PERF_EFB_COPY_CLOCKS_H = 0x2e,
};
namespace PixelEngine
diff --git a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp
index 274e4f511d..f107da783e 100644
--- a/Source/Core/VideoCommon/Src/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/Src/PixelShaderGen.cpp
@@ -316,8 +316,10 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T
// compute window position if needed because binding semantic WPOS is not widely supported
// Let's set up attributes
- for (int i = 0; i < xfregs.numTexGen.numTexGens; ++i)
+ for (unsigned int i = 0; i < xfregs.numTexGen.numTexGens; ++i)
+ {
out.Write("VARYIN float3 uv%d_2;\n", i);
+ }
out.Write("VARYIN float4 clipPos_2;\n");
if (g_ActiveConfig.bEnablePixelLighting && g_ActiveConfig.backend_info.bSupportsPixelLighting)
{
@@ -392,9 +394,13 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T
out.Write("float4 colors_1 = colors_12;\n");
// compute window position if needed because binding semantic WPOS is not widely supported
// Let's set up attributes
- if(numTexgen)
- for (int i = 0; i < xfregs.numTexGen.numTexGens; ++i)
+ if (numTexgen)
+ {
+ for (unsigned int i = 0; i < xfregs.numTexGen.numTexGens; ++i)
+ {
out.Write("float3 uv%d = uv%d_2;\n", i, i);
+ }
+ }
out.Write("float4 clipPos = clipPos_2;\n");
if (g_ActiveConfig.bEnablePixelLighting && g_ActiveConfig.backend_info.bSupportsPixelLighting)
{
@@ -529,7 +535,7 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T
AlphaTest::TEST_RESULT Pretest = bpmem.alpha_test.TestResult();
uid_data.Pretest = Pretest;
- // NOTE: Fragment may not be discarded if alpha test always fails and early depth test is enabled
+ // NOTE: Fragment may not be discarded if alpha test always fails and early depth test is enabled
// (in this case we need to write a depth value if depth test passes regardless of the alpha testing result)
if (Pretest == AlphaTest::UNDETERMINED || (Pretest == AlphaTest::FAIL && bpmem.UseLateDepthTest()))
WriteAlphaTest<T>(out, uid_data, ApiType, dstAlphaMode, per_pixel_depth);
diff --git a/Source/Core/VideoCommon/Src/PixelShaderManager.cpp b/Source/Core/VideoCommon/Src/PixelShaderManager.cpp
index 5f793b5a44..98722e48ce 100644
--- a/Source/Core/VideoCommon/Src/PixelShaderManager.cpp
+++ b/Source/Core/VideoCommon/Src/PixelShaderManager.cpp
@@ -29,7 +29,7 @@ void PixelShaderManager::Dirty()
s_bFogRangeAdjustChanged = true;
s_bViewPortChanged = true;
nLightsChanged[0] = 0; nLightsChanged[1] = 0x80;
-
+
SetColorChanged(0, 0);
SetColorChanged(0, 1);
SetColorChanged(0, 2);
@@ -84,7 +84,7 @@ void PixelShaderManager::SetConstants(u32 components)
// they are the coefficients from the center to the border of the screen
// so to simplify I use the hi coefficient as K in the shader taking 256 as the scale
constants.fog[2][0] = ScreenSpaceCenter;
- constants.fog[2][1] = Renderer::EFBToScaledX((int)(2.0f * xfregs.viewport.wd));
+ constants.fog[2][1] = (float)Renderer::EFBToScaledX((int)(2.0f * xfregs.viewport.wd));
constants.fog[2][2] = bpmem.fogRange.K[4].HI / 256.0f;
}
else
@@ -135,7 +135,7 @@ void PixelShaderManager::SetConstants(u32 components)
nLightsChanged[0] = nLightsChanged[1] = -1;
}
}
-
+
if(s_bViewPortChanged)
{
constants.zbias[1][0] = xfregs.viewport.farZ / 16777216.0f;
@@ -156,7 +156,7 @@ void PixelShaderManager::SetColorChanged(int type, int num)
c[num][2] = bpmem.tevregs[num].high.a / 255.0f;
c[num][1] = bpmem.tevregs[num].high.b / 255.0f;
dirty = true;
-
+
PRIM_LOG("pixel %scolor%d: %f %f %f %f\n", type?"k":"", num, c[num][0], c[num][1], c[num][2], c[num][3]);
}
@@ -179,7 +179,7 @@ void PixelShaderManager::SetTexDims(int texmapid, u32 width, u32 height, u32 wra
// or better, use textureSize() in glsl
if(constants.texdims[texmapid][0] != 1.0f/width || constants.texdims[texmapid][1] != 1.0f/height)
dirty = true;
-
+
constants.texdims[texmapid][0] = 1.0f/width;
constants.texdims[texmapid][1] = 1.0f/height;
}
@@ -263,8 +263,8 @@ void PixelShaderManager::SetZTextureTypeChanged()
void PixelShaderManager::SetTexCoordChanged(u8 texmapid)
{
TCoordInfo& tc = bpmem.texcoords[texmapid];
- constants.texdims[texmapid][2] = tc.s.scale_minus_1 + 1;
- constants.texdims[texmapid][3] = tc.t.scale_minus_1 + 1;
+ constants.texdims[texmapid][2] = (float)(tc.s.scale_minus_1 + 1);
+ constants.texdims[texmapid][3] = (float)(tc.t.scale_minus_1 + 1);
dirty = true;
}
@@ -283,7 +283,7 @@ void PixelShaderManager::SetFogParamChanged()
constants.fog[1][0] = bpmem.fog.a.GetA();
constants.fog[1][1] = (float)bpmem.fog.b_magnitude / 0xFFFFFF;
constants.fog[1][2] = bpmem.fog.c_proj_fsel.GetC();
- constants.fog[1][3] = 1 << bpmem.fog.b_shift;
+ constants.fog[1][3] = (float)(1 << bpmem.fog.b_shift);
}
else
{
@@ -336,7 +336,7 @@ void PixelShaderManager::DoState(PointerWrap &p)
{
p.Do(constants);
p.Do(dirty);
-
+
if (p.GetMode() == PointerWrap::MODE_READ)
{
Dirty();
diff --git a/Source/Core/VideoCommon/Src/PixelShaderManager.h b/Source/Core/VideoCommon/Src/PixelShaderManager.h
index c68ae569a2..d0c3509baa 100644
--- a/Source/Core/VideoCommon/Src/PixelShaderManager.h
+++ b/Source/Core/VideoCommon/Src/PixelShaderManager.h
@@ -42,7 +42,7 @@ public:
static void SetFogRangeAdjustChanged();
static void InvalidateXFRange(int start, int end);
static void SetMaterialColorChanged(int index, u32 color);
-
+
static PixelShaderConstants constants;
static bool dirty;
};
diff --git a/Source/Core/VideoCommon/Src/RenderBase.cpp b/Source/Core/VideoCommon/Src/RenderBase.cpp
index e06b00cdea..e509ccb980 100644
--- a/Source/Core/VideoCommon/Src/RenderBase.cpp
+++ b/Source/Core/VideoCommon/Src/RenderBase.cpp
@@ -30,7 +30,6 @@
#include "XFMemory.h"
#include "FifoPlayer/FifoRecorder.h"
#include "AVIDump.h"
-#include "VertexShaderManager.h"
#include <cmath>
#include <string>
@@ -67,7 +66,6 @@ unsigned int Renderer::efb_scale_numeratorX = 1;
unsigned int Renderer::efb_scale_numeratorY = 1;
unsigned int Renderer::efb_scale_denominatorX = 1;
unsigned int Renderer::efb_scale_denominatorY = 1;
-unsigned int Renderer::ssaa_multiplier = 1;
Renderer::Renderer()
@@ -90,7 +88,7 @@ Renderer::~Renderer()
// invalidate previous efb format
prev_efb_format = (unsigned int)-1;
- efb_scale_numeratorX = efb_scale_numeratorY = efb_scale_denominatorX = efb_scale_denominatorY = ssaa_multiplier = 1;
+ efb_scale_numeratorX = efb_scale_numeratorY = efb_scale_denominatorX = efb_scale_denominatorY = 1;
#if defined _WIN32 || defined HAVE_LIBAV
if (g_ActiveConfig.bDumpFrames && bLastFrameDumped && bAVIDumping)
@@ -130,10 +128,10 @@ int Renderer::EFBToScaledX(int x)
switch (g_ActiveConfig.iEFBScale)
{
case SCALE_AUTO: // fractional
- return (int)ssaa_multiplier * FramebufferManagerBase::ScaleToVirtualXfbWidth(x, s_backbuffer_width);
+ return FramebufferManagerBase::ScaleToVirtualXfbWidth(x, s_backbuffer_width);
default:
- return x * (int)ssaa_multiplier * (int)efb_scale_numeratorX / (int)efb_scale_denominatorX;
+ return x * (int)efb_scale_numeratorX / (int)efb_scale_denominatorX;
};
}
@@ -142,10 +140,10 @@ int Renderer::EFBToScaledY(int y)
switch (g_ActiveConfig.iEFBScale)
{
case SCALE_AUTO: // fractional
- return (int)ssaa_multiplier * FramebufferManagerBase::ScaleToVirtualXfbHeight(y, s_backbuffer_height);
+ return FramebufferManagerBase::ScaleToVirtualXfbHeight(y, s_backbuffer_height);
default:
- return y * (int)ssaa_multiplier * (int)efb_scale_numeratorY / (int)efb_scale_denominatorY;
+ return y * (int)efb_scale_numeratorY / (int)efb_scale_denominatorY;
};
}
@@ -164,7 +162,7 @@ void Renderer::CalculateTargetScale(int x, int y, int &scaledX, int &scaledY)
}
// return true if target size changed
-bool Renderer::CalculateTargetSize(unsigned int framebuffer_width, unsigned int framebuffer_height, int multiplier)
+bool Renderer::CalculateTargetSize(unsigned int framebuffer_width, unsigned int framebuffer_height)
{
int newEFBWidth, newEFBHeight;
@@ -228,15 +226,10 @@ bool Renderer::CalculateTargetSize(unsigned int framebuffer_width, unsigned int
break;
}
- newEFBWidth *= multiplier;
- newEFBHeight *= multiplier;
- ssaa_multiplier = multiplier;
-
if (newEFBWidth != s_target_width || newEFBHeight != s_target_height)
{
s_target_width = newEFBWidth;
s_target_height = newEFBHeight;
- VertexShaderManager::SetViewportChanged();
return true;
}
return false;
@@ -525,8 +518,8 @@ void Renderer::RecordVideoMemory()
FifoRecorder::GetInstance().SetVideoMemory(bpMem, cpMem, xfMem, xfRegs, sizeof(XFRegisters) / 4);
}
-void UpdateViewport(Matrix44& vpCorrection)
+void UpdateViewport()
{
if (xfregs.viewport.wd != 0 && xfregs.viewport.ht != 0)
- g_renderer->UpdateViewport(vpCorrection);
+ g_renderer->UpdateViewport();
}
diff --git a/Source/Core/VideoCommon/Src/RenderBase.h b/Source/Core/VideoCommon/Src/RenderBase.h
index 4e093700a9..22d31cde23 100644
--- a/Source/Core/VideoCommon/Src/RenderBase.h
+++ b/Source/Core/VideoCommon/Src/RenderBase.h
@@ -108,7 +108,7 @@ public:
// Finish up the current frame, print some stats
virtual void Swap(u32 xfbAddr, u32 fbWidth, u32 fbHeight, const EFBRectangle& rc,float Gamma = 1.0f) = 0;
- virtual void UpdateViewport(Matrix44& vpCorrection) = 0;
+ virtual void UpdateViewport() = 0;
virtual bool SaveScreenshot(const std::string &filename, const TargetRectangle &rc) = 0;
@@ -118,7 +118,7 @@ public:
protected:
static void CalculateTargetScale(int x, int y, int &scaledX, int &scaledY);
- static bool CalculateTargetSize(unsigned int framebuffer_width, unsigned int framebuffer_height, int multiplier = 1);
+ static bool CalculateTargetSize(unsigned int framebuffer_width, unsigned int framebuffer_height);
static void CheckFifoRecording();
static void RecordVideoMemory();
@@ -159,11 +159,10 @@ private:
static unsigned int efb_scale_numeratorY;
static unsigned int efb_scale_denominatorX;
static unsigned int efb_scale_denominatorY;
- static unsigned int ssaa_multiplier;
};
extern Renderer *g_renderer;
-void UpdateViewport(Matrix44& vpCorrection);
+void UpdateViewport();
#endif // _COMMON_RENDERBASE_H_
diff --git a/Source/Core/VideoCommon/Src/ShaderGenCommon.h b/Source/Core/VideoCommon/Src/ShaderGenCommon.h
index 31ec8d3e71..b56e9f29ff 100644
--- a/Source/Core/VideoCommon/Src/ShaderGenCommon.h
+++ b/Source/Core/VideoCommon/Src/ShaderGenCommon.h
@@ -236,7 +236,7 @@ public:
u32 value = ((u32*)&new_uid.GetUidData())[i];
if ((i % 4) == 0)
{
- unsigned int last_value = (i+3 < new_uid.GetUidDataSize()-1) ? i+3 : new_uid.GetUidDataSize();
+ auto last_value = (i+3 < new_uid.GetUidDataSize()-1) ? i+3 : new_uid.GetUidDataSize();
file << std::setfill(' ') << std::dec;
file << "Values " << std::setw(2) << i << " - " << last_value << ": ";
}
@@ -253,7 +253,7 @@ public:
}
}
}
-
+
private:
std::map<UidT,std::string> m_shaders;
std::vector<UidT> m_uids;
diff --git a/Source/Core/VideoCommon/Src/Statistics.h b/Source/Core/VideoCommon/Src/Statistics.h
index a7976651a5..3a79061b7a 100644
--- a/Source/Core/VideoCommon/Src/Statistics.h
+++ b/Source/Core/VideoCommon/Src/Statistics.h
@@ -21,7 +21,7 @@ struct Statistics
int numRenderTargetsCreated;
int numRenderTargetsAlive;
-
+
int numDListsCalled;
int numDListsCreated;
int numDListsAlive;
@@ -44,11 +44,11 @@ struct Statistics
int numBPLoads;
int numCPLoads;
int numXFLoads;
-
+
int numBPLoadsInDL;
int numCPLoadsInDL;
int numXFLoadsInDL;
-
+
int numDLs;
int numPrims;
int numDLPrims;
@@ -60,7 +60,7 @@ struct Statistics
int numBufferSplits;
int numDListsCalled;
-
+
int bytesVertexStreamed;
int bytesIndexStreamed;
int bytesUniformStreamed;
diff --git a/Source/Core/VideoCommon/Src/TextureCacheBase.cpp b/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
index 111f70cac1..05c2e88aae 100644
--- a/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
@@ -112,7 +112,7 @@ void TextureCache::OnConfigChanged(VideoConfig& config)
g_texture_cache->ClearRenderTargets();
}
}
-
+
backup_config.s_colorsamples = config.iSafeTextureCache_ColorSamples;
backup_config.s_copy_efb_to_texture = config.bCopyEFBToTexture;
backup_config.s_copy_efb_scaled = config.bCopyEFBScaled;
@@ -131,7 +131,7 @@ void TextureCache::Cleanup()
while (iter != tcend)
{
if ( frameCount > TEXTURE_KILL_THRESHOLD + iter->second->frameCount
-
+
// EFB copies living on the host GPU are unrecoverable and thus shouldn't be deleted
&& ! iter->second->IsEfbCopy() )
{
@@ -445,9 +445,12 @@ TextureCache::TCacheEntryBase* TextureCache::Load(unsigned int const stage,
expandedWidth = width;
expandedHeight = height;
- // If we thought we could reuse the texture before, make sure to delete it now!
- delete entry;
- entry = NULL;
+ // If we thought we could reuse the texture before, make sure to pool it now!
+ if(entry)
+ {
+ delete entry;
+ entry = NULL;
+ }
}
using_custom_texture = true;
}
@@ -499,7 +502,7 @@ TextureCache::TCacheEntryBase* TextureCache::Load(unsigned int const stage,
entry->SetGeneralParameters(address, texture_size, full_format, entry->num_mipmaps);
entry->SetDimensions(nativeW, nativeH, width, height);
entry->hash = tex_hash;
-
+
if (entry->IsEfbCopy() && !g_ActiveConfig.bCopyEFBToTexture)
entry->type = TCET_EC_DYNAMIC;
else
@@ -515,7 +518,7 @@ TextureCache::TCacheEntryBase* TextureCache::Load(unsigned int const stage,
if (use_native_mips)
{
src_data += texture_size;
-
+
const u8* ptr_even = NULL;
const u8* ptr_odd = NULL;
if (from_tmem)
@@ -530,13 +533,13 @@ TextureCache::TCacheEntryBase* TextureCache::Load(unsigned int const stage,
const u32 mip_height = CalculateLevelSize(height, level);
const u32 expanded_mip_width = (mip_width + bsw) & (~bsw);
const u32 expanded_mip_height = (mip_height + bsh) & (~bsh);
-
+
const u8*& mip_src_data = from_tmem
? ((level % 2) ? ptr_odd : ptr_even)
: src_data;
TexDecoder_Decode(temp, mip_src_data, expanded_mip_width, expanded_mip_height, texformat, tlutaddr, tlutfmt, g_ActiveConfig.backend_info.bUseRGBATextures);
mip_src_data += TexDecoder_GetTextureSizeInBytes(expanded_mip_width, expanded_mip_height, texformat);
-
+
entry->Load(mip_width, mip_height, expanded_mip_width, level);
if (g_ActiveConfig.bDumpTextures)
@@ -566,19 +569,19 @@ void TextureCache::CopyRenderTargetToTexture(u32 dstAddr, unsigned int dstFormat
const EFBRectangle& srcRect, bool isIntensity, bool scaleByHalf)
{
// Emulation methods:
- //
+ //
// - EFB to RAM:
// Encodes the requested EFB data at its native resolution to the emulated RAM using shaders.
// Load() decodes the data from there again (using TextureDecoder) if the EFB copy is being used as a texture again.
// Advantage: CPU can read data from the EFB copy and we don't lose any important updates to the texture
// Disadvantage: Encoding+decoding steps often are redundant because only some games read or modify EFB copies before using them as textures.
- //
+ //
// - EFB to texture:
// Copies the requested EFB data to a texture object in VRAM, performing any color conversion using shaders.
// Advantage: Works for many games, since in most cases EFB copies aren't read or modified at all before being used as a texture again.
// Since we don't do any further encoding or decoding here, this method is much faster.
// It also allows enhancing the visual quality by doing scaled EFB copies.
- //
+ //
// - Hybrid EFB copies:
// 1a) Whenever this function gets called, encode the requested EFB data to RAM (like EFB to RAM)
// 1b) Set type to TCET_EC_DYNAMIC for all texture cache entries in the destination address range.
@@ -667,10 +670,10 @@ void TextureCache::CopyRenderTargetToTexture(u32 dstAddr, unsigned int dstFormat
break;
}
}
- else if (isIntensity)
+ else if (isIntensity)
{
fConstAdd[0] = fConstAdd[1] = fConstAdd[2] = 16.0f/255.0f;
- switch (dstFormat)
+ switch (dstFormat)
{
case 0: // I4
case 1: // I8
@@ -682,7 +685,7 @@ void TextureCache::CopyRenderTargetToTexture(u32 dstAddr, unsigned int dstFormat
colmat[4] = 0.257f; colmat[5] = 0.504f; colmat[6] = 0.098f;
colmat[8] = 0.257f; colmat[9] = 0.504f; colmat[10] = 0.098f;
- if (dstFormat < 2 || dstFormat == 8)
+ if (dstFormat < 2 || dstFormat == 8)
{
colmat[12] = 0.257f; colmat[13] = 0.504f; colmat[14] = 0.098f;
fConstAdd[3] = 16.0f/255.0f;
@@ -710,7 +713,7 @@ void TextureCache::CopyRenderTargetToTexture(u32 dstAddr, unsigned int dstFormat
{
cbufid = 11;
}
-
+
}
break;
@@ -723,7 +726,7 @@ void TextureCache::CopyRenderTargetToTexture(u32 dstAddr, unsigned int dstFormat
}
else
{
- switch (dstFormat)
+ switch (dstFormat)
{
case 0: // R4
colmat[0] = colmat[4] = colmat[8] = colmat[12] = 1;
diff --git a/Source/Core/VideoCommon/Src/TextureConversionShader.cpp b/Source/Core/VideoCommon/Src/TextureConversionShader.cpp
index 9b6c8762ff..99e9f702c7 100644
--- a/Source/Core/VideoCommon/Src/TextureConversionShader.cpp
+++ b/Source/Core/VideoCommon/Src/TextureConversionShader.cpp
@@ -12,7 +12,6 @@
#include "TextureConversionShader.h"
#include "TextureDecoder.h"
-#include "PixelShaderManager.h"
#include "PixelShaderGen.h"
#include "BPMemory.h"
#include "RenderBase.h"
@@ -67,7 +66,7 @@ const char* WriteRegister(API_TYPE ApiType, const char *prefix, const u32 num)
return result;
}
-// block dimensions : widthStride, heightStride
+// block dimensions : widthStride, heightStride
// texture dims : width, height, x offset, y offset
void WriteSwizzler(char*& p, u32 format, API_TYPE ApiType)
{
@@ -76,9 +75,9 @@ void WriteSwizzler(char*& p, u32 format, API_TYPE ApiType)
// Two were merged for GLSL
WRITE(p, "uniform float4 " I_COLORS"[2] %s;\n", WriteRegister(ApiType, "c", C_COLORS));
- float blkW = (float)TexDecoder_GetBlockWidthInTexels(format);
- float blkH = (float)TexDecoder_GetBlockHeightInTexels(format);
- float samples = (float)GetEncodedSampleCount(format);
+ int blkW = TexDecoder_GetBlockWidthInTexels(format);
+ int blkH = TexDecoder_GetBlockHeightInTexels(format);
+ int samples = GetEncodedSampleCount(format);
if (ApiType == API_OPENGL)
{
WRITE(p, "#define samp0 samp9\n");
@@ -102,19 +101,19 @@ void WriteSwizzler(char*& p, u32 format, API_TYPE ApiType)
" float2 sampleUv;\n"
" float2 uv1 = floor(uv0);\n");
- WRITE(p, " uv1.x = uv1.x * %f;\n", samples);
+ WRITE(p, " uv1.x = uv1.x * %d.0;\n", samples);
- WRITE(p, " float xl = floor(uv1.x / %f);\n", blkW);
- WRITE(p, " float xib = uv1.x - (xl * %f);\n", blkW);
- WRITE(p, " float yl = floor(uv1.y / %f);\n", blkH);
- WRITE(p, " float yb = yl * %f;\n", blkH);
+ WRITE(p, " float xl = floor(uv1.x / %d.0);\n", blkW);
+ WRITE(p, " float xib = uv1.x - (xl * %d.0);\n", blkW);
+ WRITE(p, " float yl = floor(uv1.y / %d.0);\n", blkH);
+ WRITE(p, " float yb = yl * %d.0;\n", blkH);
WRITE(p, " float yoff = uv1.y - yb;\n");
WRITE(p, " float xp = uv1.x + (yoff * " I_COLORS"[1].x);\n");
- WRITE(p, " float xel = floor(xp / %f);\n", blkW);
- WRITE(p, " float xb = floor(xel / %f);\n", blkH);
- WRITE(p, " float xoff = xel - (xb * %f);\n", blkH);
+ WRITE(p, " float xel = floor(xp / %d.0);\n", blkW);
+ WRITE(p, " float xb = floor(xel / %d.0);\n", blkH);
+ WRITE(p, " float xoff = xel - (xb * %d.0);\n", blkH);
- WRITE(p, " sampleUv.x = xib + (xb * %f);\n", blkW);
+ WRITE(p, " sampleUv.x = xib + (xb * %d.0);\n", blkW);
WRITE(p, " sampleUv.y = yb + xoff;\n");
WRITE(p, " sampleUv = sampleUv * " I_COLORS"[0].xy;\n");
@@ -140,8 +139,8 @@ void Write32BitSwizzler(char*& p, u32 format, API_TYPE ApiType)
// Two were merged for GLSL
WRITE(p, "uniform float4 " I_COLORS"[2] %s;\n", WriteRegister(ApiType, "c", C_COLORS));
- float blkW = (float)TexDecoder_GetBlockWidthInTexels(format);
- float blkH = (float)TexDecoder_GetBlockHeightInTexels(format);
+ int blkW = TexDecoder_GetBlockWidthInTexels(format);
+ int blkH = TexDecoder_GetBlockHeightInTexels(format);
// 32 bit textures (RGBA8 and Z24) are store in 2 cache line increments
if (ApiType == API_OPENGL)
@@ -168,20 +167,20 @@ void Write32BitSwizzler(char*& p, u32 format, API_TYPE ApiType)
" float2 sampleUv;\n"
" float2 uv1 = floor(uv0);\n");
- WRITE(p, " float yl = floor(uv1.y / %f);\n", blkH);
- WRITE(p, " float yb = yl * %f;\n", blkH);
+ WRITE(p, " float yl = floor(uv1.y / %d.0);\n", blkH);
+ WRITE(p, " float yb = yl * %d.0;\n", blkH);
WRITE(p, " float yoff = uv1.y - yb;\n");
WRITE(p, " float xp = uv1.x + (yoff * " I_COLORS"[1].x);\n");
WRITE(p, " float xel = floor(xp / 2.0);\n");
- WRITE(p, " float xb = floor(xel / %f);\n", blkH);
- WRITE(p, " float xoff = xel - (xb * %f);\n", blkH);
+ WRITE(p, " float xb = floor(xel / %d.0);\n", blkH);
+ WRITE(p, " float xoff = xel - (xb * %d.0);\n", blkH);
WRITE(p, " float x2 = uv1.x * 2.0;\n");
- WRITE(p, " float xl = floor(x2 / %f);\n", blkW);
- WRITE(p, " float xib = x2 - (xl * %f);\n", blkW);
+ WRITE(p, " float xl = floor(x2 / %d.0);\n", blkW);
+ WRITE(p, " float xib = x2 - (xl * %d.0);\n", blkW);
WRITE(p, " float halfxb = floor(xb / 2.0);\n");
- WRITE(p, " sampleUv.x = xib + (halfxb * %f);\n", blkW);
+ WRITE(p, " sampleUv.x = xib + (halfxb * %d.0);\n", blkW);
WRITE(p, " sampleUv.y = yb + xoff;\n");
WRITE(p, " sampleUv = sampleUv * " I_COLORS"[0].xy;\n");
@@ -248,8 +247,7 @@ void WriteIncrementSampleX(char*& p,API_TYPE ApiType)
void WriteToBitDepth(char*& p, u8 depth, const char* src, const char* dest)
{
- float result = 255 / pow(2.0, (8 - depth));
- WRITE(p, " %s = floor(%s * %ff);\n", dest, src, result);
+ WRITE(p, " %s = floor(%s * 255.0 / exp2(8.0 - %d.0));\n", dest, src, depth);
}
void WriteEncoderEnd(char* p, API_TYPE ApiType)
@@ -335,12 +333,12 @@ void WriteI4Encoder(char* p, API_TYPE ApiType)
void WriteIA8Encoder(char* p,API_TYPE ApiType)
{
WriteSwizzler(p, GX_TF_IA8, ApiType);
- WRITE(p, " float4 texSample;\n");
+ WRITE(p, " float4 texSample;\n");
WriteSampleColor(p, "rgba", "texSample", ApiType);
WRITE(p, " ocol0.b = texSample.a;\n");
WriteColorToIntensity(p, "texSample", "ocol0.g");
- WriteIncrementSampleX(p, ApiType);
+ WriteIncrementSampleX(p, ApiType);
WriteSampleColor(p, "rgba", "texSample", ApiType);
WRITE(p, " ocol0.r = texSample.a;\n");
diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.h b/Source/Core/VideoCommon/Src/TextureDecoder.h
index 968570a084..d474f1684b 100644
--- a/Source/Core/VideoCommon/Src/TextureDecoder.h
+++ b/Source/Core/VideoCommon/Src/TextureDecoder.h
@@ -5,7 +5,7 @@
#ifndef _TEXTUREDECODER_H
#define _TEXTUREDECODER_H
#include "Hash.h"
-enum
+enum
{
TMEM_SIZE = 1024*1024,
TMEM_LINE_SIZE = 32,
diff --git a/Source/Core/VideoCommon/Src/VertexLoader.cpp b/Source/Core/VideoCommon/Src/VertexLoader.cpp
index 697db81338..d5cf003e76 100644
--- a/Source/Core/VideoCommon/Src/VertexLoader.cpp
+++ b/Source/Core/VideoCommon/Src/VertexLoader.cpp
@@ -91,18 +91,18 @@ void LOADERDECL PosMtx_Write()
DataWrite<u8>(0);
}
-void LOADERDECL UpdateBoundingBoxPrepare()
+void LOADERDECL UpdateBoundingBoxPrepare()
{
if (!PixelEngine::bbox_active)
return;
-
+
// set our buffer as videodata buffer, so we will get a copy of the vertex positions
// this is a big hack, but so we can use the same converting function then without bbox
s_bbox_pCurBufferPointer_orig = VertexManager::s_pCurBufferPointer;
VertexManager::s_pCurBufferPointer = (u8*)s_bbox_vertex_buffer;
}
-void LOADERDECL UpdateBoundingBox()
+void LOADERDECL UpdateBoundingBox()
{
if (!PixelEngine::bbox_active)
return;
@@ -140,7 +140,7 @@ void LOADERDECL UpdateBoundingBox()
o[1] = (1.0f - o[1]) * 242.0f;
if (o[0] < PixelEngine::bbox[0]) PixelEngine::bbox[0] = (u16) std::max(0.0f, o[0]);
- if (o[0] > PixelEngine::bbox[1]) PixelEngine::bbox[1] = (u16) o[0];
+ if (o[0] > PixelEngine::bbox[1]) PixelEngine::bbox[1] = (u16) o[0];
if (o[1] < PixelEngine::bbox[2]) PixelEngine::bbox[2] = (u16) std::max(0.0f, o[1]);
if (o[1] > PixelEngine::bbox[3]) PixelEngine::bbox[3] = (u16) o[1];
}
@@ -172,7 +172,7 @@ void LOADERDECL TexMtx_Write_Float4()
DataWrite(0.f);
}
-VertexLoader::VertexLoader(const TVtxDesc &vtx_desc, const VAT &vtx_attr)
+VertexLoader::VertexLoader(const TVtxDesc &vtx_desc, const VAT &vtx_attr)
{
m_compiledCode = NULL;
m_numLoadedVertices = 0;
@@ -197,7 +197,7 @@ VertexLoader::VertexLoader(const TVtxDesc &vtx_desc, const VAT &vtx_attr)
}
-VertexLoader::~VertexLoader()
+VertexLoader::~VertexLoader()
{
#ifdef USE_JIT
FreeCodeSpace();
@@ -248,7 +248,7 @@ void VertexLoader::CompileVertexTranslator()
m_VtxDesc.Tex0Coord, m_VtxDesc.Tex1Coord, m_VtxDesc.Tex2Coord, m_VtxDesc.Tex3Coord,
m_VtxDesc.Tex4Coord, m_VtxDesc.Tex5Coord, m_VtxDesc.Tex6Coord, (const u32)((m_VtxDesc.Hex >> 31) & 3)
};
-
+
// Reset pipeline
m_numPipelineStages = 0;
@@ -265,7 +265,7 @@ void VertexLoader::CompileVertexTranslator()
}
// m_VBVertexStride for texmtx and posmtx is computed later when writing.
-
+
// Position Matrix Index
if (m_VtxDesc.PosMatIdx)
{
@@ -303,7 +303,7 @@ void VertexLoader::CompileVertexTranslator()
{
m_VertexSize += VertexLoader_Normal::GetSize(m_VtxDesc.Normal,
m_VtxAttr.NormalFormat, m_VtxAttr.NormalElements, m_VtxAttr.NormalIndex3);
-
+
TPipelineFunction pFunc = VertexLoader_Normal::GetFunction(m_VtxDesc.Normal,
m_VtxAttr.NormalFormat, m_VtxAttr.NormalElements, m_VtxAttr.NormalIndex3);
@@ -347,7 +347,7 @@ void VertexLoader::CompileVertexTranslator()
m_NativeFmt->m_components |= VB_HAS_COL0 << i;
switch (col[i])
{
- case NOT_PRESENT:
+ case NOT_PRESENT:
m_NativeFmt->m_components &= ~(VB_HAS_COL0 << i);
vtx_decl.color_offset[i] = -1;
break;
@@ -454,7 +454,7 @@ void VertexLoader::CompileVertexTranslator()
if (tc[i] == NOT_PRESENT)
{
- // if there's more tex coords later, have to write a dummy call
+ // if there's more tex coords later, have to write a dummy call
int j = i + 1;
for (; j < 8; ++j)
{
@@ -551,8 +551,8 @@ int VertexLoader::SetupRunVertices(int vtx_attr_group, int primitive, int const
if (g_nativeVertexFmt != NULL && g_nativeVertexFmt != m_NativeFmt)
{
// We really must flush here. It's possible that the native representations
- // of the two vtx formats are the same, but we have no way to easily check that
- // now.
+ // of the two vtx formats are the same, but we have no way to easily check that
+ // now.
VertexManager::Flush();
// Also move the Set() here?
}
@@ -587,7 +587,7 @@ int VertexLoader::SetupRunVertices(int vtx_attr_group, int primitive, int const
colElements[i] = m_VtxAttr.color[i].Elements;
VertexManager::PrepareForAdditionalData(primitive, count, native_stride);
-
+
return count;
}
@@ -627,10 +627,10 @@ void VertexLoader::RunCompiledVertices(int vtx_attr_group, int primitive, int co
VertexManager::s_pCurBufferPointer += native_stride * new_count;
DataSkip(new_count * m_VertexSize);
- VertexManager::AddVertices(primitive, new_count);
+ VertexManager::AddVertices(primitive, new_count);
}
-void VertexLoader::SetVAT(u32 _group0, u32 _group1, u32 _group2)
+void VertexLoader::SetVAT(u32 _group0, u32 _group1, u32 _group2)
{
VAT vat;
vat.g0.Hex = _group0;
@@ -674,7 +674,7 @@ void VertexLoader::SetVAT(u32 _group0, u32 _group1, u32 _group2)
m_VtxAttr.texCoord[7].Elements = vat.g2.Tex7CoordElements;
m_VtxAttr.texCoord[7].Format = vat.g2.Tex7CoordFormat;
m_VtxAttr.texCoord[7].Frac = vat.g2.Tex7Frac;
-
+
if(!m_VtxAttr.ByteDequant) {
ERROR_LOG(VIDEO, "ByteDequant is set to zero");
}
@@ -722,7 +722,7 @@ void VertexLoader::AppendToString(std::string *dest) const
}
}
u32 tex_mode[8] = {
- m_VtxDesc.Tex0Coord, m_VtxDesc.Tex1Coord, m_VtxDesc.Tex2Coord, m_VtxDesc.Tex3Coord,
+ m_VtxDesc.Tex0Coord, m_VtxDesc.Tex1Coord, m_VtxDesc.Tex2Coord, m_VtxDesc.Tex3Coord,
m_VtxDesc.Tex4Coord, m_VtxDesc.Tex5Coord, m_VtxDesc.Tex6Coord, m_VtxDesc.Tex7Coord
};
for (int i = 0; i < 8; i++)
diff --git a/Source/Core/VideoCommon/Src/VertexLoader.h b/Source/Core/VideoCommon/Src/VertexLoader.h
index 06c5508040..c9ef28175c 100644
--- a/Source/Core/VideoCommon/Src/VertexLoader.h
+++ b/Source/Core/VideoCommon/Src/VertexLoader.h
@@ -24,7 +24,7 @@ class VertexLoaderUID
u32 vid[5];
size_t hash;
public:
- VertexLoaderUID()
+ VertexLoaderUID()
{
}
@@ -73,9 +73,9 @@ private:
{
size_t h = -1;
- for (unsigned int i = 0; i < sizeof(vid) / sizeof(vid[0]); ++i)
+ for (auto word : vid)
{
- h = h * 137 + vid[i];
+ h = h * 137 + word;
}
return h;
@@ -94,7 +94,7 @@ public:
~VertexLoader();
int GetVertexSize() const {return m_VertexSize;}
-
+
int SetupRunVertices(int vtx_attr_group, int primitive, int const count);
void RunVertices(int vtx_attr_group, int primitive, int count);
void RunCompiledVertices(int vtx_attr_group, int primitive, int count, u8* Data);
diff --git a/Source/Core/VideoCommon/Src/VertexLoaderManager.cpp b/Source/Core/VideoCommon/Src/VertexLoaderManager.cpp
index 856b5d9fa5..9ad3e013c6 100644
--- a/Source/Core/VideoCommon/Src/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/Src/VertexLoaderManager.cpp
@@ -43,16 +43,16 @@ static VertexLoaderMap g_VertexLoaderMap;
void Init()
{
MarkAllDirty();
- for (int i = 0; i < 8; i++)
- g_VertexLoaders[i] = NULL;
+ for (auto& vertexLoader : g_VertexLoaders)
+ vertexLoader = NULL;
RecomputeCachedArraybases();
}
void Shutdown()
{
- for (VertexLoaderMap::iterator iter = g_VertexLoaderMap.begin(); iter != g_VertexLoaderMap.end(); ++iter)
+ for (auto& p : g_VertexLoaderMap)
{
- delete iter->second;
+ delete p.second;
}
g_VertexLoaderMap.clear();
}
diff --git a/Source/Core/VideoCommon/Src/VertexLoader_Color.cpp b/Source/Core/VideoCommon/Src/VertexLoader_Color.cpp
index 45af21138f..e32af6226c 100644
--- a/Source/Core/VideoCommon/Src/VertexLoader_Color.cpp
+++ b/Source/Core/VideoCommon/Src/VertexLoader_Color.cpp
@@ -100,7 +100,7 @@ void LOADERDECL Color_ReadDirect_24b_6666()
// F|RES: i am not 100 percent sure, but the colElements seems to be important for rendering only
// at least it fixes mario party 4
//
-// if (colElements[colIndex])
+// if (colElements[colIndex])
// else
// col |= 0xFF<<ASHIFT;
//
@@ -110,7 +110,7 @@ void LOADERDECL Color_ReadDirect_32b_8888()
u32 col = DataReadU32Unswapped();
// "kill" the alpha
- if (!colElements[colIndex])
+ if (!colElements[colIndex])
col |= 0xFF << ASHIFT;
_SetCol(col);
diff --git a/Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp b/Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp
index ba1219b2ee..4a3600addd 100644
--- a/Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp
+++ b/Source/Core/VideoCommon/Src/VertexLoader_Normal.cpp
@@ -74,7 +74,7 @@ template <typename I, typename T, int N, int Offset>
__forceinline void Normal_Index_Offset()
{
static_assert(!std::numeric_limits<I>::is_signed, "Only unsigned I is sane!");
-
+
auto const index = DataRead<I>();
auto const data = reinterpret_cast<const T*>(cached_arraybases[ARRAY_NORMAL]
+ (index * arraystrides[ARRAY_NORMAL]) + sizeof(T) * 3 * Offset);
diff --git a/Source/Core/VideoCommon/Src/VertexLoader_Normal.h b/Source/Core/VideoCommon/Src/VertexLoader_Normal.h
index 40fd8cac06..4ad15c51b0 100644
--- a/Source/Core/VideoCommon/Src/VertexLoader_Normal.h
+++ b/Source/Core/VideoCommon/Src/VertexLoader_Normal.h
@@ -65,7 +65,7 @@ private:
gc_size = T::size;
function = T::function;
}
-
+
int gc_size;
TPipelineFunction function;
};
diff --git a/Source/Core/VideoCommon/Src/VertexLoader_Position.cpp b/Source/Core/VideoCommon/Src/VertexLoader_Position.cpp
index 2b383fc3f8..da844484ad 100644
--- a/Source/Core/VideoCommon/Src/VertexLoader_Position.cpp
+++ b/Source/Core/VideoCommon/Src/VertexLoader_Position.cpp
@@ -27,7 +27,7 @@ MOVZX(32, R(EBX), MOffset(ESI, 1));
MOVZX(32, R(ECX), MOffset(ESI, 2));
MOVD(XMM0, R(EAX));
MOVD(XMM1, R(EBX));
-MOVD(XMM2, R(ECX));
+MOVD(XMM2, R(ECX));
CVTDQ2PS(XMM0, XMM0);
CVTDQ2PS(XMM1, XMM1);
CVTDQ2PS(XMM2, XMM2);
diff --git a/Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp b/Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp
index 2d956b242a..70c1f2de3f 100644
--- a/Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp
+++ b/Source/Core/VideoCommon/Src/VertexLoader_TextCoord.cpp
@@ -67,7 +67,7 @@ template <typename I, typename T, int N>
void LOADERDECL TexCoord_ReadIndex()
{
static_assert(!std::numeric_limits<I>::is_signed, "Only unsigned I is sane!");
-
+
auto const index = DataRead<I>();
auto const data = reinterpret_cast<const T*>(cached_arraybases[ARRAY_TEXCOORD0 + tcIndex]
+ (index * arraystrides[ARRAY_TEXCOORD0 + tcIndex]));
diff --git a/Source/Core/VideoCommon/Src/VertexManagerBase.cpp b/Source/Core/VideoCommon/Src/VertexManagerBase.cpp
index 13fbd55641..b586ad1a99 100644
--- a/Source/Core/VideoCommon/Src/VertexManagerBase.cpp
+++ b/Source/Core/VideoCommon/Src/VertexManagerBase.cpp
@@ -50,13 +50,13 @@ u32 VertexManager::GetRemainingSize()
}
void VertexManager::PrepareForAdditionalData(int primitive, u32 count, u32 stride)
-{
+{
u32 const needed_vertex_bytes = count * stride;
-
+
if (count > IndexGenerator::GetRemainingIndices() || count > GetRemainingIndices(primitive) || needed_vertex_bytes > GetRemainingSize())
{
Flush();
-
+
if(count > IndexGenerator::GetRemainingIndices())
ERROR_LOG(VIDEO, "Too little remaining index values. Use 32-bit or reset them on flush.");
if (count > GetRemainingIndices(primitive))
@@ -75,7 +75,7 @@ bool VertexManager::IsFlushed() const
u32 VertexManager::GetRemainingIndices(int primitive)
{
-
+
if(g_Config.backend_info.bSupportsPrimitiveRestart)
{
switch (primitive)
@@ -125,7 +125,7 @@ u32 VertexManager::GetRemainingIndices(int primitive)
default:
return 0;
}
- }
+ }
}
void VertexManager::AddVertices(int primitive, u32 numVertices)
@@ -158,12 +158,12 @@ void VertexManager::Flush()
#if (0)
void VertexManager::Flush()
{
-#if defined(_DEBUG) || defined(DEBUGFAST)
+#if defined(_DEBUG) || defined(DEBUGFAST)
PRIM_LOG("frame%d:\n texgen=%d, numchan=%d, dualtex=%d, ztex=%d, cole=%d, alpe=%d, ze=%d", g_ActiveConfig.iSaveTargetId, xfregs.numTexGens,
xfregs.nNumChans, (int)xfregs.bEnableDualTexTransform, bpmem.ztex2.op,
bpmem.blendmode.colorupdate, bpmem.blendmode.alphaupdate, bpmem.zmode.updateenable);
- for (int i = 0; i < xfregs.nNumChans; ++i)
+ for (int i = 0; i < xfregs.nNumChans; ++i)
{
LitChannel* ch = &xfregs.colChans[i].color;
PRIM_LOG("colchan%d: matsrc=%d, light=0x%x, ambsrc=%d, diffunc=%d, attfunc=%d", i, ch->matsource, ch->GetFullLightMask(), ch->ambsource, ch->diffusefunc, ch->attnfunc);
@@ -171,7 +171,7 @@ void VertexManager::Flush()
PRIM_LOG("alpchan%d: matsrc=%d, light=0x%x, ambsrc=%d, diffunc=%d, attfunc=%d", i, ch->matsource, ch->GetFullLightMask(), ch->ambsource, ch->diffusefunc, ch->attnfunc);
}
- for (int i = 0; i < xfregs.numTexGens; ++i)
+ for (int i = 0; i < xfregs.numTexGens; ++i)
{
TexMtxInfo tinfo = xfregs.texcoords[i].texmtxinfo;
if (tinfo.texgentype != XF_TEXGEN_EMBOSS_MAP) tinfo.hex &= 0x7ff;
@@ -206,10 +206,10 @@ void VertexManager::Flush()
Renderer::SetSamplerState(i & 3, i >> 2);
FourTexUnits &tex = bpmem.tex[i >> 2];
- TCacheEntry::TCacheEntryBase* tentry = TextureCache::Load(i,
+ TCacheEntry::TCacheEntryBase* tentry = TextureCache::Load(i,
(tex.texImage3[i&3].image_base/* & 0x1FFFFF*/) << 5,
tex.texImage0[i&3].width + 1, tex.texImage0[i&3].height + 1,
- tex.texImage0[i&3].format, tex.texTlut[i&3].tmem_offset<<9,
+ tex.texImage0[i&3].format, tex.texTlut[i&3].tmem_offset<<9,
tex.texTlut[i&3].tlut_format,
(tex.texMode0[i&3].min_filter & 3) && (tex.texMode0[i&3].min_filter != 8),
(tex.texMode1[i&3].max_lod >> 4));
@@ -257,7 +257,7 @@ void VertexManager::Flush()
//IndexGenerator::Start(TIBuffer, LIBuffer, PIBuffer);
#if defined(_DEBUG) || defined(DEBUGFAST)
- if (g_ActiveConfig.iLog & CONF_SAVESHADERS)
+ if (g_ActiveConfig.iLog & CONF_SAVESHADERS)
{
// save the shaders
char strfile[255];
@@ -271,7 +271,7 @@ void VertexManager::Flush()
fvs << vs->strprog.c_str();
}
- if (g_ActiveConfig.iLog & CONF_SAVETARGETS)
+ if (g_ActiveConfig.iLog & CONF_SAVETARGETS)
{
char str[128];
sprintf(str, "%starg%.3d.tga", File::GetUserPath(D_DUMPFRAMES_IDX).c_str(), g_ActiveConfig.iSaveTargetId);
@@ -297,12 +297,12 @@ void VertexManager::DoStateShared(PointerWrap& p)
// It seems we half-assume to be flushed here
// We update s_pCurBufferPointer yet don't worry about IndexGenerator's outdated pointers
// and maybe other things are overlooked
-
+
p.Do(LocalVBuffer);
p.Do(TIBuffer);
p.Do(LIBuffer);
p.Do(PIBuffer);
-
+
s_pBaseBufferPointer = &LocalVBuffer[0];
s_pEndBufferPointer = s_pBaseBufferPointer + LocalVBuffer.size();
p.DoPointer(s_pCurBufferPointer, s_pBaseBufferPointer);
diff --git a/Source/Core/VideoCommon/Src/VertexManagerBase.h b/Source/Core/VideoCommon/Src/VertexManagerBase.h
index fafde8de44..b5b13c8933 100644
--- a/Source/Core/VideoCommon/Src/VertexManagerBase.h
+++ b/Source/Core/VideoCommon/Src/VertexManagerBase.h
@@ -12,13 +12,13 @@ class VertexManager
{
private:
static const u32 SMALLEST_POSSIBLE_VERTEX = sizeof(float)*3; // 3 pos
- static const u32 LARGEST_POSSIBLE_VERTEX = sizeof(float)*45 + sizeof(u32)*2; // 3 pos, 3*3 normal, 2*u32 color, 8*4 tex, 1 posMat
-
+ static const u32 LARGEST_POSSIBLE_VERTEX = sizeof(float)*45 + sizeof(u32)*2; // 3 pos, 3*3 normal, 2*u32 color, 8*4 tex, 1 posMat
+
static const u32 MAX_PRIMITIVES_PER_COMMAND = (u16)-1;
-
+
public:
static const u32 MAXVBUFFERSIZE = ROUND_UP_POW2 (MAX_PRIMITIVES_PER_COMMAND * LARGEST_POSSIBLE_VERTEX);
-
+
// We may convert triangle-fans to triangle-lists, almost 3x as many indices.
static const u32 MAXIBUFFERSIZE = ROUND_UP_POW2 (MAX_PRIMITIVES_PER_COMMAND * 3);
@@ -43,7 +43,7 @@ public:
static void DoState(PointerWrap& p);
virtual void CreateDeviceObjects(){};
virtual void DestroyDeviceObjects(){};
-
+
protected:
u16* GetTriangleIndexBuffer() { return &TIBuffer[0]; }
u16* GetLineIndexBuffer() { return &LIBuffer[0]; }
@@ -55,13 +55,13 @@ protected:
private:
bool IsFlushed() const;
-
+
void ResetBuffer();
-
+
//virtual void Draw(u32 stride, bool alphapass) = 0;
// temp
virtual void vFlush() = 0;
-
+
std::vector<u8> LocalVBuffer;
std::vector<u16> TIBuffer;
std::vector<u16> LIBuffer;
diff --git a/Source/Core/VideoCommon/Src/VertexShaderGen.cpp b/Source/Core/VideoCommon/Src/VertexShaderGen.cpp
index 1b298c489a..78b3c57dda 100644
--- a/Source/Core/VideoCommon/Src/VertexShaderGen.cpp
+++ b/Source/Core/VideoCommon/Src/VertexShaderGen.cpp
@@ -130,13 +130,17 @@ static inline void GenerateVertexShader(T& out, u32 components, API_TYPE api_typ
}
// Let's set up attributes
- for (int i = 0; i < 8; ++i)
+ for (size_t i = 0; i < 8; ++i)
+ {
if (i < xfregs.numTexGen.numTexGens)
+ {
out.Write("VARYOUT float3 uv%d_2;\n", i);
+ }
+ }
out.Write("VARYOUT float4 clipPos_2;\n");
if (g_ActiveConfig.bEnablePixelLighting && g_ActiveConfig.backend_info.bSupportsPixelLighting)
out.Write("VARYOUT float4 Normal_2;\n");
-
+
out.Write("VARYOUT float4 colors_02;\n");
out.Write("VARYOUT float4 colors_12;\n");
diff --git a/Source/Core/VideoCommon/Src/VertexShaderGen.h b/Source/Core/VideoCommon/Src/VertexShaderGen.h
index 1143867a25..378f2cd77d 100644
--- a/Source/Core/VideoCommon/Src/VertexShaderGen.h
+++ b/Source/Core/VideoCommon/Src/VertexShaderGen.h
@@ -39,7 +39,7 @@
#define I_TRANSFORMMATRICES "ctrmtx"
#define I_NORMALMATRICES "cnmtx"
#define I_POSTTRANSFORMMATRICES "cpostmtx"
-#define I_DEPTHPARAMS "cDepth" // farZ, zRange, scaled viewport width, scaled viewport height
+#define I_DEPTHPARAMS "cDepth" // farZ, zRange
//TODO: get rid of them, they aren't used at all
#define C_POSNORMALMATRIX 0
diff --git a/Source/Core/VideoCommon/Src/VertexShaderManager.cpp b/Source/Core/VideoCommon/Src/VertexShaderManager.cpp
index e603e6e6c4..5ec371a0ba 100644
--- a/Source/Core/VideoCommon/Src/VertexShaderManager.cpp
+++ b/Source/Core/VideoCommon/Src/VertexShaderManager.cpp
@@ -39,13 +39,6 @@ static float s_fViewRotation[2];
VertexShaderConstants VertexShaderManager::constants;
bool VertexShaderManager::dirty;
-void UpdateViewport(Matrix44& vpCorrection);
-
-void UpdateViewportWithCorrection()
-{
- UpdateViewport(s_viewportCorrection);
-}
-
struct ProjectionHack
{
float sign;
@@ -130,6 +123,58 @@ void UpdateProjectionHack(int iPhackvalue[], std::string sPhackvalue[])
g_ProjHack3 = bProjHack3;
}
+
+// Viewport correction:
+// In D3D, the viewport rectangle must fit within the render target.
+// Say you want a viewport at (ix, iy) with size (iw, ih),
+// but your viewport must be clamped at (ax, ay) with size (aw, ah).
+// Just multiply the projection matrix with the following to get the same
+// effect:
+// [ (iw/aw) 0 0 ((iw - 2*(ax-ix)) / aw - 1) ]
+// [ 0 (ih/ah) 0 ((-ih + 2*(ay-iy)) / ah + 1) ]
+// [ 0 0 1 0 ]
+// [ 0 0 0 1 ]
+static void ViewportCorrectionMatrix(Matrix44& result)
+{
+ int scissorXOff = bpmem.scissorOffset.x * 2;
+ int scissorYOff = bpmem.scissorOffset.y * 2;
+
+ // TODO: ceil, floor or just cast to int?
+ // TODO: Directly use the floats instead of rounding them?
+ float intendedX = xfregs.viewport.xOrig - xfregs.viewport.wd - scissorXOff;
+ float intendedY = xfregs.viewport.yOrig + xfregs.viewport.ht - scissorYOff;
+ float intendedWd = 2.0f * xfregs.viewport.wd;
+ float intendedHt = -2.0f * xfregs.viewport.ht;
+
+ if (intendedWd < 0.f)
+ {
+ intendedX += intendedWd;
+ intendedWd = -intendedWd;
+ }
+ if (intendedHt < 0.f)
+ {
+ intendedY += intendedHt;
+ intendedHt = -intendedHt;
+ }
+
+ // fit to EFB size
+ float X = (intendedX >= 0.f) ? intendedX : 0.f;
+ float Y = (intendedY >= 0.f) ? intendedY : 0.f;
+ float Wd = (X + intendedWd <= EFB_WIDTH) ? intendedWd : (EFB_WIDTH - X);
+ float Ht = (Y + intendedHt <= EFB_HEIGHT) ? intendedHt : (EFB_HEIGHT - Y);
+
+ Matrix44::LoadIdentity(result);
+ if (Wd == 0 || Ht == 0)
+ return;
+
+ result.data[4*0+0] = intendedWd / Wd;
+ result.data[4*0+3] = (intendedWd - 2.f * (X - intendedX)) / Wd - 1.f;
+ result.data[4*1+1] = intendedHt / Ht;
+ result.data[4*1+3] = (-intendedHt + 2.f * (Y - intendedY)) / Ht + 1.f;
+}
+
+void UpdateViewport();
+
void VertexShaderManager::Init()
{
Dirty();
@@ -152,16 +197,16 @@ void VertexShaderManager::Shutdown()
void VertexShaderManager::Dirty()
{
- nTransformMatricesChanged[0] = 0;
+ nTransformMatricesChanged[0] = 0;
nTransformMatricesChanged[1] = 256;
nNormalMatricesChanged[0] = 0;
nNormalMatricesChanged[1] = 96;
- nPostTransformMatricesChanged[0] = 0;
+ nPostTransformMatricesChanged[0] = 0;
nPostTransformMatricesChanged[1] = 256;
- nLightsChanged[0] = 0;
+ nLightsChanged[0] = 0;
nLightsChanged[1] = 0x80;
bPosNormalMatrixChanged = true;
@@ -171,7 +216,7 @@ void VertexShaderManager::Dirty()
bProjectionChanged = true;
nMaterialsChanged = 15;
-
+
dirty = true;
}
@@ -259,7 +304,7 @@ void VertexShaderManager::SetConstants()
constants.materials[i][3] = ( data & 0xFF) / 255.0f;
}
}
-
+
for (int i = 0; i < 2; ++i)
{
if (nMaterialsChanged & (1 << (i + 2)))
@@ -293,7 +338,7 @@ void VertexShaderManager::SetConstants()
if (bTexMatricesChanged[0])
{
bTexMatricesChanged[0] = false;
- const float *fptrs[] =
+ const float *fptrs[] =
{
(const float *)xfmem + MatrixIndexA.Tex0MtxIdx * 4, (const float *)xfmem + MatrixIndexA.Tex1MtxIdx * 4,
(const float *)xfmem + MatrixIndexA.Tex2MtxIdx * 4, (const float *)xfmem + MatrixIndexA.Tex3MtxIdx * 4
@@ -326,18 +371,22 @@ void VertexShaderManager::SetConstants()
bViewportChanged = false;
constants.depthparams[0] = xfregs.viewport.farZ / 16777216.0f;
constants.depthparams[1] = xfregs.viewport.zRange / 16777216.0f;
- constants.depthparams[2] = -1.f / g_renderer->EFBToScaledX(ceilf(2.0f * xfregs.viewport.wd));
- constants.depthparams[3] = 1.f / g_renderer->EFBToScaledY(ceilf(-2.0f * xfregs.viewport.ht));
dirty = true;
// This is so implementation-dependent that we can't have it here.
- UpdateViewport(s_viewportCorrection);
- bProjectionChanged = true;
+ UpdateViewport();
+
+ // Update projection if the viewport isn't 1:1 useable
+ if(!g_ActiveConfig.backend_info.bSupportsOversizedViewports)
+ {
+ ViewportCorrectionMatrix(s_viewportCorrection);
+ bProjectionChanged = true;
+ }
}
if (bProjectionChanged)
{
bProjectionChanged = false;
-
+
float *rawProjection = xfregs.projection.rawProjection;
switch(xfregs.projection.type)
diff --git a/Source/Core/VideoCommon/Src/VertexShaderManager.h b/Source/Core/VideoCommon/Src/VertexShaderManager.h
index 60e23902f1..93287ffe1e 100644
--- a/Source/Core/VideoCommon/Src/VertexShaderManager.h
+++ b/Source/Core/VideoCommon/Src/VertexShaderManager.h
@@ -12,8 +12,6 @@ class PointerWrap;
void UpdateProjectionHack(int iParams[], std::string sParams[]);
-void UpdateViewportWithCorrection();
-
// The non-API dependent parts.
class VertexShaderManager
{
@@ -36,7 +34,7 @@ public:
static void TranslateView(float x, float y, float z = 0.0f);
static void RotateView(float x, float y);
static void ResetView();
-
+
static VertexShaderConstants constants;
static bool dirty;
};
diff --git a/Source/Core/VideoCommon/Src/VideoBackendBase.cpp b/Source/Core/VideoCommon/Src/VideoBackendBase.cpp
index 72947182fd..68ea7c9c35 100644
--- a/Source/Core/VideoCommon/Src/VideoBackendBase.cpp
+++ b/Source/Core/VideoCommon/Src/VideoBackendBase.cpp
@@ -21,7 +21,7 @@ static VideoBackend* s_default_backend = NULL;
#include <windows.h>
// http://msdn.microsoft.com/en-us/library/ms725491.aspx
-static bool IsGteVista()
+static bool IsGteVista()
{
OSVERSIONINFOEX osvi;
DWORDLONG dwlConditionMask = 0;
@@ -50,11 +50,11 @@ void VideoBackend::PopulateList()
#endif
g_available_video_backends.push_back(backends[3] = new SW::VideoSoftware);
- for (int i = 0; i < 4; ++i)
+ for (auto& backend : backends)
{
- if (backends[i])
+ if (backend)
{
- s_default_backend = g_video_backend = backends[i];
+ s_default_backend = g_video_backend = backend;
break;
}
}
diff --git a/Source/Core/VideoCommon/Src/VideoBackendBase.h b/Source/Core/VideoCommon/Src/VideoBackendBase.h
index 1d691c8ba4..0e8c142e0e 100644
--- a/Source/Core/VideoCommon/Src/VideoBackendBase.h
+++ b/Source/Core/VideoCommon/Src/VideoBackendBase.h
@@ -55,7 +55,7 @@ struct SCPFifoStruct
volatile u32 bFF_Breakpoint;
volatile u32 CPCmdIdle;
- volatile u32 CPReadIdle;
+ volatile u32 CPReadIdle;
volatile u32 bFF_LoWatermarkInt;
volatile u32 bFF_HiWatermarkInt;
diff --git a/Source/Core/VideoCommon/Src/VideoConfig.h b/Source/Core/VideoCommon/Src/VideoConfig.h
index 890b9b9eda..4e597e6235 100644
--- a/Source/Core/VideoCommon/Src/VideoConfig.h
+++ b/Source/Core/VideoCommon/Src/VideoConfig.h
@@ -6,7 +6,7 @@
// IMPORTANT: UI etc should modify g_Config. Graphics code should read g_ActiveConfig.
// The reason for this is to get rid of race conditions etc when the configuration
// changes in the middle of a frame. This is done by copying g_Config to g_ActiveConfig
-// at the start of every frame. Noone should ever change members of g_ActiveConfig
+// at the start of every frame. Noone should ever change members of g_ActiveConfig
// directly.
#ifndef _VIDEO_CONFIG_H_
@@ -112,7 +112,7 @@ struct VideoConfig
bool bEFBCopyEnable;
bool bEFBCopyCacheEnable;
bool bEFBEmulateFormatChanges;
- bool bCopyEFBToTexture;
+ bool bCopyEFBToTexture;
bool bCopyEFBScaled;
int iSafeTextureCache_ColorSamples;
int iPhackvalue[4];
@@ -153,6 +153,7 @@ struct VideoConfig
bool bSupportsPixelLighting;
bool bSupportsPrimitiveRestart;
bool bSupportsSeparateAlphaFunction;
+ bool bSupportsOversizedViewports;
bool bSupportsGLSLUBO; // needed by PixelShaderGen, so must stay in VideoCommon
bool bSupportsEarlyZ; // needed by PixelShaderGen, so must stay in VideoCommon
} backend_info;
diff --git a/Source/Core/VideoCommon/Src/VideoState.cpp b/Source/Core/VideoCommon/Src/VideoState.cpp
index 00d6eba320..9bfbeeaf52 100644
--- a/Source/Core/VideoCommon/Src/VideoState.cpp
+++ b/Source/Core/VideoCommon/Src/VideoState.cpp
@@ -38,7 +38,7 @@ static void DoState(PointerWrap &p)
// Texture decoder
p.DoArray(texMem, TMEM_SIZE);
p.DoMarker("texMem");
-
+
// FIFO
Fifo_DoState(p);
p.DoMarker("Fifo");
diff --git a/Source/Core/VideoCommon/Src/XFMemory.h b/Source/Core/VideoCommon/Src/XFMemory.h
index c350f67395..f681e15f50 100644
--- a/Source/Core/VideoCommon/Src/XFMemory.h
+++ b/Source/Core/VideoCommon/Src/XFMemory.h
@@ -139,7 +139,7 @@ union INVTXSPEC
union TexMtxInfo
{
- struct
+ struct
{
u32 unknown : 1;
u32 projection : 1; // XF_TEXPROJ_X
@@ -154,7 +154,7 @@ union TexMtxInfo
union PostMtxInfo
{
- struct
+ struct
{
u32 index : 6; // base row of dual transform matrix
u32 unused : 2;
@@ -194,14 +194,14 @@ union DualTexInfo
struct Light
{
- u32 useless[3];
+ u32 useless[3];
u32 color; // rgba
float a0; // attenuation
- float a1;
- float a2;
+ float a1;
+ float a2;
float k0; // k stuff
- float k1;
- float k2;
+ float k1;
+ float k2;
union
{
diff --git a/Source/Core/VideoCommon/Src/XFStructs.cpp b/Source/Core/VideoCommon/Src/XFStructs.cpp
index 7d806fcabe..2b9e0d45a5 100644
--- a/Source/Core/VideoCommon/Src/XFStructs.cpp
+++ b/Source/Core/VideoCommon/Src/XFStructs.cpp
@@ -57,7 +57,7 @@ void XFRegWritten(int transferSize, u32 baseAddress, u32 *pData)
case XFMEM_SETCHAN1_AMBCOLOR:
{
u8 chan = address - XFMEM_SETCHAN0_AMBCOLOR;
- if (xfregs.ambColor[chan] != newValue)
+ if (xfregs.ambColor[chan] != newValue)
{
VertexManager::Flush();
VertexShaderManager::SetMaterialColorChanged(chan, newValue);
@@ -226,7 +226,7 @@ void LoadXFReg(u32 transferSize, u32 baseAddress, u32 *pData)
{
transferSize = 0;
}
-
+
XFMemWritten(xfMemTransferSize, xfMemBase);
memcpy_gc(&xfmem[xfMemBase], pData, xfMemTransferSize * 4);
@@ -235,9 +235,9 @@ void LoadXFReg(u32 transferSize, u32 baseAddress, u32 *pData)
// write to XF regs
if (transferSize > 0)
- {
+ {
XFRegWritten(transferSize, baseAddress, pData);
- memcpy_gc((u32*)(&xfregs) + (baseAddress - 0x1000), pData, transferSize * 4);
+ memcpy_gc((u32*)(&xfregs) + (baseAddress - 0x1000), pData, transferSize * 4);
}
}
diff --git a/Source/Core/VideoCommon/Src/memcpy_amd.cpp b/Source/Core/VideoCommon/Src/memcpy_amd.cpp
index bd393560d4..a563b80886 100644
--- a/Source/Core/VideoCommon/Src/memcpy_amd.cpp
+++ b/Source/Core/VideoCommon/Src/memcpy_amd.cpp
@@ -60,7 +60,7 @@ MEMCPY_AMD.CPP
// uses the software prefetch instruction to pre-read the data.
// USE 64 * 1024 FOR THIS VALUE IF YOU'RE ALWAYS FILLING A "CLEAN CACHE"
-#define BLOCK_PREFETCH_COPY infinity // no limit for movq/movntq w/block prefetch
+#define BLOCK_PREFETCH_COPY infinity // no limit for movq/movntq w/block prefetch
#define CACHEBLOCK 80h // number of 64-byte blocks (cache lines) for block prefetch
// For the largest size blocks, a special technique called Block Prefetch
// can be used to accelerate the read operations. Block Prefetch reads
@@ -233,7 +233,7 @@ $memcpy_bp_3:
add esi, 64 ; update source pointer
movntq [edi ], mm0 ; write 64 bits, bypassing cache
movntq [edi+ 8], mm1 ; note: movntq also prevents the CPU
- movntq [edi+16], mm2 ; from READING the destination address
+ movntq [edi+16], mm2 ; from READING the destination address
movntq [edi+24], mm3 ; into the cache, only to be over-written,
movntq [edi+32], mm4 ; so that also helps performance
movntq [edi+40], mm5
@@ -273,7 +273,7 @@ $memcpy_last_few: ; dword aligned from before movsd''s
jz $memcpy_final ; no more, lets leave
rep movsb ; the last 1, 2, or 3 bytes
-$memcpy_final:
+$memcpy_final:
emms ; clean up the MMX state
sfence ; flush the write buffer
mov eax, [dest] ; ret value = destination pointer
@@ -294,7 +294,7 @@ unsigned char memcmp_mmx(const void* src1, const void* src2, int cmpsize)
mov ecx, cmpsize
mov edx, src1
mov esi, src2
-
+
cmp ecx, 32
jl Done4
@@ -358,7 +358,7 @@ Cmp8:
pand mm0, mm6
pand mm0, mm7
pmovmskb eax, mm0
-
+
// check if eq
cmp eax, 0xff
je Continue
diff --git a/Source/Core/VideoCommon/Src/stdafx.cpp b/Source/Core/VideoCommon/Src/stdafx.cpp
new file mode 100644
index 0000000000..b602b39925
--- /dev/null
+++ b/Source/Core/VideoCommon/Src/stdafx.cpp
@@ -0,0 +1,5 @@
+// Copyright 2013 Dolphin Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#include "stdafx.h"
diff --git a/Source/Core/VideoCommon/Src/stdafx.h b/Source/Core/VideoCommon/Src/stdafx.h
new file mode 100644
index 0000000000..bc5046304d
--- /dev/null
+++ b/Source/Core/VideoCommon/Src/stdafx.h
@@ -0,0 +1,14 @@
+// Copyright 2013 Dolphin Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#pragma once
+
+#define _WIN32_WINNT 0x501
+#ifndef _WIN32_IE
+#define _WIN32_IE 0x0500 // Default value is 0x0400
+#endif
+
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+
+#include <algorithm>
diff --git a/Source/Core/VideoCommon/Src/x64DLCache.cpp b/Source/Core/VideoCommon/Src/x64DLCache.cpp
index 7c59a3a072..c2ad2a558c 100644
--- a/Source/Core/VideoCommon/Src/x64DLCache.cpp
+++ b/Source/Core/VideoCommon/Src/x64DLCache.cpp
@@ -58,7 +58,7 @@ struct ReferencedDataRegion
ReferencedDataRegion* NextRegion;
u32 size;
u32 MustClean;
-
+
int IntersectsMemoryRange(u8* range_address, u32 range_size)
{
@@ -78,7 +78,7 @@ struct CachedDisplayList
uncachable(false),
num_xf_reg(0),
num_cp_reg(0),
- num_bp_reg(0),
+ num_bp_reg(0),
num_index_xf(0),
num_draw_call(0),
pass(DLPASS_ANALYZE),
@@ -96,7 +96,7 @@ struct CachedDisplayList
// Analytic data
u32 num_xf_reg;
u32 num_cp_reg;
- u32 num_bp_reg;
+ u32 num_bp_reg;
u32 num_index_xf;
u32 num_draw_call;
u32 pass;
@@ -142,7 +142,7 @@ struct CachedDisplayList
NewRegion = new ReferencedDataRegion;
NewRegion->MustClean = false;
NewRegion->size = Size;
- NewRegion->start_address = RegionStartAddress;
+ NewRegion->start_address = RegionStartAddress;
NewRegion->hash = GetHash64(RegionStartAddress, Size, DL_HASH_STEPS);
InsertRegion(NewRegion);
}
@@ -241,11 +241,11 @@ u32 AnalyzeAndRunDisplayList(u32 address, u32 size, CachedDisplayList *dl)
u8* startAddress = Memory::GetPointer(address);
u32 num_xf_reg = 0;
u32 num_cp_reg = 0;
- u32 num_bp_reg = 0;
+ u32 num_bp_reg = 0;
u32 num_index_xf = 0;
u32 num_draw_call = 0;
u32 result = 0;
-
+
// Avoid the crash if Memory::GetPointer failed ..
if (startAddress != 0)
@@ -322,7 +322,7 @@ u32 AnalyzeAndRunDisplayList(u32 address, u32 size, CachedDisplayList *dl)
case GX_CMD_UNKNOWN_METRICS: // zelda 4 swords calls it and checks the metrics registers after that
DEBUG_LOG(VIDEO, "GX 0x44: %08x", cmd_byte);
break;
- case GX_CMD_INVL_VC: // Invalidate Vertex Cache
+ case GX_CMD_INVL_VC: // Invalidate Vertex Cache
DEBUG_LOG(VIDEO, "Invalidate (vertex cache?)");
break;
case GX_LOAD_BP_REG: //0x61
@@ -334,7 +334,7 @@ u32 AnalyzeAndRunDisplayList(u32 address, u32 size, CachedDisplayList *dl)
}
break;
- // draw primitives
+ // draw primitives
default:
if (cmd_byte & 0x80)
{
@@ -349,7 +349,7 @@ u32 AnalyzeAndRunDisplayList(u32 address, u32 size, CachedDisplayList *dl)
numVertices);
num_draw_call++;
const u32 tc[12] = {
- g_VtxDesc.Position, g_VtxDesc.Normal, g_VtxDesc.Color0, g_VtxDesc.Color1, g_VtxDesc.Tex0Coord, g_VtxDesc.Tex1Coord,
+ g_VtxDesc.Position, g_VtxDesc.Normal, g_VtxDesc.Color0, g_VtxDesc.Color1, g_VtxDesc.Tex0Coord, g_VtxDesc.Tex1Coord,
g_VtxDesc.Tex2Coord, g_VtxDesc.Tex3Coord, g_VtxDesc.Tex4Coord, g_VtxDesc.Tex5Coord, g_VtxDesc.Tex6Coord, (const u32)((g_VtxDesc.Hex >> 31) & 3)
};
for(int i = 0; i < 12; i++)
@@ -380,11 +380,11 @@ u32 AnalyzeAndRunDisplayList(u32 address, u32 size, CachedDisplayList *dl)
dl->num_index_xf = num_index_xf;
dl->num_xf_reg = num_xf_reg;
// reset to the old pointer
- g_pVideoData = old_pVideoData;
+ g_pVideoData = old_pVideoData;
return result;
}
-// The only sensible way to detect changes to vertex data is to convert several times
+// The only sensible way to detect changes to vertex data is to convert several times
// and hash the output.
// Second pass - compile
@@ -506,7 +506,7 @@ void CompileAndRunDisplayList(u32 address, u32 size, CachedDisplayList *dl)
// zelda 4 swords calls it and checks the metrics registers after that
break;
- case GX_CMD_INVL_VC:// Invalidate (vertex cache?)
+ case GX_CMD_INVL_VC:// Invalidate (vertex cache?)
DEBUG_LOG(VIDEO, "Invalidate (vertex cache?)");
break;
@@ -521,7 +521,7 @@ void CompileAndRunDisplayList(u32 address, u32 size, CachedDisplayList *dl)
}
break;
- // draw primitives
+ // draw primitives
default:
if (cmd_byte & 0x80)
{
@@ -543,13 +543,13 @@ void CompileAndRunDisplayList(u32 address, u32 size, CachedDisplayList *dl)
ReferencedDataRegion* NewRegion = new ReferencedDataRegion;
NewRegion->MustClean = true;
NewRegion->size = Vdatasize;
- NewRegion->start_address = (u8*)new u8[Vdatasize];
+ NewRegion->start_address = (u8*)new u8[Vdatasize];
NewRegion->hash = 0;
dl->InsertRegion(NewRegion);
memcpy(NewRegion->start_address, StartAddress, Vdatasize);
emitter.ABI_CallFunctionCCCP((void *)&VertexLoaderManager::RunCompiledVertices, cmd_byte & GX_VAT_MASK, (cmd_byte & GX_PRIMITIVE_MASK) >> GX_PRIMITIVE_SHIFT, numVertices, NewRegion->start_address);
const u32 tc[12] = {
- g_VtxDesc.Position, g_VtxDesc.Normal, g_VtxDesc.Color0, g_VtxDesc.Color1, g_VtxDesc.Tex0Coord, g_VtxDesc.Tex1Coord,
+ g_VtxDesc.Position, g_VtxDesc.Normal, g_VtxDesc.Color0, g_VtxDesc.Color1, g_VtxDesc.Tex0Coord, g_VtxDesc.Tex1Coord,
g_VtxDesc.Tex2Coord, g_VtxDesc.Tex3Coord, g_VtxDesc.Tex4Coord, g_VtxDesc.Tex5Coord, g_VtxDesc.Tex6Coord, (const u32)((g_VtxDesc.Hex >> 31) & 3)
};
for(int i = 0; i < 12; i++)
@@ -592,11 +592,11 @@ void Init()
void Shutdown()
{
Clear();
- FreeMemoryPages(dlcode_cache, DL_CODE_CACHE_SIZE);
+ FreeMemoryPages(dlcode_cache, DL_CODE_CACHE_SIZE);
dlcode_cache = NULL;
}
-void Clear()
+void Clear()
{
VDLMap::iterator iter = dl_map.begin();
while (iter != dl_map.end())
@@ -625,7 +625,7 @@ void ProgressiveCleanup()
{
VDlist &ParentEntry = iter->second;
DLMap::iterator childiter = ParentEntry.dl_map.begin();
- while (childiter != ParentEntry.dl_map.end())
+ while (childiter != ParentEntry.dl_map.end())
{
CachedDisplayList &entry = childiter->second;
int limit = 3600;
@@ -712,9 +712,9 @@ bool HandleDisplayList(u32 address, u32 size)
if (dl.check != CheckContextId)
{
dl.check = CheckContextId;
- DlistChanged = !dl.CheckRegions() || dl.dl_hash != GetHash64(Memory::GetPointer(address), size, 0);
+ DlistChanged = !dl.CheckRegions() || dl.dl_hash != GetHash64(Memory::GetPointer(address), size, 0);
}
- if (DlistChanged)
+ if (DlistChanged)
{
dl.uncachable = true;
dl.ClearRegions();
@@ -734,7 +734,7 @@ bool HandleDisplayList(u32 address, u32 size)
INCSTAT(stats.numDListsCalled);
INCSTAT(stats.thisFrame.numDListsCalled);
-
+
Statistics::SwapDL();
g_pVideoData = old_datareader;
break;
@@ -744,7 +744,7 @@ bool HandleDisplayList(u32 address, u32 size)
}
DLCache::CachedDisplayList dl;
-
+
u32 dlvatused = DLCache::AnalyzeAndRunDisplayList(address, size, &dl);
dl.dl_hash = GetHash64(Memory::GetPointer(address), size,0);
dl.pass = DLCache::DLPASS_COMPILE;
@@ -754,14 +754,14 @@ bool HandleDisplayList(u32 address, u32 size)
{
DLCache::VDlist &vdl = Parentiter->second;
vdl.dl_map[vhash] = dl;
- vdl.VATUsed = dlvatused;
+ vdl.VATUsed = dlvatused;
vdl.count++;
}
else
{
DLCache::VDlist vdl;
vdl.dl_map[vhash] = dl;
- vdl.VATUsed = dlvatused;
+ vdl.VATUsed = dlvatused;
vdl.count = 1;
DLCache::dl_map[dl_id] = vdl;
}
diff --git a/Source/Core/VideoCommon/Src/x64TextureDecoder.cpp b/Source/Core/VideoCommon/Src/x64TextureDecoder.cpp
index 4c26509878..6887a0bdd0 100644
--- a/Source/Core/VideoCommon/Src/x64TextureDecoder.cpp
+++ b/Source/Core/VideoCommon/Src/x64TextureDecoder.cpp
@@ -54,7 +54,7 @@ extern const unsigned char sfont_raw[][9*10];
int TexDecoder_GetTexelSizeInNibbles(int format)
{
switch (format & 0x3f) {
- case GX_TF_I4: return 1;
+ case GX_TF_I4: return 1;
case GX_TF_I8: return 2;
case GX_TF_IA4: return 2;
case GX_TF_IA8: return 4;
@@ -65,7 +65,7 @@ int TexDecoder_GetTexelSizeInNibbles(int format)
case GX_TF_C8: return 2;
case GX_TF_C14X2: return 4;
case GX_TF_CMPR: return 1;
- case GX_CTF_R4: return 1;
+ case GX_CTF_R4: return 1;
case GX_CTF_RA4: return 2;
case GX_CTF_RA8: return 4;
case GX_CTF_YUVA8: return 8;
@@ -80,7 +80,7 @@ int TexDecoder_GetTexelSizeInNibbles(int format)
case GX_TF_Z16: return 4;
case GX_TF_Z24X8: return 8;
- case GX_CTF_Z4: return 1;
+ case GX_CTF_Z4: return 1;
case GX_CTF_Z8M: return 2;
case GX_CTF_Z8L: return 2;
case GX_CTF_Z16L: return 4;
@@ -97,7 +97,7 @@ int TexDecoder_GetBlockWidthInTexels(u32 format)
{
switch (format)
{
- case GX_TF_I4: return 8;
+ case GX_TF_I4: return 8;
case GX_TF_I8: return 8;
case GX_TF_IA4: return 8;
case GX_TF_IA8: return 4;
@@ -134,7 +134,7 @@ int TexDecoder_GetBlockHeightInTexels(u32 format)
{
switch (format)
{
- case GX_TF_I4: return 8;
+ case GX_TF_I4: return 8;
case GX_TF_I8: return 4;
case GX_TF_IA4: return 4;
case GX_TF_IA8: return 4;
@@ -311,7 +311,7 @@ inline void decodebytesC4RGB565_To_RGBA(u32* dst, const u8* src, int tlutaddr)
//inline void decodebytesC8(u32 *dst, const u8 *src, int numbytes, int tlutaddr, int tlutfmt)
inline void decodebytesC8_5A3_To_BGRA32(u32 *dst, const u8 *src, int tlutaddr)
-{
+{
u16 *tlut = (u16*)(texMem + tlutaddr);
for (int x = 0; x < 8; x++)
{
@@ -321,7 +321,7 @@ inline void decodebytesC8_5A3_To_BGRA32(u32 *dst, const u8 *src, int tlutaddr)
}
inline void decodebytesC8_5A3_To_RGBA32(u32 *dst, const u8 *src, int tlutaddr)
-{
+{
u16 *tlut = (u16*)(texMem + tlutaddr);
for (int x = 0; x < 8; x++)
{
@@ -501,7 +501,7 @@ inline void decodebytesARGB8_4(u32 *dst, const u16 *src, const u16 *src2)
// some unpack instruction x2:
// ABABABABABABABAB 1212121212121212 ->
// AB12AB12AB12AB12 AB12AB12AB12AB12
- // 2x pshufb->
+ // 2x pshufb->
// 21BA21BA21BA21BA 21BA21BA21BA21BA
// and we are done.
}
@@ -551,7 +551,7 @@ void decodeDXTBlock(u32 *dst, const DXTBlock *src, int pitch)
int green3 = ((green2 - green1) >> 1) - ((green2 - green1) >> 3);
int red3 = ((red2 - red1) >> 1) - ((red2 - red1) >> 3);
colors[2] = makecol(red1 + red3, green1 + green3, blue1 + blue3, 255);
- colors[3] = makecol(red2 - red3, green2 - green3, blue2 - blue3, 255);
+ colors[3] = makecol(red2 - red3, green2 - green3, blue2 - blue3, 255);
}
else
{
@@ -562,7 +562,7 @@ void decodeDXTBlock(u32 *dst, const DXTBlock *src, int pitch)
}
for (int y = 0; y < 4; y++)
- {
+ {
int val = src->lines[y];
for (int x = 0; x < 4; x++)
{
@@ -592,9 +592,9 @@ void decodeDXTBlockRGBA(u32 *dst, const DXTBlock *src, int pitch)
{
int blue3 = ((blue2 - blue1) >> 1) - ((blue2 - blue1) >> 3);
int green3 = ((green2 - green1) >> 1) - ((green2 - green1) >> 3);
- int red3 = ((red2 - red1) >> 1) - ((red2 - red1) >> 3);
+ int red3 = ((red2 - red1) >> 1) - ((red2 - red1) >> 3);
colors[2] = makeRGBA(red1 + red3, green1 + green3, blue1 + blue3, 255);
- colors[3] = makeRGBA(red2 - red3, green2 - green3, blue2 - blue3, 255);
+ colors[3] = makeRGBA(red2 - red3, green2 - green3, blue2 - blue3, 255);
}
else
{
@@ -605,7 +605,7 @@ void decodeDXTBlockRGBA(u32 *dst, const DXTBlock *src, int pitch)
}
for (int y = 0; y < 4; y++)
- {
+ {
int val = src->lines[y];
for (int x = 0; x < 4; x++)
{
@@ -659,7 +659,7 @@ PC_TexFormat GetPC_TexFormat(int texformat, int tlutfmt)
return PC_TEX_FMT_IA4_AS_IA8;
case GX_TF_IA8:
return PC_TEX_FMT_IA8;
- case GX_TF_C14X2:
+ case GX_TF_C14X2:
return GetPCFormatFromTLUTFormat(tlutfmt);
case GX_TF_RGB565:
return PC_TEX_FMT_RGB565;
@@ -715,7 +715,7 @@ PC_TexFormat TexDecoder_Decode_real(u8 *dst, const u8 *src, int width, int heigh
for (int y = 0; y < height; y += 8)
for (int x = 0, yStep = (y / 8) * Wsteps8; x < width; x += 8, yStep++)
for (int iy = 0, xStep = yStep * 8; iy < 8; iy++, xStep++)
- decodebytesC4_5A3_To_BGRA32((u32*)dst + (y + iy) * width + x, src + 4 * xStep, tlutaddr);
+ decodebytesC4_5A3_To_BGRA32((u32*)dst + (y + iy) * width + x, src + 4 * xStep, tlutaddr);
}
else
{
@@ -723,7 +723,7 @@ PC_TexFormat TexDecoder_Decode_real(u8 *dst, const u8 *src, int width, int heigh
for (int y = 0; y < height; y += 8)
for (int x = 0, yStep = (y / 8) * Wsteps8; x < width; x += 8, yStep++)
for (int iy = 0, xStep = yStep * 8; iy < 8; iy++, xStep++)
- decodebytesC4_To_Raw16((u16*)dst + (y + iy) * width + x, src + 4 * xStep, tlutaddr);
+ decodebytesC4_To_Raw16((u16*)dst + (y + iy) * width + x, src + 4 * xStep, tlutaddr);
}
return GetPCFormatFromTLUTFormat(tlutfmt);
case GX_TF_I4:
@@ -807,7 +807,7 @@ PC_TexFormat TexDecoder_Decode_real(u8 *dst, const u8 *src, int width, int heigh
}
return PC_TEX_FMT_IA8;
- case GX_TF_C14X2:
+ case GX_TF_C14X2:
if (tlutfmt == 2)
{
// Special decoding is required for TLUT format 5A3
@@ -904,7 +904,7 @@ PC_TexFormat TexDecoder_Decode_real(u8 *dst, const u8 *src, int width, int heigh
{
const u8* src2 = src + 64 * yStep;
for (int iy = 0; iy < 4; iy++)
- decodebytesARGB8_4((u32*)dst + (y+iy)*width + x, (u16*)src2 + 4 * iy, (u16*)src2 + 4 * iy + 16);
+ decodebytesARGB8_4((u32*)dst + (y+iy)*width + x, (u16*)src2 + 4 * iy, (u16*)src2 + 4 * iy + 16);
}
}
}
@@ -936,14 +936,14 @@ PC_TexFormat TexDecoder_Decode_real(u8 *dst, const u8 *src, int width, int heigh
{
for (int x = 0, yStep = (y / 8) * Wsteps8; x < width; x += 8, yStep++)
{
- const u8* src2 = src + 4 * sizeof(DXTBlock) * yStep;
+ const u8* src2 = src + 4 * sizeof(DXTBlock) * yStep;
decodeDXTBlock((u32*)dst + y * width + x, (DXTBlock*)src2, width);
src2 += sizeof(DXTBlock);
decodeDXTBlock((u32*)dst + y * width + x + 4, (DXTBlock*)src2, width);
src2 += sizeof(DXTBlock);
decodeDXTBlock((u32*)dst + (y + 4) * width + x, (DXTBlock*)src2, width);
src2 += sizeof(DXTBlock);
- decodeDXTBlock((u32*)dst + (y + 4) * width + x + 4, (DXTBlock*)src2, width);
+ decodeDXTBlock((u32*)dst + (y + 4) * width + x + 4, (DXTBlock*)src2, width);
}
}
#endif
@@ -991,7 +991,7 @@ PC_TexFormat TexDecoder_Decode_RGBA(u32 * dst, const u8 * src, int width, int he
for (int x = 0, yStep = (y / 8) * Wsteps8; x < width; x += 8,yStep++)
for (int iy = 0, xStep = 8 * yStep; iy < 8; iy++,xStep++)
decodebytesC4IA8_To_RGBA(dst + (y + iy) * width + x, src + 4 * xStep, tlutaddr);
-
+
}
else
{
@@ -1140,7 +1140,7 @@ PC_TexFormat TexDecoder_Decode_RGBA(u32 * dst, const u8 * src, int width, int he
_mm_storeu_si128(quaddst, rgba0);
_mm_storeu_si128(quaddst+1, rgba1);
}
-
+
} else
#endif
// JSD optimized with SSE2 intrinsics.
@@ -1224,7 +1224,7 @@ PC_TexFormat TexDecoder_Decode_RGBA(u32 * dst, const u8 * src, int width, int he
_mm_storeu_si128(quaddst, rgba6);
// Store (hhhh gggg ffff eeee) out:
_mm_storeu_si128(quaddst+1, rgba7);
-
+
}
}
}
@@ -1246,7 +1246,7 @@ PC_TexFormat TexDecoder_Decode_RGBA(u32 * dst, const u8 * src, int width, int he
for (int x = 0, yStep = (y / 4) * Wsteps8; x < width; x += 8, yStep++)
for (int iy = 0, xStep = 4 * yStep; iy < 4; iy++, xStep++)
decodebytesC8IA8_To_RGBA(dst + (y + iy) * width + x, src + 8 * xStep, tlutaddr);
-
+
}
else
{
@@ -1254,7 +1254,7 @@ PC_TexFormat TexDecoder_Decode_RGBA(u32 * dst, const u8 * src, int width, int he
for (int y = 0; y < height; y += 4)
for (int x = 0, yStep = (y / 4) * Wsteps8; x < width; x += 8, yStep++)
for (int iy = 0, xStep = 4 * yStep; iy < 4; iy++, xStep++)
- decodebytesC8RGB565_To_RGBA(dst + (y + iy) * width + x, src + 8 * xStep, tlutaddr);
+ decodebytesC8RGB565_To_RGBA(dst + (y + iy) * width + x, src + 8 * xStep, tlutaddr);
}
break;
@@ -1404,7 +1404,7 @@ PC_TexFormat TexDecoder_Decode_RGBA(u32 * dst, const u8 * src, int width, int he
// 0b_gggBBBbb_RRRrrGGg_gggBBBbb_RRRrrGGg >> 3 [32] =
// 0b_000gggBB_BbbRRRrr_GGggggBB_BbbRRRrr &
- // 0b_00000000_00000000_11111100_00000000 =
+ // 0b_00000000_00000000_11111100_00000000 =
// 0b_00000000_00000000_GGgggg00_00000000
const __m128i gtmp = _mm_srli_epi32(c0, 3);
const __m128i g0 = _mm_and_si128(gtmp, kMaskG0);
@@ -1784,7 +1784,7 @@ PC_TexFormat TexDecoder_Decode_RGBA(u32 * dst, const u8 * src, int width, int he
_mm_storeu_si128(dst128, rgba10);
dst128 = (__m128i*)( dst + (y + 3) * width + x );
_mm_storeu_si128(dst128, rgba11);
- }
+ }
}
}
break;
@@ -2017,7 +2017,7 @@ PC_TexFormat TexDecoder_Decode_RGBA(u32 * dst, const u8 * src, int width, int he
assert( memcmp(&(tmp0[3]), &dst32[(width * 3)], 16) == 0 );
assert( memcmp(&(tmp1[3]), &dst32[(width * 3) + 4], 16) == 0 );
#endif
- }
+ }
}
}
break;
@@ -2067,7 +2067,7 @@ PC_TexFormat TexDecoder_Decode(u8 *dst, const u8 *src, int width, int height, in
{
int xcnt = 0;
int nchar = sfont_map[(int)*fmt];
-
+
const unsigned char *ptr = sfont_raw[nchar]; // each char is up to 9x10
for (int x = 0; x < 9;x++)
@@ -2103,7 +2103,7 @@ PC_TexFormat TexDecoder_Decode(u8 *dst, const u8 *src, int width, int height, in
dtp[(y + yoff)*width + x + xoff] = ptr[x] ? 0xFFFF : 0x0000;
break;
}
- default:
+ default:
case PC_TEX_FMT_BGRA32:
{
int *dtp = (int*)dst;
@@ -2126,7 +2126,7 @@ PC_TexFormat TexDecoder_Decode(u8 *dst, const u8 *src, int width, int height, in
void TexDecoder_DecodeTexel(u8 *dst, const u8 *src, int s, int t, int imageWidth, int texformat, int tlutaddr, int tlutfmt)
{
/* General formula for computing texture offset
- //
+ //
u16 sBlk = s / blockWidth;
u16 tBlk = t / blockHeight;
u16 widthBlks = (width / blockWidth) + 1;
@@ -2268,7 +2268,7 @@ void TexDecoder_DecodeTexel(u8 *dst, const u8 *src, int s, int t, int imageWidth
*((u32*)dst) = decodeIA8Swapped(*valAddr);
}
break;
- case GX_TF_C14X2:
+ case GX_TF_C14X2:
{
u16 sBlk = s >> 2;
u16 tBlk = t >> 2;
@@ -2494,696 +2494,696 @@ const unsigned char sfont_map[] = {
const unsigned char sfont_raw[][9*10] = {
{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, 0x00, 0xff,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, 0x00, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00, 0x00, 0xff,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, 0x00, 0xff,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, 0x00, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0xff,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0xff,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0xff,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0xff,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
0xff, 0x00, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0x00, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},{
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
- 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0x00, 0x00, 0x00, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0x78, 0x78, 0x78, 0x78,
},
};
diff --git a/Source/Core/VideoCommon/VideoCommon.vcxproj b/Source/Core/VideoCommon/VideoCommon.vcxproj
index c5896af1a6..dd8bbc6f6d 100644
--- a/Source/Core/VideoCommon/VideoCommon.vcxproj
+++ b/Source/Core/VideoCommon/VideoCommon.vcxproj
@@ -1,14 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="DebugFast|Win32">
- <Configuration>DebugFast</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="DebugFast|x64">
- <Configuration>DebugFast</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
@@ -27,153 +19,29 @@
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
- <ProjectGuid>{3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}</ProjectGuid>
- <RootNamespace>VideoCommon</RootNamespace>
+ <ProjectGuid>{3DE9EE35-3E91-4F27-A014-2866AD8C3FE3}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <PropertyGroup Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>true</UseDebugLibraries>
+ <PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
+ <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>false</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
- <UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="Configuration">
- <ConfigurationType>StaticLibrary</ConfigurationType>
+ <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
- <CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Release.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_DebugFast.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_Release.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\..\VSProps\Base.props" />
- <Import Project="..\..\VSProps\CodeGen_DebugFast.props" />
+ <Import Project="..\..\VSProps\PrecompiledHeader.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\Core\Src;..\..\..\Externals\SOIL;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <OpenMPSupport>false</OpenMPSupport>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- <Lib />
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\Core\Src;..\..\..\Externals\SOIL;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- </Link>
- <Lib />
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\Core\Src;..\..\..\Externals\SOIL;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <OpenMPSupport>false</OpenMPSupport>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib />
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\Core\Src;..\..\..\Externals\SOIL;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <OpenMPSupport>false</OpenMPSupport>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib />
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\Core\Src;..\..\..\Externals\SOIL;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <OpenMPSupport>true</OpenMPSupport>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib />
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>..\Common\Src;..\Core\Src;..\..\..\Externals\SOIL;..\..\..\Externals\CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ClCompile>
- <Link>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <OptimizeReferences>true</OptimizeReferences>
- </Link>
- <Lib />
- </ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="Src\AVIDump.cpp" />
<ClCompile Include="Src\BPFunctions.cpp" />
@@ -202,6 +70,9 @@
<ClCompile Include="Src\PixelShaderManager.cpp" />
<ClCompile Include="Src\RenderBase.cpp" />
<ClCompile Include="Src\Statistics.cpp" />
+ <ClCompile Include="Src\stdafx.cpp">
+ <PrecompiledHeader>Create</PrecompiledHeader>
+ </ClCompile>
<ClCompile Include="Src\TextureCacheBase.cpp" />
<ClCompile Include="Src\TextureConversionShader.cpp" />
<ClCompile Include="Src\VertexLoader.cpp" />
@@ -230,8 +101,8 @@
<ClInclude Include="Src\CPMemory.h" />
<ClInclude Include="Src\DataReader.h" />
<ClInclude Include="Src\Debugger.h" />
- <ClInclude Include="Src\DriverDetails.h" />
<ClInclude Include="Src\DLCache.h" />
+ <ClInclude Include="Src\DriverDetails.h" />
<ClInclude Include="Src\EmuWindow.h" />
<ClInclude Include="Src\Fifo.h" />
<ClInclude Include="Src\FPSCounter.h" />
@@ -254,6 +125,7 @@
<ClInclude Include="Src\RenderBase.h" />
<ClInclude Include="Src\ShaderGenCommon.h" />
<ClInclude Include="Src\Statistics.h" />
+ <ClInclude Include="Src\stdafx.h" />
<ClInclude Include="Src\TextureCacheBase.h" />
<ClInclude Include="Src\TextureConversionShader.h" />
<ClInclude Include="Src\TextureDecoder.h" />
@@ -266,44 +138,28 @@
<ClInclude Include="Src\VertexManagerBase.h" />
<ClInclude Include="Src\VertexShaderGen.h" />
<ClInclude Include="Src\VertexShaderManager.h" />
- <ClInclude Include="Src\VideoCommon.h" />
<ClInclude Include="Src\VideoBackendBase.h" />
+ <ClInclude Include="Src\VideoCommon.h" />
<ClInclude Include="Src\VideoConfig.h" />
<ClInclude Include="Src\VideoState.h" />
<ClInclude Include="Src\XFMemory.h" />
<ClInclude Include="Src\XFStructs.h" />
</ItemGroup>
<ItemGroup>
- <None Include="..\..\..\Data\User\OpenCL\TextureDecoder.cl" />
- <None Include="CMakeLists.txt" />
+ <Text Include="CMakeLists.txt" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Externals\CLRun\clrun\CLRun.vcxproj">
<Project>{aa862e5e-a993-497a-b6a0-0e8e94b10050}</Project>
- <Private>true</Private>
- <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
- <CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
- <LinkLibraryDependencies>true</LinkLibraryDependencies>
- <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
</ProjectReference>
<ProjectReference Include="..\..\..\Externals\SOIL\SOIL.vcxproj">
- <Project>{8544f1ff-f2a5-42d8-a568-c56b5d3b4181}</Project>
- <Private>true</Private>
- <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
- <CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
- <LinkLibraryDependencies>true</LinkLibraryDependencies>
- <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
+ <Project>{b441cc62-877e-4b3f-93e0-0de80544f705}</Project>
</ProjectReference>
<ProjectReference Include="..\Common\Common.vcxproj">
- <Project>{c87a4178-44f6-49b2-b7aa-c79af1b8c534}</Project>
- <Private>true</Private>
- <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
- <CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
- <LinkLibraryDependencies>true</LinkLibraryDependencies>
- <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
+ <Project>{2e6c348c-c75c-4d94-8d1e-9c1fcbf3efe4}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
-</Project>
+</Project> \ No newline at end of file
diff --git a/Source/Core/VideoCommon/VideoCommon.vcxproj.filters b/Source/Core/VideoCommon/VideoCommon.vcxproj.filters
index 3f864b0e7e..7d9534f4eb 100644
--- a/Source/Core/VideoCommon/VideoCommon.vcxproj.filters
+++ b/Source/Core/VideoCommon/VideoCommon.vcxproj.filters
@@ -1,64 +1,76 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
+ <Filter Include="Base">
+ <UniqueIdentifier>{23908fac-d3fd-4fa5-a9b4-87b3bafc7bd9}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Decoding">
+ <UniqueIdentifier>{2baa29c2-a528-4981-abcb-e0842c311f63}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Decoding\OpenCL">
+ <UniqueIdentifier>{f32547ad-f1c1-4e47-9ded-c07f66de2100}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Register Sections">
+ <UniqueIdentifier>{6a88e4a0-754c-43df-98e6-405c99cd2ca7}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Shader Generators">
+ <UniqueIdentifier>{7ce5076f-4e85-4f4d-b3f0-8c88267b8b2d}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Shader Managers">
+ <UniqueIdentifier>{8c17624b-2ccb-4ee4-9ec0-593f8f3d1dd2}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Util">
+ <UniqueIdentifier>{8edd4982-cce6-406e-9029-f7a6449311b1}</UniqueIdentifier>
+ </Filter>
+ <Filter Include="Vertex Loading">
+ <UniqueIdentifier>{cefc166b-1f5e-4e96-863d-1448e14c0741}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
<ClCompile Include="Src\CommandProcessor.cpp" />
+ <ClCompile Include="Src\DriverDetails.cpp" />
<ClCompile Include="Src\memcpy_amd.cpp" />
<ClCompile Include="Src\PixelEngine.cpp" />
<ClCompile Include="Src\VideoBackendBase.cpp" />
<ClCompile Include="Src\VideoConfig.cpp" />
- <ClCompile Include="Src\VertexLoader.cpp">
- <Filter>Vertex Loading</Filter>
- </ClCompile>
- <ClCompile Include="Src\VertexLoader_Color.cpp">
- <Filter>Vertex Loading</Filter>
- </ClCompile>
- <ClCompile Include="Src\VertexLoader_Normal.cpp">
- <Filter>Vertex Loading</Filter>
- </ClCompile>
- <ClCompile Include="Src\VertexLoader_Position.cpp">
- <Filter>Vertex Loading</Filter>
- </ClCompile>
- <ClCompile Include="Src\VertexLoader_TextCoord.cpp">
- <Filter>Vertex Loading</Filter>
- </ClCompile>
- <ClCompile Include="Src\VertexLoaderManager.cpp">
- <Filter>Vertex Loading</Filter>
+ <ClCompile Include="Src\Debugger.cpp">
+ <Filter>Base</Filter>
</ClCompile>
- <ClCompile Include="Src\AVIDump.cpp">
- <Filter>Util</Filter>
+ <ClCompile Include="Src\EmuWindow.cpp">
+ <Filter>Base</Filter>
</ClCompile>
- <ClCompile Include="Src\HiresTextures.cpp">
- <Filter>Util</Filter>
+ <ClCompile Include="Src\FramebufferManagerBase.cpp">
+ <Filter>Base</Filter>
</ClCompile>
- <ClCompile Include="Src\ImageWrite.cpp">
- <Filter>Util</Filter>
+ <ClCompile Include="Src\MainBase.cpp">
+ <Filter>Base</Filter>
</ClCompile>
- <ClCompile Include="Src\IndexGenerator.cpp">
- <Filter>Util</Filter>
+ <ClCompile Include="Src\PerfQueryBase.cpp">
+ <Filter>Base</Filter>
</ClCompile>
- <ClCompile Include="Src\OnScreenDisplay.cpp">
- <Filter>Util</Filter>
+ <ClCompile Include="Src\RenderBase.cpp">
+ <Filter>Base</Filter>
</ClCompile>
- <ClCompile Include="Src\Statistics.cpp">
- <Filter>Util</Filter>
+ <ClCompile Include="Src\TextureCacheBase.cpp">
+ <Filter>Base</Filter>
</ClCompile>
- <ClCompile Include="Src\VideoState.cpp">
- <Filter>Util</Filter>
+ <ClCompile Include="Src\VertexManagerBase.cpp">
+ <Filter>Base</Filter>
</ClCompile>
- <ClCompile Include="Src\PixelShaderManager.cpp">
- <Filter>Shader Managers</Filter>
+ <ClCompile Include="Src\OpenCL\OCLTextureDecoder.cpp">
+ <Filter>Decoding\OpenCL</Filter>
</ClCompile>
- <ClCompile Include="Src\VertexShaderManager.cpp">
- <Filter>Shader Managers</Filter>
+ <ClCompile Include="Src\OpenCL.cpp">
+ <Filter>Decoding\OpenCL</Filter>
</ClCompile>
- <ClCompile Include="Src\PixelShaderGen.cpp">
- <Filter>Shader Generators</Filter>
+ <ClCompile Include="Src\Fifo.cpp">
+ <Filter>Decoding</Filter>
</ClCompile>
- <ClCompile Include="Src\TextureConversionShader.cpp">
- <Filter>Shader Generators</Filter>
+ <ClCompile Include="Src\OpcodeDecoding.cpp">
+ <Filter>Decoding</Filter>
</ClCompile>
- <ClCompile Include="Src\VertexShaderGen.cpp">
- <Filter>Shader Generators</Filter>
+ <ClCompile Include="Src\x64TextureDecoder.cpp">
+ <Filter>Decoding</Filter>
</ClCompile>
<ClCompile Include="Src\BPFunctions.cpp">
<Filter>Register Sections</Filter>
@@ -78,219 +90,208 @@
<ClCompile Include="Src\XFStructs.cpp">
<Filter>Register Sections</Filter>
</ClCompile>
- <ClCompile Include="Src\OpenCL.cpp">
- <Filter>Decoding\OpenCL</Filter>
+ <ClCompile Include="Src\PixelShaderGen.cpp">
+ <Filter>Shader Generators</Filter>
</ClCompile>
- <ClCompile Include="Src\OpenCL\OCLTextureDecoder.cpp">
- <Filter>Decoding\OpenCL</Filter>
+ <ClCompile Include="Src\TextureConversionShader.cpp">
+ <Filter>Shader Generators</Filter>
</ClCompile>
- <ClCompile Include="Src\Fifo.cpp">
- <Filter>Decoding</Filter>
+ <ClCompile Include="Src\VertexShaderGen.cpp">
+ <Filter>Shader Generators</Filter>
</ClCompile>
- <ClCompile Include="Src\OpcodeDecoding.cpp">
- <Filter>Decoding</Filter>
+ <ClCompile Include="Src\PixelShaderManager.cpp">
+ <Filter>Shader Managers</Filter>
</ClCompile>
- <ClCompile Include="Src\Debugger.cpp">
- <Filter>Base</Filter>
+ <ClCompile Include="Src\VertexShaderManager.cpp">
+ <Filter>Shader Managers</Filter>
</ClCompile>
- <ClCompile Include="Src\EmuWindow.cpp">
- <Filter>Base</Filter>
+ <ClCompile Include="Src\AVIDump.cpp">
+ <Filter>Util</Filter>
</ClCompile>
- <ClCompile Include="Src\FramebufferManagerBase.cpp">
- <Filter>Base</Filter>
+ <ClCompile Include="Src\FPSCounter.cpp">
+ <Filter>Util</Filter>
</ClCompile>
- <ClCompile Include="Src\MainBase.cpp">
- <Filter>Base</Filter>
+ <ClCompile Include="Src\HiresTextures.cpp">
+ <Filter>Util</Filter>
</ClCompile>
- <ClCompile Include="Src\PerfQueryBase.cpp">
- <Filter>Base</Filter>
+ <ClCompile Include="Src\ImageWrite.cpp">
+ <Filter>Util</Filter>
</ClCompile>
- <ClCompile Include="Src\RenderBase.cpp">
- <Filter>Base</Filter>
+ <ClCompile Include="Src\IndexGenerator.cpp">
+ <Filter>Util</Filter>
</ClCompile>
- <ClCompile Include="Src\TextureCacheBase.cpp">
- <Filter>Base</Filter>
+ <ClCompile Include="Src\OnScreenDisplay.cpp">
+ <Filter>Util</Filter>
</ClCompile>
- <ClCompile Include="Src\VertexManagerBase.cpp">
- <Filter>Base</Filter>
+ <ClCompile Include="Src\Statistics.cpp">
+ <Filter>Util</Filter>
</ClCompile>
- <ClCompile Include="Src\FPSCounter.cpp">
+ <ClCompile Include="Src\VideoState.cpp">
<Filter>Util</Filter>
</ClCompile>
- <ClCompile Include="Src\x64TextureDecoder.cpp">
- <Filter>Decoding</Filter>
+ <ClCompile Include="Src\VertexLoader.cpp">
+ <Filter>Vertex Loading</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\VertexLoader_Color.cpp">
+ <Filter>Vertex Loading</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\VertexLoader_Normal.cpp">
+ <Filter>Vertex Loading</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\VertexLoader_Position.cpp">
+ <Filter>Vertex Loading</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\VertexLoader_TextCoord.cpp">
+ <Filter>Vertex Loading</Filter>
+ </ClCompile>
+ <ClCompile Include="Src\VertexLoaderManager.cpp">
+ <Filter>Vertex Loading</Filter>
</ClCompile>
<ClCompile Include="Src\x64DLCache.cpp">
<Filter>Vertex Loading</Filter>
</ClCompile>
+ <ClCompile Include="Src\stdafx.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="Src\CommandProcessor.h" />
+ <ClInclude Include="Src\DriverDetails.h" />
<ClInclude Include="Src\NativeVertexFormat.h" />
<ClInclude Include="Src\PixelEngine.h" />
- <ClInclude Include="Src\VideoCommon.h" />
<ClInclude Include="Src\VideoBackendBase.h" />
+ <ClInclude Include="Src\VideoCommon.h" />
<ClInclude Include="Src\VideoConfig.h" />
- <ClInclude Include="Src\DataReader.h">
- <Filter>Vertex Loading</Filter>
+ <ClInclude Include="Src\Debugger.h">
+ <Filter>Base</Filter>
</ClInclude>
- <ClInclude Include="Src\DLCache.h">
- <Filter>Vertex Loading</Filter>
+ <ClInclude Include="Src\EmuWindow.h">
+ <Filter>Base</Filter>
</ClInclude>
- <ClInclude Include="Src\VertexLoader.h">
- <Filter>Vertex Loading</Filter>
+ <ClInclude Include="Src\FramebufferManagerBase.h">
+ <Filter>Base</Filter>
</ClInclude>
- <ClInclude Include="Src\VertexLoader_Color.h">
- <Filter>Vertex Loading</Filter>
+ <ClInclude Include="Src\MainBase.h">
+ <Filter>Base</Filter>
</ClInclude>
- <ClInclude Include="Src\VertexLoader_Normal.h">
- <Filter>Vertex Loading</Filter>
+ <ClInclude Include="Src\PerfQueryBase.h">
+ <Filter>Base</Filter>
</ClInclude>
- <ClInclude Include="Src\VertexLoader_Position.h">
- <Filter>Vertex Loading</Filter>
+ <ClInclude Include="Src\RenderBase.h">
+ <Filter>Base</Filter>
</ClInclude>
- <ClInclude Include="Src\VertexLoader_TextCoord.h">
- <Filter>Vertex Loading</Filter>
+ <ClInclude Include="Src\TextureCacheBase.h">
+ <Filter>Base</Filter>
</ClInclude>
- <ClInclude Include="Src\VertexLoaderManager.h">
- <Filter>Vertex Loading</Filter>
+ <ClInclude Include="Src\VertexManagerBase.h">
+ <Filter>Base</Filter>
</ClInclude>
- <ClInclude Include="Src\AVIDump.h">
- <Filter>Util</Filter>
+ <ClInclude Include="Src\OpenCL\OCLTextureDecoder.h">
+ <Filter>Decoding\OpenCL</Filter>
</ClInclude>
- <ClInclude Include="Src\HiresTextures.h">
- <Filter>Util</Filter>
+ <ClInclude Include="Src\OpenCL.h">
+ <Filter>Decoding\OpenCL</Filter>
</ClInclude>
- <ClInclude Include="Src\ImageWrite.h">
- <Filter>Util</Filter>
+ <ClInclude Include="Src\Fifo.h">
+ <Filter>Decoding</Filter>
</ClInclude>
- <ClInclude Include="Src\IndexGenerator.h">
- <Filter>Util</Filter>
+ <ClInclude Include="Src\OpcodeDecoding.h">
+ <Filter>Decoding</Filter>
</ClInclude>
- <ClInclude Include="Src\LookUpTables.h">
- <Filter>Util</Filter>
+ <ClInclude Include="Src\TextureDecoder.h">
+ <Filter>Decoding</Filter>
</ClInclude>
- <ClInclude Include="Src\OnScreenDisplay.h">
- <Filter>Util</Filter>
+ <ClInclude Include="Src\BPFunctions.h">
+ <Filter>Register Sections</Filter>
</ClInclude>
- <ClInclude Include="Src\Statistics.h">
- <Filter>Util</Filter>
+ <ClInclude Include="Src\BPMemory.h">
+ <Filter>Register Sections</Filter>
</ClInclude>
- <ClInclude Include="Src\VideoState.h">
- <Filter>Util</Filter>
+ <ClInclude Include="Src\BPStructs.h">
+ <Filter>Register Sections</Filter>
</ClInclude>
- <ClInclude Include="Src\PixelShaderManager.h">
- <Filter>Shader Managers</Filter>
+ <ClInclude Include="Src\CPMemory.h">
+ <Filter>Register Sections</Filter>
</ClInclude>
- <ClInclude Include="Src\VertexShaderManager.h">
- <Filter>Shader Managers</Filter>
+ <ClInclude Include="Src\XFMemory.h">
+ <Filter>Register Sections</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\XFStructs.h">
+ <Filter>Register Sections</Filter>
+ </ClInclude>
+ <ClInclude Include="Src\LightingShaderGen.h">
+ <Filter>Shader Generators</Filter>
</ClInclude>
<ClInclude Include="Src\PixelShaderGen.h">
<Filter>Shader Generators</Filter>
</ClInclude>
+ <ClInclude Include="Src\ShaderGenCommon.h">
+ <Filter>Shader Generators</Filter>
+ </ClInclude>
<ClInclude Include="Src\TextureConversionShader.h">
<Filter>Shader Generators</Filter>
</ClInclude>
<ClInclude Include="Src\VertexShaderGen.h">
<Filter>Shader Generators</Filter>
</ClInclude>
- <ClInclude Include="Src\BPStructs.h">
- <Filter>Register Sections</Filter>
- </ClInclude>
- <ClInclude Include="Src\BPFunctions.h">
- <Filter>Register Sections</Filter>
- </ClInclude>
- <ClInclude Include="Src\BPMemory.h">
- <Filter>Register Sections</Filter>
- </ClInclude>
- <ClInclude Include="Src\CPMemory.h">
- <Filter>Register Sections</Filter>
+ <ClInclude Include="Src\PixelShaderManager.h">
+ <Filter>Shader Managers</Filter>
</ClInclude>
- <ClInclude Include="Src\XFMemory.h">
- <Filter>Register Sections</Filter>
+ <ClInclude Include="Src\VertexShaderManager.h">
+ <Filter>Shader Managers</Filter>
</ClInclude>
- <ClInclude Include="Src\XFStructs.h">
- <Filter>Register Sections</Filter>
+ <ClInclude Include="Src\AVIDump.h">
+ <Filter>Util</Filter>
</ClInclude>
- <ClInclude Include="Src\OpenCL.h">
- <Filter>Decoding\OpenCL</Filter>
+ <ClInclude Include="Src\FPSCounter.h">
+ <Filter>Util</Filter>
</ClInclude>
- <ClInclude Include="Src\OpenCL\OCLTextureDecoder.h">
- <Filter>Decoding\OpenCL</Filter>
+ <ClInclude Include="Src\HiresTextures.h">
+ <Filter>Util</Filter>
</ClInclude>
- <ClInclude Include="Src\Fifo.h">
- <Filter>Decoding</Filter>
+ <ClInclude Include="Src\ImageWrite.h">
+ <Filter>Util</Filter>
</ClInclude>
- <ClInclude Include="Src\OpcodeDecoding.h">
- <Filter>Decoding</Filter>
+ <ClInclude Include="Src\IndexGenerator.h">
+ <Filter>Util</Filter>
</ClInclude>
- <ClInclude Include="Src\TextureDecoder.h">
- <Filter>Decoding</Filter>
+ <ClInclude Include="Src\LookUpTables.h">
+ <Filter>Util</Filter>
</ClInclude>
- <ClInclude Include="Src\Debugger.h">
- <Filter>Base</Filter>
+ <ClInclude Include="Src\OnScreenDisplay.h">
+ <Filter>Util</Filter>
</ClInclude>
- <ClInclude Include="Src\EmuWindow.h">
- <Filter>Base</Filter>
+ <ClInclude Include="Src\Statistics.h">
+ <Filter>Util</Filter>
</ClInclude>
- <ClInclude Include="Src\FramebufferManagerBase.h">
- <Filter>Base</Filter>
+ <ClInclude Include="Src\VideoState.h">
+ <Filter>Util</Filter>
</ClInclude>
- <ClInclude Include="Src\MainBase.h">
- <Filter>Base</Filter>
+ <ClInclude Include="Src\DataReader.h">
+ <Filter>Vertex Loading</Filter>
</ClInclude>
- <ClInclude Include="Src\PerfQueryBase.h">
- <Filter>Base</Filter>
+ <ClInclude Include="Src\DLCache.h">
+ <Filter>Vertex Loading</Filter>
</ClInclude>
- <ClInclude Include="Src\RenderBase.h">
- <Filter>Base</Filter>
+ <ClInclude Include="Src\VertexLoader.h">
+ <Filter>Vertex Loading</Filter>
</ClInclude>
- <ClInclude Include="Src\TextureCacheBase.h">
- <Filter>Base</Filter>
+ <ClInclude Include="Src\VertexLoader_Color.h">
+ <Filter>Vertex Loading</Filter>
</ClInclude>
- <ClInclude Include="Src\VertexManagerBase.h">
- <Filter>Base</Filter>
+ <ClInclude Include="Src\VertexLoader_Normal.h">
+ <Filter>Vertex Loading</Filter>
</ClInclude>
- <ClInclude Include="Src\LightingShaderGen.h">
- <Filter>Shader Generators</Filter>
+ <ClInclude Include="Src\VertexLoader_Position.h">
+ <Filter>Vertex Loading</Filter>
</ClInclude>
- <ClInclude Include="Src\FPSCounter.h">
- <Filter>Util</Filter>
+ <ClInclude Include="Src\VertexLoader_TextCoord.h">
+ <Filter>Vertex Loading</Filter>
</ClInclude>
- <ClInclude Include="Src\ShaderGenCommon.h">
- <Filter>Shader Generators</Filter>
+ <ClInclude Include="Src\VertexLoaderManager.h">
+ <Filter>Vertex Loading</Filter>
</ClInclude>
+ <ClInclude Include="Src\stdafx.h" />
</ItemGroup>
<ItemGroup>
- <None Include="CMakeLists.txt" />
- <None Include="..\..\..\Data\User\OpenCL\TextureDecoder.cl">
- <Filter>Decoding\OpenCL</Filter>
- </None>
- </ItemGroup>
- <ItemGroup>
- <Filter Include="Vertex Loading">
- <UniqueIdentifier>{7520d766-5816-4e85-8068-3744850718d9}</UniqueIdentifier>
- </Filter>
- <Filter Include="Util">
- <UniqueIdentifier>{ba650466-ae40-45ba-89f4-c3d4919d1f31}</UniqueIdentifier>
- </Filter>
- <Filter Include="Shader Managers">
- <UniqueIdentifier>{9b5b4ba1-ee30-4cdc-86b2-2c6b15bb47f5}</UniqueIdentifier>
- </Filter>
- <Filter Include="Shader Generators">
- <UniqueIdentifier>{a833e7b4-e178-4ed6-9692-ebb05e2196b4}</UniqueIdentifier>
- </Filter>
- <Filter Include="Register Sections">
- <UniqueIdentifier>{b7c0a925-0c89-4a92-9f07-8b60bd44a8bb}</UniqueIdentifier>
- </Filter>
- <Filter Include="Decoding">
- <UniqueIdentifier>{2e8e6b8a-0d42-48a7-8a44-085830c6d033}</UniqueIdentifier>
- </Filter>
- <Filter Include="Base">
- <UniqueIdentifier>{448cb71f-7edd-4a5a-ab31-a6505f5a5820}</UniqueIdentifier>
- </Filter>
- <Filter Include="Decoding\OpenCL">
- <UniqueIdentifier>{e2a527a2-ccc8-4ab8-a93e-dd2628c0f3b6}</UniqueIdentifier>
- </Filter>
+ <Text Include="CMakeLists.txt" />
</ItemGroup>
-</Project>
+</Project> \ No newline at end of file
diff --git a/Source/DSPSpy/dsp_interface.cpp b/Source/DSPSpy/dsp_interface.cpp
index 5a935f12ef..b6a56acacb 100644
--- a/Source/DSPSpy/dsp_interface.cpp
+++ b/Source/DSPSpy/dsp_interface.cpp
@@ -23,7 +23,7 @@ void IDSP::SendTask(void *addr, u16 iram_addr, u16 len, u16 start)
// iram_addr dsp addr 4byte aligned (2 DSP words)
// len block length in bytes multiple of 4 (wtf? if you want to fill whole iram, you need 8191)
// (8191 % 4 = 3) wtffff
- // start dsp iram entry point
+ // start dsp iram entry point
while (CheckMailTo());
SendMailTo(0x80F3A001);
while (CheckMailTo());
diff --git a/Source/DSPSpy/dsp_interface.h b/Source/DSPSpy/dsp_interface.h
index 03ce9c4f60..e1842ccedc 100644
--- a/Source/DSPSpy/dsp_interface.h
+++ b/Source/DSPSpy/dsp_interface.h
@@ -36,7 +36,7 @@
class IDSP {
public:
virtual ~IDSP() {}
-
+
virtual void Init() = 0;
virtual void Reset() = 0;
virtual u32 CheckMailTo() = 0;
diff --git a/Source/DSPSpy/main_spy.cpp b/Source/DSPSpy/main_spy.cpp
index aba2007852..0000eacb7c 100644
--- a/Source/DSPSpy/main_spy.cpp
+++ b/Source/DSPSpy/main_spy.cpp
@@ -21,7 +21,7 @@
// It's very unpolished though
// Use Dolphin's dsptool to generate a new dsp_code.h.
// Originally written by duddie and modified by FIRES. Then further modified by ector.
-
+
#include <gccore.h>
#include <malloc.h>
#include <stdio.h>
@@ -75,7 +75,7 @@ u16 *dspbufC;
u32 *dspbufU;
u16 dspreg_in[32] = {
- 0x0410, 0x0510, 0x0610, 0x0710, 0x0810, 0x0910, 0x0a10, 0x0b10,
+ 0x0410, 0x0510, 0x0610, 0x0710, 0x0810, 0x0910, 0x0a10, 0x0b10,
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x0855, 0x0966, 0x0a77, 0x0b88,
0x0014, 0xfff5, 0x00ff, 0x2200, 0x0000, 0x0000, 0x0000, 0x0000,
0x0003, 0x0004, 0x8000, 0x000C, 0x0007, 0x0008, 0x0009, 0x000a,
@@ -84,22 +84,22 @@ u16 dspreg_in[32] = {
/* ttt ?
u16 dspreg_in[32] = {
-0x0e4c, 0x03c0, 0x0bd9, 0x06a3, 0x0c06, 0x0240, 0x0010, 0x0ecc,
+0x0e4c, 0x03c0, 0x0bd9, 0x06a3, 0x0c06, 0x0240, 0x0010, 0x0ecc,
0x0000, 0x0000, 0x0000, 0x0000, 0x0322, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x00ff, 0x1b41, 0x0000, 0x0040, 0x00ff, 0x0000,
0x1000, 0x96cc, 0x0000, 0x0000, 0x3fc0, 0x96cc, 0x0000, 0x0000,
}; */
-// if i set bit 0x4000 of SR my tests crashes :(
+// if i set bit 0x4000 of SR my tests crashes :(
/*
// zelda 0x00da
u16 dspreg_in[32] = {
-0x0a50, 0x0ca2, 0x04f8, 0x0ab0, 0x8039, 0x0000, 0x0000, 0x0000,
+0x0a50, 0x0ca2, 0x04f8, 0x0ab0, 0x8039, 0x0000, 0x0000, 0x0000,
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x03d1, 0x0000, 0x0418, 0x0002, // r08 must have a value ... no idea why (ector: it's the looped addressing regs)
0x0000, 0x0000, 0x00ff, 0x1804, 0xdb70, 0x4ddb, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0xde6d, 0x0000, 0x0000, 0x0000, 0x004e,
-};*/
+};*/
u16 dspreg_out[1000][32];
@@ -470,16 +470,16 @@ void dump_all_ucodes(bool fastmode)
sprintf(filename, "sd:/dsp_dump_all.bin");
FILE *f2 = fopen(filename, "ab");
- if (fastmode == false)
+ if (fastmode == false)
{
// Then write microcode dump to file
sprintf(filename, "sd:/dsp_dump%d.bin", UCodeToDump);
FILE *f = fopen(filename, "wb");
- if (f)
+ if (f)
{
// First write initial regs
written = fwrite(dspreg_in, 1, 32 * 2, f);
-
+
// Then write all the dumps.
written += fwrite(dspreg_out, 1, dsp_steps * 32 * 2, f);
fclose(f);
diff --git a/Source/DSPSpy/mem_dump.h b/Source/DSPSpy/mem_dump.h
index b3768f28ca..389c9f27c0 100644
--- a/Source/DSPSpy/mem_dump.h
+++ b/Source/DSPSpy/mem_dump.h
@@ -17,516 +17,516 @@
unsigned int mem_dump[] __attribute__ ((aligned (64))) =
{
- 0x0c3966ad, 0x0d46ffdf, 0x0b396696, 0x0e5fffd8,
- 0x0a446669, 0x0f83ffd0, 0x095a6626, 0x10b4ffc8,
- 0x087d65cd, 0x11f0ffbf, 0x07ab655e, 0x1338ffb6,
- 0x06e464d9, 0x148cffac, 0x0628643f, 0x15ebffa1,
- 0x0577638f, 0x1756ff96, 0x04d162cb, 0x18cbff8a,
- 0x043561f3, 0x1a4cff7e, 0x03a46106, 0x1bd7ff71,
- 0x031c6007, 0x1d6cff64, 0x029f5ef5, 0x1f0bff56,
- 0x022a5dd0, 0x20b3ff48, 0x01be5c9a, 0x2264ff3a,
- 0x015b5b53, 0x241eff2c, 0x010159fc, 0x25e0ff1e,
- 0x00ae5896, 0x27a9ff10, 0x00635720, 0x297aff02,
- 0x001f559d, 0x2b50fef4, 0xffe2540d, 0x2d2cfee8,
- 0xffac5270, 0x2f0dfedb, 0xff7c50c7, 0x30f3fed0,
- 0xff534f14, 0x32dcfec6, 0xff2e4d57, 0x34c8febd,
- 0xff0f4b91, 0x36b6feb6, 0xfef549c2, 0x38a5feb0,
- 0xfedf47ed, 0x3a95feac, 0xfece4611, 0x3c85feab,
- 0xfec04430, 0x3e74feac, 0xfeb6424a, 0x4060feaf,
- 0xfeaf4060, 0x424afeb6, 0xfeac3e74, 0x4430fec0,
- 0xfeab3c85, 0x4611fece, 0xfeac3a95, 0x47edfedf,
- 0xfeb038a5, 0x49c2fef5, 0xfeb636b6, 0x4b91ff0f,
- 0xfebd34c8, 0x4d57ff2e, 0xfec632dc, 0x4f14ff53,
- 0xfed030f3, 0x50c7ff7c, 0xfedb2f0d, 0x5270ffac,
- 0xfee82d2c, 0x540dffe2, 0xfef42b50, 0x559d001f,
- 0xff02297a, 0x57200063, 0xff1027a9, 0x589600ae,
- 0xff1e25e0, 0x59fc0101, 0xff2c241e, 0x5b53015b,
- 0xff3a2264, 0x5c9a01be, 0xff4820b3, 0x5dd0022a,
- 0xff561f0b, 0x5ef5029f, 0xff641d6c, 0x6007031c,
- 0xff711bd7, 0x610603a4, 0xff7e1a4c, 0x61f30435,
- 0xff8a18cb, 0x62cb04d1, 0xff961756, 0x638f0577,
- 0xffa115eb, 0x643f0628, 0xffac148c, 0x64d906e4,
- 0xffb61338, 0x655e07ab, 0xffbf11f0, 0x65cd087d,
- 0xffc810b4, 0x6626095a, 0xffd00f83, 0x66690a44,
- 0xffd80e5f, 0x66960b39, 0xffdf0d46, 0x66ad0c39,
- 0x00000c8b, 0x18f82527, 0x30fb3c56, 0x471c5133,
- 0x5a8262f1, 0x6a6d70e2, 0x76417a7c, 0x7d897f61,
- 0x7fff7f61, 0x7d897a7c, 0x764170e2, 0x6a6d62f1,
- 0x5a825133, 0x471c3c56, 0x30fb2527, 0x18f80c8b,
- 0x0000f375, 0xe708dad9, 0xcf05c3aa, 0xb8e4aecd,
- 0xa57e9d0f, 0x95938f1e, 0x89bf8584, 0x8277809f,
- 0x8001809f, 0x82778584, 0x89bf8f1e, 0x95939d0f,
- 0xa57eaecd, 0xb8e4c3aa, 0xcf05dad9, 0xe708f375,
- 0x000007ff, 0x0fff17ff, 0x1fff27ff, 0x2fff37ff,
- 0x3fff47ff, 0x4fff57ff, 0x5fff67ff, 0x6fff77ff,
- 0x7fff7800, 0x70006800, 0x60005800, 0x50004800,
- 0x40003800, 0x30002800, 0x20001800, 0x10000800,
- 0x0000f801, 0xf001e801, 0xe001d801, 0xd001c801,
- 0xc001b801, 0xb001a801, 0xa0019801, 0x90018801,
- 0x80018800, 0x90009800, 0xa000a800, 0xb000b800,
- 0xc000c800, 0xd000d800, 0xe000e800, 0xf000f800,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x682e469b, 0x25080375, 0xe1e2c04f, 0x9ebc7d29,
- 0x5b963a03, 0x1870f6dd, 0xd54ab3b7, 0x92247091,
- 0x4efe2d6b, 0x0bd8ea45, 0xc8b2a71f, 0x858c63f9,
- 0x426620d3, 0xff40ddad, 0xbc1a9a87, 0x78f45761,
- 0x35ce143b, 0xf2a8d115, 0xaf828def, 0x6c5c4ac9,
- 0x293607a3, 0xe610c47d, 0xa2ea8157, 0x5fc43e31,
- 0x1c9efb0b, 0xd978b7e5, 0x965274bf, 0x532c3199,
- 0x1006ee73, 0xcce0ab4d, 0x89ba6827, 0x46942501,
- 0x00000001, 0x00020003, 0x00040005, 0x00060007,
- 0x00080009, 0x000a000b, 0x000c000d, 0x000e000f,
- 0x00000001, 0x00020003, 0x00040005, 0x00060007,
- 0x00080009, 0x000a000b, 0x000c000d, 0x000e000f,
- 0x00000001, 0x00020003, 0x00040005, 0x00060007,
- 0x00080009, 0x000a000b, 0x000c000d, 0x000e000f,
- 0x00000001, 0x00020003, 0x00040005, 0x00060007,
- 0x00080009, 0x000a000b, 0x000c000d, 0x000e000f,
- 0x5a825b9c, 0x5cb35dc7, 0x5ed75fe3, 0x60eb61f0,
- 0x62f163ee, 0x64e865dd, 0x66cf67bc, 0x68a6698b,
- 0x6a6d6b4a, 0x6c236cf8, 0x6dc96e96, 0x6f5e7022,
- 0x70e2719d, 0x72547307, 0x73b5745f, 0x750475a5,
- 0x764176d8, 0x776b77fa, 0x78847909, 0x79897a05,
- 0x7a7c7aee, 0x7b5c7bc5, 0x7c297c88, 0x7ce37d39,
- 0x7d897dd5, 0x7e1d7e5f, 0x7e9c7ed5, 0x7f097f37,
- 0x7f617f86, 0x7fa67fc1, 0x7fd87fe9, 0x7ff57ffd,
- 0x00058100, 0x0040806a, 0x19e08039, 0x8f208039,
- 0x8ee0806a, 0x79e00002, 0x8d00000a, 0x803ea5e0,
- 0x00038207, 0x5ffb8069, 0xffa0806a, 0x04000003,
- 0x82075ffb, 0x806a0860, 0x806a0cc0, 0x00038207,
- 0x5ffb806a, 0x1120806a, 0x15800003, 0x82075ffb,
- 0x8069ffa0, 0x806a0400, 0x00038207, 0x5ffb806a,
- 0x0860806a, 0x0cc00003, 0x82075ffb, 0x806a1120,
- 0x806a1580, 0x00038207, 0x5ffb8069, 0xffa0806a,
- 0x04000003, 0x82075ffb, 0x806a0860, 0x806a0cc0,
- 0x00038207, 0x5ffb806a, 0x1120806a, 0x15800003,
- 0x82075ffb, 0x8069ffa0, 0x806a0400, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x08000000, 0x00000800, 0x04000400,
- 0x1000f800, 0x0e00fa00, 0x0c00fc00, 0x1200f600,
- 0x1068f738, 0x12c0f704, 0x1400f400, 0x0800f800,
- 0x0400fc00, 0xfc000400, 0xfc000000, 0xf8000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000002, 0x00400004, 0x00075ffb, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00400000,
- 0x02d602d6, 0x00000000, 0x00400006, 0x82075ffb,
- 0x8069ffa0, 0x806a0400, 0x80398ee0, 0x806a79e0,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x803ea5e0, 0x000a0001,
- 0x00000000, 0x00000000, 0x00010000, 0x00000000,
- 0x806a19e0, 0x80398f20, 0x80398ee0, 0x806a79e0,
- 0x806a02c0, 0x806a0720, 0x00000000, 0x5ffb0000,
- 0x00010038, 0x80758e80, 0x0d000000, 0x0d604000,
- 0x00000000, 0x00000000, 0x00000000, 0x58000000,
- 0x03a80f40, 0x03e80000, 0x003d003d, 0x003d003d,
- 0x00010020, 0x80754380, 0x0d002000, 0x0d600000,
- 0x00000000, 0x00000000, 0x00000000, 0x3fff0000,
- 0x00010020, 0x80755780, 0x0d000000, 0x0d602000,
- 0x00000000, 0x00000000, 0x00000000, 0x3fff0000,
- 0x00010038, 0x80756b80, 0x0d004000, 0x0d600000,
- 0x00000000, 0x00000000, 0x00000000, 0x58000000,
- 0x00010038, 0x80758e80, 0x0d000000, 0x0d604000,
- 0x00000000, 0x00000000, 0x00000000, 0x58000000,
- 0x00000000, 0x00000000, 0x00000000, 0x58000000,
- 0x00501568, 0xffff0030, 0x00107f00, 0x08000100,
- 0x0000002d, 0xabb80500, 0xffff0000, 0xff06f000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x82407fff, 0x7dbf843f, 0x00000000, 0x00000000,
- 0xb23b7fff, 0x4dc4d808, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
- 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x0c3966ad, 0x0d46ffdf, 0x0b396696, 0x0e5fffd8,
+ 0x0a446669, 0x0f83ffd0, 0x095a6626, 0x10b4ffc8,
+ 0x087d65cd, 0x11f0ffbf, 0x07ab655e, 0x1338ffb6,
+ 0x06e464d9, 0x148cffac, 0x0628643f, 0x15ebffa1,
+ 0x0577638f, 0x1756ff96, 0x04d162cb, 0x18cbff8a,
+ 0x043561f3, 0x1a4cff7e, 0x03a46106, 0x1bd7ff71,
+ 0x031c6007, 0x1d6cff64, 0x029f5ef5, 0x1f0bff56,
+ 0x022a5dd0, 0x20b3ff48, 0x01be5c9a, 0x2264ff3a,
+ 0x015b5b53, 0x241eff2c, 0x010159fc, 0x25e0ff1e,
+ 0x00ae5896, 0x27a9ff10, 0x00635720, 0x297aff02,
+ 0x001f559d, 0x2b50fef4, 0xffe2540d, 0x2d2cfee8,
+ 0xffac5270, 0x2f0dfedb, 0xff7c50c7, 0x30f3fed0,
+ 0xff534f14, 0x32dcfec6, 0xff2e4d57, 0x34c8febd,
+ 0xff0f4b91, 0x36b6feb6, 0xfef549c2, 0x38a5feb0,
+ 0xfedf47ed, 0x3a95feac, 0xfece4611, 0x3c85feab,
+ 0xfec04430, 0x3e74feac, 0xfeb6424a, 0x4060feaf,
+ 0xfeaf4060, 0x424afeb6, 0xfeac3e74, 0x4430fec0,
+ 0xfeab3c85, 0x4611fece, 0xfeac3a95, 0x47edfedf,
+ 0xfeb038a5, 0x49c2fef5, 0xfeb636b6, 0x4b91ff0f,
+ 0xfebd34c8, 0x4d57ff2e, 0xfec632dc, 0x4f14ff53,
+ 0xfed030f3, 0x50c7ff7c, 0xfedb2f0d, 0x5270ffac,
+ 0xfee82d2c, 0x540dffe2, 0xfef42b50, 0x559d001f,
+ 0xff02297a, 0x57200063, 0xff1027a9, 0x589600ae,
+ 0xff1e25e0, 0x59fc0101, 0xff2c241e, 0x5b53015b,
+ 0xff3a2264, 0x5c9a01be, 0xff4820b3, 0x5dd0022a,
+ 0xff561f0b, 0x5ef5029f, 0xff641d6c, 0x6007031c,
+ 0xff711bd7, 0x610603a4, 0xff7e1a4c, 0x61f30435,
+ 0xff8a18cb, 0x62cb04d1, 0xff961756, 0x638f0577,
+ 0xffa115eb, 0x643f0628, 0xffac148c, 0x64d906e4,
+ 0xffb61338, 0x655e07ab, 0xffbf11f0, 0x65cd087d,
+ 0xffc810b4, 0x6626095a, 0xffd00f83, 0x66690a44,
+ 0xffd80e5f, 0x66960b39, 0xffdf0d46, 0x66ad0c39,
+ 0x00000c8b, 0x18f82527, 0x30fb3c56, 0x471c5133,
+ 0x5a8262f1, 0x6a6d70e2, 0x76417a7c, 0x7d897f61,
+ 0x7fff7f61, 0x7d897a7c, 0x764170e2, 0x6a6d62f1,
+ 0x5a825133, 0x471c3c56, 0x30fb2527, 0x18f80c8b,
+ 0x0000f375, 0xe708dad9, 0xcf05c3aa, 0xb8e4aecd,
+ 0xa57e9d0f, 0x95938f1e, 0x89bf8584, 0x8277809f,
+ 0x8001809f, 0x82778584, 0x89bf8f1e, 0x95939d0f,
+ 0xa57eaecd, 0xb8e4c3aa, 0xcf05dad9, 0xe708f375,
+ 0x000007ff, 0x0fff17ff, 0x1fff27ff, 0x2fff37ff,
+ 0x3fff47ff, 0x4fff57ff, 0x5fff67ff, 0x6fff77ff,
+ 0x7fff7800, 0x70006800, 0x60005800, 0x50004800,
+ 0x40003800, 0x30002800, 0x20001800, 0x10000800,
+ 0x0000f801, 0xf001e801, 0xe001d801, 0xd001c801,
+ 0xc001b801, 0xb001a801, 0xa0019801, 0x90018801,
+ 0x80018800, 0x90009800, 0xa000a800, 0xb000b800,
+ 0xc000c800, 0xd000d800, 0xe000e800, 0xf000f800,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x682e469b, 0x25080375, 0xe1e2c04f, 0x9ebc7d29,
+ 0x5b963a03, 0x1870f6dd, 0xd54ab3b7, 0x92247091,
+ 0x4efe2d6b, 0x0bd8ea45, 0xc8b2a71f, 0x858c63f9,
+ 0x426620d3, 0xff40ddad, 0xbc1a9a87, 0x78f45761,
+ 0x35ce143b, 0xf2a8d115, 0xaf828def, 0x6c5c4ac9,
+ 0x293607a3, 0xe610c47d, 0xa2ea8157, 0x5fc43e31,
+ 0x1c9efb0b, 0xd978b7e5, 0x965274bf, 0x532c3199,
+ 0x1006ee73, 0xcce0ab4d, 0x89ba6827, 0x46942501,
+ 0x00000001, 0x00020003, 0x00040005, 0x00060007,
+ 0x00080009, 0x000a000b, 0x000c000d, 0x000e000f,
+ 0x00000001, 0x00020003, 0x00040005, 0x00060007,
+ 0x00080009, 0x000a000b, 0x000c000d, 0x000e000f,
+ 0x00000001, 0x00020003, 0x00040005, 0x00060007,
+ 0x00080009, 0x000a000b, 0x000c000d, 0x000e000f,
+ 0x00000001, 0x00020003, 0x00040005, 0x00060007,
+ 0x00080009, 0x000a000b, 0x000c000d, 0x000e000f,
+ 0x5a825b9c, 0x5cb35dc7, 0x5ed75fe3, 0x60eb61f0,
+ 0x62f163ee, 0x64e865dd, 0x66cf67bc, 0x68a6698b,
+ 0x6a6d6b4a, 0x6c236cf8, 0x6dc96e96, 0x6f5e7022,
+ 0x70e2719d, 0x72547307, 0x73b5745f, 0x750475a5,
+ 0x764176d8, 0x776b77fa, 0x78847909, 0x79897a05,
+ 0x7a7c7aee, 0x7b5c7bc5, 0x7c297c88, 0x7ce37d39,
+ 0x7d897dd5, 0x7e1d7e5f, 0x7e9c7ed5, 0x7f097f37,
+ 0x7f617f86, 0x7fa67fc1, 0x7fd87fe9, 0x7ff57ffd,
+ 0x00058100, 0x0040806a, 0x19e08039, 0x8f208039,
+ 0x8ee0806a, 0x79e00002, 0x8d00000a, 0x803ea5e0,
+ 0x00038207, 0x5ffb8069, 0xffa0806a, 0x04000003,
+ 0x82075ffb, 0x806a0860, 0x806a0cc0, 0x00038207,
+ 0x5ffb806a, 0x1120806a, 0x15800003, 0x82075ffb,
+ 0x8069ffa0, 0x806a0400, 0x00038207, 0x5ffb806a,
+ 0x0860806a, 0x0cc00003, 0x82075ffb, 0x806a1120,
+ 0x806a1580, 0x00038207, 0x5ffb8069, 0xffa0806a,
+ 0x04000003, 0x82075ffb, 0x806a0860, 0x806a0cc0,
+ 0x00038207, 0x5ffb806a, 0x1120806a, 0x15800003,
+ 0x82075ffb, 0x8069ffa0, 0x806a0400, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x08000000, 0x00000800, 0x04000400,
+ 0x1000f800, 0x0e00fa00, 0x0c00fc00, 0x1200f600,
+ 0x1068f738, 0x12c0f704, 0x1400f400, 0x0800f800,
+ 0x0400fc00, 0xfc000400, 0xfc000000, 0xf8000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000002, 0x00400004, 0x00075ffb, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00400000,
+ 0x02d602d6, 0x00000000, 0x00400006, 0x82075ffb,
+ 0x8069ffa0, 0x806a0400, 0x80398ee0, 0x806a79e0,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x803ea5e0, 0x000a0001,
+ 0x00000000, 0x00000000, 0x00010000, 0x00000000,
+ 0x806a19e0, 0x80398f20, 0x80398ee0, 0x806a79e0,
+ 0x806a02c0, 0x806a0720, 0x00000000, 0x5ffb0000,
+ 0x00010038, 0x80758e80, 0x0d000000, 0x0d604000,
+ 0x00000000, 0x00000000, 0x00000000, 0x58000000,
+ 0x03a80f40, 0x03e80000, 0x003d003d, 0x003d003d,
+ 0x00010020, 0x80754380, 0x0d002000, 0x0d600000,
+ 0x00000000, 0x00000000, 0x00000000, 0x3fff0000,
+ 0x00010020, 0x80755780, 0x0d000000, 0x0d602000,
+ 0x00000000, 0x00000000, 0x00000000, 0x3fff0000,
+ 0x00010038, 0x80756b80, 0x0d004000, 0x0d600000,
+ 0x00000000, 0x00000000, 0x00000000, 0x58000000,
+ 0x00010038, 0x80758e80, 0x0d000000, 0x0d604000,
+ 0x00000000, 0x00000000, 0x00000000, 0x58000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x58000000,
+ 0x00501568, 0xffff0030, 0x00107f00, 0x08000100,
+ 0x0000002d, 0xabb80500, 0xffff0000, 0xff06f000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x82407fff, 0x7dbf843f, 0x00000000, 0x00000000,
+ 0xb23b7fff, 0x4dc4d808, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
+ 0x00000000, 0x00000000, 0x00000000, 0x00000000,
};
diff --git a/Source/DSPTool/DSPTool.vcxproj b/Source/DSPTool/DSPTool.vcxproj
index e72c055233..386ea0ce61 100644
--- a/Source/DSPTool/DSPTool.vcxproj
+++ b/Source/DSPTool/DSPTool.vcxproj
@@ -1,14 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="DebugFast|Win32">
- <Configuration>DebugFast</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="DebugFast|x64">
- <Configuration>DebugFast</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
@@ -28,164 +20,28 @@
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{1970D175-3DE8-4738-942A-4D98D1CDBF64}</ProjectGuid>
- <RootNamespace>DSPTool</RootNamespace>
- <Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>false</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <PropertyGroup Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
+ <PlatformToolset>v120</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>false</WholeProgramOptimization>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>false</WholeProgramOptimization>
+ <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
+ <UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>Application</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>false</WholeProgramOptimization>
+ <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
+ <UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\VSProps\Base.props" />
- <Import Project="..\VSProps\CodeGen_DebugFast.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\VSProps\Base.props" />
- <Import Project="..\VSProps\CodeGen_Release.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\VSProps\Base.props" />
- <Import Project="..\VSProps\CodeGen_Debug.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\VSProps\Base.props" />
- <Import Project="..\VSProps\CodeGen_DebugFast.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- <Import Project="..\VSProps\Base.props" />
- <Import Project="..\VSProps\CodeGen_Release.props" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="..\VSProps\Base.props" />
- <Import Project="..\VSProps\CodeGen_Debug.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
- <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'" />
- <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
- <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'" />
- <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
- <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
- <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
- <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
- <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
- <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
- <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
- <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
- <OutDir Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">../../Binary/$(Platform)/</OutDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">../../Binary/$(Platform)/</OutDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">../../Binary/$(Platform)/</OutDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">../../Binary/$(Platform)/</OutDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">../../Binary/$(Platform)/</OutDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">../../Binary/$(Platform)/</OutDir>
- <TargetName Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">$(ProjectName)DF</TargetName>
- <TargetName Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">$(ProjectName)DF</TargetName>
- <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)D</TargetName>
- <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectName)D</TargetName>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>../Core/Core/Src;../Core/Common/Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PrecompiledHeader>
- </PrecompiledHeader>
- </ClCompile>
- <Link>
- <AdditionalDependencies>winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Console</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>../Core/Core/Src;../Core/Common/Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PrecompiledHeader>
- </PrecompiledHeader>
- </ClCompile>
- <Link>
- <AdditionalDependencies>winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Console</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>../Core/Core/Src;../Core/Common/Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PrecompiledHeader>
- </PrecompiledHeader>
- </ClCompile>
- <Link>
- <AdditionalDependencies>winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Console</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
- <AdditionalIncludeDirectories>../Core/Core/Src;../Core/Common/Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PrecompiledHeader>
- </PrecompiledHeader>
- </ClCompile>
- <Link>
- <AdditionalDependencies>winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Console</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|Win32'">
- <ClCompile>
- <AdditionalIncludeDirectories>../Core/Core/Src;../Core/Common/Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PrecompiledHeader>
- </PrecompiledHeader>
- </ClCompile>
- <Link>
- <AdditionalDependencies>winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <SubSystem>Console</SubSystem>
- </Link>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugFast|x64'">
- <ClCompile>
- <AdditionalIncludeDirectories>../Core/Core/Src;../Core/Common/Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PrecompiledHeader>
- </PrecompiledHeader>
- </ClCompile>
+ <ItemDefinitionGroup>
<Link>
<AdditionalDependencies>winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SubSystem>Console</SubSystem>
@@ -201,24 +57,25 @@
<ClCompile Include="Src\DSPTool.cpp" />
</ItemGroup>
<ItemGroup>
+ <Text Include="CMakeLists.txt" />
+ </ItemGroup>
+ <ItemGroup>
<ProjectReference Include="..\Core\Common\Common.vcxproj">
- <Project>{c87a4178-44f6-49b2-b7aa-c79af1b8c534}</Project>
- <Private>true</Private>
- <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
- <CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
- <LinkLibraryDependencies>true</LinkLibraryDependencies>
- <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
+ <Project>{2e6c348c-c75c-4d94-8d1e-9c1fcbf3efe4}</Project>
</ProjectReference>
<ProjectReference Include="..\Core\Core\Core.vcxproj">
- <Project>{8c60e805-0da5-4e25-8f84-038db504bb0d}</Project>
- <Private>true</Private>
- <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
- <CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
- <LinkLibraryDependencies>true</LinkLibraryDependencies>
- <UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
+ <Project>{e54cf649-140e-4255-81a5-30a673c1fb36}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
+ <!--Copy the .exe to binary output folder-->
+ <ItemGroup>
+ <SourceFiles Include="$(TargetPath)" />
+ </ItemGroup>
+ <Target Name="AfterBuild" Inputs="@(SourceFiles)" Outputs="@(SourceFiles -> '$(BinaryOutputDir)%(Filename)%(Extension)')">
+ <Message Text="Copy: @(SourceFiles) -> $(BinaryOutputDir)" Importance="High"/>
+ <Copy SourceFiles="@(SourceFiles)" DestinationFolder="$(BinaryOutputDir)" />
+ </Target>
</Project> \ No newline at end of file
diff --git a/Source/DSPTool/DSPTool.vcxproj.filters b/Source/DSPTool/DSPTool.vcxproj.filters
index c5b78da492..f3000e3495 100644
--- a/Source/DSPTool/DSPTool.vcxproj.filters
+++ b/Source/DSPTool/DSPTool.vcxproj.filters
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="TestData">
<UniqueIdentifier>{0b70242b-1d98-432f-a60e-d4ca0674852e}</UniqueIdentifier>
@@ -22,4 +22,7 @@
<ItemGroup>
<ClCompile Include="Src\DSPTool.cpp" />
</ItemGroup>
+ <ItemGroup>
+ <Text Include="CMakeLists.txt" />
+ </ItemGroup>
</Project> \ No newline at end of file
diff --git a/Source/DSPTool/Src/DSPTool.cpp b/Source/DSPTool/Src/DSPTool.cpp
index 78335d3026..9f38b1347b 100644
--- a/Source/DSPTool/Src/DSPTool.cpp
+++ b/Source/DSPTool/Src/DSPTool.cpp
@@ -72,8 +72,8 @@ bool SuperTrip(const char *asm_code)
std::string text2;
Disassemble(code1, true, &text1);
Disassemble(code2, true, &text2);
- File::WriteStringToFile(true, text1, "code1.txt");
- File::WriteStringToFile(true, text2, "code2.txt");
+ File::WriteStringToFile(text1, "code1.txt");
+ File::WriteStringToFile(text2, "code2.txt");
*/
return true;
}
@@ -126,7 +126,7 @@ void RunAsmTests()
/*
std::vector<u16> code;
std::string text_orig;
- File::ReadFileToString(false, "testdata/dsp_test.S", &text_orig);
+ File::ReadFileToString("testdata/dsp_test.S", &text_orig);
if (!Assemble(text_orig.c_str(), &code))
{
printf("SuperTrip: First assembly failed\n");
@@ -168,15 +168,15 @@ void RunAsmTests()
RoundTrip(rand_code);
- if (File::ReadFileToString(true, "C:/devkitPro/examples/wii/asndlib/dsptest/dsp_test.ds", &dsp_test))
+ if (File::ReadFileToString("C:/devkitPro/examples/wii/asndlib/dsptest/dsp_test.ds", &dsp_test))
SuperTrip(dsp_test.c_str());
- //.File::ReadFileToString(true, "C:/devkitPro/trunk/libogc/libasnd/dsp_mixer/dsp_mixer.s", &dsp_test);
+ //.File::ReadFileToString("C:/devkitPro/trunk/libogc/libasnd/dsp_mixer/dsp_mixer.s", &dsp_test);
// This is CLOSE to working. Sorry about the local path btw. This is preliminary code.
*/
-
+
std::string dsp_test;
- if (File::ReadFileToString(true, "Testdata/dsp_test.s", dsp_test))
+ if (File::ReadFileToString("Testdata/dsp_test.s", dsp_test))
fail = fail || !SuperTrip(dsp_test.c_str());
if (!fail)
printf("All passed!\n");
@@ -213,7 +213,7 @@ int main(int argc, const char *argv[])
printf("-ps <DUMP FILE>: Print results of DSPSpy register dump (disable SR output)\n");
printf("-pm <DUMP FILE>: Print results of DSPSpy register dump (convert PROD values)\n");
printf("-psm <DUMP FILE>: Print results of DSPSpy register dump (convert PROD values/disable SR output)\n");
-
+
return 0;
}
@@ -227,7 +227,7 @@ int main(int argc, const char *argv[])
std::string output_header_name;
std::string output_name;
- bool disassemble = false, compare = false, multiple = false, outputSize = false,
+ bool disassemble = false, compare = false, multiple = false, outputSize = false,
force = false, print_results = false, print_results_prodhack = false, print_results_srhack = false;
for (int i = 1; i < argc; i++)
{
@@ -260,7 +260,7 @@ int main(int argc, const char *argv[])
print_results_srhack = true;
print_results_prodhack = true;
}
- else
+ else
{
if (!input_name.empty())
{
@@ -288,9 +288,9 @@ int main(int argc, const char *argv[])
// Two binary inputs, let's diff.
std::string binary_code;
std::vector<u16> code1, code2;
- File::ReadFileToString(false, input_name.c_str(), binary_code);
+ File::ReadFileToString(input_name.c_str(), binary_code);
BinaryStringBEToCode(binary_code, code1);
- File::ReadFileToString(false, output_name.c_str(), binary_code);
+ File::ReadFileToString(output_name.c_str(), binary_code);
BinaryStringBEToCode(binary_code, code2);
Compare(code1, code2);
return 0;
@@ -301,7 +301,7 @@ int main(int argc, const char *argv[])
std::string dumpfile, results;
std::vector<u16> reg_vector;
- File::ReadFileToString(false, input_name.c_str(), dumpfile);
+ File::ReadFileToString(input_name.c_str(), dumpfile);
BinaryStringBEToCode(dumpfile, reg_vector);
results.append("Start:\n");
@@ -325,17 +325,17 @@ int main(int argc, const char *argv[])
{
if ((reg >= 0x0c) && (reg <= 0x0f)) continue;
if (print_results_srhack && (reg == 0x13)) continue;
-
+
if ((print_results_prodhack) && (reg >= 0x15) && (reg <= 0x17)) {
switch (reg) {
case 0x15: //DSP_REG_PRODM
last_reg = reg_vector.at((step*32-32)+reg) + reg_vector.at((step*32-32)+reg+2);
- current_reg = reg_vector.at(step*32+reg) + reg_vector.at(step*32+reg+2);
+ current_reg = reg_vector.at(step*32+reg) + reg_vector.at(step*32+reg+2);
break;
case 0x16: //DSP_REG_PRODH
- htemp = ((reg_vector.at(step*32+reg-1) + reg_vector.at(step*32+reg+1))&~0xffff)>>16;
+ htemp = ((reg_vector.at(step*32+reg-1) + reg_vector.at(step*32+reg+1))&~0xffff)>>16;
current_reg = (u8)(reg_vector.at(step*32+reg) + htemp);
- htemp = ((reg_vector.at(step*32-32+reg-1) + reg_vector.at(step*32-32+reg+1))&~0xffff)>>16;
+ htemp = ((reg_vector.at(step*32-32+reg-1) + reg_vector.at(step*32-32+reg+1))&~0xffff)>>16;
last_reg = (u8)(reg_vector.at(step*32-32+reg) + htemp);
break;
case 0x17: //DSP_REG_PRODM2
@@ -362,7 +362,7 @@ int main(int argc, const char *argv[])
}
if (!output_name.empty())
- File::WriteStringToFile(true, results, output_name.c_str());
+ File::WriteStringToFile(results, output_name.c_str());
else
printf("%s", results.c_str());
return 0;
@@ -377,16 +377,16 @@ int main(int argc, const char *argv[])
}
std::string binary_code;
std::vector<u16> code;
- File::ReadFileToString(false, input_name.c_str(), binary_code);
+ File::ReadFileToString(input_name.c_str(), binary_code);
BinaryStringBEToCode(binary_code, code);
std::string text;
Disassemble(code, true, text);
if (!output_name.empty())
- File::WriteStringToFile(true, text, output_name.c_str());
+ File::WriteStringToFile(text, output_name.c_str());
else
printf("%s", text.c_str());
}
- else
+ else
{
if (input_name.empty())
{
@@ -394,9 +394,9 @@ int main(int argc, const char *argv[])
return 1;
}
std::string source;
- if (File::ReadFileToString(true, input_name.c_str(), source))
+ if (File::ReadFileToString(input_name.c_str(), source))
{
- if(multiple)
+ if(multiple)
{
// When specifying a list of files we must compile a header
// (we can't assemble multiple files to one binary)
@@ -408,8 +408,8 @@ int main(int argc, const char *argv[])
size_t lastPos = 0, pos = 0;
source.append("\n");
-
- while((pos = source.find('\n', lastPos)) != std::string::npos)
+
+ while((pos = source.find('\n', lastPos)) != std::string::npos)
{
std::string temp = source.substr(lastPos, pos - lastPos);
if(!temp.empty())
@@ -419,26 +419,26 @@ int main(int argc, const char *argv[])
lines = (int)files.size();
- if(lines == 0)
+ if(lines == 0)
{
printf("ERROR: Must specify at least one file\n");
return 1;
}
-
+
codes = new std::vector<u16>[lines];
- for (int i = 0; i < lines; i++)
+ for (int i = 0; i < lines; i++)
{
- if (!File::ReadFileToString(true, files[i].c_str(), currentSource))
+ if (!File::ReadFileToString(files[i].c_str(), currentSource))
{
printf("ERROR reading %s, skipping...\n", files[i].c_str());
lines--;
}
- else
+ else
{
- if (!Assemble(currentSource.c_str(), codes[i], force))
+ if (!Assemble(currentSource.c_str(), codes[i], force))
{
- printf("Assemble: Assembly of %s failed due to errors\n",
+ printf("Assemble: Assembly of %s failed due to errors\n",
files[i].c_str());
lines--;
}
@@ -447,10 +447,10 @@ int main(int argc, const char *argv[])
}
}
}
-
+
CodesToHeader(codes, &files, lines, output_header_name.c_str(), header);
- File::WriteStringToFile(true, header, (output_header_name + ".h").c_str());
+ File::WriteStringToFile(header, (output_header_name + ".h").c_str());
delete[] codes;
}
@@ -466,18 +466,18 @@ int main(int argc, const char *argv[])
if (outputSize) {
printf("%s: %d\n", input_name.c_str(), (int)code.size());
}
-
+
if (!output_name.empty())
{
std::string binary_code;
CodeToBinaryStringBE(code, binary_code);
- File::WriteStringToFile(false, binary_code, output_name.c_str());
+ File::WriteStringToFile(binary_code, output_name.c_str());
}
if (!output_header_name.empty())
{
std::string header;
CodeToHeader(code, input_name, output_header_name.c_str(), header);
- File::WriteStringToFile(true, header, (output_header_name + ".h").c_str());
+ File::WriteStringToFile(header, (output_header_name + ".h").c_str());
}
}
}
diff --git a/Source/Dolphin_2010.sln b/Source/Dolphin_2010.sln
deleted file mode 100644
index f5201ab56c..0000000000
--- a/Source/Dolphin_2010.sln
+++ /dev/null
@@ -1,446 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Dolphin", "Core\DolphinWX\Dolphin.vcxproj", "{1B099EF8-6F87-47A2-A3E7-898A24584F49}"
- ProjectSection(ProjectDependencies) = postProject
- {8C60E805-0DA5-4E25-8F84-038DB504BB0D} = {8C60E805-0DA5-4E25-8F84-038DB504BB0D}
- {69F00340-5C3D-449F-9A80-958435C6CF06} = {69F00340-5C3D-449F-9A80-958435C6CF06}
- {9E9DA440-E9AD-413C-B648-91030E792211} = {9E9DA440-E9AD-413C-B648-91030E792211}
- {93D73454-2512-424E-9CDA-4BB357FE13DD} = {93D73454-2512-424E-9CDA-4BB357FE13DD}
- {B6398059-EBB6-4C34-B547-95F365B71FF4} = {B6398059-EBB6-4C34-B547-95F365B71FF4}
- {AA862E5E-A993-497A-B6A0-0E8E94B10050} = {AA862E5E-A993-497A-B6A0-0E8E94B10050}
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534} = {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}
- {B39AC394-5DB5-4DA9-9D98-09D46CA3701F} = {B39AC394-5DB5-4DA9-9D98-09D46CA3701F}
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE} = {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}
- {349EE8F9-7D25-4909-AAF5-FF3FADE72187} = {349EE8F9-7D25-4909-AAF5-FF3FADE72187}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "Core\Common\Common.vcxproj", "{C87A4178-44F6-49B2-B7AA-C79AF1B8C534}"
- ProjectSection(ProjectDependencies) = postProject
- {46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
- {69F00340-5C3D-449F-9A80-958435C6CF06} = {69F00340-5C3D-449F-9A80-958435C6CF06}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AudioCommon", "Core\AudioCommon\AudioCommon.vcxproj", "{37D007BD-D66C-4EAF-B56C-BD1AAC340A05}"
- ProjectSection(ProjectDependencies) = postProject
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534} = {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SOIL", "..\Externals\SOIL\SOIL.vcxproj", "{8544F1FF-F2A5-42D8-A568-C56B5D3B4181}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SFML_Network", "..\Externals\SFML\build\vc2010\SFML_Network.vcxproj", "{93D73454-2512-424E-9CDA-4BB357FE13DD}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LZO", "..\Externals\LZO\LZO.vcxproj", "{D8890B98-26F7-4CFF-BBFB-B95F371B5F20}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zlib", "..\Externals\zlib\zlib.vcxproj", "{3E1339F5-9311-4122-9442-369702E8FCAD}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VideoCommon", "Core\VideoCommon\VideoCommon.vcxproj", "{3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}"
- ProjectSection(ProjectDependencies) = postProject
- {AA862E5E-A993-497A-B6A0-0E8E94B10050} = {AA862E5E-A993-497A-B6A0-0E8E94B10050}
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534} = {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}
- {8544F1FF-F2A5-42D8-A568-C56B5D3B4181} = {8544F1FF-F2A5-42D8-A568-C56B5D3B4181}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CLRun", "..\Externals\CLRun\clrun\CLRun.vcxproj", "{AA862E5E-A993-497A-B6A0-0E8E94B10050}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Core", "Core\Core\Core.vcxproj", "{8C60E805-0DA5-4E25-8F84-038DB504BB0D}"
- ProjectSection(ProjectDependencies) = postProject
- {46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
- {CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6} = {CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6}
- {93D73454-2512-424E-9CDA-4BB357FE13DD} = {93D73454-2512-424E-9CDA-4BB357FE13DD}
- {B6398059-EBB6-4C34-B547-95F365B71FF4} = {B6398059-EBB6-4C34-B547-95F365B71FF4}
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534} = {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}
- {B39AC394-5DB5-4DA9-9D98-09D46CA3701F} = {B39AC394-5DB5-4DA9-9D98-09D46CA3701F}
- {D8890B98-26F7-4CFF-BBFB-B95F371B5F20} = {D8890B98-26F7-4CFF-BBFB-B95F371B5F20}
- {349EE8F9-7D25-4909-AAF5-FF3FADE72187} = {349EE8F9-7D25-4909-AAF5-FF3FADE72187}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Bochs_disasm", "..\Externals\Bochs_disasm\Bochs_disasm.vcxproj", "{CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DiscIO", "Core\DiscIO\DiscIO.vcxproj", "{B6398059-EBB6-4C34-B547-95F365B71FF4}"
- ProjectSection(ProjectDependencies) = postProject
- {46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534} = {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}
- {3E1339F5-9311-4122-9442-369702E8FCAD} = {3E1339F5-9311-4122-9442-369702E8FCAD}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VideoD3D", "Core\VideoBackends\D3D\D3D.vcxproj", "{9A4C733C-BADE-4AC6-B58A-6E274395E90E}"
- ProjectSection(ProjectDependencies) = postProject
- {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF} = {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE} = {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VideoOGL", "Core\VideoBackends\OGL\OGL.vcxproj", "{1909CD2D-1707-456F-86CA-0DF42A727C99}"
- ProjectSection(ProjectDependencies) = postProject
- {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF} = {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE} = {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VideoSoftware", "Core\VideoBackends\Software\Software.vcxproj", "{9E9DA440-E9AD-413C-B648-91030E792211}"
- ProjectSection(ProjectDependencies) = postProject
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE} = {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "InputCommon", "Core\InputCommon\InputCommon.vcxproj", "{B39AC394-5DB5-4DA9-9D98-09D46CA3701F}"
- ProjectSection(ProjectDependencies) = postProject
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534} = {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Languages", "..\Languages\Languages.vcxproj", "{0B8D0A82-C520-46BA-849D-3BB8F637EE0C}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DSPTool", "DSPTool\DSPTool.vcxproj", "{1970D175-3DE8-4738-942A-4D98D1CDBF64}"
- ProjectSection(ProjectDependencies) = postProject
- {8C60E805-0DA5-4E25-8F84-038DB504BB0D} = {8C60E805-0DA5-4E25-8F84-038DB504BB0D}
- {69F00340-5C3D-449F-9A80-958435C6CF06} = {69F00340-5C3D-449F-9A80-958435C6CF06}
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534} = {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wxWidgets", "..\Externals\wxWidgets3\build\msw\wx_base.vcxproj", "{1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}"
- ProjectSection(ProjectDependencies) = postProject
- {01573C36-AC6E-49F6-94BA-572517EB9740} = {01573C36-AC6E-49F6-94BA-572517EB9740}
- {3E1339F5-9311-4122-9442-369702E8FCAD} = {3E1339F5-9311-4122-9442-369702E8FCAD}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "png", "..\Externals\libpng\png\png.vcxproj", "{01573C36-AC6E-49F6-94BA-572517EB9740}"
- ProjectSection(ProjectDependencies) = postProject
- {3E1339F5-9311-4122-9442-369702E8FCAD} = {3E1339F5-9311-4122-9442-369702E8FCAD}
- EndProjectSection
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SCMRevGen", "Core\Common\SVNRevGen.vcxproj", "{69F00340-5C3D-449F-9A80-958435C6CF06}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SoundTouch", "..\Externals\SoundTouch\SoundTouch.vcxproj", "{68A5DD20-7057-448B-8FE0-B6AC8D205509}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PolarSSL", "..\Externals\polarssl\visualc\VS2010\PolarSSL.vcxproj", "{46CF2D25-6A36-4189-B59C-E4815388E554}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "UnitTests", "UnitTests\UnitTests.vcxproj", "{40C636FA-B5BF-4D67-ABC8-376B524A7551}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "miniupnpc", "..\Externals\miniupnpc\miniupnpc.vcxproj", "{A680190D-0764-485B-9CF3-A82C5EDD5715}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libusb", "..\Externals\libusbx\msvc\libusb_static_2010.vcxproj", "{349EE8F9-7D25-4909-AAF5-FF3FADE72187}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Debug|x64 = Debug|x64
- DebugFast|Win32 = DebugFast|Win32
- DebugFast|x64 = DebugFast|x64
- Release|Win32 = Release|Win32
- Release|x64 = Release|x64
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {1B099EF8-6F87-47A2-A3E7-898A24584F49}.Debug|Win32.ActiveCfg = Debug|Win32
- {1B099EF8-6F87-47A2-A3E7-898A24584F49}.Debug|Win32.Build.0 = Debug|Win32
- {1B099EF8-6F87-47A2-A3E7-898A24584F49}.Debug|x64.ActiveCfg = Debug|x64
- {1B099EF8-6F87-47A2-A3E7-898A24584F49}.Debug|x64.Build.0 = Debug|x64
- {1B099EF8-6F87-47A2-A3E7-898A24584F49}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {1B099EF8-6F87-47A2-A3E7-898A24584F49}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {1B099EF8-6F87-47A2-A3E7-898A24584F49}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {1B099EF8-6F87-47A2-A3E7-898A24584F49}.DebugFast|x64.Build.0 = DebugFast|x64
- {1B099EF8-6F87-47A2-A3E7-898A24584F49}.Release|Win32.ActiveCfg = Release|Win32
- {1B099EF8-6F87-47A2-A3E7-898A24584F49}.Release|Win32.Build.0 = Release|Win32
- {1B099EF8-6F87-47A2-A3E7-898A24584F49}.Release|x64.ActiveCfg = Release|x64
- {1B099EF8-6F87-47A2-A3E7-898A24584F49}.Release|x64.Build.0 = Release|x64
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}.Debug|Win32.ActiveCfg = Debug|Win32
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}.Debug|Win32.Build.0 = Debug|Win32
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}.Debug|x64.ActiveCfg = Debug|x64
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}.Debug|x64.Build.0 = Debug|x64
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}.DebugFast|x64.Build.0 = DebugFast|x64
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}.Release|Win32.ActiveCfg = Release|Win32
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}.Release|Win32.Build.0 = Release|Win32
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}.Release|x64.ActiveCfg = Release|x64
- {C87A4178-44F6-49B2-B7AA-C79AF1B8C534}.Release|x64.Build.0 = Release|x64
- {37D007BD-D66C-4EAF-B56C-BD1AAC340A05}.Debug|Win32.ActiveCfg = Debug|Win32
- {37D007BD-D66C-4EAF-B56C-BD1AAC340A05}.Debug|Win32.Build.0 = Debug|Win32
- {37D007BD-D66C-4EAF-B56C-BD1AAC340A05}.Debug|x64.ActiveCfg = Debug|x64
- {37D007BD-D66C-4EAF-B56C-BD1AAC340A05}.Debug|x64.Build.0 = Debug|x64
- {37D007BD-D66C-4EAF-B56C-BD1AAC340A05}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {37D007BD-D66C-4EAF-B56C-BD1AAC340A05}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {37D007BD-D66C-4EAF-B56C-BD1AAC340A05}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {37D007BD-D66C-4EAF-B56C-BD1AAC340A05}.DebugFast|x64.Build.0 = DebugFast|x64
- {37D007BD-D66C-4EAF-B56C-BD1AAC340A05}.Release|Win32.ActiveCfg = Release|Win32
- {37D007BD-D66C-4EAF-B56C-BD1AAC340A05}.Release|Win32.Build.0 = Release|Win32
- {37D007BD-D66C-4EAF-B56C-BD1AAC340A05}.Release|x64.ActiveCfg = Release|x64
- {37D007BD-D66C-4EAF-B56C-BD1AAC340A05}.Release|x64.Build.0 = Release|x64
- {8544F1FF-F2A5-42D8-A568-C56B5D3B4181}.Debug|Win32.ActiveCfg = Debug|Win32
- {8544F1FF-F2A5-42D8-A568-C56B5D3B4181}.Debug|Win32.Build.0 = Debug|Win32
- {8544F1FF-F2A5-42D8-A568-C56B5D3B4181}.Debug|x64.ActiveCfg = Debug|x64
- {8544F1FF-F2A5-42D8-A568-C56B5D3B4181}.Debug|x64.Build.0 = Debug|x64
- {8544F1FF-F2A5-42D8-A568-C56B5D3B4181}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {8544F1FF-F2A5-42D8-A568-C56B5D3B4181}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {8544F1FF-F2A5-42D8-A568-C56B5D3B4181}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {8544F1FF-F2A5-42D8-A568-C56B5D3B4181}.DebugFast|x64.Build.0 = DebugFast|x64
- {8544F1FF-F2A5-42D8-A568-C56B5D3B4181}.Release|Win32.ActiveCfg = Release|Win32
- {8544F1FF-F2A5-42D8-A568-C56B5D3B4181}.Release|Win32.Build.0 = Release|Win32
- {8544F1FF-F2A5-42D8-A568-C56B5D3B4181}.Release|x64.ActiveCfg = Release|x64
- {8544F1FF-F2A5-42D8-A568-C56B5D3B4181}.Release|x64.Build.0 = Release|x64
- {93D73454-2512-424E-9CDA-4BB357FE13DD}.Debug|Win32.ActiveCfg = Debug|Win32
- {93D73454-2512-424E-9CDA-4BB357FE13DD}.Debug|Win32.Build.0 = Debug|Win32
- {93D73454-2512-424E-9CDA-4BB357FE13DD}.Debug|x64.ActiveCfg = Debug|x64
- {93D73454-2512-424E-9CDA-4BB357FE13DD}.Debug|x64.Build.0 = Debug|x64
- {93D73454-2512-424E-9CDA-4BB357FE13DD}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {93D73454-2512-424E-9CDA-4BB357FE13DD}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {93D73454-2512-424E-9CDA-4BB357FE13DD}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {93D73454-2512-424E-9CDA-4BB357FE13DD}.DebugFast|x64.Build.0 = DebugFast|x64
- {93D73454-2512-424E-9CDA-4BB357FE13DD}.Release|Win32.ActiveCfg = Release|Win32
- {93D73454-2512-424E-9CDA-4BB357FE13DD}.Release|Win32.Build.0 = Release|Win32
- {93D73454-2512-424E-9CDA-4BB357FE13DD}.Release|x64.ActiveCfg = Release|x64
- {93D73454-2512-424E-9CDA-4BB357FE13DD}.Release|x64.Build.0 = Release|x64
- {D8890B98-26F7-4CFF-BBFB-B95F371B5F20}.Debug|Win32.ActiveCfg = Debug|Win32
- {D8890B98-26F7-4CFF-BBFB-B95F371B5F20}.Debug|Win32.Build.0 = Debug|Win32
- {D8890B98-26F7-4CFF-BBFB-B95F371B5F20}.Debug|x64.ActiveCfg = Debug|x64
- {D8890B98-26F7-4CFF-BBFB-B95F371B5F20}.Debug|x64.Build.0 = Debug|x64
- {D8890B98-26F7-4CFF-BBFB-B95F371B5F20}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {D8890B98-26F7-4CFF-BBFB-B95F371B5F20}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {D8890B98-26F7-4CFF-BBFB-B95F371B5F20}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {D8890B98-26F7-4CFF-BBFB-B95F371B5F20}.DebugFast|x64.Build.0 = DebugFast|x64
- {D8890B98-26F7-4CFF-BBFB-B95F371B5F20}.Release|Win32.ActiveCfg = Release|Win32
- {D8890B98-26F7-4CFF-BBFB-B95F371B5F20}.Release|Win32.Build.0 = Release|Win32
- {D8890B98-26F7-4CFF-BBFB-B95F371B5F20}.Release|x64.ActiveCfg = Release|x64
- {D8890B98-26F7-4CFF-BBFB-B95F371B5F20}.Release|x64.Build.0 = Release|x64
- {3E1339F5-9311-4122-9442-369702E8FCAD}.Debug|Win32.ActiveCfg = Debug|Win32
- {3E1339F5-9311-4122-9442-369702E8FCAD}.Debug|Win32.Build.0 = Debug|Win32
- {3E1339F5-9311-4122-9442-369702E8FCAD}.Debug|x64.ActiveCfg = Debug|x64
- {3E1339F5-9311-4122-9442-369702E8FCAD}.Debug|x64.Build.0 = Debug|x64
- {3E1339F5-9311-4122-9442-369702E8FCAD}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {3E1339F5-9311-4122-9442-369702E8FCAD}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {3E1339F5-9311-4122-9442-369702E8FCAD}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {3E1339F5-9311-4122-9442-369702E8FCAD}.DebugFast|x64.Build.0 = DebugFast|x64
- {3E1339F5-9311-4122-9442-369702E8FCAD}.Release|Win32.ActiveCfg = Release|Win32
- {3E1339F5-9311-4122-9442-369702E8FCAD}.Release|Win32.Build.0 = Release|Win32
- {3E1339F5-9311-4122-9442-369702E8FCAD}.Release|x64.ActiveCfg = Release|x64
- {3E1339F5-9311-4122-9442-369702E8FCAD}.Release|x64.Build.0 = Release|x64
- {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}.Debug|Win32.ActiveCfg = Debug|Win32
- {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}.Debug|Win32.Build.0 = Debug|Win32
- {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}.Debug|x64.ActiveCfg = Debug|x64
- {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}.Debug|x64.Build.0 = Debug|x64
- {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}.DebugFast|x64.Build.0 = DebugFast|x64
- {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}.Release|Win32.ActiveCfg = Release|Win32
- {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}.Release|Win32.Build.0 = Release|Win32
- {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}.Release|x64.ActiveCfg = Release|x64
- {3E5C4E02-1BA9-4776-BDBE-E3F91FFA34CF}.Release|x64.Build.0 = Release|x64
- {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Debug|Win32.ActiveCfg = Debug|Win32
- {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Debug|Win32.Build.0 = Debug|Win32
- {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Debug|x64.ActiveCfg = Debug|x64
- {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Debug|x64.Build.0 = Debug|x64
- {AA862E5E-A993-497A-B6A0-0E8E94B10050}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {AA862E5E-A993-497A-B6A0-0E8E94B10050}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {AA862E5E-A993-497A-B6A0-0E8E94B10050}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {AA862E5E-A993-497A-B6A0-0E8E94B10050}.DebugFast|x64.Build.0 = DebugFast|x64
- {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Release|Win32.ActiveCfg = Release|Win32
- {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Release|Win32.Build.0 = Release|Win32
- {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Release|x64.ActiveCfg = Release|x64
- {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Release|x64.Build.0 = Release|x64
- {8C60E805-0DA5-4E25-8F84-038DB504BB0D}.Debug|Win32.ActiveCfg = Debug|Win32
- {8C60E805-0DA5-4E25-8F84-038DB504BB0D}.Debug|Win32.Build.0 = Debug|Win32
- {8C60E805-0DA5-4E25-8F84-038DB504BB0D}.Debug|x64.ActiveCfg = Debug|x64
- {8C60E805-0DA5-4E25-8F84-038DB504BB0D}.Debug|x64.Build.0 = Debug|x64
- {8C60E805-0DA5-4E25-8F84-038DB504BB0D}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {8C60E805-0DA5-4E25-8F84-038DB504BB0D}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {8C60E805-0DA5-4E25-8F84-038DB504BB0D}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {8C60E805-0DA5-4E25-8F84-038DB504BB0D}.DebugFast|x64.Build.0 = DebugFast|x64
- {8C60E805-0DA5-4E25-8F84-038DB504BB0D}.Release|Win32.ActiveCfg = Release|Win32
- {8C60E805-0DA5-4E25-8F84-038DB504BB0D}.Release|Win32.Build.0 = Release|Win32
- {8C60E805-0DA5-4E25-8F84-038DB504BB0D}.Release|x64.ActiveCfg = Release|x64
- {8C60E805-0DA5-4E25-8F84-038DB504BB0D}.Release|x64.Build.0 = Release|x64
- {CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6}.Debug|Win32.ActiveCfg = Debug|Win32
- {CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6}.Debug|Win32.Build.0 = Debug|Win32
- {CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6}.Debug|x64.ActiveCfg = Debug|x64
- {CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6}.Debug|x64.Build.0 = Debug|x64
- {CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6}.DebugFast|x64.Build.0 = DebugFast|x64
- {CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6}.Release|Win32.ActiveCfg = Release|Win32
- {CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6}.Release|Win32.Build.0 = Release|Win32
- {CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6}.Release|x64.ActiveCfg = Release|x64
- {CD3D4C3C-1027-4D33-B047-AEC7B56D0BF6}.Release|x64.Build.0 = Release|x64
- {B6398059-EBB6-4C34-B547-95F365B71FF4}.Debug|Win32.ActiveCfg = Debug|Win32
- {B6398059-EBB6-4C34-B547-95F365B71FF4}.Debug|Win32.Build.0 = Debug|Win32
- {B6398059-EBB6-4C34-B547-95F365B71FF4}.Debug|x64.ActiveCfg = Debug|x64
- {B6398059-EBB6-4C34-B547-95F365B71FF4}.Debug|x64.Build.0 = Debug|x64
- {B6398059-EBB6-4C34-B547-95F365B71FF4}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {B6398059-EBB6-4C34-B547-95F365B71FF4}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {B6398059-EBB6-4C34-B547-95F365B71FF4}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {B6398059-EBB6-4C34-B547-95F365B71FF4}.DebugFast|x64.Build.0 = DebugFast|x64
- {B6398059-EBB6-4C34-B547-95F365B71FF4}.Release|Win32.ActiveCfg = Release|Win32
- {B6398059-EBB6-4C34-B547-95F365B71FF4}.Release|Win32.Build.0 = Release|Win32
- {B6398059-EBB6-4C34-B547-95F365B71FF4}.Release|x64.ActiveCfg = Release|x64
- {B6398059-EBB6-4C34-B547-95F365B71FF4}.Release|x64.Build.0 = Release|x64
- {9A4C733C-BADE-4AC6-B58A-6E274395E90E}.Debug|Win32.ActiveCfg = Debug|Win32
- {9A4C733C-BADE-4AC6-B58A-6E274395E90E}.Debug|Win32.Build.0 = Debug|Win32
- {9A4C733C-BADE-4AC6-B58A-6E274395E90E}.Debug|x64.ActiveCfg = Debug|x64
- {9A4C733C-BADE-4AC6-B58A-6E274395E90E}.Debug|x64.Build.0 = Debug|x64
- {9A4C733C-BADE-4AC6-B58A-6E274395E90E}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {9A4C733C-BADE-4AC6-B58A-6E274395E90E}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {9A4C733C-BADE-4AC6-B58A-6E274395E90E}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {9A4C733C-BADE-4AC6-B58A-6E274395E90E}.DebugFast|x64.Build.0 = DebugFast|x64
- {9A4C733C-BADE-4AC6-B58A-6E274395E90E}.Release|Win32.ActiveCfg = Release|Win32
- {9A4C733C-BADE-4AC6-B58A-6E274395E90E}.Release|Win32.Build.0 = Release|Win32
- {9A4C733C-BADE-4AC6-B58A-6E274395E90E}.Release|x64.ActiveCfg = Release|x64
- {9A4C733C-BADE-4AC6-B58A-6E274395E90E}.Release|x64.Build.0 = Release|x64
- {1909CD2D-1707-456F-86CA-0DF42A727C99}.Debug|Win32.ActiveCfg = Debug|Win32
- {1909CD2D-1707-456F-86CA-0DF42A727C99}.Debug|Win32.Build.0 = Debug|Win32
- {1909CD2D-1707-456F-86CA-0DF42A727C99}.Debug|x64.ActiveCfg = Debug|x64
- {1909CD2D-1707-456F-86CA-0DF42A727C99}.Debug|x64.Build.0 = Debug|x64
- {1909CD2D-1707-456F-86CA-0DF42A727C99}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {1909CD2D-1707-456F-86CA-0DF42A727C99}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {1909CD2D-1707-456F-86CA-0DF42A727C99}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {1909CD2D-1707-456F-86CA-0DF42A727C99}.DebugFast|x64.Build.0 = DebugFast|x64
- {1909CD2D-1707-456F-86CA-0DF42A727C99}.Release|Win32.ActiveCfg = Release|Win32
- {1909CD2D-1707-456F-86CA-0DF42A727C99}.Release|Win32.Build.0 = Release|Win32
- {1909CD2D-1707-456F-86CA-0DF42A727C99}.Release|x64.ActiveCfg = Release|x64
- {1909CD2D-1707-456F-86CA-0DF42A727C99}.Release|x64.Build.0 = Release|x64
- {9E9DA440-E9AD-413C-B648-91030E792211}.Debug|Win32.ActiveCfg = Debug|Win32
- {9E9DA440-E9AD-413C-B648-91030E792211}.Debug|Win32.Build.0 = Debug|Win32
- {9E9DA440-E9AD-413C-B648-91030E792211}.Debug|x64.ActiveCfg = Debug|x64
- {9E9DA440-E9AD-413C-B648-91030E792211}.Debug|x64.Build.0 = Debug|x64
- {9E9DA440-E9AD-413C-B648-91030E792211}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {9E9DA440-E9AD-413C-B648-91030E792211}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {9E9DA440-E9AD-413C-B648-91030E792211}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {9E9DA440-E9AD-413C-B648-91030E792211}.DebugFast|x64.Build.0 = DebugFast|x64
- {9E9DA440-E9AD-413C-B648-91030E792211}.Release|Win32.ActiveCfg = Release|Win32
- {9E9DA440-E9AD-413C-B648-91030E792211}.Release|Win32.Build.0 = Release|Win32
- {9E9DA440-E9AD-413C-B648-91030E792211}.Release|x64.ActiveCfg = Release|x64
- {9E9DA440-E9AD-413C-B648-91030E792211}.Release|x64.Build.0 = Release|x64
- {B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.Debug|Win32.ActiveCfg = Debug|Win32
- {B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.Debug|Win32.Build.0 = Debug|Win32
- {B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.Debug|x64.ActiveCfg = Debug|x64
- {B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.Debug|x64.Build.0 = Debug|x64
- {B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.DebugFast|x64.Build.0 = DebugFast|x64
- {B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.Release|Win32.ActiveCfg = Release|Win32
- {B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.Release|Win32.Build.0 = Release|Win32
- {B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.Release|x64.ActiveCfg = Release|x64
- {B39AC394-5DB5-4DA9-9D98-09D46CA3701F}.Release|x64.Build.0 = Release|x64
- {0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Debug|Win32.ActiveCfg = Release|Win32
- {0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Debug|Win32.Build.0 = Release|Win32
- {0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Debug|x64.ActiveCfg = Release|x64
- {0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Debug|x64.Build.0 = Release|x64
- {0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.DebugFast|Win32.ActiveCfg = Release|Win32
- {0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.DebugFast|Win32.Build.0 = Release|Win32
- {0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.DebugFast|x64.ActiveCfg = Release|x64
- {0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.DebugFast|x64.Build.0 = Release|x64
- {0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Release|Win32.ActiveCfg = Release|Win32
- {0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Release|Win32.Build.0 = Release|Win32
- {0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Release|x64.ActiveCfg = Release|x64
- {0B8D0A82-C520-46BA-849D-3BB8F637EE0C}.Release|x64.Build.0 = Release|x64
- {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Debug|Win32.ActiveCfg = Debug|Win32
- {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Debug|Win32.Build.0 = Debug|Win32
- {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Debug|x64.ActiveCfg = Debug|x64
- {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Debug|x64.Build.0 = Debug|x64
- {1970D175-3DE8-4738-942A-4D98D1CDBF64}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {1970D175-3DE8-4738-942A-4D98D1CDBF64}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {1970D175-3DE8-4738-942A-4D98D1CDBF64}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {1970D175-3DE8-4738-942A-4D98D1CDBF64}.DebugFast|x64.Build.0 = DebugFast|x64
- {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Release|Win32.ActiveCfg = Release|Win32
- {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Release|Win32.Build.0 = Release|Win32
- {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Release|x64.ActiveCfg = Release|x64
- {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Release|x64.Build.0 = Release|x64
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Debug|Win32.ActiveCfg = Debug|Win32
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Debug|Win32.Build.0 = Debug|Win32
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Debug|x64.ActiveCfg = Debug|x64
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Debug|x64.Build.0 = Debug|x64
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.DebugFast|x64.Build.0 = DebugFast|x64
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Release|Win32.ActiveCfg = Release|Win32
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Release|Win32.Build.0 = Release|Win32
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Release|x64.ActiveCfg = Release|x64
- {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Release|x64.Build.0 = Release|x64
- {01573C36-AC6E-49F6-94BA-572517EB9740}.Debug|Win32.ActiveCfg = Debug|Win32
- {01573C36-AC6E-49F6-94BA-572517EB9740}.Debug|Win32.Build.0 = Debug|Win32
- {01573C36-AC6E-49F6-94BA-572517EB9740}.Debug|x64.ActiveCfg = Debug|x64
- {01573C36-AC6E-49F6-94BA-572517EB9740}.Debug|x64.Build.0 = Debug|x64
- {01573C36-AC6E-49F6-94BA-572517EB9740}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {01573C36-AC6E-49F6-94BA-572517EB9740}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {01573C36-AC6E-49F6-94BA-572517EB9740}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {01573C36-AC6E-49F6-94BA-572517EB9740}.DebugFast|x64.Build.0 = DebugFast|x64
- {01573C36-AC6E-49F6-94BA-572517EB9740}.Release|Win32.ActiveCfg = Release|Win32
- {01573C36-AC6E-49F6-94BA-572517EB9740}.Release|Win32.Build.0 = Release|Win32
- {01573C36-AC6E-49F6-94BA-572517EB9740}.Release|x64.ActiveCfg = Release|x64
- {01573C36-AC6E-49F6-94BA-572517EB9740}.Release|x64.Build.0 = Release|x64
- {69F00340-5C3D-449F-9A80-958435C6CF06}.Debug|Win32.ActiveCfg = Release|x64
- {69F00340-5C3D-449F-9A80-958435C6CF06}.Debug|Win32.Build.0 = Release|x64
- {69F00340-5C3D-449F-9A80-958435C6CF06}.Debug|x64.ActiveCfg = Release|x64
- {69F00340-5C3D-449F-9A80-958435C6CF06}.Debug|x64.Build.0 = Release|x64
- {69F00340-5C3D-449F-9A80-958435C6CF06}.DebugFast|Win32.ActiveCfg = Release|x64
- {69F00340-5C3D-449F-9A80-958435C6CF06}.DebugFast|Win32.Build.0 = Release|x64
- {69F00340-5C3D-449F-9A80-958435C6CF06}.DebugFast|x64.ActiveCfg = Release|x64
- {69F00340-5C3D-449F-9A80-958435C6CF06}.DebugFast|x64.Build.0 = Release|x64
- {69F00340-5C3D-449F-9A80-958435C6CF06}.Release|Win32.ActiveCfg = Release|x64
- {69F00340-5C3D-449F-9A80-958435C6CF06}.Release|Win32.Build.0 = Release|x64
- {69F00340-5C3D-449F-9A80-958435C6CF06}.Release|x64.ActiveCfg = Release|x64
- {69F00340-5C3D-449F-9A80-958435C6CF06}.Release|x64.Build.0 = Release|x64
- {68A5DD20-7057-448B-8FE0-B6AC8D205509}.Debug|Win32.ActiveCfg = Debug|Win32
- {68A5DD20-7057-448B-8FE0-B6AC8D205509}.Debug|Win32.Build.0 = Debug|Win32
- {68A5DD20-7057-448B-8FE0-B6AC8D205509}.Debug|x64.ActiveCfg = Debug|x64
- {68A5DD20-7057-448B-8FE0-B6AC8D205509}.Debug|x64.Build.0 = Debug|x64
- {68A5DD20-7057-448B-8FE0-B6AC8D205509}.DebugFast|Win32.ActiveCfg = Debug|Win32
- {68A5DD20-7057-448B-8FE0-B6AC8D205509}.DebugFast|Win32.Build.0 = Debug|Win32
- {68A5DD20-7057-448B-8FE0-B6AC8D205509}.DebugFast|x64.ActiveCfg = Release|x64
- {68A5DD20-7057-448B-8FE0-B6AC8D205509}.DebugFast|x64.Build.0 = Release|x64
- {68A5DD20-7057-448B-8FE0-B6AC8D205509}.Release|Win32.ActiveCfg = Release|Win32
- {68A5DD20-7057-448B-8FE0-B6AC8D205509}.Release|Win32.Build.0 = Release|Win32
- {68A5DD20-7057-448B-8FE0-B6AC8D205509}.Release|x64.ActiveCfg = Release|x64
- {68A5DD20-7057-448B-8FE0-B6AC8D205509}.Release|x64.Build.0 = Release|x64
- {46CF2D25-6A36-4189-B59C-E4815388E554}.Debug|Win32.ActiveCfg = Debug|Win32
- {46CF2D25-6A36-4189-B59C-E4815388E554}.Debug|Win32.Build.0 = Debug|Win32
- {46CF2D25-6A36-4189-B59C-E4815388E554}.Debug|x64.ActiveCfg = Debug|x64
- {46CF2D25-6A36-4189-B59C-E4815388E554}.Debug|x64.Build.0 = Debug|x64
- {46CF2D25-6A36-4189-B59C-E4815388E554}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {46CF2D25-6A36-4189-B59C-E4815388E554}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {46CF2D25-6A36-4189-B59C-E4815388E554}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {46CF2D25-6A36-4189-B59C-E4815388E554}.DebugFast|x64.Build.0 = DebugFast|x64
- {46CF2D25-6A36-4189-B59C-E4815388E554}.Release|Win32.ActiveCfg = Release|Win32
- {46CF2D25-6A36-4189-B59C-E4815388E554}.Release|Win32.Build.0 = Release|Win32
- {46CF2D25-6A36-4189-B59C-E4815388E554}.Release|x64.ActiveCfg = Release|x64
- {46CF2D25-6A36-4189-B59C-E4815388E554}.Release|x64.Build.0 = Release|x64
- {40C636FA-B5BF-4D67-ABC8-376B524A7551}.Debug|Win32.ActiveCfg = Debug|Win32
- {40C636FA-B5BF-4D67-ABC8-376B524A7551}.Debug|Win32.Build.0 = Debug|Win32
- {40C636FA-B5BF-4D67-ABC8-376B524A7551}.Debug|x64.ActiveCfg = Debug|x64
- {40C636FA-B5BF-4D67-ABC8-376B524A7551}.Debug|x64.Build.0 = Debug|x64
- {40C636FA-B5BF-4D67-ABC8-376B524A7551}.DebugFast|Win32.ActiveCfg = Debug|x64
- {40C636FA-B5BF-4D67-ABC8-376B524A7551}.DebugFast|x64.ActiveCfg = Debug|x64
- {40C636FA-B5BF-4D67-ABC8-376B524A7551}.DebugFast|x64.Build.0 = Debug|x64
- {40C636FA-B5BF-4D67-ABC8-376B524A7551}.Release|Win32.ActiveCfg = Release|Win32
- {40C636FA-B5BF-4D67-ABC8-376B524A7551}.Release|Win32.Build.0 = Release|Win32
- {40C636FA-B5BF-4D67-ABC8-376B524A7551}.Release|x64.ActiveCfg = Release|x64
- {40C636FA-B5BF-4D67-ABC8-376B524A7551}.Release|x64.Build.0 = Release|x64
- {A680190D-0764-485B-9CF3-A82C5EDD5715}.Debug|Win32.ActiveCfg = Debug|Win32
- {A680190D-0764-485B-9CF3-A82C5EDD5715}.Debug|Win32.Build.0 = Debug|Win32
- {A680190D-0764-485B-9CF3-A82C5EDD5715}.Debug|x64.ActiveCfg = Debug|x64
- {A680190D-0764-485B-9CF3-A82C5EDD5715}.Debug|x64.Build.0 = Debug|x64
- {A680190D-0764-485B-9CF3-A82C5EDD5715}.DebugFast|Win32.ActiveCfg = Debug|Win32
- {A680190D-0764-485B-9CF3-A82C5EDD5715}.DebugFast|Win32.Build.0 = Debug|Win32
- {A680190D-0764-485B-9CF3-A82C5EDD5715}.DebugFast|x64.ActiveCfg = Debug|x64
- {A680190D-0764-485B-9CF3-A82C5EDD5715}.DebugFast|x64.Build.0 = Debug|x64
- {A680190D-0764-485B-9CF3-A82C5EDD5715}.Release|Win32.ActiveCfg = Release|Win32
- {A680190D-0764-485B-9CF3-A82C5EDD5715}.Release|Win32.Build.0 = Release|Win32
- {A680190D-0764-485B-9CF3-A82C5EDD5715}.Release|x64.ActiveCfg = Release|x64
- {A680190D-0764-485B-9CF3-A82C5EDD5715}.Release|x64.Build.0 = Release|x64
- {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|Win32.ActiveCfg = Debug|Win32
- {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|Win32.Build.0 = Debug|Win32
- {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|x64.ActiveCfg = Debug|x64
- {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|x64.Build.0 = Debug|x64
- {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.DebugFast|Win32.ActiveCfg = DebugFast|Win32
- {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.DebugFast|Win32.Build.0 = DebugFast|Win32
- {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.DebugFast|x64.ActiveCfg = DebugFast|x64
- {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.DebugFast|x64.Build.0 = DebugFast|x64
- {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|Win32.ActiveCfg = Release|Win32
- {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|Win32.Build.0 = Release|Win32
- {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|x64.ActiveCfg = Release|x64
- {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|x64.Build.0 = Release|x64
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/Source/TestSuite/ASM/source/Init.cpp b/Source/TestSuite/ASM/source/Init.cpp
index cd2ab852b1..610e7b5bb1 100644
--- a/Source/TestSuite/ASM/source/Init.cpp
+++ b/Source/TestSuite/ASM/source/Init.cpp
@@ -38,29 +38,29 @@ void init_crap() {
VIDEO_Init();
WPAD_Init();
PAD_Init();
-
+
// Obtain the preferred video mode from the system
// This will correspond to the settings in the Wii menu
rmode = VIDEO_GetPreferredMode(NULL);
-
+
// Allocate memory for the display in the uncached region
xfb = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode));
-
+
// Initialise the console, required for printf
console_init(xfb,20,20,rmode->fbWidth,rmode->xfbHeight,rmode->fbWidth*VI_DISPLAY_PIX_SZ);
-
+
// Set up the video registers with the chosen mode
VIDEO_Configure(rmode);
-
+
// Tell the video hardware where our display memory is
VIDEO_SetNextFramebuffer(xfb);
-
+
// Make the display visible
VIDEO_SetBlack(FALSE);
-
+
// Flush the video register changes to the hardware
VIDEO_Flush();
-
+
// Wait for Video setup to complete
VIDEO_WaitVSync();
if(rmode->viTVMode&VI_NON_INTERLACE) VIDEO_WaitVSync();
diff --git a/Source/TestSuite/ASM/source/asm_tables.cpp b/Source/TestSuite/ASM/source/asm_tables.cpp
index 6f3c1accef..d775b138aa 100644
--- a/Source/TestSuite/ASM/source/asm_tables.cpp
+++ b/Source/TestSuite/ASM/source/asm_tables.cpp
@@ -59,22 +59,22 @@ void ShowModifies(u32 inst)
void RunInstruction(u32 inst)
{
u32 inval1, inval2, inval3;
-
+
u32 outval = 0;
-
+
// CR0
u32 cr1 = 0, cr2 = 0;
-
+
//CR1
u32 cr11 = 0, cr12 = 0;
-
+
//XER
u32 xer1 = 0, xer2 = 0;
-
+
bool modCR0 = instructions[inst].Modifies & MOD_CR0;
bool modCR1 = instructions[inst].Modifies & MOD_CR1;
bool modXER = instructions[inst].Modifies & MOD_XER;
-
+
if(instructions[inst].numInput != 3)
{
Print("Don't support Input not 3 yet~!\n");
@@ -92,7 +92,7 @@ void RunInstruction(u32 inst)
f = fopen(temp, "wb");
if (!f)
printf("unable to open output file\n");
-
+
printf("%s: InputNum: %d Modifies(flags): ", instructions[inst].name, instructions[inst].numInput);
if(f)
fprintf(f, "%s: InputNum: %d Modifies(flags): ", instructions[inst].name, instructions[inst].numInput);
@@ -119,7 +119,7 @@ void RunInstruction(u32 inst)
//Actually call instruction
instructions[inst].Call(&outval, &inval1, &inval2, 0);
-
+
// Get flags after
if(modCR0)
cr2 = GetCR0();
@@ -130,7 +130,7 @@ void RunInstruction(u32 inst)
// Print out value
printf(":o=%08x\n\t", outval);
-
+
// show off flag changes
if(modCR0)
printf("CR0:(%08x ~ %08x)", cr1,cr2);
@@ -138,8 +138,8 @@ void RunInstruction(u32 inst)
printf("CR1:(%08x ~ %08x)", cr11,cr12);
if(modXER)
printf("XER:(%08x ~ %08x)", xer1, xer2);
-
-
+
+
// same in the file
if(f)
{
diff --git a/Source/TestSuite/ASM/source/asm_tables.h b/Source/TestSuite/ASM/source/asm_tables.h
index 1f47a4c406..62dde85be1 100644
--- a/Source/TestSuite/ASM/source/asm_tables.h
+++ b/Source/TestSuite/ASM/source/asm_tables.h
@@ -32,7 +32,7 @@ struct inst
inst_type type;
void (*Call)(u32*, u32*, u32*, u32*);
void (*CallFP)(float*, float*, float*, float*);
-
+
};
static inst instructions[] = {
diff --git a/Source/TestSuite/ASM/source/dolphintest_asm.cpp b/Source/TestSuite/ASM/source/dolphintest_asm.cpp
index da3afdf73e..8bedaf0a69 100644
--- a/Source/TestSuite/ASM/source/dolphintest_asm.cpp
+++ b/Source/TestSuite/ASM/source/dolphintest_asm.cpp
@@ -31,13 +31,13 @@ int main(int argc, char **argv)
{
init_crap();
initialise_fat();
-
+
for (uint a = 0; a < sizeof(instructions) / sizeof(inst); ++a)
{
RunInstruction(a);
}
-
+
end();
-
+
return 0;
}
diff --git a/Source/TestSuite/AX/source/dolphintest_ax.cpp b/Source/TestSuite/AX/source/dolphintest_ax.cpp
index 0b4b4152bb..b97e7e33e6 100644
--- a/Source/TestSuite/AX/source/dolphintest_ax.cpp
+++ b/Source/TestSuite/AX/source/dolphintest_ax.cpp
@@ -23,7 +23,7 @@ int main(int argc, char **argv) {
while(1) {
PAD_ScanPads();
VIDEO_ClearFrameBuffer(rmode, xfb, 0);
-
+
VIDEO_WaitVSync();
}
@@ -37,12 +37,12 @@ void * Initialise() {
VIDEO_Init();
PAD_Init();
-
+
rmode = VIDEO_GetPreferredMode(NULL);
framebuffer = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode));
console_init(framebuffer,20,20,rmode->fbWidth,rmode->xfbHeight,rmode->fbWidth*VI_DISPLAY_PIX_SZ);
-
+
VIDEO_Configure(rmode);
VIDEO_SetNextFramebuffer(framebuffer);
VIDEO_SetBlack(FALSE);
diff --git a/Source/TestSuite/FPU/source/asm.h b/Source/TestSuite/FPU/source/asm.h
index 2feed006f4..ed28f7895b 100644
--- a/Source/TestSuite/FPU/source/asm.h
+++ b/Source/TestSuite/FPU/source/asm.h
@@ -191,7 +191,7 @@
#define STATE_OFFSET 204
#define MODE_OFFSET 206
-
+
#define FPR0_OFFSET 208
#define FPR1_OFFSET 216
#define FPR2_OFFSET 224
@@ -267,13 +267,13 @@
#define EXCEPTION_FRAME_END 728
#define IBAT0U 528
-#define IBAT0L 529
-#define IBAT1U 530
-#define IBAT1L 531
-#define IBAT2U 532
-#define IBAT2L 533
-#define IBAT3U 534
-#define IBAT3L 535
+#define IBAT0L 529
+#define IBAT1U 530
+#define IBAT1L 531
+#define IBAT2U 532
+#define IBAT2L 533
+#define IBAT3U 534
+#define IBAT3L 535
#define IBAT4U 560
#define IBAT4L 561
#define IBAT5U 562
@@ -284,12 +284,12 @@
#define IBAT7L 567
#define DBAT0U 536
-#define DBAT0L 537
-#define DBAT1U 538
-#define DBAT1L 539
-#define DBAT2U 540
-#define DBAT2L 541
-#define DBAT3U 542
+#define DBAT0L 537
+#define DBAT1U 538
+#define DBAT1L 539
+#define DBAT2U 540
+#define DBAT2L 541
+#define DBAT3U 542
#define DBAT3L 543
#define DBAT4U 568
#define DBAT4L 569
@@ -302,7 +302,7 @@
#define HID0 1008
#define HID1 1009
-#define HID2 920
+#define HID2 920
#define HID4 1011
#define GQR0 912
diff --git a/Source/TestSuite/PAD/source/dolphintest_pad.cpp b/Source/TestSuite/PAD/source/dolphintest_pad.cpp
index ef85a4c356..1643206b3b 100644
--- a/Source/TestSuite/PAD/source/dolphintest_pad.cpp
+++ b/Source/TestSuite/PAD/source/dolphintest_pad.cpp
@@ -58,7 +58,7 @@ int main()
(pad[a].button & PAD_BUTTON_LEFT ? "Left " : "")<<
(pad[a].button & PAD_BUTTON_RIGHT ? "Right " : "")<<std::endl;
}
- }
+ }
}
void Initialise()
diff --git a/Source/TestSuite/WPAD/source/dolphintest_wpad.cpp b/Source/TestSuite/WPAD/source/dolphintest_wpad.cpp
index 8530023015..88d4472ebb 100644
--- a/Source/TestSuite/WPAD/source/dolphintest_wpad.cpp
+++ b/Source/TestSuite/WPAD/source/dolphintest_wpad.cpp
@@ -131,7 +131,7 @@ void print_and_draw_wiimote_data(void *screen_buffer) {
std::cout<<" @ "<<wd->ir.angle<<" deg\n";
drawdot(screen_buffer, rmode, rmode->fbWidth, rmode->xfbHeight, wd->ir.x, wd->ir.y, COLOR_RED);
- drawdot(screen_buffer, rmode, rmode->fbWidth, rmode->xfbHeight, wd->ir.x + 10*sinf(theta), wd->ir.y - 10*cosf(theta), COLOR_BLUE);
+ drawdot(screen_buffer, rmode, rmode->fbWidth, rmode->xfbHeight, wd->ir.x + 10*sinf(theta), wd->ir.y - 10*cosf(theta), COLOR_BLUE);
} else {
std::cout<<" No Cursor\n\n";
}
diff --git a/Source/UnitTests/AudioJitTests.cpp b/Source/UnitTests/AudioJitTests.cpp
index 7712f59fc3..f078e8541b 100644
--- a/Source/UnitTests/AudioJitTests.cpp
+++ b/Source/UnitTests/AudioJitTests.cpp
@@ -86,7 +86,7 @@ void sbset()
tester.Report();
}
-void nx_s()
+void nx_s()
{
DSPJitTester tester(0x8000, 0x0020);
tester.AddTestData(DSP_REG_AR0);
@@ -96,7 +96,7 @@ void nx_s()
tester.Report();
}
-void nx_sn()
+void nx_sn()
{
DSPJitTester tester(0x8000, 0x0024);
tester.AddTestData(DSP_REG_AR0);
@@ -107,7 +107,7 @@ void nx_sn()
tester.Report();
}
-void nx_l()
+void nx_l()
{
DSPJitTester tester(0x8000, 0x0040);
@@ -118,7 +118,7 @@ void nx_l()
tester.Report();
}
-void set16_l()
+void set16_l()
{
DSPJitTester tester(0x8e00, 0x0070);
@@ -131,7 +131,7 @@ void set16_l()
tester.Report();
}
-void nx_ln()
+void nx_ln()
{
DSPJitTester tester(0x8000, 0x0044);
tester.AddTestData(DSP_REG_AR0);
@@ -142,7 +142,7 @@ void nx_ln()
tester.Report();
}
-void nx_ls()
+void nx_ls()
{
DSPJitTester tester1(0x8000, 0x0080);
tester1.AddTestData(DSP_REG_ACM0);
@@ -159,7 +159,7 @@ void nx_ls()
tester2.Report();
}
-void nx_lsn()
+void nx_lsn()
{
DSPJitTester tester1(0x8000, 0x0084);
tester1.AddTestData(DSP_REG_ACM0);
@@ -177,7 +177,7 @@ void nx_lsn()
tester2.Report();
}
-void nx_lsm()
+void nx_lsm()
{
DSPJitTester tester1(0x8000, 0x0088);
tester1.AddTestData(DSP_REG_ACM0);
@@ -195,7 +195,7 @@ void nx_lsm()
tester2.Report();
}
-void nx_lsnm()
+void nx_lsnm()
{
DSPJitTester tester1(0x8000, 0x008c);
tester1.AddTestData(DSP_REG_ACM0);
@@ -214,7 +214,7 @@ void nx_lsnm()
tester2.Report();
}
-void nx_sl()
+void nx_sl()
{
DSPJitTester tester1(0x8000, 0x0082);
tester1.AddTestData(DSP_REG_ACM0);
@@ -231,7 +231,7 @@ void nx_sl()
tester2.Report();
}
-void nx_sln()
+void nx_sln()
{
DSPJitTester tester1(0x8000, 0x0086);
tester1.AddTestData(DSP_REG_ACM0);
@@ -249,7 +249,7 @@ void nx_sln()
tester2.Report();
}
-void nx_slm()
+void nx_slm()
{
DSPJitTester tester1(0x8000, 0x008a);
tester1.AddTestData(DSP_REG_ACM0);
@@ -267,7 +267,7 @@ void nx_slm()
tester2.Report();
}
-void nx_slnm()
+void nx_slnm()
{
DSPJitTester tester1(0x8000, 0x008e);
tester1.AddTestData(DSP_REG_ACM0);
@@ -286,7 +286,7 @@ void nx_slnm()
tester2.Report();
}
-void nx_ld()
+void nx_ld()
{
DSPJitTester tester1(0x8000, 0x00c0);
tester1.AddTestData(DSP_REG_AXL0,0xdead);
diff --git a/Source/UnitTests/DSPJitTester.cpp b/Source/UnitTests/DSPJitTester.cpp
index 8980391c56..a0c37057c5 100644
--- a/Source/UnitTests/DSPJitTester.cpp
+++ b/Source/UnitTests/DSPJitTester.cpp
@@ -6,8 +6,8 @@ DSPJitTester::DSPJitTester(u16 opcode, u16 opcode_ext, bool verbose, bool only_f
instruction = opcode | opcode_ext;
opcode_template = GetOpTemplate(instruction);
sprintf(instruction_name, "%s", opcode_template->name);
- if (opcode_template->extended)
- sprintf(&instruction_name[strlen(instruction_name)], "'%s",
+ if (opcode_template->extended)
+ sprintf(&instruction_name[strlen(instruction_name)], "'%s",
extOpTable[instruction & (((instruction >> 12) == 0x3) ? 0x7F : 0xFF)]->name);
}
bool DSPJitTester::Test(SDSP dsp_settings)
@@ -17,7 +17,7 @@ bool DSPJitTester::Test(SDSP dsp_settings)
printf("Running %s: ", instruction_name);
DumpRegs(dsp_settings);
}
-
+
last_input_dsp = dsp_settings;
last_int_dsp = RunInterpreter(dsp_settings);
last_jit_dsp = RunJit(dsp_settings);
diff --git a/Source/UnitTests/DSPJitTester.h b/Source/UnitTests/DSPJitTester.h
index ac40fa41c0..e507d6dca8 100644
--- a/Source/UnitTests/DSPJitTester.h
+++ b/Source/UnitTests/DSPJitTester.h
@@ -1,62 +1,62 @@
// How to use the DSPJitTester:
-//
+//
// == Before running ==
// Make sure to call Initialize to set initial stuff required by int and jit:
// DSPJitTester::Initialize();
-//
+//
// == Creation of a testcase ==
// Create a testcase for a normal operation:
// DSPJitTester tester(0x0004); //taken from DSPTables.cpp, opcodes[]
-//
+//
// Create a testcase for an extended operation:
// DSPJitTester tester(0x8000, 0x0004); //NX from opcodes, DR from opcodes_ext
-//
+//
// By default, no messages are written.
// To log all operations, set verbose to true:
// DSPJitTester tester(0x8000, 0x0004, true);
-//
+//
// You can also choose to only print failing tests:
// DSPJitTester tester(0x8000, 0x0004, verbosity_setting, true);
-// verbose = true will give the same output as verbose,
+// verbose = true will give the same output as verbose,
// while verbose = false will only (really!) print failing tests.
-//
+//
// == Setting up values ==
// You can set the tester up with values for each DSP register:
// tester.AddTestData(DSP_REG_ACC0, 1);
// tester.AddTestData(DSP_REG_ACC0, 2);
// tester.AddTestData(DSP_REG_ACC0, 3);
-//
+//
// You can also choose to have a few predefined values added for a register:
// tester.AddTestData(DSP_REG_ACC0); //see the method body for the values added
-//
+//
// == Running the tests ==
-// After setup, you can either run JIT against the interpreter
+// After setup, you can either run JIT against the interpreter
// using all predefined register values, pass your own set of
// registers or run either of the two independently from each other.
-//
+//
// int failed_tests = tester.TestAll(); //run jit against int, using values from AddTestData
// int failed_tests = tester.TestAll(true); //override the value for only_failed to show failure
-//
+//
// SDSP dsp = GetCustomSetOfRegisters();
// bool success = tester.Test(dsp); //run jit against int, using a custom set of register values
-//
+//
// SDSP result = tester.RunInterpreter(dsp); //run int alone
// SDSP result = tester.RunJit(dsp); //run jit alone
-//
+//
// == Examining results ==
// When either verbose or only_failed is set to true, the tester will automatically report
// failure to stdout, along with input registers and the differences in output registers.
-//
+//
// tester.Report(); //display a small report afterwards
-//
+//
// SDSP int = tester.GetLastInterpreterDSP(); //examine the DSP set left after running int
// SDSP jit = tester.GetLastJitDSP(); //same for jit
-//
+//
// int tests_run = tester.GetRunCount();
// int tests_failed = tester.GetFailCount();
// const char* tested_instruction = tester.GetInstructionName();
// printf("%s ran %d tests and failed %d times\n", tested_instruction, tests_run, tests_failed);
-//
+//
// tester.DumpJittedCode(); //prints the code bytes produced by jit (examine with udcli/udis86 or similar)
#ifndef __DSP_JIT_TESTER_
diff --git a/Source/VSProps/Base.props b/Source/VSProps/Base.props
index e1201912fd..2ee5bd8e8e 100644
--- a/Source/VSProps/Base.props
+++ b/Source/VSProps/Base.props
@@ -1,28 +1,122 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
- <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Label="UserMacros">
+ <DolphinRelease Condition="'$(DolphinRelease)'!='true' or '$(Configuration)'!='Release'">false</DolphinRelease>
+ <TargetSuffix></TargetSuffix>
+ <TargetSuffix Condition="'$(Configuration)'=='Debug'">D</TargetSuffix>
+ <BuildRootDir>$(SolutionDir)..\Build\</BuildRootDir>
+ <BinaryRootDir>$(SolutionDir)..\Binary\</BinaryRootDir>
+ <BinaryOutputDir>$(BinaryRootDir)$(Platform)\</BinaryOutputDir>
+ <ExternalsDir>$(SolutionDir)..\Externals\</ExternalsDir>
+ <CoreDir>$(SolutionDir)Core\</CoreDir>
+ </PropertyGroup>
<PropertyGroup>
- <IntDir>$(Platform)\$(Configuration)\</IntDir>
- <OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
+ <!--
+ Opt-in to x64 compiler and tools. The environment will default back to x86 if x64 is not usable.
+ Unfortunately we can't set this property here, as it'll be overridden later. Instead, set it
+ from commandline if you're interested in using x64 toolset
+ <PreferredToolArchitecture>x64</PreferredToolArchitecture>
+ -->
+ <IntDir>$(BuildRootDir)$(Platform)\$(Configuration)\$(ProjectName)\</IntDir>
+ <OutDir>$(IntDir)bin\</OutDir>
+ <TargetName Condition="'$(ConfigurationType)'=='Application'">$(ProjectName)$(TargetSuffix)</TargetName>
</PropertyGroup>
<ItemDefinitionGroup>
+ <!--ClCompile Base-->
<ClCompile>
- <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;USE_UPNP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <!--
+ Coagulate all the needed include directories.
+ Order matters! (first hit, first use).
+ Note: Directory containing source file being compiled is always searched first.
+ -->
+ <AdditionalIncludeDirectories>$(CoreDir)AudioCommon\Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(CoreDir)Common\Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(CoreDir)Core\Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(CoreDir)DiscIO\Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(CoreDir)DolphinWX\Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(CoreDir)InputCommon\Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(CoreDir)VideoBackends\D3D\Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(CoreDir)VideoBackends\OGL\Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(CoreDir)VideoBackends\Software\Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(CoreDir)VideoCommon\Src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir)Bochs_disasm;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir)CLRun\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir)GLew\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir)libusbx\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir)LZO;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir)miniupnpc\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir)polarssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir)portaudio\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir)SDL2-2.0.1\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir)SFML\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir)SOIL;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir)wxWidgets3;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir)wxWidgets3\Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <AdditionalIncludeDirectories>$(ExternalsDir)zlib;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+
+ <!--Allow compile-time testing of whether DXSDK (aka DX before integration into VS) is present-->
+ <PreprocessorDefinitions Condition="Exists('$(DXSDK_DIR)')">HAVE_DXSDK;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions>USE_UPNP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<WarningLevel>Level3</WarningLevel>
<IntrinsicFunctions>true</IntrinsicFunctions>
<StructMemberAlignment>16Bytes</StructMemberAlignment>
- <FunctionLevelLinking>true</FunctionLevelLinking>
<RuntimeTypeInfo>false</RuntimeTypeInfo>
+ <MinimalRebuild>false</MinimalRebuild>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
+ <AdditionalOptions>/d2Zi+ /volatile:iso %(AdditionalOptions)</AdditionalOptions>
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+ <!--
+ This is for GetVersionEx being marked as depreciated - which is idiotic and there's
+ not much else we can do since many externals use it. The bad part is that there doesn't
+ seem to be a way to only ignore the specific instance we don't care about...
+ -->
+ <DisableSpecificWarnings>4996</DisableSpecificWarnings>
+ <OpenMPSupport>true</OpenMPSupport>
</ClCompile>
+ <!--ClCompile Base:StaticLibrary-->
+ <ClCompile Condition="'$(ConfigurationType)'=='StaticLibrary'">
+ <PreprocessorDefinitions>_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <!--ClCompile Debug-->
+ <ClCompile Condition="'$(Configuration)'=='Debug'">
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <PreprocessorDefinitions>_DEBUG;_SECURE_SCL=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <Optimization>Disabled</Optimization>
+ </ClCompile>
+ <!--ClCompile Release-->
+ <ClCompile Condition="'$(Configuration)'=='Release'">
+ <WholeProgramOptimization Condition="'$(DolphinRelease)'=='true'">true</WholeProgramOptimization>
+ <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
+ <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
+ <OmitFramePointers>true</OmitFramePointers>
+ <EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
+ <StringPooling>true</StringPooling>
+ <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+ <BufferSecurityCheck>false</BufferSecurityCheck>
+ <FunctionLevelLinking>false</FunctionLevelLinking>
+ <PreprocessorDefinitions>_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <!--SSE2 is already the default on x64, setting it explicitly just generates a warning-->
+ <EnableEnhancedInstructionSet Condition="'$(Platform)'=='Win32'">StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
+ </ClCompile>
+ <!--Link Base-->
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
- <BaseAddress>0x00400000</BaseAddress>
+ <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
+ </Link>
+ <!--Link Release-->
+ <Link Condition="'$(Configuration)'=='Release'">
+ <LinkTimeCodeGeneration Condition="'$(DolphinRelease)'=='true'">UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
</Link>
- <ResourceCompile>
- <AdditionalIncludeDirectories>..\..\..\Externals\wxWidgets3\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- </ResourceCompile>
+ <Lib>
+ <TreatLibWarningAsErrors>true</TreatLibWarningAsErrors>
+ <LinkTimeCodeGeneration Condition="'$(DolphinRelease)'=='true'">true</LinkTimeCodeGeneration>
+ </Lib>
</ItemDefinitionGroup>
<ItemGroup />
</Project> \ No newline at end of file
diff --git a/Source/VSProps/CodeGen_Debug.props b/Source/VSProps/CodeGen_Debug.props
deleted file mode 100644
index adbaeec9b2..0000000000
--- a/Source/VSProps/CodeGen_Debug.props
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ImportGroup Label="PropertySheets" />
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup />
- <ItemDefinitionGroup>
- <ClCompile>
- <PreprocessorDefinitions>_DEBUG;_SECURE_SCL=1;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
- <Optimization>Disabled</Optimization>
- <MinimalRebuild>false</MinimalRebuild>
- </ClCompile>
- <Link />
- </ItemDefinitionGroup>
- <ItemGroup />
-</Project> \ No newline at end of file
diff --git a/Source/VSProps/CodeGen_DebugFast.props b/Source/VSProps/CodeGen_DebugFast.props
deleted file mode 100644
index 2c580c327d..0000000000
--- a/Source/VSProps/CodeGen_DebugFast.props
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ImportGroup Label="PropertySheets" />
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_PropertySheetDisplayName>CodeGen_DebugFast</_PropertySheetDisplayName>
- </PropertyGroup>
- <ItemDefinitionGroup>
- <ClCompile>
- <PreprocessorDefinitions>DEBUGFAST;_SECURE_SCL=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
- <MinimalRebuild>false</MinimalRebuild>
- </ClCompile>
- <Link />
- </ItemDefinitionGroup>
- <ItemGroup />
-</Project> \ No newline at end of file
diff --git a/Source/VSProps/CodeGen_Release.props b/Source/VSProps/CodeGen_Release.props
deleted file mode 100644
index 2b69dc0f63..0000000000
--- a/Source/VSProps/CodeGen_Release.props
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ImportGroup Label="PropertySheets" />
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_PropertySheetDisplayName>CodeGen_Release</_PropertySheetDisplayName>
- </PropertyGroup>
- <ItemDefinitionGroup>
- <ClCompile>
- <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
- <IntrinsicFunctions>true</IntrinsicFunctions>
- <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
- <OmitFramePointers>true</OmitFramePointers>
- <EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
- <StringPooling>true</StringPooling>
- <MinimalRebuild>false</MinimalRebuild>
- <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
- <BufferSecurityCheck>false</BufferSecurityCheck>
- <FunctionLevelLinking>false</FunctionLevelLinking>
- <PreprocessorDefinitions>_SECURE_SCL=0;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
- </ClCompile>
- <Link>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup />
-</Project> \ No newline at end of file
diff --git a/Source/VSProps/Dolphin.Win32.props b/Source/VSProps/Dolphin.Win32.props
deleted file mode 100644
index 8bd2334547..0000000000
--- a/Source/VSProps/Dolphin.Win32.props
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ImportGroup Label="PropertySheets" />
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <OutDir>..\..\..\Binary\$(PlatformName)\</OutDir>
- </PropertyGroup>
- <ItemDefinitionGroup>
- <Link>
- <AdditionalLibraryDirectories>..\..\..\Externals\SDL\$(PlatformName);..\..\..\Externals\GLew;..\..\..\Externals\portaudio\$(PlatformName)\$(ConfigurationName);..\..\..\Externals\libusbx\$(PlatformName)\$(ConfigurationName);..\..\..\Externals\polarssl\visualc\VS2010\$(PlatformName)\$(ConfigurationName)</AdditionalLibraryDirectories>
- <AdditionalDependencies>portaudio.lib;dsound.lib;dxerr.lib;iphlpapi.lib;winmm.lib;setupapi.lib;xinput.lib;vfw32.lib;opengl32.lib;glew32s.lib;glu32.lib;rpcrt4.lib;comctl32.lib;PolarSSL.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup />
-</Project> \ No newline at end of file
diff --git a/Source/VSProps/Dolphin.x64.props b/Source/VSProps/Dolphin.x64.props
deleted file mode 100644
index ca50df6b83..0000000000
--- a/Source/VSProps/Dolphin.x64.props
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ImportGroup Label="PropertySheets" />
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_PropertySheetDisplayName>Dolphin.x64</_PropertySheetDisplayName>
- <OutDir>..\..\..\Binary\$(PlatformName)\</OutDir>
- </PropertyGroup>
- <ItemDefinitionGroup>
- <Link>
- <AdditionalLibraryDirectories>..\..\..\Externals\SDL\$(PlatformName);..\..\..\Externals\GLew;..\..\..\Externals\portaudio\$(PlatformName)\$(ConfigurationName);..\..\..\Externals\polarssl\visualc\VS2010\$(PlatformName)\$(ConfigurationName)</AdditionalLibraryDirectories>
- <AdditionalDependencies>portaudio.lib;dsound.lib;dxerr.lib;iphlpapi.lib;winmm.lib;setupapi.lib;xinput.lib;vfw32.lib;opengl32.lib;glew64s.lib;glu32.lib;rpcrt4.lib;comctl32.lib;PolarSSL.lib;%(AdditionalDependencies)</AdditionalDependencies>
- </Link>
- </ItemDefinitionGroup>
- <ItemGroup />
-</Project> \ No newline at end of file
diff --git a/Source/VSProps/PrecompiledHeader.props b/Source/VSProps/PrecompiledHeader.props
index c305a1f4c5..39ad2a5035 100644
--- a/Source/VSProps/PrecompiledHeader.props
+++ b/Source/VSProps/PrecompiledHeader.props
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup />
<ItemDefinitionGroup>
<ClCompile>
+ <!--Use stdafx.h and auto-include it as the first include in every file-->
<PrecompiledHeader>Use</PrecompiledHeader>
<ForcedIncludeFiles>stdafx.h</ForcedIncludeFiles>
</ClCompile>
diff --git a/Source/VSProps/WXWOverrides.props b/Source/VSProps/WXWOverrides.props
index d979a83c43..2fb4b31762 100644
--- a/Source/VSProps/WXWOverrides.props
+++ b/Source/VSProps/WXWOverrides.props
@@ -1,18 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <IntDir>$(ProjectName)$(Platform)\$(Configuration)\</IntDir>
- </PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
- <ForcedIncludeFiles>
- </ForcedIncludeFiles>
+ <ForcedIncludeFiles></ForcedIncludeFiles>
<PrecompiledHeaderFile>wx/wxprec.h</PrecompiledHeaderFile>
<ExceptionHandling>Async</ExceptionHandling>
- <DisableSpecificWarnings>4267</DisableSpecificWarnings>
- <PreprocessorDefinitions>_LIB;__WXMSW__;WXBUILDING;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <DisableSpecificWarnings>4267;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <PreprocessorDefinitions>__WXMSW__;WXBUILDING;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\;..\..\include;..\..\..\zlib;..\..\..\libpng</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>
diff --git a/Source/dolphin-emu.sln b/Source/dolphin-emu.sln
new file mode 100644
index 0000000000..97618922dd
--- /dev/null
+++ b/Source/dolphin-emu.sln
@@ -0,0 +1,320 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2013
+VisualStudioVersion = 12.0.21005.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DolphinWX", "Core\DolphinWX\DolphinWX.vcxproj", "{47411FDB-1BF2-48D0-AB4E-C7C41160F898}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Core", "Core\Core\Core.vcxproj", "{E54CF649-140E-4255-81A5-30A673C1FB36}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AudioCommon", "Core\AudioCommon\AudioCommon.vcxproj", "{54AA7840-5BEB-4A0C-9452-74BA4CC7FD44}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "Core\Common\Common.vcxproj", "{2E6C348C-C75C-4D94-8D1E-9C1FCBF3EFE4}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DiscIO", "Core\DiscIO\DiscIO.vcxproj", "{160BDC25-5626-4B0D-BDD8-2953D9777FB5}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "InputCommon", "Core\InputCommon\InputCommon.vcxproj", "{6BBD47CF-91FD-4077-B676-8B76980178A9}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VideoCommon", "Core\VideoCommon\VideoCommon.vcxproj", "{3DE9EE35-3E91-4F27-A014-2866AD8C3FE3}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Externals", "Externals", "{87ADDFF9-5768-4DA2-A33B-2477593D6677}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Bochs_disasm", "..\Externals\Bochs_disasm\Bochs_disasm.vcxproj", "{8ADA04D7-6DB1-4DA4-AB55-64FB12A0997B}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Languages", "..\Languages\Languages.vcxproj", "{0E033BE3-2E08-428E-9AE9-BC673EFA12B5}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Dolphin Core", "Dolphin Core", "{15670B2E-CED6-4ED5-94CE-A00B1B2B5BA6}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LZO", "..\Externals\LZO\LZO.vcxproj", "{AB993F38-C31D-4897-B139-A620C42BC565}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "miniupnpc", "..\Externals\miniupnpc\miniupnpc.vcxproj", "{31643FDB-1BB8-4965-9DE7-000FC88D35AE}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "png", "..\Externals\libpng\png\png.vcxproj", "{4C9F135B-A85E-430C-BAD4-4C67EF5FC12C}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SOIL", "..\Externals\SOIL\SOIL.vcxproj", "{B441CC62-877E-4B3F-93E0-0DE80544F705}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zlib", "..\Externals\zlib\zlib.vcxproj", "{FF213B23-2C26-4214-9F88-85271E557E87}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SoundTouch", "..\Externals\soundtouch\SoundTouch.vcxproj", "{EC082900-B4D8-42E9-9663-77F02F6936AE}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wxWidgets", "..\Externals\wxWidgets3\build\msw\wx_base.vcxproj", "{1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PolarSSL", "..\Externals\polarssl\visualc\PolarSSL.vcxproj", "{BDB6578B-0691-4E80-A46C-DF21639FD3B8}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SCMRevGen", "Core\Common\SCMRevGen.vcxproj", "{41279555-F94F-4EBC-99DE-AF863C10C5C4}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SFML_Network", "..\Externals\SFML\build\vc2010\SFML_Network.vcxproj", "{93D73454-2512-424E-9CDA-4BB357FE13DD}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CLRun", "..\Externals\CLRun\clrun\CLRun.vcxproj", "{AA862E5E-A993-497A-B6A0-0E8E94B10050}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libusb-1.0", "..\Externals\libusbx\msvc\libusb_static_2013.vcxproj", "{349EE8F9-7D25-4909-AAF5-FF3FADE72187}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glew", "..\Externals\GLew\glew.vcxproj", "{2A3F751D-69E9-45F2-9199-9A00BFB6CC72}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "portaudio", "..\Externals\portaudio\build\portaudio.vcxproj", "{0A18A071-125E-442F-AFF7-A3F68ABECF99}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DSPTool", "DSPTool\DSPTool.vcxproj", "{1970D175-3DE8-4738-942A-4D98D1CDBF64}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "D3D", "Core\VideoBackends\D3D\D3D.vcxproj", "{96020103-4BA5-4FD2-B4AA-5B6D24492D4E}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OGL", "Core\VideoBackends\OGL\OGL.vcxproj", "{EC1A314C-5588-4506-9C1E-2E58E5817F75}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Software", "Core\VideoBackends\Software\Software.vcxproj", "{A4C423AA-F57C-46C7-A172-D1A777017D29}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Video Backends", "Video Backends", "{AAD1BCD6-9804-44A5-A5FC-4782EA00E9D4}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {47411FDB-1BF2-48D0-AB4E-C7C41160F898}.Debug|Win32.ActiveCfg = Debug|Win32
+ {47411FDB-1BF2-48D0-AB4E-C7C41160F898}.Debug|Win32.Build.0 = Debug|Win32
+ {47411FDB-1BF2-48D0-AB4E-C7C41160F898}.Debug|x64.ActiveCfg = Debug|x64
+ {47411FDB-1BF2-48D0-AB4E-C7C41160F898}.Debug|x64.Build.0 = Debug|x64
+ {47411FDB-1BF2-48D0-AB4E-C7C41160F898}.Release|Win32.ActiveCfg = Release|Win32
+ {47411FDB-1BF2-48D0-AB4E-C7C41160F898}.Release|Win32.Build.0 = Release|Win32
+ {47411FDB-1BF2-48D0-AB4E-C7C41160F898}.Release|x64.ActiveCfg = Release|x64
+ {47411FDB-1BF2-48D0-AB4E-C7C41160F898}.Release|x64.Build.0 = Release|x64
+ {E54CF649-140E-4255-81A5-30A673C1FB36}.Debug|Win32.ActiveCfg = Debug|Win32
+ {E54CF649-140E-4255-81A5-30A673C1FB36}.Debug|Win32.Build.0 = Debug|Win32
+ {E54CF649-140E-4255-81A5-30A673C1FB36}.Debug|x64.ActiveCfg = Debug|x64
+ {E54CF649-140E-4255-81A5-30A673C1FB36}.Debug|x64.Build.0 = Debug|x64
+ {E54CF649-140E-4255-81A5-30A673C1FB36}.Release|Win32.ActiveCfg = Release|Win32
+ {E54CF649-140E-4255-81A5-30A673C1FB36}.Release|Win32.Build.0 = Release|Win32
+ {E54CF649-140E-4255-81A5-30A673C1FB36}.Release|x64.ActiveCfg = Release|x64
+ {E54CF649-140E-4255-81A5-30A673C1FB36}.Release|x64.Build.0 = Release|x64
+ {54AA7840-5BEB-4A0C-9452-74BA4CC7FD44}.Debug|Win32.ActiveCfg = Debug|Win32
+ {54AA7840-5BEB-4A0C-9452-74BA4CC7FD44}.Debug|Win32.Build.0 = Debug|Win32
+ {54AA7840-5BEB-4A0C-9452-74BA4CC7FD44}.Debug|x64.ActiveCfg = Debug|x64
+ {54AA7840-5BEB-4A0C-9452-74BA4CC7FD44}.Debug|x64.Build.0 = Debug|x64
+ {54AA7840-5BEB-4A0C-9452-74BA4CC7FD44}.Release|Win32.ActiveCfg = Release|Win32
+ {54AA7840-5BEB-4A0C-9452-74BA4CC7FD44}.Release|Win32.Build.0 = Release|Win32
+ {54AA7840-5BEB-4A0C-9452-74BA4CC7FD44}.Release|x64.ActiveCfg = Release|x64
+ {54AA7840-5BEB-4A0C-9452-74BA4CC7FD44}.Release|x64.Build.0 = Release|x64
+ {2E6C348C-C75C-4D94-8D1E-9C1FCBF3EFE4}.Debug|Win32.ActiveCfg = Debug|Win32
+ {2E6C348C-C75C-4D94-8D1E-9C1FCBF3EFE4}.Debug|Win32.Build.0 = Debug|Win32
+ {2E6C348C-C75C-4D94-8D1E-9C1FCBF3EFE4}.Debug|x64.ActiveCfg = Debug|x64
+ {2E6C348C-C75C-4D94-8D1E-9C1FCBF3EFE4}.Debug|x64.Build.0 = Debug|x64
+ {2E6C348C-C75C-4D94-8D1E-9C1FCBF3EFE4}.Release|Win32.ActiveCfg = Release|Win32
+ {2E6C348C-C75C-4D94-8D1E-9C1FCBF3EFE4}.Release|Win32.Build.0 = Release|Win32
+ {2E6C348C-C75C-4D94-8D1E-9C1FCBF3EFE4}.Release|x64.ActiveCfg = Release|x64
+ {2E6C348C-C75C-4D94-8D1E-9C1FCBF3EFE4}.Release|x64.Build.0 = Release|x64
+ {160BDC25-5626-4B0D-BDD8-2953D9777FB5}.Debug|Win32.ActiveCfg = Debug|Win32
+ {160BDC25-5626-4B0D-BDD8-2953D9777FB5}.Debug|Win32.Build.0 = Debug|Win32
+ {160BDC25-5626-4B0D-BDD8-2953D9777FB5}.Debug|x64.ActiveCfg = Debug|x64
+ {160BDC25-5626-4B0D-BDD8-2953D9777FB5}.Debug|x64.Build.0 = Debug|x64
+ {160BDC25-5626-4B0D-BDD8-2953D9777FB5}.Release|Win32.ActiveCfg = Release|Win32
+ {160BDC25-5626-4B0D-BDD8-2953D9777FB5}.Release|Win32.Build.0 = Release|Win32
+ {160BDC25-5626-4B0D-BDD8-2953D9777FB5}.Release|x64.ActiveCfg = Release|x64
+ {160BDC25-5626-4B0D-BDD8-2953D9777FB5}.Release|x64.Build.0 = Release|x64
+ {6BBD47CF-91FD-4077-B676-8B76980178A9}.Debug|Win32.ActiveCfg = Debug|Win32
+ {6BBD47CF-91FD-4077-B676-8B76980178A9}.Debug|Win32.Build.0 = Debug|Win32
+ {6BBD47CF-91FD-4077-B676-8B76980178A9}.Debug|x64.ActiveCfg = Debug|x64
+ {6BBD47CF-91FD-4077-B676-8B76980178A9}.Debug|x64.Build.0 = Debug|x64
+ {6BBD47CF-91FD-4077-B676-8B76980178A9}.Release|Win32.ActiveCfg = Release|Win32
+ {6BBD47CF-91FD-4077-B676-8B76980178A9}.Release|Win32.Build.0 = Release|Win32
+ {6BBD47CF-91FD-4077-B676-8B76980178A9}.Release|x64.ActiveCfg = Release|x64
+ {6BBD47CF-91FD-4077-B676-8B76980178A9}.Release|x64.Build.0 = Release|x64
+ {3DE9EE35-3E91-4F27-A014-2866AD8C3FE3}.Debug|Win32.ActiveCfg = Debug|Win32
+ {3DE9EE35-3E91-4F27-A014-2866AD8C3FE3}.Debug|Win32.Build.0 = Debug|Win32
+ {3DE9EE35-3E91-4F27-A014-2866AD8C3FE3}.Debug|x64.ActiveCfg = Debug|x64
+ {3DE9EE35-3E91-4F27-A014-2866AD8C3FE3}.Debug|x64.Build.0 = Debug|x64
+ {3DE9EE35-3E91-4F27-A014-2866AD8C3FE3}.Release|Win32.ActiveCfg = Release|Win32
+ {3DE9EE35-3E91-4F27-A014-2866AD8C3FE3}.Release|Win32.Build.0 = Release|Win32
+ {3DE9EE35-3E91-4F27-A014-2866AD8C3FE3}.Release|x64.ActiveCfg = Release|x64
+ {3DE9EE35-3E91-4F27-A014-2866AD8C3FE3}.Release|x64.Build.0 = Release|x64
+ {8ADA04D7-6DB1-4DA4-AB55-64FB12A0997B}.Debug|Win32.ActiveCfg = Debug|Win32
+ {8ADA04D7-6DB1-4DA4-AB55-64FB12A0997B}.Debug|Win32.Build.0 = Debug|Win32
+ {8ADA04D7-6DB1-4DA4-AB55-64FB12A0997B}.Debug|x64.ActiveCfg = Debug|x64
+ {8ADA04D7-6DB1-4DA4-AB55-64FB12A0997B}.Debug|x64.Build.0 = Debug|x64
+ {8ADA04D7-6DB1-4DA4-AB55-64FB12A0997B}.Release|Win32.ActiveCfg = Release|Win32
+ {8ADA04D7-6DB1-4DA4-AB55-64FB12A0997B}.Release|Win32.Build.0 = Release|Win32
+ {8ADA04D7-6DB1-4DA4-AB55-64FB12A0997B}.Release|x64.ActiveCfg = Release|x64
+ {8ADA04D7-6DB1-4DA4-AB55-64FB12A0997B}.Release|x64.Build.0 = Release|x64
+ {0E033BE3-2E08-428E-9AE9-BC673EFA12B5}.Debug|Win32.ActiveCfg = Debug|Win32
+ {0E033BE3-2E08-428E-9AE9-BC673EFA12B5}.Debug|Win32.Build.0 = Debug|Win32
+ {0E033BE3-2E08-428E-9AE9-BC673EFA12B5}.Debug|x64.ActiveCfg = Debug|x64
+ {0E033BE3-2E08-428E-9AE9-BC673EFA12B5}.Debug|x64.Build.0 = Debug|x64
+ {0E033BE3-2E08-428E-9AE9-BC673EFA12B5}.Release|Win32.ActiveCfg = Release|Win32
+ {0E033BE3-2E08-428E-9AE9-BC673EFA12B5}.Release|Win32.Build.0 = Release|Win32
+ {0E033BE3-2E08-428E-9AE9-BC673EFA12B5}.Release|x64.ActiveCfg = Release|x64
+ {0E033BE3-2E08-428E-9AE9-BC673EFA12B5}.Release|x64.Build.0 = Release|x64
+ {AB993F38-C31D-4897-B139-A620C42BC565}.Debug|Win32.ActiveCfg = Debug|Win32
+ {AB993F38-C31D-4897-B139-A620C42BC565}.Debug|Win32.Build.0 = Debug|Win32
+ {AB993F38-C31D-4897-B139-A620C42BC565}.Debug|x64.ActiveCfg = Debug|x64
+ {AB993F38-C31D-4897-B139-A620C42BC565}.Debug|x64.Build.0 = Debug|x64
+ {AB993F38-C31D-4897-B139-A620C42BC565}.Release|Win32.ActiveCfg = Release|Win32
+ {AB993F38-C31D-4897-B139-A620C42BC565}.Release|Win32.Build.0 = Release|Win32
+ {AB993F38-C31D-4897-B139-A620C42BC565}.Release|x64.ActiveCfg = Release|x64
+ {AB993F38-C31D-4897-B139-A620C42BC565}.Release|x64.Build.0 = Release|x64
+ {31643FDB-1BB8-4965-9DE7-000FC88D35AE}.Debug|Win32.ActiveCfg = Debug|Win32
+ {31643FDB-1BB8-4965-9DE7-000FC88D35AE}.Debug|Win32.Build.0 = Debug|Win32
+ {31643FDB-1BB8-4965-9DE7-000FC88D35AE}.Debug|x64.ActiveCfg = Debug|x64
+ {31643FDB-1BB8-4965-9DE7-000FC88D35AE}.Debug|x64.Build.0 = Debug|x64
+ {31643FDB-1BB8-4965-9DE7-000FC88D35AE}.Release|Win32.ActiveCfg = Release|Win32
+ {31643FDB-1BB8-4965-9DE7-000FC88D35AE}.Release|Win32.Build.0 = Release|Win32
+ {31643FDB-1BB8-4965-9DE7-000FC88D35AE}.Release|x64.ActiveCfg = Release|x64
+ {31643FDB-1BB8-4965-9DE7-000FC88D35AE}.Release|x64.Build.0 = Release|x64
+ {4C9F135B-A85E-430C-BAD4-4C67EF5FC12C}.Debug|Win32.ActiveCfg = Debug|Win32
+ {4C9F135B-A85E-430C-BAD4-4C67EF5FC12C}.Debug|Win32.Build.0 = Debug|Win32
+ {4C9F135B-A85E-430C-BAD4-4C67EF5FC12C}.Debug|x64.ActiveCfg = Debug|x64
+ {4C9F135B-A85E-430C-BAD4-4C67EF5FC12C}.Debug|x64.Build.0 = Debug|x64
+ {4C9F135B-A85E-430C-BAD4-4C67EF5FC12C}.Release|Win32.ActiveCfg = Release|Win32
+ {4C9F135B-A85E-430C-BAD4-4C67EF5FC12C}.Release|Win32.Build.0 = Release|Win32
+ {4C9F135B-A85E-430C-BAD4-4C67EF5FC12C}.Release|x64.ActiveCfg = Release|x64
+ {4C9F135B-A85E-430C-BAD4-4C67EF5FC12C}.Release|x64.Build.0 = Release|x64
+ {B441CC62-877E-4B3F-93E0-0DE80544F705}.Debug|Win32.ActiveCfg = Debug|Win32
+ {B441CC62-877E-4B3F-93E0-0DE80544F705}.Debug|Win32.Build.0 = Debug|Win32
+ {B441CC62-877E-4B3F-93E0-0DE80544F705}.Debug|x64.ActiveCfg = Debug|x64
+ {B441CC62-877E-4B3F-93E0-0DE80544F705}.Debug|x64.Build.0 = Debug|x64
+ {B441CC62-877E-4B3F-93E0-0DE80544F705}.Release|Win32.ActiveCfg = Release|Win32
+ {B441CC62-877E-4B3F-93E0-0DE80544F705}.Release|Win32.Build.0 = Release|Win32
+ {B441CC62-877E-4B3F-93E0-0DE80544F705}.Release|x64.ActiveCfg = Release|x64
+ {B441CC62-877E-4B3F-93E0-0DE80544F705}.Release|x64.Build.0 = Release|x64
+ {FF213B23-2C26-4214-9F88-85271E557E87}.Debug|Win32.ActiveCfg = Debug|Win32
+ {FF213B23-2C26-4214-9F88-85271E557E87}.Debug|Win32.Build.0 = Debug|Win32
+ {FF213B23-2C26-4214-9F88-85271E557E87}.Debug|x64.ActiveCfg = Debug|x64
+ {FF213B23-2C26-4214-9F88-85271E557E87}.Debug|x64.Build.0 = Debug|x64
+ {FF213B23-2C26-4214-9F88-85271E557E87}.Release|Win32.ActiveCfg = Release|Win32
+ {FF213B23-2C26-4214-9F88-85271E557E87}.Release|Win32.Build.0 = Release|Win32
+ {FF213B23-2C26-4214-9F88-85271E557E87}.Release|x64.ActiveCfg = Release|x64
+ {FF213B23-2C26-4214-9F88-85271E557E87}.Release|x64.Build.0 = Release|x64
+ {EC082900-B4D8-42E9-9663-77F02F6936AE}.Debug|Win32.ActiveCfg = Debug|Win32
+ {EC082900-B4D8-42E9-9663-77F02F6936AE}.Debug|Win32.Build.0 = Debug|Win32
+ {EC082900-B4D8-42E9-9663-77F02F6936AE}.Debug|x64.ActiveCfg = Debug|x64
+ {EC082900-B4D8-42E9-9663-77F02F6936AE}.Debug|x64.Build.0 = Debug|x64
+ {EC082900-B4D8-42E9-9663-77F02F6936AE}.Release|Win32.ActiveCfg = Release|Win32
+ {EC082900-B4D8-42E9-9663-77F02F6936AE}.Release|Win32.Build.0 = Release|Win32
+ {EC082900-B4D8-42E9-9663-77F02F6936AE}.Release|x64.ActiveCfg = Release|x64
+ {EC082900-B4D8-42E9-9663-77F02F6936AE}.Release|x64.Build.0 = Release|x64
+ {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Debug|Win32.ActiveCfg = Debug|Win32
+ {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Debug|Win32.Build.0 = Debug|Win32
+ {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Debug|x64.ActiveCfg = Debug|x64
+ {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Debug|x64.Build.0 = Debug|x64
+ {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Release|Win32.ActiveCfg = Release|Win32
+ {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Release|Win32.Build.0 = Release|Win32
+ {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Release|x64.ActiveCfg = Release|x64
+ {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE}.Release|x64.Build.0 = Release|x64
+ {BDB6578B-0691-4E80-A46C-DF21639FD3B8}.Debug|Win32.ActiveCfg = Debug|Win32
+ {BDB6578B-0691-4E80-A46C-DF21639FD3B8}.Debug|Win32.Build.0 = Debug|Win32
+ {BDB6578B-0691-4E80-A46C-DF21639FD3B8}.Debug|x64.ActiveCfg = Debug|x64
+ {BDB6578B-0691-4E80-A46C-DF21639FD3B8}.Debug|x64.Build.0 = Debug|x64
+ {BDB6578B-0691-4E80-A46C-DF21639FD3B8}.Release|Win32.ActiveCfg = Release|Win32
+ {BDB6578B-0691-4E80-A46C-DF21639FD3B8}.Release|Win32.Build.0 = Release|Win32
+ {BDB6578B-0691-4E80-A46C-DF21639FD3B8}.Release|x64.ActiveCfg = Release|x64
+ {BDB6578B-0691-4E80-A46C-DF21639FD3B8}.Release|x64.Build.0 = Release|x64
+ {41279555-F94F-4EBC-99DE-AF863C10C5C4}.Debug|Win32.ActiveCfg = Release|Win32
+ {41279555-F94F-4EBC-99DE-AF863C10C5C4}.Debug|Win32.Build.0 = Release|Win32
+ {41279555-F94F-4EBC-99DE-AF863C10C5C4}.Debug|x64.ActiveCfg = Release|Win32
+ {41279555-F94F-4EBC-99DE-AF863C10C5C4}.Debug|x64.Build.0 = Release|Win32
+ {41279555-F94F-4EBC-99DE-AF863C10C5C4}.Release|Win32.ActiveCfg = Release|Win32
+ {41279555-F94F-4EBC-99DE-AF863C10C5C4}.Release|Win32.Build.0 = Release|Win32
+ {41279555-F94F-4EBC-99DE-AF863C10C5C4}.Release|x64.ActiveCfg = Release|Win32
+ {41279555-F94F-4EBC-99DE-AF863C10C5C4}.Release|x64.Build.0 = Release|Win32
+ {93D73454-2512-424E-9CDA-4BB357FE13DD}.Debug|Win32.ActiveCfg = Debug|Win32
+ {93D73454-2512-424E-9CDA-4BB357FE13DD}.Debug|Win32.Build.0 = Debug|Win32
+ {93D73454-2512-424E-9CDA-4BB357FE13DD}.Debug|x64.ActiveCfg = Debug|x64
+ {93D73454-2512-424E-9CDA-4BB357FE13DD}.Debug|x64.Build.0 = Debug|x64
+ {93D73454-2512-424E-9CDA-4BB357FE13DD}.Release|Win32.ActiveCfg = Release|Win32
+ {93D73454-2512-424E-9CDA-4BB357FE13DD}.Release|Win32.Build.0 = Release|Win32
+ {93D73454-2512-424E-9CDA-4BB357FE13DD}.Release|x64.ActiveCfg = Release|x64
+ {93D73454-2512-424E-9CDA-4BB357FE13DD}.Release|x64.Build.0 = Release|x64
+ {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Debug|Win32.ActiveCfg = Debug|Win32
+ {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Debug|Win32.Build.0 = Debug|Win32
+ {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Debug|x64.ActiveCfg = Debug|x64
+ {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Debug|x64.Build.0 = Debug|x64
+ {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Release|Win32.ActiveCfg = Release|Win32
+ {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Release|Win32.Build.0 = Release|Win32
+ {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Release|x64.ActiveCfg = Release|x64
+ {AA862E5E-A993-497A-B6A0-0E8E94B10050}.Release|x64.Build.0 = Release|x64
+ {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|Win32.ActiveCfg = Debug|Win32
+ {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|Win32.Build.0 = Debug|Win32
+ {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|x64.ActiveCfg = Debug|x64
+ {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Debug|x64.Build.0 = Debug|x64
+ {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|Win32.ActiveCfg = Release|Win32
+ {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|Win32.Build.0 = Release|Win32
+ {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|x64.ActiveCfg = Release|x64
+ {349EE8F9-7D25-4909-AAF5-FF3FADE72187}.Release|x64.Build.0 = Release|x64
+ {2A3F751D-69E9-45F2-9199-9A00BFB6CC72}.Debug|Win32.ActiveCfg = Debug|Win32
+ {2A3F751D-69E9-45F2-9199-9A00BFB6CC72}.Debug|Win32.Build.0 = Debug|Win32
+ {2A3F751D-69E9-45F2-9199-9A00BFB6CC72}.Debug|x64.ActiveCfg = Debug|x64
+ {2A3F751D-69E9-45F2-9199-9A00BFB6CC72}.Debug|x64.Build.0 = Debug|x64
+ {2A3F751D-69E9-45F2-9199-9A00BFB6CC72}.Release|Win32.ActiveCfg = Release|Win32
+ {2A3F751D-69E9-45F2-9199-9A00BFB6CC72}.Release|Win32.Build.0 = Release|Win32
+ {2A3F751D-69E9-45F2-9199-9A00BFB6CC72}.Release|x64.ActiveCfg = Release|x64
+ {2A3F751D-69E9-45F2-9199-9A00BFB6CC72}.Release|x64.Build.0 = Release|x64
+ {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Debug|Win32.ActiveCfg = Debug|Win32
+ {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Debug|Win32.Build.0 = Debug|Win32
+ {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Debug|x64.ActiveCfg = Debug|x64
+ {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Debug|x64.Build.0 = Debug|x64
+ {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Release|Win32.ActiveCfg = Release|Win32
+ {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Release|Win32.Build.0 = Release|Win32
+ {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Release|x64.ActiveCfg = Release|x64
+ {0A18A071-125E-442F-AFF7-A3F68ABECF99}.Release|x64.Build.0 = Release|x64
+ {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Debug|Win32.ActiveCfg = Debug|Win32
+ {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Debug|Win32.Build.0 = Debug|Win32
+ {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Debug|x64.ActiveCfg = Debug|x64
+ {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Debug|x64.Build.0 = Debug|x64
+ {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Release|Win32.ActiveCfg = Release|Win32
+ {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Release|Win32.Build.0 = Release|Win32
+ {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Release|x64.ActiveCfg = Release|x64
+ {1970D175-3DE8-4738-942A-4D98D1CDBF64}.Release|x64.Build.0 = Release|x64
+ {96020103-4BA5-4FD2-B4AA-5B6D24492D4E}.Debug|Win32.ActiveCfg = Debug|Win32
+ {96020103-4BA5-4FD2-B4AA-5B6D24492D4E}.Debug|Win32.Build.0 = Debug|Win32
+ {96020103-4BA5-4FD2-B4AA-5B6D24492D4E}.Debug|x64.ActiveCfg = Debug|x64
+ {96020103-4BA5-4FD2-B4AA-5B6D24492D4E}.Debug|x64.Build.0 = Debug|x64
+ {96020103-4BA5-4FD2-B4AA-5B6D24492D4E}.Release|Win32.ActiveCfg = Release|Win32
+ {96020103-4BA5-4FD2-B4AA-5B6D24492D4E}.Release|Win32.Build.0 = Release|Win32
+ {96020103-4BA5-4FD2-B4AA-5B6D24492D4E}.Release|x64.ActiveCfg = Release|x64
+ {96020103-4BA5-4FD2-B4AA-5B6D24492D4E}.Release|x64.Build.0 = Release|x64
+ {EC1A314C-5588-4506-9C1E-2E58E5817F75}.Debug|Win32.ActiveCfg = Debug|Win32
+ {EC1A314C-5588-4506-9C1E-2E58E5817F75}.Debug|Win32.Build.0 = Debug|Win32
+ {EC1A314C-5588-4506-9C1E-2E58E5817F75}.Debug|x64.ActiveCfg = Debug|x64
+ {EC1A314C-5588-4506-9C1E-2E58E5817F75}.Debug|x64.Build.0 = Debug|x64
+ {EC1A314C-5588-4506-9C1E-2E58E5817F75}.Release|Win32.ActiveCfg = Release|Win32
+ {EC1A314C-5588-4506-9C1E-2E58E5817F75}.Release|Win32.Build.0 = Release|Win32
+ {EC1A314C-5588-4506-9C1E-2E58E5817F75}.Release|x64.ActiveCfg = Release|x64
+ {EC1A314C-5588-4506-9C1E-2E58E5817F75}.Release|x64.Build.0 = Release|x64
+ {A4C423AA-F57C-46C7-A172-D1A777017D29}.Debug|Win32.ActiveCfg = Debug|Win32
+ {A4C423AA-F57C-46C7-A172-D1A777017D29}.Debug|Win32.Build.0 = Debug|Win32
+ {A4C423AA-F57C-46C7-A172-D1A777017D29}.Debug|x64.ActiveCfg = Debug|x64
+ {A4C423AA-F57C-46C7-A172-D1A777017D29}.Debug|x64.Build.0 = Debug|x64
+ {A4C423AA-F57C-46C7-A172-D1A777017D29}.Release|Win32.ActiveCfg = Release|Win32
+ {A4C423AA-F57C-46C7-A172-D1A777017D29}.Release|Win32.Build.0 = Release|Win32
+ {A4C423AA-F57C-46C7-A172-D1A777017D29}.Release|x64.ActiveCfg = Release|x64
+ {A4C423AA-F57C-46C7-A172-D1A777017D29}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {54AA7840-5BEB-4A0C-9452-74BA4CC7FD44} = {15670B2E-CED6-4ED5-94CE-A00B1B2B5BA6}
+ {2E6C348C-C75C-4D94-8D1E-9C1FCBF3EFE4} = {15670B2E-CED6-4ED5-94CE-A00B1B2B5BA6}
+ {160BDC25-5626-4B0D-BDD8-2953D9777FB5} = {15670B2E-CED6-4ED5-94CE-A00B1B2B5BA6}
+ {6BBD47CF-91FD-4077-B676-8B76980178A9} = {15670B2E-CED6-4ED5-94CE-A00B1B2B5BA6}
+ {3DE9EE35-3E91-4F27-A014-2866AD8C3FE3} = {15670B2E-CED6-4ED5-94CE-A00B1B2B5BA6}
+ {E54CF649-140E-4255-81A5-30A673C1FB36} = {15670B2E-CED6-4ED5-94CE-A00B1B2B5BA6}
+ {AAD1BCD6-9804-44A5-A5FC-4782EA00E9D4} = {15670B2E-CED6-4ED5-94CE-A00B1B2B5BA6}
+ {8ADA04D7-6DB1-4DA4-AB55-64FB12A0997B} = {87ADDFF9-5768-4DA2-A33B-2477593D6677}
+ {AB993F38-C31D-4897-B139-A620C42BC565} = {87ADDFF9-5768-4DA2-A33B-2477593D6677}
+ {31643FDB-1BB8-4965-9DE7-000FC88D35AE} = {87ADDFF9-5768-4DA2-A33B-2477593D6677}
+ {4C9F135B-A85E-430C-BAD4-4C67EF5FC12C} = {87ADDFF9-5768-4DA2-A33B-2477593D6677}
+ {B441CC62-877E-4B3F-93E0-0DE80544F705} = {87ADDFF9-5768-4DA2-A33B-2477593D6677}
+ {FF213B23-2C26-4214-9F88-85271E557E87} = {87ADDFF9-5768-4DA2-A33B-2477593D6677}
+ {EC082900-B4D8-42E9-9663-77F02F6936AE} = {87ADDFF9-5768-4DA2-A33B-2477593D6677}
+ {1C8436C9-DBAF-42BE-83BC-CF3EC9175ABE} = {87ADDFF9-5768-4DA2-A33B-2477593D6677}
+ {BDB6578B-0691-4E80-A46C-DF21639FD3B8} = {87ADDFF9-5768-4DA2-A33B-2477593D6677}
+ {93D73454-2512-424E-9CDA-4BB357FE13DD} = {87ADDFF9-5768-4DA2-A33B-2477593D6677}
+ {AA862E5E-A993-497A-B6A0-0E8E94B10050} = {87ADDFF9-5768-4DA2-A33B-2477593D6677}
+ {349EE8F9-7D25-4909-AAF5-FF3FADE72187} = {87ADDFF9-5768-4DA2-A33B-2477593D6677}
+ {2A3F751D-69E9-45F2-9199-9A00BFB6CC72} = {87ADDFF9-5768-4DA2-A33B-2477593D6677}
+ {0A18A071-125E-442F-AFF7-A3F68ABECF99} = {87ADDFF9-5768-4DA2-A33B-2477593D6677}
+ {96020103-4BA5-4FD2-B4AA-5B6D24492D4E} = {AAD1BCD6-9804-44A5-A5FC-4782EA00E9D4}
+ {EC1A314C-5588-4506-9C1E-2E58E5817F75} = {AAD1BCD6-9804-44A5-A5FC-4782EA00E9D4}
+ {A4C423AA-F57C-46C7-A172-D1A777017D29} = {AAD1BCD6-9804-44A5-A5FC-4782EA00E9D4}
+ EndGlobalSection
+EndGlobal
diff --git a/Source/pch.h b/Source/pch.h
index 64c1354717..2851adefca 100644
--- a/Source/pch.h
+++ b/Source/pch.h
@@ -1,4 +1,5 @@
#include "Common.h"
+#include "Thread.h"
#include <algorithm>
#include <array>
#include <assert.h>