mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
テストがビルドできるように
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@558 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
7670f17a71
commit
3a4caf04d6
@ -59,7 +59,8 @@ if $(not $(HORIZON_ROOT))
|
|||||||
eprintln($"$$CTRSDK_ROOT が定義されていません")
|
eprintln($"$$CTRSDK_ROOT が定義されていません")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
include $(HORIZON_ROOT)/build/omake/commondefs
|
oms = $(glob iD,$(HORIZON_ROOT)/build/omake*)
|
||||||
|
include $(nth 0, $(rev $(set $(oms))))/commondefs
|
||||||
|
|
||||||
DefineCommandVars()
|
DefineCommandVars()
|
||||||
|
|
||||||
|
|||||||
@ -33,7 +33,6 @@ TEST_COMMON_SOURCES[] =
|
|||||||
../../../common/LogConsole.cpp
|
../../../common/LogConsole.cpp
|
||||||
../../../common/CommonLogger.cpp
|
../../../common/CommonLogger.cpp
|
||||||
../../../common/SdMountManager.cpp
|
../../../common/SdMountManager.cpp
|
||||||
../../../common/PlayHistoryManager.cpp
|
|
||||||
../../../common/VersionDetect.cpp
|
../../../common/VersionDetect.cpp
|
||||||
../../../common/HardwareStateManager.cpp
|
../../../common/HardwareStateManager.cpp
|
||||||
../../../common/FileTransfer.cpp
|
../../../common/FileTransfer.cpp
|
||||||
@ -56,7 +55,7 @@ LIBS += libnn_test \
|
|||||||
|
|
||||||
|
|
||||||
ROM_SPEC_FILE = ../../../ConsoleRestore/ConsoleRestore.rsf
|
ROM_SPEC_FILE = ../../../ConsoleRestore/ConsoleRestore.rsf
|
||||||
DESCRIPTOR = $(HORIZON_ROOT)/resources/specfiles/_private/RepairTool.desc
|
DESCRIPTOR = $(HORIZON_ROOT)/resources/specfiles/private/RepairTool.desc
|
||||||
|
|
||||||
|
|
||||||
include $(makePlatformDefsPath build.tests)
|
include $(makePlatformDefsPath build.tests)
|
||||||
|
|||||||
@ -66,10 +66,10 @@ bool TitleDownloaderTest::InitializeSuite()
|
|||||||
nn::am::InitializeForSystemMenu();
|
nn::am::InitializeForSystemMenu();
|
||||||
|
|
||||||
// ヒープの確保
|
// ヒープの確保
|
||||||
common::HeapManager::GetHeap()->Initialize(nn::os::GetDeviceMemoryAddress(), nn::os::GetDeviceMemorySize(), nn::os::ALLOCATE_OPTION_LINEAR);
|
common::HeapManager gxHeap(s_GxHeapSize);
|
||||||
|
|
||||||
// RenderSystem の準備
|
// RenderSystem の準備
|
||||||
uptr heapForGx = reinterpret_cast<uptr>(common::HeapManager::GetHeap()->Allocate(s_GxHeapSize));
|
uptr heapForGx = reinterpret_cast<uptr>(gxHeap.GetAddr());
|
||||||
demo::RenderSystemDrawing renderSystem;
|
demo::RenderSystemDrawing renderSystem;
|
||||||
renderSystem.Initialize(heapForGx, s_GxHeapSize);
|
renderSystem.Initialize(heapForGx, s_GxHeapSize);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user