mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-16 19:32:07 +00:00
LoadSeg: assert to MacsBug when loading CODE fails
This commit is contained in:
parent
12270f7caa
commit
5639d39ae7
@ -67,6 +67,7 @@ pascal void* Retro68LoadSegment(uint8_t *p)
|
||||
|
||||
// TODO: UseResFile?
|
||||
Handle CODE = GetResource('CODE', id);
|
||||
assert(CODE);
|
||||
HLock(CODE);
|
||||
|
||||
uint8_t *base = StripAddressCompat((uint8_t *)*CODE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user