mirror of
https://github.com/autc04/Retro68.git
synced 2025-08-15 16:27:55 +00:00
LoadSeg: assert to MacsBug when loading CODE fails
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user