Guest User

Untitled

a guest
Nov 14th, 2014
147
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/utils/hwstub/tools/hwstub_shell.cpp b/utils/hwstub/tools/hwstub_shell.cpp
  2. index e5d3a72..b2838eb 100644
  3. --- a/utils/hwstub/tools/hwstub_shell.cpp
  4. +++ b/utils/hwstub/tools/hwstub_shell.cpp
  5. @@ -283,6 +283,8 @@ bool my_lua_import_hwstub()
  6.      lua_setfield(g_lua, -2, "PP");
  7.      lua_pushinteger(g_lua, HWSTUB_TARGET_RK27);
  8.      lua_setfield(g_lua, -2, "RK27");
  9. +    lua_pushinteger(g_lua, HWSTUB_TARGET_ATJ);
  10. +    lua_setfield(g_lua, -2, "ATJ");
  11.      lua_setfield(g_lua, -2, "target");
  12.  
  13.      if(g_hwdev_target.dID == HWSTUB_TARGET_STMP)
  14. diff --git a/utils/hwstub/tools/lua/load.lua b/utils/hwstub/tools/lua/load.lua
  15. index b996e3b..86f01f7 100644
  16. --- a/utils/hwstub/tools/lua/load.lua
  17. +++ b/utils/hwstub/tools/lua/load.lua
  18. @@ -6,6 +6,8 @@ elseif hwstub.dev.target.id == hwstub.dev.target.PP then
  19.      require "pp"
  20.  elseif hwstub.dev.target.id == hwstub.dev.target.RK27 then
  21.      require "rk27xx"
  22. +elseif hwstub.dev.target.id == hwstub.dev.target.ATJ then
  23. +    require "atj"
  24.  end
  25.  
  26.  require "dumper"
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×