Illegal instruction handler

This commit is contained in:
Synthasmagoria 2026-07-24 11:59:07 +02:00
commit 0545282292
5 changed files with 294 additions and 252 deletions

20
main_desktop.odin Normal file
View file

@ -0,0 +1,20 @@
package main
import rl "libraries/raylib"
import "libraries/back"
import "core:log"
main :: proc() {
// exe_path := os.args[0]
// exe_dir := filepath.dir(string(exe_path))
// os.set_working_directory(exe_dir)
rl.ChangeDirectory(rl.GetApplicationDirectory())
back.register_segfault_handler()
context.logger = log.create_console_logger()
init()
for should_run() {
update()
}
shutdown()
}