Home Page

Console debugger "nil"s

Posted By: Golden Child

Console debugger "nil"s - 02/11/20 07:22 PM

I haven't been keeping up to date with mame since 214 and I noticed that 219 doesn't echo debugger output to the console properly, instead printing a bunch of "nil"s.


I've grabbed the various mames from 215 to 219 and it seems to have started with 215.

Code
   _/      _/    _/_/    _/      _/  _/_/_/_/
   _/_/  _/_/  _/    _/  _/_/  _/_/  _/       
  _/  _/  _/  _/_/_/_/  _/  _/  _/  _/_/_/    
 _/      _/  _/    _/  _/      _/  _/         
_/      _/  _/    _/  _/      _/  _/_/_/_/    

mame 0.215	
Copyright (C) Nicola Salmoria and the MAME team

Lua 5.3	
Copyright (C) Lua.org, PUC-Rio

Debug Build: Disabling input grab for -debug
Debug Build: Disabling input grab for -debug
Debug Build: Disabling input grab for -debug
[MAME]> 

nil
nil
[MAME]> 

nil
[MAME]> 

nil
nil
[MAME]> 

Posted By: crazyc

Re: Console debugger "nil"s - 02/11/20 11:07 PM

Fixed in https://github.com/mamedev/mame/commit/a0a658a11148f3dac497d24a3eb16460df9b69c0. Seems index metamethod doesn't work properly with sol2 simple usertype.
Posted By: Golden Child

Re: Console debugger "nil"s - 02/12/20 01:06 PM

Thanks, crazyc!
© 2020 Forums