mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
Adds beta quest Gameshark cheat. (#975)
* Adds beta quest Gameshark cheat. * Fixes issue where lus was including a function from soh. * Limits beta quest to 0-8
This commit is contained in:
parent
d648c7275c
commit
4f29833476
4 changed files with 95 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "soh/Enhancements/gameconsole.h"
|
||||
|
||||
#include "../libultraship/ImGuiImpl.h"
|
||||
#include "soh/frame_interpolation.h"
|
||||
|
||||
void* D_8012D1F0 = NULL;
|
||||
|
@ -190,6 +190,7 @@ void Gameplay_Destroy(GameState* thisx) {
|
|||
KaleidoManager_Destroy();
|
||||
ZeldaArena_Cleanup();
|
||||
Fault_RemoveClient(&D_801614B8);
|
||||
disableBetaQuest();
|
||||
gGlobalCtx = NULL;
|
||||
}
|
||||
|
||||
|
@ -260,6 +261,7 @@ void GivePlayerRandoRewardSariaGift(GlobalContext* globalCtx, RandomizerCheck ch
|
|||
void Gameplay_Init(GameState* thisx) {
|
||||
GlobalContext* globalCtx = (GlobalContext*)thisx;
|
||||
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
|
||||
enableBetaQuest();
|
||||
gGlobalCtx = globalCtx;
|
||||
//globalCtx->state.gfxCtx = NULL;
|
||||
uintptr_t zAlloc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue