mirror of
https://github.com/pret/pokeheartgold.git
synced 2026-03-21 17:25:33 -05:00
Resolve merge comments
This commit is contained in:
parent
b3f57d2f92
commit
964c3b8deb
59
flake.lock
59
flake.lock
|
|
@ -1,59 +0,0 @@
|
||||||
{
|
|
||||||
"nodes": {
|
|
||||||
"flake-utils": {
|
|
||||||
"inputs": {
|
|
||||||
"systems": "systems"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731533236,
|
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1773110118,
|
|
||||||
"narHash": "sha256-mPAG8phMbCReKSiKAijjjd3v7uVcJOQ75gSjGJjt/Rk=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "e607cb5360ff1234862ac9f8839522becb853bb9",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"id": "nixpkgs",
|
|
||||||
"type": "indirect"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-utils": "flake-utils",
|
|
||||||
"nixpkgs": "nixpkgs"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1681028828,
|
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-systems",
|
|
||||||
"repo": "default",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": "root",
|
|
||||||
"version": 7
|
|
||||||
}
|
|
||||||
31
flake.nix
31
flake.nix
|
|
@ -1,31 +0,0 @@
|
||||||
{
|
|
||||||
description = "POKEHEARTGOLD decomp nix development shell";
|
|
||||||
|
|
||||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
||||||
|
|
||||||
outputs = { self, nixpkgs, flake-utils }:
|
|
||||||
flake-utils.lib.simpleFlake rec {
|
|
||||||
inherit self nixpkgs;
|
|
||||||
name = "pokeheartgold-shell";
|
|
||||||
# Native shell instead of an arm-cross shell so utilities are properly compiled for host
|
|
||||||
shell = { pkgs }: pkgs.mkShell {
|
|
||||||
inherit name;
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
pkgs.git
|
|
||||||
pkgs.wineWow64Packages.base # wine with both 32 and 64 bits support
|
|
||||||
pkgs.python3
|
|
||||||
pkgs.pkg-config
|
|
||||||
pkgs.pkgsCross.arm-embedded.stdenv.cc.bintools # binutils
|
|
||||||
pkgs.unzip
|
|
||||||
pkgs.p7zip
|
|
||||||
pkgs.clang-tools # For the formatting
|
|
||||||
pkgs.libclang.python # and the pre-commit hook
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
pkgs.libpng
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef POKEHEARTGOLD_UNK_02034B0C_H
|
#ifndef POKEHEARTGOLD_UNK_02034B0C_H
|
||||||
#define POKEHEARTGOLD_UNK_02034B0C_H
|
#define POKEHEARTGOLD_UNK_02034B0C_H
|
||||||
|
|
||||||
void sub_02034D8C();
|
void sub_02034D8C(void);
|
||||||
BOOL sub_02035650(void);
|
BOOL sub_02035650(void);
|
||||||
|
|
||||||
#endif // POKEHEARTGOLD_UNK_02034B0C_H
|
#endif // POKEHEARTGOLD_UNK_02034B0C_H
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
#include "overlay_13_thumb_1.h"
|
#include "overlay_13_thumb_1.h"
|
||||||
|
|
||||||
|
#include <nitro/hw/common/io_reg.h>
|
||||||
|
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
|
|
||||||
#include "overlay_00_thumb.h"
|
#include "overlay_00_thumb.h"
|
||||||
|
|
@ -7,8 +9,8 @@
|
||||||
#include "unk_02034B0C.h"
|
#include "unk_02034B0C.h"
|
||||||
|
|
||||||
void ov13_0221BA00(enum HeapID HeapID) {
|
void ov13_0221BA00(enum HeapID HeapID) {
|
||||||
for (int playerNo = 0; playerNo < 0x20; playerNo += 1) {
|
for (int playerNo = 0; playerNo < 32; playerNo++) {
|
||||||
NNS_SndPlayerSetPlayerVolume(playerNo, 0x7F);
|
NNS_SndPlayerSetPlayerVolume(playerNo, 127);
|
||||||
NNS_SndPlayerSetPlayableSeqCount(playerNo, 1);
|
NNS_SndPlayerSetPlayableSeqCount(playerNo, 1);
|
||||||
NNS_SndPlayerSetAllocatableChannel(playerNo, 0);
|
NNS_SndPlayerSetAllocatableChannel(playerNo, 0);
|
||||||
}
|
}
|
||||||
|
|
@ -22,6 +24,6 @@ void ov13_0221BA00(enum HeapID HeapID) {
|
||||||
Heap_Free(buffer);
|
Heap_Free(buffer);
|
||||||
OS_RestoreInterrupts(interrupts);
|
OS_RestoreInterrupts(interrupts);
|
||||||
|
|
||||||
u16 oldValue = *(vu16 *)0x04000208;
|
u16 oldValue = reg_OS_IME;
|
||||||
*(u16 *)0x04000208 = 1;
|
reg_OS_IME = 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user