Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "sharkive"]
path = sharkive
url = https://github.com/FlagBrew/sharkive
22 changes: 5 additions & 17 deletions 3ds/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ INCLUDES := $(FORMATINCLUDES) ../3rd-party/json ../3rd-party/sha256
GRAPHICS := assets/gfx
ROMFS := assets/romfs
GFXBUILD := $(ROMFS)/gfx
SHARKIVE := ../sharkive
CHEATS := cheats

# If left blank, will try to use "icon.png", "$(TARGET).png", or the default ctrulib icon, in that order
ICON := assets/icon.png
Expand Down Expand Up @@ -81,8 +79,7 @@ CFLAGS := -g -gdwarf-4 -Wall -Wextra -Wno-psabi -O3 -mword-relocations -flto=aut
-DVERSION_MICRO=${VERSION_MICRO} \
-DGIT_REV=\"${GIT_REV}\" \
-DJSON_HAS_FILESYSTEM=0 \
-DJSON_HAS_EXPERIMENTAL_FILESYSTEM=0 \
-DCHEAT_SIZE_DECOMPRESSED=${CHEAT_SIZE_DECOMPRESSED}
-DJSON_HAS_EXPERIMENTAL_FILESYSTEM=0

CFLAGS += $(INCLUDE) -DARM11 -D__3DS__ -D_GNU_SOURCE=1

Expand All @@ -91,7 +88,7 @@ CXXFLAGS := $(CFLAGS) -fno-rtti -std=gnu++23
ASFLAGS := -g $(ARCH)
LDFLAGS = -specs=3dsx.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)

LIBS := -lbz2 -lcitro2d -lcitro3d -lctru -lm
LIBS := -lcitro2d -lcitro3d -lctru -lm

CCACHE := $(shell command -v ccache 2>/dev/null)
ifneq ($(strip $(CCACHE)),)
Expand Down Expand Up @@ -186,10 +183,10 @@ ifneq ($(ROMFS),)
export _3DSXFLAGS += --romfs=$(CURDIR)/$(ROMFS)
endif

.PHONY: all clean format cheats
.PHONY: all clean format

#---------------------------------------------------------------------------------
all: cheats sprites
all: sprites
@mkdir -p $(BUILD) $(GFXBUILD) $(OUTDIR)
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile $(OUTPUT).3dsx
@bannertool makebanner -i "$(BANNER_IMAGE)" -a "$(BANNER_AUDIO)" -o $(BUILD)/banner.bnr
Expand All @@ -198,16 +195,7 @@ all: cheats sprites
#---------------------------------------------------------------------------------
clean:
@echo clean ...
@rm -fr $(BUILD) $(GFXBUILD) $(OUTDIR) $(ROMFS)/$(CHEATS)
#---------------------------------------------------------------------------------
cheats:
@mkdir -p $(BUILD) $(ROMFS)/$(CHEATS)
ifeq ($(OS),Windows_NT)
@cd $(SHARKIVE) && py -3 joiner.py 3ds
else
@cd $(SHARKIVE) && python3 joiner.py 3ds
endif
@cd $(SHARKIVE)/$(BUILD) && mv 3ds.json.bz2 ../../3ds/$(ROMFS)/$(CHEATS)/$(CHEATS).json.bz2
@rm -fr $(BUILD) $(GFXBUILD) $(OUTDIR)
#---------------------------------------------------------------------------------
sprites:
@mkdir -p $(BUILD) $(GFXBUILD)
Expand Down
66 changes: 0 additions & 66 deletions 3ds/include/CheatManagerOverlay.hpp

This file was deleted.

3 changes: 1 addition & 2 deletions 3ds/include/MainScreen.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#ifndef MAINSCREEN_HPP
#define MAINSCREEN_HPP

#include "CheatManagerOverlay.hpp"
#include "ErrorOverlay.hpp"
#include "InfoOverlay.hpp"
#include "Screen.hpp"
Expand Down Expand Up @@ -68,7 +67,7 @@ class MainScreen : public Screen {

private:
Hid<HidDirection::HORIZONTAL, HidDirection::VERTICAL> hid;
std::unique_ptr<Clickable> buttonBackup, buttonRestore, buttonCheats, buttonPlayCoins, buttonTransfer;
std::unique_ptr<Clickable> buttonBackup, buttonRestore, buttonPlayCoins, buttonTransfer;
std::unique_ptr<Scrollable> directoryList;
char ver[10];

Expand Down
63 changes: 0 additions & 63 deletions 3ds/include/cheatmanager.hpp

This file was deleted.

2 changes: 0 additions & 2 deletions 3ds/include/main.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,5 @@
inline std::shared_ptr<Screen> g_screen = nullptr;
inline bool g_bottomScrollEnabled = false;
inline float g_timer = 0;
inline std::string g_selectedCheatKey;
inline std::vector<std::string> g_selectedCheatCodes;

#endif
150 changes: 0 additions & 150 deletions 3ds/source/CheatManagerOverlay.cpp

This file was deleted.

Loading