20 lines
757 B
JavaScript
20 lines
757 B
JavaScript
![]() |
/**
|
||
|
******************************************************************************
|
||
|
* Xenia : Xbox 360 Emulator Research Project *
|
||
|
******************************************************************************
|
||
|
* Copyright 2013 Ben Vanik. All rights reserved. *
|
||
|
* Released under the BSD license - see LICENSE in the root for more details. *
|
||
|
******************************************************************************
|
||
|
*/
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
|
||
|
function inherits(childCtor, parentCtor) {
|
||
|
function tempCtor() {};
|
||
|
tempCtor.prototype = parentCtor.prototype;
|
||
|
childCtor.superClass_ = parentCtor.prototype;
|
||
|
childCtor.prototype = new tempCtor();
|
||
|
childCtor.prototype.constructor = childCtor;
|
||
|
};
|