From 3a4caf04d6ec26b3eae1205bda338ba6c4d4fc00 Mon Sep 17 00:00:00 2001 From: N2614 Date: Tue, 17 Jan 2012 07:05:06 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88=E3=81=8C=E3=83=93?= =?UTF-8?q?=E3=83=AB=E3=83=89=E3=81=A7=E3=81=8D=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- trunk/ConsoleDataMigration/sources/OMakeroot | 3 ++- .../sources/tests/ConsoleRestore/TitleDownloader/OMakefile | 3 +-- .../ConsoleRestore/TitleDownloader/test_TitleDownloader.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/trunk/ConsoleDataMigration/sources/OMakeroot b/trunk/ConsoleDataMigration/sources/OMakeroot index 7ee1cb5..446b75e 100644 --- a/trunk/ConsoleDataMigration/sources/OMakeroot +++ b/trunk/ConsoleDataMigration/sources/OMakeroot @@ -59,7 +59,8 @@ if $(not $(HORIZON_ROOT)) eprintln($"$$CTRSDK_ROOT が定義されていません") exit(1) -include $(HORIZON_ROOT)/build/omake/commondefs +oms = $(glob iD,$(HORIZON_ROOT)/build/omake*) +include $(nth 0, $(rev $(set $(oms))))/commondefs DefineCommandVars() diff --git a/trunk/ConsoleDataMigration/sources/tests/ConsoleRestore/TitleDownloader/OMakefile b/trunk/ConsoleDataMigration/sources/tests/ConsoleRestore/TitleDownloader/OMakefile index 30f3b2d..e0a7e4f 100644 --- a/trunk/ConsoleDataMigration/sources/tests/ConsoleRestore/TitleDownloader/OMakefile +++ b/trunk/ConsoleDataMigration/sources/tests/ConsoleRestore/TitleDownloader/OMakefile @@ -33,7 +33,6 @@ TEST_COMMON_SOURCES[] = ../../../common/LogConsole.cpp ../../../common/CommonLogger.cpp ../../../common/SdMountManager.cpp - ../../../common/PlayHistoryManager.cpp ../../../common/VersionDetect.cpp ../../../common/HardwareStateManager.cpp ../../../common/FileTransfer.cpp @@ -56,7 +55,7 @@ LIBS += libnn_test \ 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) diff --git a/trunk/ConsoleDataMigration/sources/tests/ConsoleRestore/TitleDownloader/test_TitleDownloader.cpp b/trunk/ConsoleDataMigration/sources/tests/ConsoleRestore/TitleDownloader/test_TitleDownloader.cpp index 97adbe2..ddd1aa2 100644 --- a/trunk/ConsoleDataMigration/sources/tests/ConsoleRestore/TitleDownloader/test_TitleDownloader.cpp +++ b/trunk/ConsoleDataMigration/sources/tests/ConsoleRestore/TitleDownloader/test_TitleDownloader.cpp @@ -66,10 +66,10 @@ bool TitleDownloaderTest::InitializeSuite() nn::am::InitializeForSystemMenu(); // 繝偵シ繝励ョ遒コ菫 - common::HeapManager::GetHeap()->Initialize(nn::os::GetDeviceMemoryAddress(), nn::os::GetDeviceMemorySize(), nn::os::ALLOCATE_OPTION_LINEAR); + common::HeapManager gxHeap(s_GxHeapSize); // RenderSystem 縺ョ貅門y - uptr heapForGx = reinterpret_cast(common::HeapManager::GetHeap()->Allocate(s_GxHeapSize)); + uptr heapForGx = reinterpret_cast(gxHeap.GetAddr()); demo::RenderSystemDrawing renderSystem; renderSystem.Initialize(heapForGx, s_GxHeapSize);