mirror of
https://github.com/open-goal/jak-project
synced 2026-09-02 18:12:50 -04:00
[runtime] pckernel implementation (#1032)
* toggle for ripping level models * Create pckernel.gc * builds and works * fix defs * resolution info works * native letterboxing * menu * Fullscreen buttons * Update glfw * fix fullscreen taking over everything for some reason * fix screenshots and add more menu options * Cleanup DMA mess in load boundary render code (first try!!) * Update default-menu.gc * clang * fix accidental macros in pairs * refs * fix null reference bugs * add lavatube * custom aspect ratios work (3D only) * custom aspect ratios work (3D only) * fix aspect ratio and non-4x3 debug text * change `sceOpen` * deadzone setting * merge fixes * check out `debug-pad-display` * update readme imgs * settings save works * oops * settings read/load (incomplete) * add `:stop` to debugger and fix detach on Windows * settings load works * fullscreen and aspect ratio setting fixes * swap menu options for convenience * settings loads automatically properly * fix panic and font hack edge case * add rolling, ogre, snow, swamp, sunken b, jungle b * Fixed borderless on windows please work * Update fake_iso.txt * remove error from opengl debug filter * update refs * minor tfrag tod palette lookup change * accidentally nuked all opengl errors
This commit is contained in:
@@ -115,6 +115,22 @@ Val* Compiler::compile_cont(const goos::Object& form, const goos::Object& rest,
|
||||
return get_none();
|
||||
}
|
||||
|
||||
Val* Compiler::compile_stop(const goos::Object& form, const goos::Object& rest, Env* env) {
|
||||
// todo - do something with args.
|
||||
(void)form;
|
||||
(void)rest;
|
||||
(void)env;
|
||||
|
||||
if (m_debugger.is_valid() && m_debugger.is_attached() && m_debugger.is_halted()) {
|
||||
m_debugger.detach();
|
||||
} else {
|
||||
fmt::print("Couldn't do :stop. Valid {}, attached {}, halted {}\n", m_debugger.is_valid(),
|
||||
m_debugger.is_attached(), m_debugger.is_halted());
|
||||
}
|
||||
|
||||
return get_none();
|
||||
}
|
||||
|
||||
Val* Compiler::compile_break(const goos::Object& form, const goos::Object& rest, Env* env) {
|
||||
// todo - do something with args.
|
||||
(void)form;
|
||||
|
||||
Reference in New Issue
Block a user