mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
VM test is passing
This commit is contained in:
@@ -63,7 +63,8 @@ static void processRead(Toy_VM* vm) {
|
||||
|
||||
case TOY_VALUE_STRING: {
|
||||
enum Toy_StringType stringType = READ_BYTE(vm);
|
||||
//int len = (int)READ_BYTE(vm); //WARN: only used for name strings
|
||||
int len = (int)READ_BYTE(vm); //WARN: only used for name strings
|
||||
(void)len;
|
||||
|
||||
//grab the jump as an integer
|
||||
unsigned int jump = *((int*)(vm->code + vm->jumpsAddr + READ_INT(vm)));
|
||||
|
||||
Reference in New Issue
Block a user