mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-09-22 22:48:08 +03:00
Fix a crash in command-line debugger
This commit is contained in:
+1
-1
@@ -531,7 +531,7 @@ void dbg_onsleep(void) {
|
||||
}
|
||||
|
||||
void dbg_on_palette_change(void) {
|
||||
if (dbg_impl)
|
||||
if (dbg_impl && dbg_impl->on_palette_change)
|
||||
dbg_impl->on_palette_change();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user