mirror of https://github.com/mgba-emu/mgba.git
hook frame callback in socket connect
This commit is contained in:
parent
8c5ad62dbc
commit
3f5fec4e4d
1
CHANGES
1
CHANGES
|
@ -39,6 +39,7 @@ Other fixes:
|
||||||
- Qt: Fix initializing update revision info
|
- Qt: Fix initializing update revision info
|
||||||
- Qt: Redo stable branch detection heuristic (fixes mgba.io/i/2679)
|
- Qt: Redo stable branch detection heuristic (fixes mgba.io/i/2679)
|
||||||
- Res: Fix species name location in Ruby/Sapphire revs 1/2 (fixes mgba.io/i/2685)
|
- Res: Fix species name location in Ruby/Sapphire revs 1/2 (fixes mgba.io/i/2685)
|
||||||
|
- Scripting: Fix receiving packets for client sockets
|
||||||
- VFS: Fix minizip write returning 0 on success instead of size
|
- VFS: Fix minizip write returning 0 on success instead of size
|
||||||
Misc:
|
Misc:
|
||||||
- macOS: Add category to plist (closes mgba.io/i/2691)
|
- macOS: Add category to plist (closes mgba.io/i/2691)
|
||||||
|
|
|
@ -131,7 +131,7 @@ static const char* _socketLuaSource =
|
||||||
" end,\n"
|
" end,\n"
|
||||||
" connect = function(self, address, port)\n"
|
" connect = function(self, address, port)\n"
|
||||||
" local status = self._s:connect(address, port)\n"
|
" local status = self._s:connect(address, port)\n"
|
||||||
" return socket._wrap(status)\n"
|
" return self:_hook(status)\n"
|
||||||
" end,\n"
|
" end,\n"
|
||||||
" listen = function(self, backlog)\n"
|
" listen = function(self, backlog)\n"
|
||||||
" local status = self._s:listen(backlog or 1)\n"
|
" local status = self._s:listen(backlog or 1)\n"
|
||||||
|
|
Loading…
Reference in New Issue